"One" digit can't be recognized #1375
Replies: 9 comments
-
This is a topic of the neural network itself. The contrast is limited and right above the "1" there is another line (the end of the LCD display). |
Beta Was this translation helpful? Give feedback.
-
Can you please give me exact instructions what you need? Sorry for noob question. |
Beta Was this translation helpful? Give feedback.
-
I have a similar problem. I also have the 7 detected as 1. Is there a way to help the AI to learn? So I could say "No, this is a 1"? |
Beta Was this translation helpful? Give feedback.
-
On the 3rd to 5th digit you can see a reflection of light. Looks like a fluorescent tube. I think it is nearly impossible to train the digit detection that top line to be a reflection. Avoid these light reflections, and most likely everything will be fine. |
Beta Was this translation helpful? Give feedback.
-
Can anyone help me? What required for neural network training? I had read instruction from https://github.com/jomjol/AI-on-the-edge-device/wiki/Neural-Network-Types but it's not clear... |
Beta Was this translation helpful? Give feedback.
-
You need images. https://github.com/haverland/collectmeterdigits describes how to do. After you labeled the images put them in https://github.com/haverland/Tenth-of-step-of-a-meter-digit/tree/master/images. Best in /images/collected/// This you can later share as pull request. Run the notebook dig-class100-s2.ipynb or dig_class100-s1.ipynb s1 is bigger ans slower. s2 is in most cases the best. With Compare_all_tflite.ipynb you can compare it against the other models. You model (.tflite) is in output folder with a timestamp. EDIT: Before you start collecting images, please setup your ROIs like described in collectmeterdigits. Its easier to label later and has a better accuracy in recognition. (Uncheck "lock aspect ratio") |
Beta Was this translation helpful? Give feedback.
-
I repositioned the camera now and the reflection is gone. From my perspective the digit recognition should now work flawless, but the software is a different opinion. The fourth digit is a 3, but recognized as 1 o.O |
Beta Was this translation helpful? Give feedback.
-
The settings are still not like recommended! The ROIs are much too big. Plese follow the recommendations on this wiki page: https://github.com/jomjol/AI-on-the-edge-device/wiki/ROI-Configuration The outer border should be 20% |
Beta Was this translation helpful? Give feedback.
-
B.t.w. I had to uncheck the "Lock aspect ratio" box to get the digits match tight to the real numbers and then entered x and y size manually to be the same dimensions for all digits. sample image The contrast isn't perfect either. |
Beta Was this translation helpful? Give feedback.
-
The Problem
I use this great tool on my digital electricity counter. After tuning ROIs position and size it recognise all digits excellent except "1" - it is recognized as "N" or "7". Here is example:
Original image from Recognize page:
Digits are a bit angled because of counter screen composition, everything is aligned, all ROIs have same Y coordinate.
Latest release 12.0.1 firmware is installed and dig-class11_1430_s2.tflite is used from this latest release.
As I wrote earlier all digits are recognized perfectly, only "1" has problem. Is this possible to fix?
Version
12.0.1
Expected Behavior
No response
Screenshots
No response
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions