Skip to content

Bad resolution for the image, but not on the livestream #3966

@TrueMB

Description

@TrueMB

The Problem

Hello,
I successfully installed AI-on-the-edge for my ESP32-Cam-MB today.
But I run into a problem after moving the case/removing the esp32 from the case.

The left image is the one from the dashboard and on the right from the livestream.
Image
Since the left on is on a poor resolution, the numbers are not getting correctly read. It seems like it uses the bad resolution for the number detection.

From my POV this should not be a focus problem. But please tell me, if I am wrong.

I also appreciate every answer, helping me resolving this issue!
It's a great project. Thanks!

Version

16.0.0

Logfile

[0d00h00m00s] 2025-11-17T18:53:58 <INF> [MAIN] =================================================
[0d00h00m00s] 2025-11-17T18:53:58 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2025-11-17T18:53:58 <INF> [MAIN] =================================================
[0d00h00m00s] 2025-11-17T18:53:58 <INF> [SDCARD] Basic R/W check started...
[0d00h00m00s] 2025-11-17T18:53:58 <INF> [SDCARD] Basic R/W check successful
[0d00h00m00s] 2025-11-17T18:53:59 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2025-11-17T18:53:59 <INF> [MAIN] Total heap: 4378411 byte
[0d00h00m03s] 2025-11-17T18:54:01 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m03s] 2025-11-17T18:54:01 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m03s] 2025-11-17T18:54:01 <INF> [SNTP] Configuring NTP Client...
[0d00h00m03s] 2025-11-17T19:54:01 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m03s] 2025-11-17T19:54:01 <INF> [SNTP] time zone: +0100 Delta to UTC: 3600 seconds
[0d00h00m03s] 2025-11-17T19:54:01 <INF> [SNTP] Time is already set: 2025-11-17 19:54:01
[0d00h00m03s] 2025-11-17T19:54:01 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m03s] 2025-11-17T19:54:01 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m03s] 2025-11-17T19:54:01 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m03s] 2025-11-17T19:54:01 <INF> [MAIN] Tag: 'v16.0.0', Release: v16.0.0 (Commit: f542d84), Date/Time: 2025-03-15 13:28, Web UI: Release: v16.0.0 (Commit: f542d84)
[0d00h00m03s] 2025-11-17T19:54:02 <INF> [MAIN] Reset reason: Via esp_restart
[0d00h00m03s] 2025-11-17T19:54:02 <INF> [WLANINI] SSID: XXX
[0d00h00m03s] 2025-11-17T19:54:02 <INF> [WLANINI] Password: XXXXXXXX
[0d00h00m03s] 2025-11-17T19:54:02 <INF> [WLANINI] RSSIThreshold: -75
[0d00h00m03s] 2025-11-17T19:54:02 <INF> [MAIN] WLAN config loaded, init WIFI...
[0d00h00m03s] 2025-11-17T19:54:02 <INF> [WIFI] Automatic interface config --> Use DHCP service
[0d00h00m03s] 2025-11-17T19:54:02 <INF> [WIFI] Set hostname to: watermeter
[0d00h00m03s] 2025-11-17T19:54:02 <INF> [WIFI] Init successful
[0d00h00m06s] 2025-11-17T19:54:04 <INF> [WIFI] Connected to: XXX, RSSI: -42
[0d00h00m07s] 2025-11-17T19:54:05 <INF> [WIFI] Assigned IP: XXX
[0d00h00m09s] 2025-11-17T19:54:08 <INF> [SNTP] Time is synced with NTP Server pool.ntp.org: 2025-11-17 19:54:08
[0d00h00m09s] 2025-11-17T19:54:08 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 301
[0d00h00m09s] 2025-11-17T19:54:08 <INF> [MAIN] SD card info: Name: ASTC, Capacity: 14910MB, Free: 14895MB
[0d00h00m11s] 2025-11-17T19:54:10 <INF> [MAIN] Initialization completed successfully
[0d00h00m14s] 2025-11-17T19:54:12 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m14s] 2025-11-17T19:54:12 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m14s] 2025-11-17T19:54:13 <INF> [LOGFILE] Set log level to ERROR
[0d00h00m00s] 2025-11-17T18:57:06 <INF> [MAIN] =================================================
[0d00h00m00s] 2025-11-17T18:57:06 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2025-11-17T18:57:06 <INF> [MAIN] =================================================
[0d00h00m00s] 2025-11-17T18:57:06 <INF> [SDCARD] Basic R/W check started...
[0d00h00m00s] 2025-11-17T18:57:06 <INF> [SDCARD] Basic R/W check successful
[0d00h00m00s] 2025-11-17T18:57:07 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2025-11-17T18:57:07 <INF> [MAIN] Total heap: 4378411 byte
[0d00h00m03s] 2025-11-17T18:57:09 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m03s] 2025-11-17T18:57:09 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m03s] 2025-11-17T18:57:09 <INF> [SNTP] Configuring NTP Client...
[0d00h00m03s] 2025-11-17T19:57:09 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [SNTP] time zone: +0100 Delta to UTC: 3600 seconds
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [SNTP] Time is already set: 2025-11-17 19:57:10
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [MAIN] Tag: 'v16.0.0', Release: v16.0.0 (Commit: f542d84), Date/Time: 2025-03-15 13:28, Web UI: Release: v16.0.0 (Commit: f542d84)
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [MAIN] Reset reason: Via esp_restart
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [WLANINI] SSID: XXX
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [WLANINI] Password: XXXXXXXX
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [WLANINI] RSSIThreshold: -75
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [MAIN] WLAN config loaded, init WIFI...
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [WIFI] Automatic interface config --> Use DHCP service
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [WIFI] Set hostname to: watermeter
[0d00h00m03s] 2025-11-17T19:57:10 <INF> [WIFI] Init successful
[0d00h00m06s] 2025-11-17T19:57:12 <INF> [WIFI] Connected to: XXX, RSSI: -43
[0d00h00m07s] 2025-11-17T19:57:13 <INF> [WIFI] Assigned IP: XXX
[0d00h00m07s] 2025-11-17T19:57:14 <INF> [SNTP] Time is synced with NTP Server pool.ntp.org: 2025-11-17 19:57:14
[0d00h00m07s] 2025-11-17T19:57:14 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 301
[0d00h00m07s] 2025-11-17T19:57:14 <INF> [MAIN] SD card info: Name: ASTC, Capacity: 14910MB, Free: 14895MB
[0d00h00m09s] 2025-11-17T19:57:16 <INF> [MAIN] Initialization completed successfully
[0d00h00m12s] 2025-11-17T19:57:18 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m12s] 2025-11-17T19:57:19 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m12s] 2025-11-17T19:57:19 <INF> [LOGFILE] Set log level to ERROR

Expected Behavior

No response

Screenshots

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions