Detects and obtains the points that represent the business card corners in an image.
L_LTIMGKRN_API L_INT L_ImgKrnDetectBusinessCard(bitmap, businessCardArea)
Pointer to the bitmap handle that contains the business card to be detected.
An array of L_POINT that contains the points that represent the edges of the business card that have been detected.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
For best results, the business card's boundaries should be inside the captured view and have a different background color than the background of the captured view.
Use the results from L_ImgKrnDetectBusinessCard as the input points for the L_ImgKrnPerspectiveCorrectionData structure, which is used by the L_ImgKrnManualPerspectiveCorrection function to correct the perspective of the detected business card.
This function can be used even if there is depth (z-axis) deformation as well as deformation along the x- and y- axes.
Note: All functions with the L_ImgKrn prefix modify the underlying properties of the input BITMAPHANDLE, including but not limited to:
To avoid BITMAPHANDLE property fidelity loss, pass a copy of your BITMAPHANDLE to all L_ImgKrn* functions.
Win32, x64, Linux.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries