gentlepumpkin / bi-aidetection

Alarm system for Blue Iris based on Artificial Intellience.
https://ipcamtalk.com/threads/tool-tutorial-free-ai-person-detection-for-blue-iris.37330/
GNU General Public License v2.0
169 stars 96 forks source link

Processing Image does not timeout if DS crashes #34

Open wjcloudy opened 4 years ago

wjcloudy commented 4 years ago

If the deepstack engine (but not it's web/API interface) crashes - AI tool gets stuck awaiting processing as it waits for deepstack to return the request forever. Ideally it should timeout after 30 seconds or so, throw an error and await the next task.....

VorlonCD commented 4 years ago

I fixed that in a fork gentlepumpkin can merge. Think I set the timeout to 2 minutes.