Still trying different settings to optimize this, but I get randomly high detection times occassionally, sometimes for hours at a time. Not sure what is causing the super high "Thread Queue Time" results. Here are an "average" log entry, and a high queueu time entry from the AITool log. I am running the VorlonCD fork of AITool on a Docker install of DeepQuest.
Average Detection:
[14.08.2020, 17:48:04.944]: DetectObjects> Starting analysis of X:\
BlueIris\AI_Input\AI_LR.20200814_174804887.jpg...
[14.08.2020, 17:48:04.945]: DetectObjects> (1/6) Uploading image to DeepQuestAI Server at
[14.08.2020, 17:48:06.785]: DetectObjects> (2/6) Posted in 1838ms, Received a 492 byte response.
[14.08.2020, 17:48:06.787]: DetectObjects> (3/6) Processing results...
[14.08.2020, 17:48:06.788]: DetectObjects> Detected objects:couch (66.71%), tv (99.66%), tv (92.99%), microwave (74.5%), refrigerator (46.53%),
[14.08.2020, 17:48:06.789]: DetectObjects> (4/6) Checking if detected object is relevant and within confidence limits:
[14.08.2020, 17:48:06.823]: DetectObjects> couch (66.71%) is irrelevant.
[14.08.2020, 17:48:06.850]: DetectObjects> tv (99.66%) is irrelevant.
[14.08.2020, 17:48:06.877]: DetectObjects> tv (92.99%) is irrelevant.
[14.08.2020, 17:48:06.903]: DetectObjects> microwave (74.5%) is irrelevant.
[14.08.2020, 17:48:06.929]: DetectObjects> refrigerator (46.53%) is irrelevant.
[14.08.2020, 17:48:06.937]: Save> Settings saved to C:\AI Tool 1.65\Release\aitool.Settings.json
[14.08.2020, 17:48:06.937]: DetectObjects> (6/6) Camera Living Room caused an irrelevant alert.
[14.08.2020, 17:48:06.940]: DetectObjects> 5x irrelevant, so it's an irrelevant alert.
[14.08.2020, 17:48:06.942]: DetectObjects> ...Object detection finished:
[14.08.2020, 17:48:06.943]: DetectObjects>
Total Time: 2053ms (Count=9592, Min=1542ms, Max=147548ms, Avg=2982ms)
[14.08.2020, 17:48:06.945]: DetectObjects> DeepStack Time: 1838ms (Count=9592, Min=1480ms, Max=5388ms, Avg=1949ms)
[14.08.2020, 17:48:06.947]: DetectObjects> File lock Time: 56ms (Count=4018, Min=19ms, Max=213ms, Avg=59ms)
[14.08.2020, 17:48:06.950]: DetectObjects>
Thread Queue Time: 0ms (Count=5606, Min=1ms, Max=144927ms, Avg=2184ms)
[14.08.2020, 17:48:08.942]: DetectObjects>
Long Detection
[14.08.2020, 10:57:26.541]: DetectObjects>
[14.08.2020, 10:57:26.542]: DetectObjects> Starting analysis of X:\BlueIris\AI_Input\AI_FrtDrv.20200814_105550277.jpg...
[14.08.2020, 10:57:26.543]: DetectObjects> (1/6) Uploading image to DeepQuestAI Server at
[14.08.2020, 10:57:28.498]: DetectObjects> (2/6) Posted in 1953ms, Received a 304 byte response.
[14.08.2020, 10:57:28.500]: DetectObjects> (3/6) Processing results...
[14.08.2020, 10:57:28.501]: DetectObjects> Detected objects: person (43.22%), car (99.56%), car (64.41%),
[14.08.2020, 10:57:28.502]: DetectObjects> (4/6) Checking if detected object is relevant and within confidence limits:
[14.08.2020, 10:57:28.536]: DetectObjects> person (43.22%) is irrelevant.
[14.08.2020, 10:57:28.570]: DetectObjects> car (99.56%) is irrelevant.
[14.08.2020, 10:57:28.608]: DetectObjects> car (64.41%) is irrelevant.
[14.08.2020, 10:57:28.614]: Save> Settings saved to C:\AI Tool 1.65\Release\aitool.Settings.json
[14.08.2020, 10:57:28.614]: DetectObjects> (6/6) Camera Front Driveway caused an irrelevant alert.
[14.08.2020, 10:57:28.616]: DetectObjects> 1x not in confidence range; 2x irrelevant, so it's an irrelevant alert.
[14.08.2020, 10:57:28.617]: DetectObjects> ...Object detection finished:
[14.08.2020, 10:57:28.618]: DetectObjects>
Total Time: 98271ms (Count=2331, Min=1542ms, Max=98944ms, Avg=42505ms)
[14.08.2020, 10:57:28.620]: DetectObjects> DeepStack Time: 1953ms (Count=2331, Min=1480ms, Max=4881ms, Avg=1874ms)
[14.08.2020, 10:57:28.621]: DetectObjects> File lock Time: 0ms (Count=1289, Min=20ms, Max=198ms, Avg=60ms)
[14.08.2020, 10:57:28.623]: DetectObjects>
Thread Queue Time: 96197ms (Count=1050, Min=1ms, Max=96923ms, Avg=41315ms)
[14.08.2020, 10:57:28.625]: DetectObjects>
Any thoughts on what might cause this to vary so much? When there is an instance like this it ties everything up and no more alerts come in until it settles back down. Thanks for any direction anyone might have!