Fix Doods error when detection labels are specified in list form (#28574)
This commit is contained in:
parent
438ee99175
commit
e99bb8f75e
1 changed files with 1 additions and 0 deletions
|
@ -177,6 +177,7 @@ class Doods(ImageProcessingEntity):
|
|||
_LOGGER.warning("Detector does not support label %s", label)
|
||||
continue
|
||||
self._label_areas[label] = [0, 0, 1, 1]
|
||||
self._label_covers[label] = True
|
||||
if label not in dconfig or dconfig[label] > confidence:
|
||||
dconfig[label] = confidence
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue