Closed maxp89 closed 3 years ago
Hi @maxp89 This repository simply wraps the upstream native Firebase SDKs and the ML native binaries need to be manually added. How well the detection functions sadly isn't up to us. Closing this since this is better suited for https://firebase.google.com/support Thank you
PS reminding you just in case that the latest Flutter stable is
2.0.0
so you shouldflutter upgrade
and the latest version of the package isfirebase_ml_vision: ^0.11.0
The text recognition from an imported image from the official ´firebase_ml_vision´ -> ´example´ app from the ´stable´ branch is not producing the desired results and:
It seems like the problem has to do with contrast and/or brightness of the image. After editing the camera picture from the paper, ml_vision was able to recognize the same like on the picture of the screen.
However, after producing a clear, high-contrast and light picture with the ´image´ plugin from pub.dev, the text could still NOT be recognized.
Is there any solution to increase the recognition chance of paper-based text? Not sure if this is a bug or more a settings or even input issue. Any documentation about restrictions on that?
Steps to Reproduce
Please use the following images and try the stable channel example plugin. Also try to use my modifications within the details section, they aim to improve brightness, contrast, etc. of the image as kind of a solution. But it didn't work, even if the image looks perfect.
Expected results: The same text on the paper is recognized like on the screen.
Actual results: Some or no text was recognized.
Pictures that were imported were taken from: https://letter.greatestview.de/
Result of picture from screen: https://imgur.com/AFx9nLx
Result of picture from printed screen: https://imgur.com/bbOFX7v
Result of edited (with iOS picture editor) picture from printed screen: https://imgur.com/SrMrVyC
Result of edited (with Flutter image plugin) picture from printed screen: https://imgur.com/a/Zpxwvtm