[tool] [tutorial] Free AI Person Detection for Blue Iris

New release 1.71 10/27/20.

From the logs. I don't think its working.

DateFuncDetailLevelSourceAIServerCameraImageIdxDepthColorThreadIDFromFileFilename
10/28/2020 12:07:26 PMInsertHistoryItem StackDepth=14, TID=7, TCNT=28: v:\blueiris\images\dwsd.20201028_120725635.jpg: Object reference not set to an instance of an object. [NullReferenceException] Mod: InsertHistoryItem(History hist) Line:0:0ErrorAITOOLS.EXE192.168.0.179:5000DWSDdwsd.20201028_120725635.jpg25217TrueAITool.[2020-10-28].log
10/28/2020 12:07:30 PMOnCreatedDebugAITOOLS.EXE192.168.0.179:5000DWSD253122TrueAITool.[2020-10-28].log
10/28/2020 12:07:30 PMOnCreated ====================== Adding new image to queue (Count=1): v:\BlueIris\Images\DWSD.20201028_120730637.jpgDebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg254122TrueAITool.[2020-10-28].log
10/28/2020 12:07:30 PMImageQueueLoopAdding task for file 'DWSD.20201028_120730637.jpg' (Image QueueTime='0.0' mins, URL Queue wait='0ms', URLOrder=1 of 1, URLOriginalOrder=1) on URL ''DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg255025TrueAITool.[2020-10-28].log
10/28/2020 12:07:30 PMImageQueueLoopDone adding 1 total threads, ErrCnt=0, ImageProcessQueue.Count=0DebugAITOOLS.EXE192.168.0.179:5000DWSD256025TrueAITool.[2020-10-28].log
10/28/2020 12:07:30 PMDetectObjects Starting analysis of v:\BlueIris\Images\DWSD.20201028_120730637.jpg...DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg257120TrueAITool.[2020-10-28].log
10/28/2020 12:07:30 PMIsValidImage Image file is valid: DWSD.20201028_120730637.jpgDebugAITOOLS.EXE192.168.0.179:5000DWSD258223TrueAITool.[2020-10-28].log
10/28/2020 12:07:30 PMDetectObjects (1/6) Uploading a 218234 byte image to DeepQuestAI Server at DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg259123TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects (2/6) Posted in 355ms, Received a 118 byte response.DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg260116TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects (3/6) Processing results...DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg261116TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects Detected objects:DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg262116TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMOutsidemask ->Using found mask file C:\Users\BlueIris\Downloads\AITOOL-VORLONCD\cameras\DWSD.bmp...DebugAITOOLS.EXE192.168.0.179:5000DWSD263316TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMOutsidemask ->ALL of the object is OUTSIDE of masked area(s). (9 of 9 points)DebugAITOOLS.EXE192.168.0.179:5000DWSD264316TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMCreateDynamicMask * Starting new object mask processing *DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg265316TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMCreateDynamicMask Current object detected: key=80102, name=Car, xmin=68, ymin=187, xmax=313, ymax=461, IsStatic=False, counter=0, camera=DWSD, create date: 10/28/2020 12:07:31 PM, imageName: DWSD.20201028_120730637.jpgDebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg266316TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMEquals Percentage Intersection of object: 98.56115% Current 'Car' key=83550, Tested 'Car' key=80102DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg267316TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMCreateDynamicMask Found 'Car' (Key=80102) in masked_positions key=83550, name=Car, xmin=54, ymin=185, xmax=314, ymax=467, IsStatic=False, counter=1, camera=DWSD, create date: 10/27/2020 10:18:24 PM, imageName: DWSD.20201028_120730637.jpgDebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg268316TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects Result='DynamicMasked', Detail='Car (77.95%)', ObjType='Vehicle', DynMaskResult='Found', DynMaskType='Dynamic', ImgMaskResult='MajorityOutsideMask', ImgMaskType='Image'DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg2691DarkSlateGray16TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects 1x masked, so it's an irrelevant alert.DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg270116TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects (5/6) Performing CANCEL actions:DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg271116TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMSave JSON Settings saved to REGISTRY and C:\Users\BlueIris\Downloads\AITOOL-VORLONCD\AITool.Settings.JSONDebugAITOOLS.EXE192.168.0.179:5000DWSD272216TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects (6/6) Camera DWSD caused an irrelevant alert.DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg273116TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects Total Time: 725ms (Count=8, Min=634ms, Max=2768ms, Avg=1183ms)DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg274116TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjectsDeepStack (URL) Time: 355ms (Count=8, Min=316ms, Max=382ms, Avg=341ms)DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg275116TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects File lock Time: 0ms (Count=1, Min=3ms, Max=3ms, Avg=3ms)DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg276116TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects Image Queue Time: 343ms (Count=8, Min=265ms, Max=370ms, Avg=306ms)DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg277216TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMDetectObjects Image Queue Depth: 1 (Count=8, Min=1, Max=1, Avg=1)DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120730637.jpg278216TrueAITool.[2020-10-28].log
10/28/2020 12:07:31 PMInsertHistoryItem StackDepth=14, TID=7, TCNT=28: v:\blueiris\images\dwsd.20201028_120730637.jpg: Object reference not set to an instance of an object. [NullReferenceException] Mod: InsertHistoryItem(History hist) Line:0:0ErrorAITOOLS.EXE192.168.0.179:5000DWSDdwsd.20201028_120730637.jpg27917TrueAITool.[2020-10-28].log
10/28/2020 12:07:35 PMOnCreatedDebugAITOOLS.EXE192.168.0.179:5000DWSD280116TrueAITool.[2020-10-28].log
10/28/2020 12:07:35 PMOnCreated ====================== Adding new image to queue (Count=1): v:\BlueIris\Images\DWSD.20201028_120735637.jpgDebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg281116TrueAITool.[2020-10-28].log
10/28/2020 12:07:35 PMImageQueueLoopAdding task for file 'DWSD.20201028_120735637.jpg' (Image QueueTime='0.0' mins, URL Queue wait='0ms', URLOrder=1 of 1, URLOriginalOrder=1) on URL ''DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg282025TrueAITool.[2020-10-28].log
10/28/2020 12:07:35 PMImageQueueLoopDone adding 1 total threads, ErrCnt=0, ImageProcessQueue.Count=0DebugAITOOLS.EXE192.168.0.179:5000DWSD283025TrueAITool.[2020-10-28].log
10/28/2020 12:07:35 PMDetectObjects Starting analysis of v:\BlueIris\Images\DWSD.20201028_120735637.jpg...DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg284121TrueAITool.[2020-10-28].log
10/28/2020 12:07:35 PMIsValidImage Image file is valid: DWSD.20201028_120735637.jpgDebugAITOOLS.EXE192.168.0.179:5000DWSD285225TrueAITool.[2020-10-28].log
10/28/2020 12:07:35 PMDetectObjects (1/6) Uploading a 217414 byte image to DeepQuestAI Server at DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg286125TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects (2/6) Posted in 358ms, Received a 117 byte response.DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg287122TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects (3/6) Processing results...DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg288122TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects Detected objects:DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg289122TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMOutsidemask ->Using found mask file C:\Users\BlueIris\Downloads\AITOOL-VORLONCD\cameras\DWSD.bmp...DebugAITOOLS.EXE192.168.0.179:5000DWSD290322TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMOutsidemask ->ALL of the object is OUTSIDE of masked area(s). (9 of 9 points)DebugAITOOLS.EXE192.168.0.179:5000DWSD291322TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMCreateDynamicMask * Starting new object mask processing *DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg292322TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMCreateDynamicMask Current object detected: key=81208, name=Car, xmin=61, ymin=187, xmax=313, ymax=463, IsStatic=False, counter=0, camera=DWSD, create date: 10/28/2020 12:07:36 PM, imageName: DWSD.20201028_120735637.jpgDebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg293322TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMEquals Percentage Intersection of object: 98.92473% Current 'Car' key=83550, Tested 'Car' key=81208DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg294322TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMCreateDynamicMask Found 'Car' (Key=81208) in masked_positions key=83550, name=Car, xmin=54, ymin=185, xmax=314, ymax=467, IsStatic=False, counter=1, camera=DWSD, create date: 10/27/2020 10:18:24 PM, imageName: DWSD.20201028_120735637.jpgDebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg295322TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects Result='DynamicMasked', Detail='Car (69.88%)', ObjType='Vehicle', DynMaskResult='Found', DynMaskType='Dynamic', ImgMaskResult='MajorityOutsideMask', ImgMaskType='Image'DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg2961DarkSlateGray22TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects 1x masked, so it's an irrelevant alert.DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg297122TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects (5/6) Performing CANCEL actions:DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg298122TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMSave JSON Settings saved to REGISTRY and C:\Users\BlueIris\Downloads\AITOOL-VORLONCD\AITool.Settings.JSONDebugAITOOLS.EXE192.168.0.179:5000DWSD299222TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects (6/6) Camera DWSD caused an irrelevant alert.DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg300122TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects Total Time: 674ms (Count=9, Min=634ms, Max=2768ms, Avg=1126ms)DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg301122TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjectsDeepStack (URL) Time: 358ms (Count=9, Min=316ms, Max=382ms, Avg=343ms)DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg302122TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects File lock Time: 0ms (Count=1, Min=3ms, Max=3ms, Avg=3ms)DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg303222TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects Image Queue Time: 292ms (Count=9, Min=265ms, Max=370ms, Avg=304ms)DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg304222TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMDetectObjects Image Queue Depth: 1 (Count=9, Min=1, Max=1, Avg=1)DebugAITOOLS.EXE192.168.0.179:5000DWSDDWSD.20201028_120735637.jpg305222TrueAITool.[2020-10-28].log
10/28/2020 12:07:36 PMInsertHistoryItem StackDepth=14, TID=7, TCNT=25: v:\blueiris\images\dwsd.20201028_120735637.jpg: Object reference not set to an instance of an object. [NullReferenceException] Mod: InsertHistoryItem(History hist) Line:0:0ErrorAITOOLS.EXE192.168.0.179:5000DWSDdwsd.20201028_120735637.jpg30617TrueAITool.[2020-10-28].log
10/28/2020 12:12:06 PMCleanUpExpiredHistory Removing expired history: key=26539, name=Person, xmin=430, ymin=57, xmax=453, ymax=124, IsStatic=False, counter=0, camera=DWSD, create date: 10/28/2020 12:06:51 PM, imageName: DWSD.20201028_120650635.jpg which existed for 5.3 minutes. (max=5)DebugAITOOLS.EXE192.168.0.179:5000DWSD307112TrueAITool.[2020-10-28].log
10/28/2020 12:12:06 PMCleanUpExpiredHistory Removing expired history: key=30770, name=Person, xmin=380, ymin=79, xmax=390, ymax=108, IsStatic=False, counter=0, camera=DWSD, create date: 10/28/2020 12:06:46 PM, imageName: DWSD.20201028_120645635.jpg which existed for 5.3 minutes. (max=5)DebugAITOOLS.EXE192.168.0.179:5000DWSD308112TrueAITool.[2020-10-28].log
10/28/2020 12:12:06 PMCleanUpExpiredHistory Removing expired history: key=52452, name=Person, xmin=449, ymin=115, xmax=461, ymax=136, IsStatic=False, counter=0, camera=DWSD, create date: 10/28/2020 12:06:46 PM, imageName: DWSD.20201028_120645635.jpg which existed for 5.3 minutes. (max=5)DebugAITOOLS.EXE192.168.0.179:5000DWSD309112TrueAITool.[2020-10-28].log
10/28/2020 12:13:06 PMCleanUpExpiredHistory Removing expired history: key=38735, name=Car, xmin=446, ymin=82, xmax=489, ymax=120, IsStatic=False, counter=0, camera=DWSD, create date: 10/28/2020 12:07:21 PM, imageName: DWSD.20201028_120720570.jpg which existed for 5.8 minutes. (max=5)DebugAITOOLS.EXE192.168.0.179:5000DWSD310113TrueAITool.[2020-10-28].log
10/28/2020 2:29:41 PMReloadLogLoaded 408 lines in 9ms from C:\Users\BlueIris\Downloads\AITOOL-VORLONCD\AITool.[2020-10-28].log.InfoAITOOLS.EXE101TrueAITool.[2020-10-28].log
10/28/2020 2:29:43 PMStartPauseLogStopped auto log refreshInfoAITOOLS.EXE201TrueAITool.[2020-10-28].log
10/28/2020 2:29:43 PMchk_filterErrorsAll_ClickSearching AITool.[2020-10-28].log...DebugAITOOLS.EXE301TrueAITool.[2020-10-28].log
10/28/2020 2:29:43 PMchk_filterErrorsAll_Click...Found 17 of 410 lines that had an error for a total of 17 lines in AITool.[2020-10-28].log...DebugAITOOLS.EXE401TrueAITool.[2020-10-28].log
10/28/2020 2:29:43 PMchk_filterErrorsAll_ClickFound 17 errors in 0msInfoAITOOLS.EXE501TrueAITool.[2020-10-28].log
10/28/2020 2:29:45 PMReloadLogLoaded 413 lines in 8ms from C:\Users\BlueIris\Downloads\AITOOL-VORLONCD\AITool.[2020-10-28].log.InfoAITOOLS.EXE101TrueAITool.[2020-10-28].log
10/28/2020 2:29:45 PMStartPauseLogStopped auto log refreshInfoAITOOLS.EXE201TrueAITool.[2020-10-28].log
10/28/2020 2:29:45 PMchk_filterErrorsAll_ClickSearching AITool.[2020-10-28].log...DebugAITOOLS.EXE301TrueAITool.[2020-10-28].log
10/28/2020 2:29:45 PMchk_filterErrorsAll_Click...Found 17 of 416 lines that had an error for a total of 17 lines in AITool.[2020-10-28].log...DebugAITOOLS.EXE401TrueAITool.[2020-10-28].log
10/28/2020 2:29:45 PMchk_filterErrorsAll_ClickFound 17 errors in 0msInfoAITOOLS.EXE501TrueAITool.[2020-10-28].log
10/28/2020 2:29:46 PMReloadLogLoaded 418 lines in 14ms from C:\Users\BlueIris\Downloads\AITOOL-VORLONCD\AITool.[2020-10-28].log.InfoAITOOLS.EXE101FalseAITool.[2020-10-28].log


