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

Difference between cordova-plugin-mobile-ocr and cordova-plugin-ml-text #44

Closed Catscratch closed 3 years ago

Catscratch commented 3 years ago

Since this plugin seems outdated, is cordova-plugin-ml-text the current solution to use? What's the difference?

Thanks!

ChrisTomAlx commented 3 years ago

Tl;Dr : Use the cordova-plugin-ml-text. It is more recent, but less mature since it has not been used as much as the ocr plugin.

Long version : The ml-text plugin uses the more recent ml-kit based libraries. The mobile-ocr plugin was created when those libraries were in its infancy. It wasn't really a kit back then. I created the ml-kit plugin when google moved the libraries expecting this plugin to be outdated at some point. Although these plugins are similar their dependencies are slightly varied.

Cheers, Chris Neutrinos