AI-on-the-edge-device icon indicating copy to clipboard operation
AI-on-the-edge-device copied to clipboard

OCR problem? How I that possible?

Open funx1 opened this issue 1 year ago • 10 comments
trafficstars

The Problem

OCR working but number not correctly used.

Version

'v15.6.0

Logfile

Got this before I set to previous value to 560,... 561 is not correctly identified and set although the OCR shows it.

Expected Behavior

No response

Screenshots

Screenshot 2024-02-14 at 17 16 30

Additional Context

No response

funx1 avatar Feb 14 '24 16:02 funx1

Can confirm this behavior with the same constallation with the last digit being 1 and still beeing recognised as 0

The Problem

OCR working but number not correctly used.

Version

'v15.6.0

Logfile

[0d00h00m00s] 2024-02-14T13:29:51 <INF> [MAIN] ================================================= [0d00h00m00s] 2024-02-14T13:29:51 <INF> [MAIN] ==================== Start ====================== [0d00h00m00s] 2024-02-14T13:29:51 <INF> [MAIN] ================================================= [0d00h00m00s] 2024-02-14T13:29:51 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit) [0d00h00m00s] 2024-02-14T13:29:51 <INF> [MAIN] Total heap: 4380111 byte [0d00h00m04s] 2024-02-14T13:29:56 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2 [0d00h00m04s] 2024-02-14T13:29:56 <INF> [SDCARD] Basic R/W check started... [0d00h00m04s] 2024-02-14T13:29:56 <INF> [SDCARD] Basic R/W check successful [0d00h00m04s] 2024-02-14T13:29:56 <INF> [SNTP] TimeServer: ***** [0d00h00m04s] 2024-02-14T13:29:56 <INF> [SNTP] Configuring NTP Client... [0d00h00m04s] 2024-02-14T14:29:56 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3 [0d00h00m04s] 2024-02-14T14:29:56 <INF> [SNTP] time zone: +0100 Delta to UTC: 3600 seconds [0d00h00m04s] 2024-02-14T14:29:56 <INF> [SNTP] Time is already set: 2024-02-14 14:29:56 [0d00h00m04s] 2024-02-14T14:29:56 <INF> [MAIN] CPU frequency: 160 MHz [0d00h00m05s] 2024-02-14T14:29:56 <INF> [SDCARD] Folder/file presence check started... [0d00h00m05s] 2024-02-14T14:29:56 <INF> [SDCARD] Folder/file presence check successful [0d00h00m05s] 2024-02-14T14:29:56 <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-02-14T14:29:56 <INF> [MAIN] Reset reason: Via esp_restart [0d00h00m05s] 2024-02-14T14:29:56 <INF> [WLANINI] SSID: ******* [0d00h00m05s] 2024-02-14T14:29:56 <INF> [WLANINI] Password: XXXXXXXX [0d00h00m05s] 2024-02-14T14:29:56 <INF> [WLANINI] Hostname: Wasseruhr [0d00h00m05s] 2024-02-14T14:29:56 <INF> [WLANINI] RSSIThreshold: -75 [0d00h00m05s] 2024-02-14T14:29:56 <INF> [MAIN] WLAN config loaded, init WIFI... [0d00h00m05s] 2024-02-14T14:29:56 <INF> [WIFI] Automatic interface config --> Use DHCP service [0d00h00m05s] 2024-02-14T14:29:57 <INF> [WIFI] Set hostname to: Wasseruhr [0d00h00m05s] 2024-02-14T14:29:57 <INF> [WIFI] Init successful [0d00h00m09s] 2024-02-14T14:30:01 <INF> [WIFI] Connected to: *****, RSSI: -69 [0d00h00m10s] 2024-02-14T14:30:02 <INF> [WIFI] Assigned IP: 192.168.0.173 [0d00h00m25s] 2024-02-14T14:30:17 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 100 [0d00h00m25s] 2024-02-14T14:30:17 <INF> [MAIN] SD card info: Name: 00000, Capacity: 971MB, Free: 960MB [0d00h00m27s] 2024-02-14T14:30:19 <INF> [MAIN] Initialization completed successfully [0d00h00m30s] 2024-02-14T14:30:21 <INF> [LOGFILE] Set log level to ERROR [0d00h01m53s] 2024-02-14T14:31:45 <ERR> [POSTPROC] main: Raw: 00280.6203, Value: , Status: Neg. Rate - Read: - Raw: 00280.6203 - Pre: 281.4950 [0d00h03m53s] 2024-02-14T14:33:45 <ERR> [POSTPROC] main: Raw: 00280.6203, Value: , Status: Neg. Rate - Read: - Raw: 00280.6203 - Pre: 281.4950

Expected Behavior

when recognising 1, then use 1 not 0 :D

image image image

IvoFalke avatar Feb 14 '24 19:02 IvoFalke

I have the exact same issue with the last digit being a 2 still being recognized as a 1.

The Problem

OCR working but number not correctly used.

Version

'v15.6.0

