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

Recognition correct, Value false #3364

Closed
DennisH1978 opened this issue Oct 30, 2024 · 18 comments
Closed

Recognition correct, Value false #3364

DennisH1978 opened this issue Oct 30, 2024 · 18 comments
Labels
bug Something isn't working

Comments

@DennisH1978
Copy link

The Problem

Hello everyone. I'm turning to you now as a last resort. My water meter keeps reading incorrect values. But recognition recognizes everything reliably. I recently switched to a new ESP including a new SD card and completely re-set up the system. same problem over and over again. I have already tried other digits, tried with or without previous value, tried different maximum rate values, tried various firmware. I've talked to people from other forums and they can't help me anymore either. I'm going crazy because I just can't locate the error. I don't understand why I always get results that are 1cm³ less than what he correctly recognized in the recognition. please help me. Thank you

Version

v15.6.0

Logfile

[0d00h00m00s] 2024-10-30T20:14:43 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-10-30T20:14:43 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2024-10-30T20:14:43 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-10-30T20:14:43 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2024-10-30T20:14:44 <INF> [MAIN] Total heap: 4380111 byte
[0d00h00m04s] 2024-10-30T20:14:48 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m04s] 2024-10-30T20:14:48 <INF> [SDCARD] Basic R/W check started...
[0d00h00m04s] 2024-10-30T20:14:48 <INF> [SDCARD] Basic R/W check successful
[0d00h00m04s] 2024-10-30T20:14:48 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m04s] 2024-10-30T20:14:48 <INF> [SNTP] Configuring NTP Client...
[0d00h00m04s] 2024-10-30T21:14:48 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m04s] 2024-10-30T21:14:48 <INF> [SNTP] time zone: +0100 Delta to UTC: 3600 seconds
[0d00h00m04s] 2024-10-30T21:14:48 <INF> [SNTP] Time is already set: 2024-10-30 21:14:48
[0d00h00m04s] 2024-10-30T21:14:48 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m05s] 2024-10-30T21:14:49 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m05s] 2024-10-30T21:14:49 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m05s] 2024-10-30T21:14:49 <INF> [MAIN] Tag: 'v15.6.0', Release: v15.6.0 (Commit: 8d6f731+), Date/Time: 2024-02-09 13:01, Web UI: Release: v15.6.0 (Commit: 8d6f731+)
[0d00h00m05s] 2024-10-30T21:14:49 <INF> [MAIN] Reset reason: Via esp_restart
[0d00h00m05s] 2024-10-30T21:14:49 <INF> [WLANINI] SSID: FRITZ!Box 7490
[0d00h00m05s] 2024-10-30T21:14:49 <INF> [WLANINI] Password: XXXXXXXX
[0d00h00m05s] 2024-10-30T21:14:49 <INF> [WLANINI] Hostname: Wasseruhr
[0d00h00m05s] 2024-10-30T21:14:49 <INF> [WLANINI] RSSIThreshold: -75
[0d00h00m05s] 2024-10-30T21:14:49 <INF> [MAIN] WLAN config loaded, init WIFI...
[0d00h00m05s] 2024-10-30T21:14:49 <INF> [WIFI] Automatic interface config --> Use DHCP service
[0d00h00m06s] 2024-10-30T21:14:49 <INF> [WIFI] Set hostname to: Wasseruhr
[0d00h00m06s] 2024-10-30T21:14:49 <INF> [WIFI] Init successful
[0d00h00m08s] 2024-10-30T21:14:52 <INF> [WIFI] Connected to: FRITZ!Box 7490, RSSI: -56
[0d00h00m09s] 2024-10-30T21:14:53 <INF> [WIFI] Assigned IP: 192.168.178.19
[0d00h00m10s] 2024-10-30T21:14:54 <INF> [SNTP] Time is synced with NTP Server pool.ntp.org: 2024-10-30 21:14:54
[0d00h00m12s] 2024-10-30T21:14:55 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 101
[0d00h00m12s] 2024-10-30T21:14:55 <INF> [MAIN] SD card info: Name: NCard, Capacity: 14910MB, Free: 14883MB
[0d00h00m14s] 2024-10-30T21:14:57 <INF> [MAIN] Initialization completed successfully
[0d00h00m16s] 2024-10-30T21:15:00 <INF> [LOGFILE] Set log level to ERROR
[0d00h00m51s] 2024-10-30T21:15:34 <ERR> [POSTPROC] main: Raw: 270.7897, Value: , Status: Neg. Rate - Read: - Raw: 270.7897 - Pre: 271.7000
[0d00h05m50s] 2024-10-30T21:20:34 <ERR> [POSTPROC] main: Raw: 270.7899, Value: , Status: Neg. Rate - Read: - Raw: 270.7899 - Pre: 271.7000
[0d00h10m50s] 2024-10-30T21:25:34 <ERR> [POSTPROC] main: Raw: 270.7897, Value: , Status: Neg. Rate - Read: - Raw: 270.7897 - Pre: 271.7000
[0d00h15m50s] 2024-10-30T21:30:34 <ERR> [POSTPROC] main: Raw: 270.7897, Value: , Status: Neg. Rate - Read: - Raw: 270.7897 - Pre: 271.7000
[0d00h20m50s] 2024-10-30T21:35:34 <ERR> [POSTPROC] main: Raw: 270.7898, Value: , Status: Neg. Rate - Read: - Raw: 270.7898 - Pre: 271.7000
[0d00h25m50s] 2024-10-30T21:40:34 <ERR> [POSTPROC] main: Raw: 270.7897, Value: , Status: Neg. Rate - Read: - Raw: 270.7897 - Pre: 271.7000
[0d00h30m50s] 2024-10-30T21:45:34 <ERR> [POSTPROC] main: Raw: 270.7898, Value: , Status: Neg. Rate - Read: - Raw: 270.7898 - Pre: 271.7000
[0d00h35m50s] 2024-10-30T21:50:34 <ERR> [POSTPROC] main: Raw: 270.7898, Value: , Status: Neg. Rate - Read: - Raw: 270.7898 - Pre: 271.7000
[0d00h40m50s] 2024-10-30T21:55:34 <ERR> [POSTPROC] main: Raw: 270.7898, Value: , Status: Neg. Rate - Read: - Raw: 270.7898 - Pre: 271.7000
[0d00h45m50s] 2024-10-30T22:00:34 <ERR> [POSTPROC] main: Raw: 270.7897, Value: , Status: Neg. Rate - Read: - Raw: 270.7897 - Pre: 271.7000
[0d00h50m50s] 2024-10-30T22:05:34 <ERR> [POSTPROC] main: Raw: 270.7898, Value: , Status: Neg. Rate - Read: - Raw: 270.7898 - Pre: 271.7000
[0d00h55m50s] 2024-10-30T22:10:34 <ERR> [POSTPROC] main: Raw: 270.7899, Value: , Status: Neg. Rate - Read: - Raw: 270.7899 - Pre: 271.7000
[0d01h00m50s] 2024-10-30T22:15:34 <ERR> [POSTPROC] main: Raw: 270.7899, Value: , Status: Neg. Rate - Read: - Raw: 270.7899 - Pre: 271.7000
[0d01h05m50s] 2024-10-30T22:20:34 <ERR> [POSTPROC] main: Raw: 270.7899, Value: , Status: Neg. Rate - Read: - Raw: 270.7899 - Pre: 271.7000
[0d01h10m50s] 2024-10-30T22:25:34 <ERR> [POSTPROC] main: Raw: 270.7900, Value: , Status: Neg. Rate - Read: - Raw: 270.7900 - Pre: 271.7000
[0d01h15m50s] 2024-10-30T22:30:34 <ERR> [POSTPROC] main: Raw: 270.7899, Value: , Status: Neg. Rate - Read: - Raw: 270.7899 - Pre: 271.7000
[0d01h20m50s] 2024-10-30T22:35:34 <ERR> [POSTPROC] main: Raw: 270.7899, Value: , Status: Neg. Rate - Read: - Raw: 270.7899 - Pre: 271.7000
[0d01h25m50s] 2024-10-30T22:40:34 <ERR> [POSTPROC] main: Raw: 270.7899, Value: , Status: Neg. Rate - Read: - Raw: 270.7899 - Pre: 271.7000
[0d01h30m51s] 2024-10-30T22:45:34 <ERR> [POSTPROC] main: Raw: 270.7930, Value: , Status: Neg. Rate - Read: - Raw: 270.7930 - Pre: 271.7000
[0d01h35m50s] 2024-10-30T22:50:34 <ERR> [POSTPROC] main: Raw: 270.7931, Value: , Status: Neg. Rate - Read: - Raw: 270.7931 - Pre: 271.7000
[0d01h40m50s] 2024-10-30T22:55:34 <ERR> [POSTPROC] main: Raw: 270.7931, Value: , Status: Neg. Rate - Read: - Raw: 270.7931 - Pre: 271.7000
[0d01h45m50s] 2024-10-30T23:00:34 <ERR> [POSTPROC] main: Raw: 270.7932, Value: , Status: Neg. Rate - Read: - Raw: 270.7932 - Pre: 271.7000
[0d01h50m50s] 2024-10-30T23:05:34 <ERR> [POSTPROC] main: Raw: 270.7932, Value: , Status: Neg. Rate - Read: - Raw: 270.7932 - Pre: 271.7000
[0d01h55m50s] 2024-10-30T23:10:34 <ERR> [POSTPROC] main: Raw: 270.7932, Value: , Status: Neg. Rate - Read: - Raw: 270.7932 - Pre: 271.7000
[0d02h00m50s] 2024-10-30T23:15:34 <ERR> [POSTPROC] main: Raw: 270.7932, Value: , Status: Neg. Rate - Read: - Raw: 270.7932 - Pre: 271.7000
[0d02h05m50s] 2024-10-30T23:20:34 <ERR> [POSTPROC] main: Raw: 270.7932, Value: , Status: Neg. Rate - Read: - Raw: 270.7932 - Pre: 271.7000
[0d02h10m50s] 2024-10-30T23:25:34 <ERR> [POSTPROC] main: Raw: 270.7932, Value: , Status: Neg. Rate - Read: - Raw: 270.7932 - Pre: 271.7000
[0d02h15m50s] 2024-10-30T23:30:34 <ERR> [POSTPROC] main: Raw: 270.7932, Value: , Status: Neg. Rate - Read: - Raw: 270.7932 - Pre: 271.7000
[0d00h00m00s] 2024-10-30T22:33:19 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-10-30T22:33:20 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2024-10-30T22:33:20 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-10-30T22:33:20 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2024-10-30T22:33:20 <INF> [MAIN] Total heap: 4380111 byte
[0d00h00m04s] 2024-10-30T22:33:24 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m04s] 2024-10-30T22:33:24 <INF> [SDCARD] Basic R/W check started...
[0d00h00m04s] 2024-10-30T22:33:24 <INF> [SDCARD] Basic R/W check successful
[0d00h00m04s] 2024-10-30T22:33:24 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m04s] 2024-10-30T22:33:24 <INF> [SNTP] Configuring NTP Client...
[0d00h00m04s] 2024-10-30T23:33:24 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m04s] 2024-10-30T23:33:24 <INF> [SNTP] time zone: +0100 Delta to UTC: 3600 seconds
[0d00h00m04s] 2024-10-30T23:33:24 <INF> [SNTP] Time is already set: 2024-10-30 23:33:24
[0d00h00m04s] 2024-10-30T23:33:24 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m05s] 2024-10-30T23:33:25 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m05s] 2024-10-30T23:33:25 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m05s] 2024-10-30T23:33:25 <INF> [MAIN] Tag: 'v15.6.0', Release: v15.6.0 (Commit: 8d6f731+), Date/Time: 2024-02-09 13:01, Web UI: Release: v15.6.0 (Commit: 8d6f731+)
[0d00h00m05s] 2024-10-30T23:33:25 <INF> [MAIN] Reset reason: Via esp_restart
[0d00h00m05s] 2024-10-30T23:33:25 <INF> [WLANINI] SSID: FRITZ!Box 7490
[0d00h00m05s] 2024-10-30T23:33:25 <INF> [WLANINI] Password: XXXXXXXX
[0d00h00m05s] 2024-10-30T23:33:25 <INF> [WLANINI] Hostname: Wasseruhr
[0d00h00m05s] 2024-10-30T23:33:25 <INF> [WLANINI] RSSIThreshold: -75
[0d00h00m05s] 2024-10-30T23:33:25 <INF> [MAIN] WLAN config loaded, init WIFI...
[0d00h00m05s] 2024-10-30T23:33:25 <INF> [WIFI] Automatic interface config --> Use DHCP service
[0d00h00m06s] 2024-10-30T23:33:25 <INF> [WIFI] Set hostname to: Wasseruhr
[0d00h00m06s] 2024-10-30T23:33:25 <INF> [WIFI] Init successful
[0d00h00m08s] 2024-10-30T23:33:28 <INF> [WIFI] Connected to: FRITZ!Box 7490, RSSI: -57
[0d00h00m09s] 2024-10-30T23:33:29 <INF> [WIFI] Assigned IP: 192.168.178.19
[0d00h00m12s] 2024-10-30T23:33:32 <INF> [SNTP] Time is synced with NTP Server pool.ntp.org: 2024-10-30 23:33:32
[0d00h00m14s] 2024-10-30T23:33:33 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 101
[0d00h00m14s] 2024-10-30T23:33:33 <INF> [MAIN] SD card info: Name: NCard, Capacity: 14910MB, Free: 14883MB
[0d00h00m16s] 2024-10-30T23:33:36 <INF> [MAIN] Initialization completed successfully
[0d00h00m18s] 2024-10-30T23:33:38 <INF> [LOGFILE] Set log level to ERROR
[0d00h00m53s] 2024-10-30T23:34:13 <ERR> [POSTPROC] main: Raw: 270.7932, Value: , Status: Neg. Rate - Read: - Raw: 270.7932 - Pre: 271.7000
[0d00h05m52s] 2024-10-30T23:39:12 <ERR> [POSTPROC] main: Raw: 270.7932, Value: , Status: Neg. Rate - Read: - Raw: 270.7932 - Pre: 271.7000
[0d00h10m52s] 2024-10-30T23:44:12 <ERR> [POSTPROC] main: Raw: 270.7932, Value: , Status: Neg. Rate - Read: - Raw: 270.7932 - Pre: 271.7000
[0d00h15m53s] 2024-10-30T23:49:12 <ERR> [POSTPROC] main: Raw: 270.7933, Value: , Status: Neg. Rate - Read: - Raw: 270.7933 - Pre: 271.7000

