10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
Card Scanning Solutions
42
Parameters
[in]
SourceImage
– Full path name of the original image.
[in]
TextType
– Instruct the OCR what type of data is written in the image. This value increases the
detection accuracy and speeds the OCR operation. This value can be one of the following values:
USE_ALPHANUM
: The image contains alphanumeric characters.
USE_ALPHA_CAPS_ONLY
: The image contains capital letters only.
USED_NUM_ONLY
: The image contains numbers only
Return
If function succeeds, the return the value
TOCR_SUCCESS
.
If the function fails it returns one of the following values:
LIC ENS E_INVALID
– Library was not initialized with proper license.
TOCRJOBERROR
– The OCR engine was not able to accomplish the detection process correctly.
TOCR_BAD_TYPE– Bad
TextType
value.
Remarks
Use this function to extract text bulks from an image. The text size is limited to 4K (4096) characters.
1.1.48.
ExtractTextEx
Type
Function.
Format
Parameters
[in]
SourceImage
– Full path name of the original image.
Return
If function succeeds, the return the value
TOCR_OK (=0)
.
If the function fails it returns one of the following values:
LICENSE_INVALID
– Library was not initialized with proper license.
TOCRJOBERROR
– The OCR engine was not able to accomplish the detection process correctly.
TOCR_BAD_TYPE– Bad
TextType
value.
Remarks
Use this function to extract text bulks from an image. The text size is limited to 4K (4096) characters.
This function process the image file in a different method than
ExtractText
function does; this result in
a longer processing time but with higher accuracy. This function is recommended for use with complex
document structure where processing time is not critical.
ExtractTextEx (
SourceImage
As String )