vladiH / flutter_vision

A Flutter plugin for managing both Yolov5 model and Tesseract v4, accessing with TensorFlow Lite 2.x. Support object detection, segmentation and OCR on both iOS and Android.
https://pub.dev/packages/flutter_vision
MIT License
72 stars 31 forks source link

Confidence always show 100% #21

Closed hukutonpl closed 1 year ago

hukutonpl commented 1 year ago

Trained my model using colab and tested it. Never 100%. I tried to print(${result['box'][4]}) and it always show 0.999.. What do you think is the issue?

Ludvig-Joborn commented 1 year ago

Your question is extraordinarily unclear, but I'm interpreting it as 'why does my model never give 100% confidence?' Then I'll tell you that it's extremely rare that models have 100% confidence, even if it is extremely certain. So a probability of 0.999 is actually a very good result.