I can see a couple of errors in there but what problem is actually happening?
 
I can see a couple of errors in there but what problem is actually happening?
[/QUOT
It would not load the history file nor would it trigger cameras. I did switch back to 171.0332 10/17/20 and all started working again. I will try again over the weekend, but thought I would give it a quick try.
 
well done. great help. can I confirm something. This method does not include a 24 hour recording of sub channel like suggested with The Hook Up. correct?

I am sorry, it does not. I decided that it wasnt useful to me so I just decided to go with motion. Thinking through it quick I believe you would still need a second camera setup.

You could probably do this full single camera setup but then setup a camera with just the substream if you want 24 hour recording on that. Kind of six of one at that point I think though
 
  • Like
Reactions: seth-feinberg
I am sorry, it does not. I decided that it wasnt useful to me so I just decided to go with motion. Thinking through it quick I believe you would still need a second camera setup.

You could probably do this full single camera setup but then setup a camera with just the substream if you want 24 hour recording on that. Kind of six of one at that point I think though

Thank you for the reply and no problem at all. Not sure the 24 hour record is needed either. I have used it a few times, but that was because I forgot to change BI Profiles and alerts were turned off. Thank you again.
 
Thank you for the reply and no problem at all. Not sure the 24 hour record is needed either. I have used it a few times, but that was because I forgot to change BI Profiles and alerts were turned off. Thank you again.

Not sure if you have any sort of home automation, but with Home Assistant I can change profiles based on people being home or not. Works pretty great. Might be able to do it with other home automation software too.
 
  • Like
Reactions: seth-feinberg
Not sure if you have any sort of home automation, but with Home Assistant I can change profiles based on people being home or not. Works pretty great. Might be able to do it with other home automation software too.
You know I have not done that yet. But have been thinking about that. Wife says I love my projects. In your video you mention turn on lights based on motion. That pretty much move my old butt forward. :) Sometimes I just need a reason to justify it to myself. :) I did install Home Assistant via docker on my UnRaid box. But don't know the default user name and p/w . I did try the normal admin/admin or admin/password. If anyone else has downloaded HA docker from homeassistant/home-assistant Repository. let me know what the login info is plz.
 
