TTMSFNCWXCustomOCR.RecognizeBase64 Method
Starts recognizing an image supplied as a Base64-encoded string.
API unit family: TMSFNCWXOCR
Declaring type: TTMSFNCWXCustomOCR
Syntax
procedure RecognizeBase64(const ABase64, ID: string);
Parameters
| Name | Description |
|---|---|
ABase64 |
The image data encoded as Base64. A bare Base64 string is treated as a PNG; a string with a recognized PNG, JPG, or JPEG data URI prefix is used as-is. |
ID |
A caller-defined identifier that is echoed back on the result so the outcome can be matched to this request. |
Exceptions
| Exception | Description |
|---|---|
Exception |
Raised when the string carries a data URI prefix for an unsupported image format. |