Logfile [0d00h00m00s] 2024-02-15T11:14:33 <INF> [MAIN] ================================================= [0d00h00m00s] 2024-02-15T11:14:33 <INF> [MAIN] ==================== Start ====================== [0d00h00m00s] 2024-02-15T11:14:33 <INF> [MAIN] ================================================= [0d00h00m00s] 2024-02-15T11:14:33 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit) [0d00h00m00s] 2024-02-15T11:14:33 <INF> [MAIN] Total heap: 4380243 byte [0d00h00m04s] 2024-02-15T11:14:37 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2 [0d00h00m04s] 2024-02-15T11:14:37 <INF> [SDCARD] Basic R/W check started... [0d00h00m04s] 2024-02-15T11:14:37 <INF> [SDCARD] Basic R/W check successful [0d00h00m04s] 2024-02-15T11:14:37 <INF> [SNTP] TimeServer: xxx [0d00h00m04s] 2024-02-15T11:14:37 <INF> [SNTP] Configuring NTP Client... [0d00h00m04s] 2024-02-15T12:14:37 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3 [0d00h00m04s] 2024-02-15T12:14:37 <INF> [SNTP] time zone: +0100 Delta to UTC: 3600 seconds [0d00h00m04s] 2024-02-15T12:14:37 <INF> [SNTP] Time is already set: 2024-02-15 12:14:37 [0d00h00m04s] 2024-02-15T12:14:37 <INF> [MAIN] CPU frequency: 160 MHz [0d00h00m04s] 2024-02-15T12:14:37 <INF> [SDCARD] Folder/file presence check started... [0d00h00m05s] 2024-02-15T12:14:37 <INF> [SDCARD] Folder/file presence check successful [0d00h00m05s] 2024-02-15T12:14:37 <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-02-15T12:14:37 <INF> [MAIN] Reset reason: Via esp_restart [0d00h00m05s] 2024-02-15T12:14:37 <INF> [WLANINI] SSID: xxx [0d00h00m05s] 2024-02-15T12:14:37 <INF> [WLANINI] Password: XXXXXXXX [0d00h00m05s] 2024-02-15T12:14:37 <INF> [WLANINI] Hostname: watermeter [0d00h00m05s] 2024-02-15T12:14:38 <INF> [MAIN] WLAN config loaded, init WIFI... [0d00h00m05s] 2024-02-15T12:14:38 <INF> [WIFI] Automatic interface config --> Use DHCP service [0d00h00m05s] 2024-02-15T12:14:38 <INF> [WIFI] Set hostname to: watermeter [0d00h00m05s] 2024-02-15T12:14:38 <INF> [WIFI] Init successful [0d00h00m09s] 2024-02-15T12:14:42 <INF> [WIFI] Connected to: xxx [0d00h00m10s] 2024-02-15T12:14:43 <INF> [WIFI] Assigned IP: xxx [0d00h00m25s] 2024-02-15T12:14:58 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 100 [0d00h00m25s] 2024-02-15T12:14:58 <INF> [MAIN] SD card info: Name: 00000, Capacity: 29983MB, Free: 29940MB [0d00h00m27s] 2024-02-15T12:15:00 <INF> [MAIN] Initialization completed successfully [0d00h00m29s] 2024-02-15T12:15:02 <INF> [LOGFILE] Set log level to WARNING [0d00h01m27s] 2024-02-15T12:15:59 <ERR> [POSTPROC] main: Raw: 611.6523, Value: , Status: Neg. Rate - Read: - Raw: 611.6523 - Pre: 612.6523 [0d00h04m26s] 2024-02-15T12:18:59 <ERR> [POSTPROC] main: Raw: 611.6523, Value: , Status: Neg. Rate - Read: - Raw: 611.6523 - Pre: 612.6523

Expected Behavior

Report correctly recognized value

Screenshot 2024-02-15 at 12 33 55 Screenshot 2024-02-15 at 12 34 35

knuuten avatar Feb 15 '24 11:02 knuuten

Actually the problem continues as now recognizing 2 but setting the previous value again not to the recognized value. It seems to just adds +1. Now I have recognized 2 as the last digit but it show a 3 as the previous value.

funx1 avatar Feb 15 '24 16:02 funx1

There was an issue in v15.5, maybe it is related to your issue, please update to rolling where we reverted this regression. See https://github.com/jomjol/AI-on-the-edge-device/pull/2899

caco3 avatar Feb 15 '24 20:02 caco3

There was an issue in v15.5, maybe it is related to your issue, please update to rolling where we reverted this regression. See https://github.com/jomjol/AI-on-the-edge-device/pull/2899

Hi, I had the error in Release: v15.6.0 as you can see in the provided log. V15.4 ist working correctly. Should try v15.6 again?

Thank you

IvoFalke avatar Feb 16 '24 14:02 IvoFalke

no, try rolling or wait for the next release

caco3 avatar Feb 16 '24 21:02 caco3

You can try the latest Automatic Build of the the rolling or any other branch. It might already contain a fix for your issue. See the documentation for additional information.

github-actions[bot] avatar Feb 16 '24 21:02 github-actions[bot]

are there any plans to build a release with this important fix in the next days ?

philipherbert avatar Feb 16 '24 23:02 philipherbert

We just released v15.7.0 which hopefully fixes this issue.

caco3 avatar Feb 17 '24 00:02 caco3

I just saw the issue with 15.7.0

A380Coding avatar Feb 21 '24 21:02 A380Coding