Hi Folks. Here is the latest update to the VorlonCD mod. Should address many of the issues or suggestions mentioned recently.


  • Splash screen and much faster startup. The database cleanup of missing image files happens on startup, but it generally doesn't take too long.
  • @classObject has done some great Dynamic Masking updates! A few bug fixes, and an advanced setting "Enable Object Scaling" that gives the ability to scale distant objects so they are more easily detected as the same object that may have been detected before. (Without this setting, you may have found you had to create half a dozen static dynamic masks for a distant object you wanted to ignore)
    image
    image
  • Redesigned Log Viewer. Faster, Filter on keywords or errors, sort by original log order or date, etc. Log files will be deleted when over the "MaxLogFileAgeDays" (defaults to 14) setting in the AITOOL.SETTINGS.JSON file, rotated out when the size is over "MaxLogFileSize" (bytes - defaults to 10MB), and ZIPPED up once a day.
    image
  • Redesigned History Viewer. Better icons, all settings get saved, prediction details screen, jump directly to mask settings, Follow history option works better.
    image
  • History - Right-click menu. Locate in log file, refresh, etc.
    image
  • History > Prediction Details > right-click > Create static mask. So you can create static masks after they have been cleared in the Dynamic Mask Details screen. Note this works with multiple items selected.
  • History > Settings: Adds ability to prevent false or masked history items from being stored in the database. In some cases this may make list loading and filtering faster but probably not necessary in most cases.
  • History > Settings: Enable "Show only Relevant objects" to closer mimic @GentlePumpkin 's original app where in the history list, highlighted objects and variables only showed relevant objects. With it unchecked you get a lot more insight for what deepstack is outputting.
  • When more than one object is detected, the list is now prioritized so that relevant objects will be first in any list. Then other 'Important' objects like 'person', 'bear' will be prioritized. [variables] will now show relevant objects first. This can be controlled via the ObjectPriority setting in the JSON settings file. View the detected object list via History > Prediction Details
    image
  • Settings now stored under _SETTINGS folder and logs are under _SETTINGS\LOGS folder so everything that changes is stored under a single folder. CAMERAS folder is no longer used. I know, I said that before, but this time its true. Really. Trust me?
  • Camera > Apply To button. This lets you save selected settings from the current camera to any other camera.
  • Actions - "Queue Actions" checkbox - This will send actions that need to be done like sending Telegram, MQTT or calling a trigger URL into a background thread queue to be processed. It will release the main detection routine faster so you dont have to wait for a telegram upload to finish before processing the next image from BI. Note that this may affect Cooldown behavior.
  • Actions - New variable [ImagePathEscaped]. This allows you to tell BlueIris which image to display in its alert list using the following url parameter: &flagalert=1&memo=[summary]&jpeg=[ImagePathEscaped] (Note you must have a recent version of BI for this to work)
  • Actions - Ability to change JPEG compression level when "Merge Annotations into Images" is checked.
  • Actions - Telegram: Ability to specify which objects work work with - for example, "person, dog, bear" Leave empty for all.
    image
  • Fix: Cancel triggers now working as expected.
  • Fix: Switching to high-dpi support caused all sorts of issues for people remoting into a machine with AITOOL so that has been disabled. Fuck me, why did I buy a 4k display? :)
  • Documentation on how to setup MQTT with BlueIris thanks to @edalquist!: VorlonCD/bi-aidetection
  • Many other fixes. Github issues is best way log new issues, but do log to the ipcamtalk thread also since I dont always monitor both. Jeebers, 114 frikin pages! :) https://github.com/VorlonCD/bi-aidetection/issue

