10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
Card Scanning Solutions
49
1.1.56.
Process
Format
Return
If function succeeds, the return value is
PASS_ERR_NONE
.
If function fails, the return value is one of the following:
LICENSE_INVALID
– The library was not initialized with the proper license.
INVALID_INTERNAL_IMAGE
– No internal image is loaded. This value return when attempting to
use this function without scanning an image first.
Remarks
Call this function to process the recently scanned passport image. When the scanning the passport page
using the ScanShell1000, the opened page should be aligned to the top right corner which yields a
rotated internal image. Before processing the image it needs to be rotated in 180 degrees (using the
function
RotateImage
).
The image should have the following properties:
Color scheme:
Select one of the following
24 bit (True color)
256 Gray shades
Image size:
Select one of t he following
3” x 5”: This scan the full page of the passport
1” x 5”: This scans only the lower portion of the page.
Once the function returns
PASS_ERR_NONE
, the library properties will be loaded with analyzed text.
Otherwise, the library property fields will be empty.
The raw data is scanned for format detection. If a specific format is detected, the data is parsed further
and load the library properties.
1.1.57.
GetFace
Format
Parameters
[in]
DestFile
– Null terminated string that holds the full name of the destination image file
that will contain the face image from the passport.
Process () As Long
GetFace
(
DestFile
As String) As Long