Expected Behavior

I would hope that we can find the error and fix it.

Screenshots

Main
Recognition

Additional Context

Wir können auch gerne in Deutsch schreiben. ;-)
Main
Recognition

@DennisH1978 DennisH1978 added the bug Something isn't working label Oct 30, 2024
@SybexX
Copy link
Collaborator

SybexX commented Oct 30, 2024

hast du dir mal diesen Parameter angeguckt bzw. verändert/angepasst https://jomjol.github.io/AI-on-the-edge-device-docs/Watermeter-specific-analog---digital-transition/ ?

@DennisH1978
Copy link
Author

Hi,
Ja, habe ich auch schon hinter mir. Schon etliche Werte ausprobiert. In großen und kleinen Sprüngen. Führte leider nicht zum Erfolg.
Gruß Dennis

@SybexX
Copy link
Collaborator

SybexX commented Oct 30, 2024

Wenn du Lust hast, kannst du die folgende Firmware ausprobieren: https://github.com/SybexX/AI-on-the-edge-device/actions/runs/11629887791

@DennisH1978
Copy link
Author

Moin, FW Update geglückt. Fehler leider immer noch da.
Übersicht
Recognition

@SybexX
Copy link
Collaborator

SybexX commented Oct 31, 2024

Der Wert ist doch ok, nur dein PreValue ist falsch gesetzt. Offenbar gibt es Fehler bei der Erkennung, versuche mal ein anderes model oder zoome rein um die ROIs zu vergrößern.

