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

ionic 4 app.module.ts import MobileOCR not working Solution found #16

Closed badalpatel6534 closed 5 years ago

badalpatel6534 commented 5 years ago

Hello Community,

Issue:

Recently I used mobile ocr plugin in ionic 4 There is mistake in documentation: import { MobileOCR } from '@ionic-native/ocr/ngx'; This MobileOCR should not be imported

Solution:

change From: import { MobileOCR } from '@ionic-native/ocr/ngx'; To: import { OCR } from '@ionic-native/ocr/ngx'; This will work perfectly

hope so documentation will update and dev will use from MobileOCR to OCR

image

ChrisTomAlx commented 5 years ago

Hey @badalpatel6534 Thanks a lot for bringing this to the community's attention. I will pin this issue to the top and close it.

Cheers and have a nice day :) Chris Neutrinos