Moim zdaniem szkoda na to czasu, bo wymagało by przetwarzania obrazu przez algorytm AI do wyciągania wartości liczbowej. Próbowałem z ESP32 cam i projektem AI-on-the-edge-device ale w brew pierwszym wrażeniom jest strasznie upierdliwy we wdrożeniu.
Znacznie szybciej poszło z użyciem czujnika indukcyjnego i zliczaniem impulsów w obracającej się pod szkiełkiem wodomierza tarczki:
Most of these meters should have a pulse output. (A magnet which is giving a pulse as it is rotating.) But I cannot really see where is it supposed to be on the first one. On the second one is most likely, because it seems to be Flowis meter, and most of the pages are suggesting that it can be adapted with a “recorder”, but hard to tell, where it should go. Likely something similar as on @angler’s picture. (If not the last digit dial has it at the 0 digit, like on gas meters.)
I have implemented recently the AI-on-the-edge, and it seems complicated, but it gives fair enough readings. The hard part is get the camera at the right distance and position to do not cause glare and shadows, and be able to read all the digits correctly. BUT, your camera is not suitable as it is out of the box, as it seems to be missing one of the main components what the basic ESP32CAM has built in, the “flash” LED. For AI-on-the-edge, you need light for the photos. You either give external light, or use the built in “flash” LED, which is usually sufficient, but as noted, can cause glare due to wrong angle, etc.
Or you can wait for an out-of-the-box solution from Supla.
Magnes i/lub lusterko jest praktycznie zawsze montowane na ośce wskazówki.
Jeśli chodzi o ai-on-the-edge to dla mnie głównym problemem były kwestie mocowania w szachcie oraz zasilania (jakkolwiek szacht to w ogóle jest dużym plusem dla tego rozwiązania, bo zapewnia stałe warunki oświetleniowe, w przeciwnym razie trzeba kombinować z zabudowaniem kamery w tubie nie wpuszczającej światła by móc zapewnić właściwe niezmienne oświetlenie samemu), więc mimo tego, że uruchomiłem na próbę prowizorkę (i działała dobrze, ale WAF był zerowy ) to nie wprowadziłem tego do użytku.
Druga kwestia jest taka, że wtedy gdy mnie to interesowało ai-on-the-edge dawało się uruchomić tylko na wybranych modelach płytek prototypowych z kamerą. Stawiam w ciemno, że nie uruchomisz na tym sprzęcie z “wątku matki” (brak PSRAM, chyba że ktoś mnie poprawi i znajdzie to, czego ja nie znalazłem).
prywata
I w sumie dobrze, bo akurat wtedy zamontowano mi wodomierze z nakładką radiową apator08, które się dość dobrze odczytywały radiowo (wymagały filtrowania odczytów), a dopiero co wymieniono je na “szyfrowane” apator16-2 (z fabrycznym kluczem).
Oh, I forgot to mention, that the Ai-on-the-edge needs an SDCARD reader as well, as it stores the images on the SDCARD, which this camera model hasn’t got either.
Was not released yet. Supla was implementing some AI solution in their cloud to read the numbers accurately, since last September/October. No news on it when will be avaialbe for public and what will be the price.
Dokładnie, miałem dopisać o wymaganiu instalowania mini OS’a na karcie SD w przypadku ai-on-the-edge co, jak ćwiczyliśmy w tamtym temacie, wcale nie jest tak oczywistym i łatwym etapem wdrażania tego projektu dla wszystkich.
Sam jestem ciekaw, czy ktoś wykorzystuje obecnie np lokalny serwer Tesseract OCR lub nawet google vision do obróbki zdjęć tarczy licznika i uzyskiwania informacji liczbowej/tekstowej, którą można by przenieść do HA. W dzisiejszych czasach sprzęt do zrobienia jakiejś sensownej foty i przesłanie tego nie stanowi problemu.