L_CC_ScanFrame

#include "ltcc.h"

L_LTCC_API L_INT L_CC_ScanFrame (scanner, frame, detectionInfo)

L_CC_Scanner scanner;

scanner handle

const L_CC_Frame* frame;

pointer to an L_CC_Frame struct containing the frame information for scanning

L_CC_DetectionInfo* detectionInfo;

pointer to an L_CC_DetectionInfo structure to be filled with results from scanning

Adds a frame to the scanner for recognition.

Parameter

Description

scanner Handle to the credit card scanner.
frame Pointer to an L_CC_Frame structure containing the frame information for scanning.
detectionInfo Pointer to an L_CC_DetectionInfo structure to be filled with results from scanning.

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Call L_CC_CreateScanner before calling any other LEADTOOLS Credit Cards toolkit functions.

When the handle to the Scanner session is no longer needed, free it by calling L_CC_DestroyScanner. For every call to L_CC_CreateScanner there must be a call to L_CC_DestroyScanner.

As many frames as needed for recognition can be added using this method. It will often take more than one frame to get accurate results. It is best to call this method repeatedly with a stream of images until accurate data has been acquired. If the Focus Score is above the MinimumFocusScore the frame will be added.

After this method returns, the frame data passed is no longer required and can be freed by the caller.

For a complete example, refer to the CreditCardCapture demo.

Required DLLs and Libraries

LTCC
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
See Also
Functions: L_CC_CreateScanner
Topics: Scanning a Credit Card

 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.