VorlonCD / bi-aidetection

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

ImageQueueLoop> Warning: Unexpected - Waiting for a task to finish #5

Closed Tinbum1 closed 4 years ago

Tinbum1 commented 4 years ago

Getting the above error and telegram notification. Using 2 Deepstack URL's

Still getting duplicates in the file history.

[03.09.2020, 23:14:39.782]: OnCreatedAsync> Adding new image to queue: D:\AI\WorkshopSideAI.20200903_231439971.WorkshopSide.jpg

[03.09.2020, 23:14:40.174]: OnCreatedAsync> Adding new image to queue: D:\AI\WkshopSideFrontAI.20200903_231440304.WorshopSideFront.jpg [03.09.2020, 23:14:40.788]: DetectObjects> 127.0.0.1:81 - (2/6) Posted in 1239ms, Received a 33 byte response. [03.09.2020, 23:14:40.793]: DetectObjects> 127.0.0.1:81 - (3/6) Processing results... [03.09.2020, 23:14:40.797]: DetectObjects> 127.0.0.1:81 - Detected objects: [03.09.2020, 23:14:40.820]: Save> Settings saved to C:\Program Files\AI Tool\aitool.Settings.json [03.09.2020, 23:14:40.820]: DetectObjects> 127.0.0.1:81 - (6/6) Camera GardenPoolAI caused a false alert, nothing detected. [03.09.2020, 23:14:40.828]: DetectObjects> 127.0.0.1:81 - Adding false to history list. [03.09.2020, 23:14:40.833]: DetectObjects> 127.0.0.1:81 - ...Object detection finished: [03.09.2020, 23:14:40.838]: DetectObjects> 127.0.0.1:81 - Total Time: 68ms (Count=263, Min=10ms, Max=3632ms, Avg=309ms) [03.09.2020, 23:14:40.845]: DetectObjects> 127.0.0.1:81 - DeepStack Time: 1239ms (Count=263, Min=846ms, Max=2012ms, Avg=1095ms) [03.09.2020, 23:14:40.859]: DetectObjects> 127.0.0.1:81 - File lock Time: 29ms (Count=20, Min=1ms, Max=39ms, Avg=24ms) [03.09.2020, 23:14:40.865]: DetectObjects> 127.0.0.1:81 - Image Queue Time: 10ms (Count=263, Min=4ms, Max=3632ms, Avg=305ms) [03.09.2020, 23:14:40.872]: DetectObjects> 127.0.0.1:81 - Image Queue Depth: 1 (Count=265, Min=1, Max=6, Avg=1) [03.09.2020, 23:14:40.881]: ImageQueueLoop> ...Task at index 0 done. Status='RanToCompletion' [03.09.2020, 23:14:40.886]: ImageQueueLoop> Adding task #1 for file 'WorkshopSideAI.20200903_231439971.WorkshopSide.jpg' on URL 'http://192.168.3.12:81/v1/vision/detection' [03.09.2020, 23:14:40.893]: ImageQueueLoop> Adding task #2 for file 'WkshopSideFrontAI.20200903_231440304.WorshopSideFront.jpg' on URL 'http://127.0.0.1:81/v1/vision/detection' [03.09.2020, 23:14:40.896]: DetectObjects> 192.168.3.12:81 - Starting analysis of D:\AI\WkshopSideFrontAI.20200903_231440304.WorshopSideFront.jpg... [03.09.2020, 23:14:40.902]: ImageQueueLoop> Waiting for any of 2 tasks to get done... [03.09.2020, 23:14:40.911]: DetectObjects> 192.168.3.12:81 - (1/6) Uploading image to DeepQuestAI Server at http://192.168.3.12:81/v1/vision/detection [03.09.2020, 23:14:40.918]: DetectObjects> 127.0.0.1:81 - Starting analysis of D:\AI\WkshopSideFrontAI.20200903_231440304.WorshopSideFront.jpg... [03.09.2020, 23:14:40.948]: DetectObjects> 127.0.0.1:81 - (1/6) Uploading image to DeepQuestAI Server at http://127.0.0.1:81/v1/vision/detection [03.09.2020, 23:14:41.917]: DetectObjects> 192.168.3.12:81 - (2/6) Posted in 972ms, Received a 33 byte response. [03.09.2020, 23:14:41.925]: DetectObjects> 192.168.3.12:81 - (3/6) Processing results... [03.09.2020, 23:14:41.932]: DetectObjects> 192.168.3.12:81 - Detected objects: [03.09.2020, 23:14:41.979]: Save> Settings saved to C:\Program Files\AI Tool\aitool.Settings.json [03.09.2020, 23:14:41.979]: DetectObjects> 192.168.3.12:81 - (6/6) Camera WkshopSideFrontAI caused a false alert, nothing detected. [03.09.2020, 23:14:42.002]: DetectObjects> 192.168.3.12:81 - Adding false to history list. [03.09.2020, 23:14:42.018]: DetectObjects> 192.168.3.12:81 - ...Object detection finished: [03.09.2020, 23:14:42.027]: DetectObjects> 192.168.3.12:81 - Total Time: 718ms (Count=264, Min=10ms, Max=3632ms, Avg=309ms) [03.09.2020, 23:14:42.035]: DetectObjects> 192.168.3.12:81 - DeepStack Time: 972ms (Count=264, Min=846ms, Max=2012ms, Avg=1095ms) [03.09.2020, 23:14:42.044]: DetectObjects> 192.168.3.12:81 - File lock Time: 0ms (Count=20, Min=1ms, Max=39ms, Avg=24ms) [03.09.2020, 23:14:42.056]: DetectObjects> 192.168.3.12:81 - Image Queue Time: 718ms (Count=264, Min=4ms, Max=3632ms, Avg=306ms) [03.09.2020, 23:14:42.069]: DetectObjects> 192.168.3.12:81 - Image Queue Depth: 2 (Count=265, Min=1, Max=6, Avg=1) [03.09.2020, 23:14:42.082]: ImageQueueLoop> ...Task at index 0 done. Status='RanToCompletion' [03.09.2020, 23:14:42.093]: ImageQueueLoop> Warning: Unexpected - Waiting for a task to finish... [03.09.2020, 23:14:42.195]: DetectObjects> 127.0.0.1:81 - (2/6) Posted in 1240ms, Received a 33 byte response. [03.09.2020, 23:14:42.199]: DetectObjects> 127.0.0.1:81 - (3/6) Processing results... [03.09.2020, 23:14:42.204]: DetectObjects> 127.0.0.1:81 - Detected objects: [03.09.2020, 23:14:42.235]: Save> Settings saved to C:\Program Files\AI Tool\aitool.Settings.json [03.09.2020, 23:14:42.234]: DetectObjects> 127.0.0.1:81 - (6/6) Camera WkshopSideFrontAI caused a false alert, nothing detected. [03.09.2020, 23:14:42.245]: DetectObjects> 127.0.0.1:81 - Adding false to history list. [03.09.2020, 23:14:42.251]: DetectObjects> 127.0.0.1:81 - ...Object detection finished: [03.09.2020, 23:14:42.260]: DetectObjects> 127.0.0.1:81 - Total Time: 718ms (Count=265, Min=10ms, Max=3632ms, Avg=312ms) [03.09.2020, 23:14:42.266]: DetectObjects> 127.0.0.1:81 - DeepStack Time: 1240ms (Count=265, Min=846ms, Max=2012ms, Avg=1095ms) [03.09.2020, 23:14:42.277]: DetectObjects> 127.0.0.1:81 - File lock Time: 0ms (Count=20, Min=1ms, Max=39ms, Avg=24ms) [03.09.2020, 23:14:42.284]: DetectObjects> 127.0.0.1:81 - Image Queue Time: 718ms (Count=265, Min=4ms, Max=3632ms, Avg=308ms) [03.09.2020, 23:14:42.294]: DetectObjects> 127.0.0.1:81 - Image Queue Depth: 2 (Count=265, Min=1, Max=6, Avg=1) [03.09.2020, 23:14:42.300]: ImageQueueLoop> ...Task finished. [03.09.2020, 23:14:42.310]: ImageQueueLoop> Done processing current image queue with 3 image(s), ErrCnt=0

