EasyManua.ls Logo

CSSN ScanShell 2000 - Iddata Library Functions; Autodetectstate; Library Iddata: General Functionality

CSSN ScanShell 2000
69 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10350 Santa Monica Blvd. Suite 285,
Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735-2419
Card Scanning Solutions 19
Library IdData: General Functionality
IdData library is where most of the image processing and data extraction is being handled. The library
fetches the internal image (the last scanned image), process its graphic information and activates the
OCR. The resultant text is kept in internal data structure ready to be retrieved by the application.
Notice: The library processes only the last image that was recently scanned. The library does not
support external image file processing.
idData Library Functions
1.1.17. AutoDetectState
Format
Parameters
[in] Reserved Null terminated empty string - reserved. This parameter is not used.
Return
LICENSE_INVALID: The license is invalid. All scanner operations are disabled.
ID_ERR_USA_TEMPLATES_NOT_FOUND: The template database file for the USA states
(UsaIds.bin) is missing. The file should be located in the SDK files location.
INVALID_INTERNAL_IMAGE No internal image is loaded. This value return when attempting to
use this function without scanning an image first.
ID_ERR_STATE_NOT_SUPORTED : The license image doe not match any state template.
ID_ERR_STATE_NOT_RECOGNIZED : The license image doe not match any state template.
If non of the above error values is returned, the function return the state id value.
Remarks
Use this function to automatically detect the state type according to the image. If the function returns
with non of the above error values then the return value is the state id. This value can be assigned to the
input parameter IdState in the function ProcState for data extraction.
AutoDetectState (
Reserved
As String) As Long

Table of Contents

Other manuals for CSSN ScanShell 2000

Related product manuals