Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion homeassistant/components/doods/image_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def __init__(self, hass, camera_entity, name, doods, detector, config):
self._name = f"Doods {name}"
self._doods = doods
self._file_out = config[CONF_FILE_OUT]
self._detector_name = detector["name"]

# detector config and aspect ratio
self._width = None
Expand Down Expand Up @@ -289,7 +290,9 @@ def process_image(self, image):

# Run detection
start = time.time()
response = self._doods.detect(image, self._dconfig)
response = self._doods.detect(
image, dconfig=self._dconfig, detector_name=self._detector_name
)
_LOGGER.debug(
"doods detect: %s response: %s duration: %s",
self._dconfig,
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/doods/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"name": "DOODS - Distributed Outside Object Detection Service",
"documentation": "https://www.home-assistant.io/components/doods",
"requirements": [
"pydoods==1.0.1"
"pydoods==1.0.2"
],
"dependencies": [],
"codeowners": []
}
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ pydelijn==0.5.1
pydispatcher==2.0.5

# homeassistant.components.doods
pydoods==1.0.1
pydoods==1.0.2

# homeassistant.components.android_ip_webcam
pydroid-ipcam==0.8
Expand Down