flutter-ml / google_ml_kit_flutter

A flutter plugin that implements Google's standalone ML Kit
MIT License
988 stars 746 forks source link

Number detection in 7 segment display #399

Closed Saad29 closed 1 year ago

Saad29 commented 1 year ago

The detection of numbers while using text recognition is quite poor on 7 segment displays. Is there any settings that I should take care of or I am missing something? Or does this library cannot actually detect digits in 7 segment displays?

damianjasinski commented 1 year ago

Im also facing same problem

MLZ91 commented 1 year ago

just realized this problem as well

Update: I thought it could help to detect the position of the text first and smoothen the corners. But I do not think flutter's opencv packages(nor any other packages) offer all the functions needed for this. Also I doubt it would help with the numbers "1" and "7". So I think this is a dead end.

But it could be possible with a custom model for detecting seven segment numbers using: https://pub.dev/packages/tflite Not sure how much work this means because I didnt use it yet.

fbernaly commented 1 year ago

I dont think 7 segments displays in included in Google's API.