Skip to content
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

Different recognition on digits if after a while (~ 1000 rounds) #2811

Closed
nliaudat opened this issue Jan 15, 2024 · 2 comments
Closed

Different recognition on digits if after a while (~ 1000 rounds) #2811

nliaudat opened this issue Jan 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@nliaudat
Copy link
Contributor

The Problem

Hi,

Since last release v15.4.0 (Commit: 74d4f20) and dig-class100-0168_s2_q.tflite, I have bad recognition on digit after about 1000-1500 rounds.

As sample :
On error, 9 is recognized as 6.4
image
After reboot (with no water consumption), the recognition is good :
image

Version

15.4.0

Logfile

not helpfull : 

[0d00h00m00s] 2024-01-15T17:23:56 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2024-01-15T17:23:56 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-01-15T17:23:56 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2024-01-15T17:23:56 <INF> [MAIN] Total heap: 4382019 byte
[0d00h00m04s] 2024-01-15T17:24:00 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m04s] 2024-01-15T17:24:00 <INF> [SDCARD] Basic R/W check started...
[0d00h00m04s] 2024-01-15T17:24:00 <INF> [SDCARD] Basic R/W check successful
[0d00h00m04s] 2024-01-15T17:24:00 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m04s] 2024-01-15T17:24:00 <INF> [SNTP] Configuring NTP Client...
[0d00h00m04s] 2024-01-15T18:24:00 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m04s] 2024-01-15T18:24:00 <INF> [SNTP] Time is already set: 2024-01-15 18:24:00
[0d00h00m04s] 2024-01-15T18:24:00 <INF> [MAIN] CPU frequency: 240 MHz
[0d00h00m05s] 2024-01-15T18:24:01 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m05s] 2024-01-15T18:24:01 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m05s] 2024-01-15T18:24:01 <INF> [MAIN] Tag: 'v15.4.0', Release: v15.4.0 (Commit: 74d4f20), Date/Time: 2023-12-22 22:39, Web UI: Release: v15.4.0 (Commit: 74d4f20)

Expected Behavior

No response

Screenshots

No response

Additional Context

One strange thing is that it's append always on the 5th digit out of 8 and only on one of my board.

I post that issue cause it's perhaps related with memory consumption/leak

Memory Info before reboot

Total Free (Int + Ext):		846991 byte
Ext. RAM - Free:		766968 byte
Ext. RAM - Largest Free Block:		753664 byte
Ext. RAM - Min Free:		635968 byte
Int. RAM - Free:		80023 byte
Int. RAM - Largest Free Block:		77824 byte
Int. RAM - Min Free:		76707 byte

Memory Info after reboot

Total Free (Int + Ext):		854587 byte
Ext. RAM - Free:		760952 byte
Ext. RAM - Largest Free Block:		753664 byte
Ext. RAM - Min Free:		637472 byte
Int. RAM - Free:		93635 byte
Int. RAM - Largest Free Block:		90112 byte
Int. RAM - Min Free:		90015 byte
@nliaudat nliaudat added the bug Something isn't working label Jan 15, 2024
@caco3
Copy link
Collaborator

caco3 commented Feb 12, 2024

Can you provide debug logs of the good and bad recognition?

This really looks odd. AFAIK, there is no long term part considered in the algorithms.

@nliaudat
Copy link
Contributor Author

No problem with 15.6.0
I have upgraded my 2 devices, sry

@caco3 caco3 closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants