Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #153 from robmarkcole/bump-deepstack-python
Browse files Browse the repository at this point in the history
bump dependency
  • Loading branch information
robmarkcole authored Dec 17, 2020
2 parents 658d03c + 92c8133 commit 224227b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions custom_components/deepstack_object/image_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,11 @@ def process_image(self, image):
self._summary = {}

try:
self._dsobject.detect(image)
predictions = self._dsobject.detect(image)
except ds.DeepstackException as exc:
_LOGGER.error("Deepstack error : %s", exc)
return

predictions = self._dsobject.predictions.copy()
self._summary = ds.get_objects_summary(predictions)
self._objects = get_objects(predictions, self._image_width, self._image_height)
self._targets_found = [
Expand Down
2 changes: 1 addition & 1 deletion custom_components/deepstack_object/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"documentation": "https://github.com/robmarkcole/HASS-Deepstack-object",
"requirements": [
"pillow",
"deepstack-python==0.6"
"deepstack-python==0.7"
],
"dependencies": [],
"codeowners": [
Expand Down

0 comments on commit 224227b

Please sign in to comment.