@DennisH1978
Copy link
Author

Den PreValue hat er sich ja selbst raus rausgelesen. ;-) Aber das mit dem Zoom probiere ich. Ich gebe Info. Danke!

@DennisH1978
Copy link
Author

Welches Model sollte ich alternativ nehmen?

@SybexX
Copy link
Collaborator

SybexX commented Oct 31, 2024

Welches Analoge model verwendest du momentan, das ana-class oder ana-cont?

@DennisH1978
Copy link
Author

das ana-cont 1208

@SybexX
Copy link
Collaborator

SybexX commented Oct 31, 2024

mit _q oder ohne?

@DennisH1978
Copy link
Author

mit, sorry

@SybexX
Copy link
Collaborator

SybexX commented Oct 31, 2024

versuche mal ohne "_q", soweit ich weiß, sind sie genauer beim Digitalisieren.
Oder die neuere Version davon, die ana-cont_1300_s2

@DennisH1978
Copy link
Author

Werde ich probieren, vielen Dank! Habe jetzt die 1300er genommen und habe das Referenzbild aufgezoomt und als Negativ probiert. Ist vielleicht noch ein wenig besser zu erkennen. Ichberichte. ;-)

@SybexX
Copy link
Collaborator

SybexX commented Oct 31, 2024

Dies wird in der Regel zu Problemen führen, da die Modelle nicht mit den Spezialeffekten trainiert wurden.

