robmarkcole / HASS-Deepstack-object

Home Assistant custom component for using Deepstack object detection
https://community.home-assistant.io/t/face-and-person-detection-with-deepstack-local-and-free/92041
MIT License
439 stars 98 forks source link

Platform error: image_processing - Integration deepstack_object not found. #57

Closed darox closed 5 years ago

darox commented 5 years ago

I have palced the image_processing.py file in custom_components, but HA throws the following error: Log Details (ERROR) Wed Oct 02 2019 18:55:18 GMT+0200 (Mitteleuropäische Sommerzeit) Platform error: image_processing - Integration deepstack_object not found.

robmarkcole commented 5 years ago

@darox please try rebooting your device. Sometimes restarting the home assistant process is not enough to ensure install of requirements

darox commented 5 years ago

@robmarkcole You mean the host? I'm running HA in docker and already restarted the container.

robmarkcole commented 5 years ago

Hmm that should have done it, certainly worked with Hassio on the pi in past. You could try pulling the container image afresh

darox commented 5 years ago

I just re-deployed the HA container. Btw: if I bash into the HA container the image_processing.py file is located at: bash-5.0# pwd /config/custom_components bash-5.0# ls google_fit image_processing.py should be fine right?

robmarkcole commented 5 years ago

That is incorrect, please see the readme, TLDR all contents including manifest.json are required

darox commented 5 years ago

Doesn't help: bash-5.0# pwd /config/custom_components bash-5.0# ls init.py pycache image_processing.py manifest.json

robmarkcole commented 5 years ago

the files should be within custom_components/deepstack_object/

darox commented 5 years ago

This was definitely my fault sorry. It sets up now, but person are not recognized. Deepstack works with curl test. My config is: `image_processing: platform: deepstack_object ip_address: 192.168.2.56 port: 5000 timeout: 5 scan_interval: 20000 save_file_folder: /config/www/deepstack_person_images target: person confidence: 50 source:

Should be ok right?

robmarkcole commented 5 years ago

Well you have a scan intervall of 20000 seconds, you should adjust that, as described in the docs. Thanks

darox commented 5 years ago

It works now, thx for the great support!