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.92k stars 647 forks source link

Naming of digit ROI affects usability #2731

Open contentpirate opened 10 months ago

contentpirate commented 10 months ago

The Problem

Naming ROIs different than "dig1", "dig2" ... - in my case I named the digits behind the comma ",01" and ",001" - messes up with the placement of the boxes.

Boxes will be displayed correctly like set under settings -> ROI -> Digit ROI, but not under Data -> Recognition.

When all names of ROI are changed to the same naming scheme, like "digN", it works.

Version

v15.3.0

Logfile

Nothing about that in the logfile

Expected Behavior

No response

Screenshots

No response

Additional Context

No response

caco3 commented 10 months ago

please provide a screenshot. the naming should not have an impact

Slider0007 commented 10 months ago

Whenever there are two ROIs with same name, the display of the respective ROIs could be wrong (digital ones are placed next to analog ROIs) because in 'Recognition' the ROI images are called by filename (e.g. main_dig1.jpg). This is just an visualisation issue on 'Recognition' page and have no impact on ROI evaluation.

To avoid this issue please ensure the usage of unique names for ROIs in a number sequence (e.g. digX, anaX). This issue could be avoided by e.g. autogenerating ROI names like already proposed here: #2365.