===================
To install:


Backup your current AITOOLS folder.
Download the ZIP, right-click > Properties > UNBLOCK.
Unzip to existing folder, overwriting any files.
Most if not all settings should migrate.

OH, and holey crap, thanks to @Tinbum, @aesterling, @petermai6655, @aralos1999 among many others for their suggestions, bug reports and patience.
 
Last edited:
Many thanks to GP for the original code, and CD for the awesome additions.

All I need now is Deepstack to release a Jetson Nano version and I'm golden!
And a Windows 10 version of the new release! Would also like to see additional objects/animals added to Deepstack.
 
Hi Folks. Here is the latest update to the VorlonCD mod. Should address many of the issues or suggestions mentioned recently.


  • Splash screen and much faster startup. The database cleanup of missing image files happens on startup, but it generally doesn't take too long.
  • @classObject has done some great Dynamic Masking updates! A few bug fixes, and an advanced setting "Enable Object Scaling" that gives the ability to scale distant objects so they are more easily detected as the same object that may have been detected before. (Without this setting, you may have found you had to create half a dozen static dynamic masks for a distant object you wanted to ignore)
    image
    image
  • Redesigned Log Viewer. Faster, Filter on keywords or errors, sort by original log order or date, etc. Log files will be deleted when over the "MaxLogFileAgeDays" (defaults to 14) setting in the AITOOL.SETTINGS.JSON file, rotated out when the size is over "MaxLogFileSize" (bytes - defaults to 10MB), and ZIPPED up once a day.
    image
  • Redesigned History Viewer. Better icons, all settings get saved, prediction details screen, jump directly to mask settings, Follow history option works better.
    image
  • History - Right-click menu. Locate in log file, refresh, etc.
    image
  • History > Prediction Details > right-click > Create static mask. So you can create static masks after they have been cleared in the Dynamic Mask Details screen. Note this works with multiple items selected.
  • History > Settings: Adds ability to prevent false or masked history items from being stored in the database. In some cases this may make list loading and filtering faster but probably not necessary in most cases.
  • History > Settings: Enable "Show only Relevant objects" to closer mimic @GentlePumpkin 's original app where in the history list, highlighted objects and variables only showed relevant objects. With it unchecked you get a lot more insight for what deepstack is outputting.
  • When more than one object is detected, the list is now prioritized so that relevant objects will be first in any list. Then other 'Important' objects like 'person', 'bear' will be prioritized. [variables] will now show relevant objects first. This can be controlled via the ObjectPriority setting in the JSON settings file. View the detected object list via History > Prediction Details
    image
  • Settings now stored under _SETTINGS folder and logs are under _SETTINGS\LOGS folder so everything that changes is stored under a single folder. CAMERAS folder is no longer used. I know, I said that before, but this time its true. Really. Trust me?
  • Camera > Apply To button. This lets you save selected settings from the current camera to any other camera.
  • Actions - "Queue Actions" checkbox - This will send actions that need to be done like sending Telegram, MQTT or calling a trigger URL into a background thread queue to be processed. It will release the main detection routine faster so you dont have to wait for a telegram upload to finish before processing the next image from BI. Note that this may affect Cooldown behavior.
  • Actions - New variable [ImagePathEscaped]. This allows you to tell BlueIris which image to display in its alert list using the following url parameter: &flagalert=1&memo=[summary]&jpeg=[ImagePathEscaped] (Note you must have a recent version of BI for this to work)
  • Actions - Ability to change JPEG compression level when "Merge Annotations into Images" is checked.
  • Actions - Telegram: Ability to specify which objects work work with - for example, "person, dog, bear" Leave empty for all.
    image
  • Fix: Cancel triggers now working as expected.
  • Fix: Switching to high-dpi support caused all sorts of issues for people remoting into a machine with AITOOL so that has been disabled. Fuck me, why did I buy a 4k display? :)
  • Documentation on how to setup MQTT with BlueIris thanks to @edalquist!: VorlonCD/bi-aidetection
  • Many other fixes. Github issues is best way log new issues, but do log to the ipcamtalk thread also since I dont always monitor both. Jeebers, 114 frikin pages! :) https://github.com/VorlonCD/bi-aidetection/issue

