10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
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
AutoDetectState
(Reserved
Parameters
Reserved
[in]
– Null t erminated 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
Card Scanning Solutions
As String) As Long
ProcState
for data extraction.
19
Need help?
Do you have a question about the ScanShell 2000 and is the answer not in the manual?
Questions and answers