-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recognition works, but the raw value is wrong #1110
Comments
@Plawasan your last digit should have the height like the digit before and all other digits should be the height like in picture described. |
I hear you, but recognition is not the issue here, the algorithm is... however I have updated the ROIs to match the recommended settings, no difference in output: |
@SilRo991 if you use a class100 or cont model for digits your issue is fixed. Depends on the post-processing of class11. |
Class100 and cont models have the same post-processing, but class11 it's own. EDIT: Your 2.8 => 3 comes from post-process. The models have an inaccuracy of +/- 0.1 in digits. Currently the inaccuracy is set to 0.2 and here it rounds. If you move the ROIs 2px up it should recognize 2.7 until >9.3 of the pointer and then it should calculate it correct. |
I've changed the config to use the class 11 model, still the same exact thing
|
A class11 will recognize "3". The problem here is, only > 9.x on the analog a special post-processing will be used and calculate here a 3(-1)=2. Here is the difference between the pointer and the first digit our biggest problem. |
@haverland I forgot to say that I also checked ROI Configuration and Choosing the Model. I thried all but it is always the same raw value. I also did a fresh installation of v11.3.1 and restored my config. Checked the differences in default config settings and mine. My config is basically default except the positioning parameters. But I am not really sure what it has to do with the ROI or tflite as the recognition page show us the right value. |
Well, in principle you are right. But you see here one of the current challanges. Although you 0.1 counter is clearly higher than 2 already, the last digit is only at ~6.7. That is still challange for us to fine tune the settings and make them accesible in an understandable way to the user, so he can adjust to the specific model. That will take some time, as the development here is very time consuming. |
My Suggestion would be to let us users define a value which should gec calculated to the detected value. |
@jomjol you are right... now it is 6.8 and the new counter is valid... thats for me ok... Thanks for this Projekt It is very stable and works reliable |
You Van reduce the height on Top of the digits. The ROIs are over the digit window. With newer models Dig-Class100 or dig-cont its essentially to set the ROIs close to the top and bottom of the digit window, to get correct results. |
Possibly stupid question (have not looked at the code yet) but would the following process make sense?
e.g.: working on a number made up of: dig1 -> recognized as 2.2 in my experience this would yield a raw valui of 246.938 instead of the 275.938 it should be. This regularely leads to phases of error state, until the counter rolls over and it's not suddenly 1 m³ more than before. I would have expected that the translation from recognition to raw value would be something like... ana3: 8.6, tolerance 0.2, must be 8. might also be possible to go the other direction as well as yet another sanity check in the end am I completely off or is that something that can be implemented to vastly improve accuracy? |
But I found the tolerance of 0.2 is not useful on the transition ana->dig. The difference between dig and ana is often very much (see @Duese123 dig=6.7, ana=2.2 => value=7.2) Edit: |
@Plawasan : I'm not really shure here. Could you give a screenshot when the analog pointer is between 7-8. And a screenshot when the pointer ist between 9-0? |
|
Thx. Looks like the last digit rolling with the analog pointer parallel. Not like the other digits |
@Plawasan: In next release you can set AnalogDigitalTransitionStart. Your meters should set here to 7.6-7.7. All others can use the defaults. |
Describe the bug
After updating to the latest version, I get the wrong raw value.
The recognition works perfectly. I didn't find anything on the wiki to solve the problem myself.
I played a lot with the focus of the camera and the alignment. I don't think that's the problem though, as the recognition works.
Version
11.3.1
Updated to Version: Branch: 'HEAD', Tag: 'v12.0.1', Revision: dfe2c46 - same behavior
Expected behavior
The value should be the correct one, as it is also output by the recognition.
Screenshots
The text was updated successfully, but these errors were encountered: