Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Reported Value vs Recognized Value Different #2830

Closed
lowson opened this issue Jan 26, 2024 · 16 comments
Closed

Reported Value vs Recognized Value Different #2830

lowson opened this issue Jan 26, 2024 · 16 comments
Labels
bug Something isn't working

Comments

@lowson
Copy link

lowson commented Jan 26, 2024

The Problem

So I have noticed two issues for awhile and I can't tell what is causing them or how to fix. I have tweaked various settings and models and update the to latest version, its not "critical" but looking for some help to debug what is happening.

First issue is the Recognized Digit ROIs reporting 0 as 10

Example
Screenshot from 2024-01-26 18-35-06

This is reporting the value 2419 right now and typically won't update until it sees 2421 likely.

Second issue is the Recognized Digit ROIs reporting correctly but not update the posted Value

sorry don't have a photo but ill update with one,

Will be in a state similar to the above but the Recognized Digit ROIs are 100% correct but the Value update doesn't change, in the above it would be stuck at 2419 but Recognized 2420 and again won't update until another full digit change.

I am trying to monitor if its specific digits or not but I haven't noticed anything specific yet, since the issue does resolve after another cycle I haven't report it until now.

Version

Release: v15.4.0 (Commit: 74d4f20)

Logfile

No Errors :/

Expected Behavior

No response

Screenshots

No response

Additional Context

No response

@lowson lowson added the bug Something isn't working label Jan 26, 2024
@lowson
Copy link
Author

lowson commented Jan 27, 2024

Screenshot from 2024-01-26 19-25-22

Flipped once the reading changed to 0.1 vs 10.

Anyway to force the digit to only real to a max of 9 for the first example

@Slider0007
Copy link
Collaborator

On recognition page single ROI values are getting rounded (e.g. 9.95 -> 10.0), internally for processing the algo they are truncated (e.g. 9.95 -> 9), though. This means value only gets detected as 0 if value is for sure greater than 0. Therefore it can happen displayed ROI values seems not matching in some situations...

@spanzetta
Copy link

On recognition page single ROI values are getting rounded (e.g. 9.95 -> 10.0), internally for processing the algo they are truncated (e.g. 9.95 -> 9), though. This means value only gets detected as 0 if value is for sure greater than 0. Therefore it can happen displayed ROI values seems not matching in some situations...

Could it be that sometimes the internal processing get rounded instead of get truncated?

@spanzetta
Copy link

On recognition page single ROI values are getting rounded (e.g. 9.95 -> 10.0), internally for processing the algo they are truncated (e.g. 9.95 -> 9), though. This means value only gets detected as 0 if value is for sure greater than 0. Therefore it can happen displayed ROI values seems not matching in some situations...

Could it be that sometimes the internal processing get rounded instead of get truncated?

With latest 15.5 it is happening many times..

@spanzetta
Copy link

See here.. it should be 8 and not 9

image

@simowilso
Copy link

Screenshot_20240207-094947
I'm seeing the same thing

@spanzetta
Copy link

This is even more strange

image

image

@Slider0007
Copy link
Collaborator

Slider0007 commented Feb 10, 2024

This is even more strange

image

image

I assume this issue here is also related to change introduced with #2778. Some further discussions, see #2857

@rainman110: FYI

@caco3
Copy link
Collaborator

caco3 commented Feb 15, 2024

We reverted #2778 for now. Please try rolling for a version as it was before #2778.

@petercoxphoto
Copy link

I'm having the same issue here. Build 15.7.0.

IMG_4293

@friedpa
Copy link

friedpa commented Jul 20, 2024

Your picture has (almost) no contrast and sharpness.
Example where you should end up....

grafik

@petercoxphoto
Copy link

Granted. But the system still recognizes the digits correctly in the detection screen. So there's sufficient contrast to do that reliably.

The question is why is the reported value different from what the detection shows?

@Vint1234
Copy link

I am having a similar issue with my new LCD based water meter on Build 15.7.0. The recognition shows the correct digits as displayed on the meter, but the value that is finally transmitted has an 8 instead of a 7, resulting in 2841 instead of 2741, see pictures below.

I am using the dig_class11_1700 mode, as it is the most appropriate for a simple LCD without continuos rotation of digits.

grafik

grafik

@Vint1234
Copy link

Just did a quick test, setting Check Digit Increase Consistency to false, as I do not see the point in a display with "perfect" digit transistions. First round emmediately reported the now expected negative rate error, as 2741 was recognised but 2841 was last sent. I will see, if this fixes it, once I have consumed more water.

@caco3
Copy link
Collaborator

caco3 commented Aug 26, 2024

@Vint1234 Since the digits are italics, it can help to rotate the image a bit to work against the tilting of the digits.

@Vint1234
Copy link

I have tested this now for 5 days and did not have any issues with, since I set Check Digit Increase Consistency to false. The italic digits do not seem to pose any issue with the recognition. My meter is a Diehl Hydrus2. The LED turns on 20s before the picture is taken and the LED is positioned in such a way, that it is above the light sensor of the meter that turns the display on.

Repository owner locked and limited conversation to collaborators Aug 28, 2024
@caco3 caco3 converted this issue into discussion #3201 Aug 28, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants