2. FOCR SDK Features
Init gateway
Contact us for get app_id
& secret_key
Register OCR callback
After registration, the SDK will return the corresponding status in the callback
onStart
Called at start OCR
onSuccess
Called when return result
onFail
Called when an error occurs in process
Get Config
Get list config used to ocr param
When sucess, result is
listConfig
, it will be called ononSuccess()
in callbackWhen fail, it will called on
onFail()
in callback
Start OCR
Used to start OCR
When successful start, it will be called on
onStart()
in callbackWhen have result
result
will be return ononSuccess
in callback.When fails, it will be processed at callback
onFail()
in callback.
Export OCR data
Used to export data OCR to csv or excel file
exportType
isOCRExportType.CSV
orOCRExportType.EXCEL
When export success
data
will be return ononSuccess
in callback.When fails, it will be processed at callback
onFail()
in callback
UI Preview OCR data
Then set OCRData from onSuccess to view
Last updated