jomjol / AI-on-the-edge-device

Easy to use device for connecting "old" measuring units (water, power, gas, ...) to the digital world
https://jomjol.github.io/AI-on-the-edge-device-docs/
5.94k stars 648 forks source link

correct recognition rate low #523

Closed Rayn0r closed 2 years ago

Rayn0r commented 2 years ago

I've installed ESP32 for the watermeter this week. Lighting is done via WS2812b and is working well.

First tests seemed promising, but for about a day it keeps recognising the "9" as a "0". The recognition of the analogue part is quite good I'd say.

I noticed that the aligned image seems rather low resolution compared to the reference picture. And the aligned pic never gets perfectly straight. The numbers are always askew. Is there anything I can do about it?

Any help is greatly appreciated.

Thanks.

Reference pic: reference_pic

Recognition: recognition

jomjol commented 2 years ago

The reason for the "lower" resolution looking image is due to the limited capacity of the image processing on the ESP32. There is no antialising. Currently nothing to do about it, beside trying to align the camera mechanically for low rotation needs.

Regarding the misreading 9, you can make a collection of your numbers and send to to me. Details on ROIs alignment and the naming for training you can find here: https://github.com/jomjol/AI-on-the-edge-device/wiki/ROI-Configuration