johnolafenwa / DeepStack

The World's Leading Cross Platform AI Engine for Edge Devices
Apache License 2.0
675 stars 105 forks source link

Home Assistant Object Detection Requests Crashing DeepStack #57

Closed mynameisdaniel32 closed 3 years ago

mynameisdaniel32 commented 3 years ago

Follow on from the issue over here: https://github.com/robmarkcole/HASS-Deepstack-object/issues/169

When I make requests from Home Assistant using a previously setup and working camera for object detection, Deepstack seems to crash (or significantly slow). It was previously working with around 200ms response time. Trying it now, Home Assistant times out, but from DeepStack logs I can see it's taking 4-15 minutes to process images.

If I use similar images through AI Tool, Deepstack works fine, however, once I send a request from Home Assistant, DeepStack seems to crash and stops working with either until the container is rebooted. I'm not seeing significant CPU usage after a request from Home Assistant.

Any ideas or logs/debugging I can do to try and work this out?

mynameisdaniel32 commented 3 years ago

Issue was having the min confidence set to 0, using 1 instead has resolved this.