[03.09.2020, 23:14:49.779]: OnCreatedAsync> Adding new image to queue: D:\AI\WorkshopSideAI.20200903_231450008.WorkshopSide.jpg [03.09.2020, 23:14:49.838]: ImageQueueLoop> Adding task #1 for file 'WorkshopSideAI.20200903_231450008.WorkshopSide.jpg' on URL 'http://127.0.0.1:81/v1/vision/detection' [03.09.2020, 23:14:49.842]: ImageQueueLoop> Waiting for any of 1 tasks to get done... [03.09.2020, 23:14:49.844]: DetectObjects> 127.0.0.1:81 - Starting analysis of D:\AI\WorkshopSideAI.20200903_231450008.WorkshopSide.jpg... [03.09.2020, 23:14:49.851]: DetectObjects> 127.0.0.1:81 - (1/6) Uploading image to DeepQuestAI Server at http://127.0.0.1:81/v1/vision/detection

[03.09.2020, 23:14:50.356]: OnCreatedAsync> Adding new image to queue: D:\AI\WkshopSideFrontAI.20200903_231450456.WorshopSideFront.jpg [03.09.2020, 23:14:50.980]: DetectObjects> 127.0.0.1:81 - (2/6) Posted in 1120ms, Received a 33 byte response. [03.09.2020, 23:14:50.986]: DetectObjects> 127.0.0.1:81 - (3/6) Processing results... [03.09.2020, 23:14:51.013]: DetectObjects> 127.0.0.1:81 - Detected objects: [03.09.2020, 23:14:51.050]: Save> Settings saved to C:\Program Files\AI Tool\aitool.Settings.json [03.09.2020, 23:14:51.050]: DetectObjects> 127.0.0.1:81 - (6/6) Camera WorkshopSideAI caused a false alert, nothing detected. [03.09.2020, 23:14:51.077]: DetectObjects> 127.0.0.1:81 - Adding false to history list. [03.09.2020, 23:14:51.081]: DetectObjects> 127.0.0.1:81 - ...Object detection finished: [03.09.2020, 23:14:51.093]: DetectObjects> 127.0.0.1:81 - Total Time: 61ms (Count=266, Min=10ms, Max=3632ms, Avg=312ms) [03.09.2020, 23:14:51.098]: DetectObjects> 127.0.0.1:81 - DeepStack Time: 1120ms (Count=266, Min=846ms, Max=2012ms, Avg=1095ms) [03.09.2020, 23:14:51.105]: DetectObjects> 127.0.0.1:81 - File lock Time: 0ms (Count=20, Min=1ms, Max=39ms, Avg=24ms) [03.09.2020, 23:14:51.112]: DetectObjects> 127.0.0.1:81 - Image Queue Time: 61ms (Count=266, Min=4ms, Max=3632ms, Avg=308ms) [03.09.2020, 23:14:51.117]: DetectObjects> 127.0.0.1:81 - Image Queue Depth: 1 (Count=267, Min=1, Max=6, Avg=1) [03.09.2020, 23:14:51.129]: ImageQueueLoop> ...Task at index 0 done. Status='RanToCompletion'

