AspriseOCRRecognize Method (IListBitmap, Int32, Int32, Int32, Int32, String, String, Object) |
Performs OCR on the given input bitmaps.
Namespace: asprise_ocr_apiAssembly: asprise-ocr-api (in asprise-ocr-api.dll) Version: 15.3.1.0 (15.3.1.0)
Syntax public string Recognize(
IList<Bitmap> bitmaps,
int startX,
int startY,
int width,
int height,
string recognizeType,
string outputFormat,
params Object[] additionalProperties
)
Public Function Recognize (
bitmaps As IList(Of Bitmap),
startX As Integer,
startY As Integer,
width As Integer,
height As Integer,
recognizeType As String,
outputFormat As String,
ParamArray additionalProperties As Object()
) As String
public:
String^ Recognize(
IList<Bitmap^>^ bitmaps,
int startX,
int startY,
int width,
int height,
String^ recognizeType,
String^ outputFormat,
... array<Object^>^ additionalProperties
)
member Recognize :
bitmaps : IList<Bitmap> *
startX : int *
startY : int *
width : int *
height : int *
recognizeType : string *
outputFormat : string *
additionalProperties : Object[] -> string
Parameters
- bitmaps
- Type: System.Collections.GenericIListBitmap
List of bitmaps to perform OCR on - startX
- Type: SystemInt32
-1 for whole page or the starting x coordinate of the specified region - startY
- Type: SystemInt32
-1 for whole page or the starting y coordinate of the specified region - width
- Type: SystemInt32
-1 for whole page or the width of the specified region - height
- Type: SystemInt32
-1 for whole page or the height of the specified region - recognizeType
- Type: SystemString
valid values: RECOGNIZE_TYPE_TEXT, RECOGNIZE_TYPE_BARCODE or RECOGNIZE_TYPE_ALL. - outputFormat
- Type: SystemString
valid values: OUTPUT_FORMAT_PLAINTEXT, OUTPUT_FORMAT_XML, OUTPUT_FORMAT_PDF or OUTPUT_FORMAT_RTF. - additionalProperties
- Type: SystemObject
additional properties, can be a single Dictionary object or inline specification in pairs. Valid property names are defined in this class, e.g., PROP_INCLUDE_EMPTY_BLOCK, etc.
Return Value
Type:
Stringtext (plain text, xml) recognized for OUTPUT_FORMAT_PLAINTEXT, OUTPUT_FORMAT_XML
See Also