10350 Santa Monica Blvd. Suite 285,
Phone: 310-691-8920, 310-788-9840, Fax: 419-735-2419
Card Scanning Solutions 28
1.1.32. StateIsSupported
Format
Return Value
LICENSE_INVALID – Library was not initialized with proper license.
ID_TRUE: The state is supported and can be detected by the library.
ID_ERR_STATE_NOT_SUPORTED – the library does not support the state.
Remarks
This function is used to inform the application is the id image of a given state can be processed. Use
this function to detect what states the library currently supports.
1.1.33. GetDetectAcuracy
Format
Return Value
The function returns a number in the range 0-100 that estimates the detection accuracy percentage.
Remarks
This helper function checks the detected data values and returns a value that indicates the detection
accuracy (in percents). This function, combined with RotateImage() function is useful when
implementing auto-orientation feature in the application. This feature can be implemented by rotating
the internal image and for each new position executing ProcState() function. The operation success can
be evaluated using GetDetetAcuracy() which allow us to determine if the image is in the right
orientation or a new rotation-detection-inspection is needed.
1.1.34. CountySupportAutoDetect
Format
Parameters
[in] countryId – countryId – Constant value of the country.
Return Value
ID_TRUE: The country support state auto detection.
ID_FALSE: The country does not support state auto detection.
StateIsSupported (stateId As Integer) As Long
GetDetectAcuracy () As Long
CountySupportAutoDetect (countryId As Integer) As Long