Starts a character recognition process on a GdPicture image or on an area of a GdPicture image defined by SetROI() function.
For each language of recognition, you have to deploy specific files. See the Dictionary parameter.
public String OCRTesseractDoOCR( int ImageID, TesseractDictionary Dictionary, String DictionaryPath, String CharWhiteList );
Public Function OCRTesseractDoOCR( ByVal ImageID As Integer, ByVal Dictionary As TesseractDictionary, ByVal DictionaryPath As String, ByVal CharWhiteList As String ) As String
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
Dictionary |
The dictionary to use. A member of the TesseractDictionary enumeration. |
|
DictionaryPath |
The path into which the engine can find the dictionary files (see the TesseractDictionary enumeration). |
|
CharWhiteList |
This parameter can be used to specify your own white list of chars. IE:
|
The recognized text.
This function requires the optional GdPicture Tesseract Plugin. This Plugin must be unlocked with the SetLicenseNumberOCRTesseract() function.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|