@DennisH1978
Copy link
Author

Merke ich gerade, er spinnt sich richtig einen zurecht.
Neu

@DennisH1978
Copy link
Author

Versuch mit den ana-cont 1300
1300

@DennisH1978
Copy link
Author

Und hier die Version mit ana-cont 11.3.1 / ich verstehe das alles nicht. Wenn man manche Fotos sieht, wo die Einrichtung nur so lari-fari hingepfuscht wurde und es funktioniert jahrelang und dagegen meine Einrichtung, wo ich mir an jeder kleinen Stelle Gedanken mache und das versuche,. so perfekt wie möglich zu machen - und bei mir will es einfach nicht funktionieren. Und dann so dumme Fehler. Wie kann sich die KI denn so in den Werten täuschen?
1131

@SybexX
Copy link
Collaborator

SybexX commented Oct 31, 2024

Versuche mal, die LED-Intensität zu reduzieren. Wenn das Bild dadurch zu dunkel wird, erhöhe CamGainceiling.
Um ähnliche Ergebnisse zu erzielen:
381943950-1940a77e-4370-48cf-8102-d8f07b9f953a

Repository owner locked and limited conversation to collaborators Nov 4, 2024
@caco3 caco3 converted this issue into discussion #3370 Nov 4, 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

2 participants