You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 19, 2023. It is now read-only.
entity_id: camera.livingroom_camera
name: LivingRoom Person Detector
error log
This error originated from a custom integration.
Logger: homeassistant.helpers.entity
Source: custom_components/deepstack_object/image_processing.py:350
Integration: deepstack_object (documentation)
First occurred: 9:57:35 AM (1 occurrences)
Last logged: 9:57:35 AM
Update for image_processing.livingroom_person_detector fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 316, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 524, in async_device_update
raise exc
File "/usr/src/homeassistant/homeassistant/components/image_processing/init.py", line 138, in async_update
await self.async_process_image(image.content)
File "/usr/src/homeassistant/homeassistant/components/image_processing/init.py", line 118, in async_process_image
return await self.hass.async_add_executor_job(self.process_image, image)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/deepstack_object/image_processing.py", line 350, in process_image
predictions = self._dsobject.detect(image)
File "/usr/local/lib/python3.8/site-packages/deepstack/core.py", line 204, in detect
return response["predictions"]
KeyError: 'predictions'
configuration.yaml
image_processing:
ip_address: 192.168.10.13
port: 5000
save_file_folder: /config/www/snapshot/
scan_interval: 5
save_file_format: jpg
save_timestamped_file: false
always_save_latest_file: true
scale: 0.75
roi_x_min: 0.35
roi_x_max: 0.8#roi_y_min: 0.4
roi_y_max: 0.8
targets:
source:
name: LivingRoom Person Detector
error log
This error originated from a custom integration.
Logger: homeassistant.helpers.entity
Source: custom_components/deepstack_object/image_processing.py:350
Integration: deepstack_object (documentation)
First occurred: 9:57:35 AM (1 occurrences)
Last logged: 9:57:35 AM
Update for image_processing.livingroom_person_detector fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 316, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 524, in async_device_update
raise exc
File "/usr/src/homeassistant/homeassistant/components/image_processing/init.py", line 138, in async_update
await self.async_process_image(image.content)
File "/usr/src/homeassistant/homeassistant/components/image_processing/init.py", line 118, in async_process_image
return await self.hass.async_add_executor_job(self.process_image, image)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/deepstack_object/image_processing.py", line 350, in process_image
predictions = self._dsobject.detect(image)
File "/usr/local/lib/python3.8/site-packages/deepstack/core.py", line 204, in detect
return response["predictions"]
KeyError: 'predictions'
How do I fix it?
Thank you