[03.09.2020, 23:18:54.600]: ImageQueueLoop> Adding task #1 for file 'WkshopSideFrontAI.20200903_231853463.WorshopSideFront.jpg' on URL 'http://192.168.3.12:81/v1/vision/detection' [03.09.2020, 23:18:54.633]: ImageQueueLoop> Adding task #2 for file 'WkRearFldAI.20200903_231853905.WKRearFld.jpg' on URL 'http://127.0.0.1:81/v1/vision/detection' [03.09.2020, 23:18:54.635]: DetectObjects> 192.168.3.12:81 - Starting analysis of D:\AI\WkRearFldAI.20200903_231853905.WKRearFld.jpg... [03.09.2020, 23:18:54.647]: ImageQueueLoop> Waiting for any of 2 tasks to get done... [03.09.2020, 23:18:54.668]: DetectObjects> 192.168.3.12:81 - (1/6) Uploading image to DeepQuestAI Server at http://192.168.3.12:81/v1/vision/detection [03.09.2020, 23:18:54.701]: DetectObjects> 127.0.0.1:81 - Starting analysis of D:\AI\WkRearFldAI.20200903_231853905.WKRearFld.jpg... [03.09.2020, 23:18:54.726]: DetectObjects> 127.0.0.1:81 - (1/6) Uploading image to DeepQuestAI Server at http://127.0.0.1:81/v1/vision/detection

[03.09.2020, 23:18:54.871]: OnCreatedAsync> Adding new image to queue: D:\AI\KitchenDoor.20200903_231854848.KitchenDoor.jpg

VorlonCD commented 4 years ago

Dang, I thought I had it licked. The warning is harmless and with latest version it doesnt say 'warning', but I dont think I make any other code changes for dupe checking since then. Will look into it again.

Tinbum1 commented 4 years ago

Not a problem, it was just all the telegram notifications (even though send errors to telegram is turned off).

VorlonCD commented 4 years ago

Try the latest. I never get dupes, so I cant really test it here.

Tinbum1 commented 4 years ago

Sorry still getting them.

VorlonCD commented 4 years ago

But telegram warnings shouldnt be sent now right? Back to drawing board tomorrow for the dupes issue

Tinbum1 commented 4 years ago

Yes not received any warnings, Thank you.