Hi All ~
After finished the "Getting started", I can call "startTextCapture" to capture the text.
Now I am testing the startDataCapture function on the ionic 3 project.
Below is my code :
======================================
openDataCapture(){
const options = {
profile : 'ID_HK',
licenseFileName : 'SRTT-0000-0000-0000-0000-0000.License'
};
this.abbyyRTR.startDataCapture(options)
.then((res: any) => alert(JSON.stringify(res)))
.catch((error: any) => alert(JSON.stringify(error)));
}
======================================
But I got the Error Message: Unsupported profile: 'ID_HK'. Service cannot be created.
(It show at the top of the camera preview with red font color )
May I know how can I set the HKID profile?
Related Document and Link :
https://cdn.jsdelivr.net/npm/cordova-plugin-abbyy-rtr-sdk@1.0.8/RtrSdkCordovaDevelopersGuide.pdf
https://rtrsdk.com/documentation/specifications/data-capture-profiles/