EasyManua.ls Logo

CSSN ScanShell 2000 - Getfaceimage

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 22
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 RefreashData () function. Processing the image does not modify the
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
Parameters
[in] SourceFileName 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.
[in] DestFileName Null terminated string that holds the full name of the destination
image file that will contain the face image from the id document.
[in] stateId 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 SourceFileName is not empty)
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 create 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.
GetFaceImage (SourceFileName As String, DestFileName As String, stateId As
Integer) As Long

Table of Contents

Other manuals for CSSN ScanShell 2000

Related product manuals