#include "l_bitmap.h"
L_LTIMGKRN_API L_INT L_ImgKrnDetectBusinessCard(bitmap, businessCardArea)
Detects and obtains the points that represent the business card corners in an image.
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.
Value | Meaning |
---|---|
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.
Required DLLs and Libraries
Win32, x64, Linux.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document