===================
To install:


Backup your current AITOOLS folder.
Download the ZIP, right-click > Properties > UNBLOCK.
Unzip to existing folder, overwriting any files.
Most if not all settings should migrate.

OH, and holey crap, thanks to @Tinbum, @aesterling, @petermai6655, @aralos1999 among many others for their suggestions, bug reports and patience.
Is there documentation around how cancel triggers work? Is it in blue iris documentation?
 
Probably nothing but-

I just installed the very latest (from the post above) I like to start clean as as I can, so I delete any all pictures in my AI folder, clear out all the snaps shots, video's, errors etc. from BI before I install a new version. I removed the Cameras folder as directed and then unzipped everything into the existing folder (after backing up) On start up I am getting several hundred of these errors, the errors all differ a bit ref. info on the line but this is a good example of what I see :

DeepStack>> 2020-10-31 09:35:11.1455872 [W:onnxruntime:InferenceSession, session_state_initializer.cc:500 onnxruntime::SaveInputOutputNamesToNodeMapping] Graph input with name 294 is not associated with a node.

So far seems to be running OK?, it appears to sort itself out in a few seconds and I normally won't see this anymore.

So Question is- Normal? or am I jacking it up somehow?

TIA- Love you guys!
 
@balucanb yeah I forgot to exclude deepstack (for windows) debug messages. They are nothing to worry about and always happen. Try the DOCKER version rather than windows. It has a newer version. I think instructions may be at top of this thread and mentioned a few other places in the last few 1000 pages here.

@tripp396 - See this: - page 186
 
I'm getting constant external triggers now from "irrelevant" detections - if there's motion in a scene, AI and deepstack do their thing and determine it's a false alarm, but AIT is triggering Blueiris for some reason - like every second until there's an actual alert or i restart AIT. Think it has something to do with the cancel string?
I reverted to the previous version i was running (1.67.8.33855) and it's back to working correctly
 
@Netscan you didnt give much info about your configuration. How is BI setup, what is your trigger/cancel url set to? What are the log entries? Are you on the latest version of BlueIris? Flagalert=0 has only been in recent versions.

I believe this is the correct cancel URL:

I dont believe the '?trigger" should be in the cancel URL

Can anyone else verify cancel alerts are working the the 2.0 release, and what the correct URL is?
 
@Netscan you didnt give much info about your configuration. How is BI setup, what is your trigger/cancel url set to? What are the log entries? Are you on the latest version of BlueIris? Flagalert=0 has only been in recent versions.

I believe this is the correct cancel URL:
flagalert=0

I dont believe the '?trigger" should be in the cancel URL

Can anyone else verify cancel alerts are working the the 2.0 release, and what the correct URL is?

I'm using cancel URL:


and it works well.