NeutrinosPlatform / cordova-plugin-mobile-ocr

A cordova plugin that can accept image URI or Base64 data and returns the text present in the image as string without need for network. You can also try :- https://github.com/NeutrinosPlatform/cordova-plugin-ml-text
MIT License
49 stars 30 forks source link

ocr.recText giving error #37

Closed sonydaman closed 4 years ago

sonydaman commented 4 years ago

Trying with :

this.ocr.recText(OCRSourceType.BASE64, this.imgUri)

Unfortunaltly getting error as follows :

Line 1824 : ERROR TypeError: Object(...) is not a function

The issue raised on Ionic Document

Ionic Info :

`Ionic:

Ionic CLI : 5.4.16 Ionic Framework : ionic-angular 3.9.5 @ionic/app-scripts : 3.2.4

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 8.1.0, ios 5.1.1 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 18 other plugins)

Utility:

cordova-res (update available: 0.15.1) : 0.11.0 native-run : 1.0.0

System:

Android SDK Tools : 26.1.1 ios-sim : 8.0.2 NodeJS : v12.16.3 npm : 6.14.5 OS : macOS Catalina Xcode : Xcode 11.5 Build version 11E608c `

ChrisTomAlx commented 4 years ago

Duplicate of #32