10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
ID_ERR_STATE_NOT_SUPORTED – The requested state id is not supported.
INVALID_INTERNAL_IMAGE – No internal image is loaded. This value return when attempting to
use this function without scanning an image first.
Remarks
Use this function to process the internal image acquired in the last scan. The function de skew and
cleans the image and then pass to the ocr for analysis. The resultant textual data is kept in internal
structure ready for retrieval by
image content.
Successful image processing depends on the following:
The image must be scanned in 24 bit (true color) and 300 dpi.
The image must be aligned horizontally with tolerance of no more than ± 10 degrees.
1.1.21.
GetFaceImage
Format
GetFaceImage
(SourceFileName
Integer) As Long
Parameters
SourceFileName
[in]
– Null terminated string that holds the full path of the scanned id image. If this
string is empty the internal image is used as image source .
DestFileName
[in]
image file that will contain the face image from the id document.
stateId
[in]
– The state index value as defined in idLibDef.bas file.
Return
If function succeeds, the return value is ID_TRUE
If the function fails one of the following values is returned:
LICENSE_INVALID – Library was not initialized with proper license.
ID_ERR_FILE_OPEN – Failing to load source image (if
INVALID_INTERNAL_IMAGE – No internal image is loaded. This value return when attempting to
use the internal image without scanning an image first.
ID_ERR_STATE_NOT_SUPORTED – The requested state is not supported.
ID_BAD_DESTINATION_FILE – Bad destination path (could not cr eate destination file).
ID_ERR_FILE_OPEN – Bad source image file (used only when using a file as the source image).
This value return if the source file is missing or cannot be accessed for reading.
INVALID_INTERNAL_IMAGE– Bad internal image (used only when extracting the face image
from the image stored in the internal buffer). This value returned if there is no image in the buffer.
ID_FALSE – Internal processing error.
ID_ERR_FACE_IMAGE_NOT_FOUND– Returned when the analyzer cannot detect the face image
in the driver's license image.
ID_ERR_CANNOT_DELETE_DESTINATION_IMAGE– Returned when a file with the same
name as the destination file already exist and cannot be overwritten.
ID_ERR_CANNOT_COPY_TO_DESTONATION– Returned when the destination file cannot be
opened for write on the disk.
Card Scanning Solutions
RefreashData
() function. Processing the image does not modify the
DestFileName
As String,
– Null terminated string that holds the full name of the destination
stateId
As String,
SourceFileName
is not empty)
As
22
Need help?
Do you have a question about the ScanShell 2000 and is the answer not in the manual?
Questions and answers