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

Can't offer any real help but BI is up to 5.3.3.16 now so it is probably worth updating to see if it resolves the issue.
 
Trying to use this app. I have set up deepstack and can access the web page.

When I copy images into the folder listed in the input path the overview changes to processing and back to running but shows an error opening the log then reports

[22.11.2020, 21:19:11]: ERROR: Could not access image 'C:\Users\Kingdel\Pictures\camera\front2020-11-22_21-12-06_287.jpg'.

for each image and nothing in the processed history. Any ideas where I should be looking for this fault.
 
Currently running - Release 5.2.9.2 x64

Everything seems to be working fine except for the trigger. I can see the AITool sending the trigger to BlueIris but it doesn't start recording..
I can verify that the trigger within blue iris does work by right-clicking a camera and selecting Trigger Now.. which then shows a clip on the righthand side.
Ensure that recording is set to "on trigger" and alerts are set to "on trigger, external". You should be able to paste your trigger URL into a browser window and press enter, you should get a confirmation message in the browser if it's working. Feel free to paste screenshots of your trigger/record/alert settings, also your web server tabs if you can't get the confirmation message in the browser.
 
Trying to use this app. I have set up deepstack and can access the web page.

When I copy images into the folder listed in the input path the overview changes to processing and back to running but shows an error opening the log then reports

[22.11.2020, 21:19:11]: ERROR: Could not access image 'C:\Users\Kingdel\Pictures\camera\front2020-11-22_21-12-06_287.jpg'.

for each image and nothing in the processed history. Any ideas where I should be looking for this fault.


FIxed this.

It seems that there is a max image resolution. Not sure what the limit is but using 640 x 320 works every time.
 
Can anyone help me get the memo field working? I feel like I've tried everything and I have yet to see it work.

My trigger URLs:
Code:
http://192.168.x.x:x/admin?trigger&camera=Front&user=x&pw=x
http://192.168.x.x:x/admin?camera=Front&trigger&memo=[summary]&user=x&pw=x

Either one results in:
Code:
signal=green
profile=1
lock=0
camera=Front

In Alerts or Flagged I always see the thumbnail and:
Code:
Front
11/18/2020 6:41:33 PM
11 sec jpg H265

..never the memo. Any ideas what I'm doing wrong?

Is anyone able to offer help on the memo lines not working? All I ever see is this:
 

Attachments

  • Screen Shot 2020-11-23 at 8.15.15 AM.png
    Screen Shot 2020-11-23 at 8.15.15 AM.png
    209.6 KB · Views: 73
The tutorial DOES clone and DOES USE DUAL STREAMS.

HAHA YES! thank gawd, that was bothering me so much and finally makes logical sense to me. How do most people on here do it? with the cloned low res streams and recording the hi res? Or just do everything on the HI res if computational/storage capacity isn't really a problem...
 
HAHA YES! thank gawd, that was bothering me so much and finally makes logical sense to me. How do most people on here do it? with the cloned low res streams and recording the hi res? Or just do everything on the HI res if computational/storage capacity isn't really a problem...

After a few tries at different ways over the last months, I've settled on:

Using IVS detection on the cameras, limit decoding on the BI camera streams. Full res only, recording 24x7, all BI motion detection turned off.
When the Camera causes a motion alert, BI creates an event and saves an image to the AI_Input folder. *
AI_tool then sends it to deepstack for analysis and if it returns positive;
Ai_tool flags the event in BI &
Telegram sends me an alert with an image and the detected object outlined.

The only issue I have with this setup is that I almost feel guilty how little it uses BI. The positive is since BI isn't doing any motion detection, I have nearly nothing for an average CPU load with very close to perfect alerts (I actually haven't noticed anything that either should or shouldn't be in the alerts I'm getting from Telegram, but I'm sure it can't be perfect). Using the newest Deepstack (/deepquestai/deepstack:latest ) it's processing images in ~400ms on a dinosaur i5. Read this issue thread on how to update deepstack if you don't know: Future of DeepQuest and DeepStack? · Issue #65 · VorlonCD/bi-aidetection

* I tried having the cameras upload FTP images. I think that would be the best way, but there are a lot of small house keeping issues with it I don't have the time to fix. file permissions, cleaning directories, etc.
 
Last edited:
  • Like
Reactions: seth-feinberg
After a few tries at different ways over the last months, I've settled on:

Using IVS detection on the cameras, limit decoding on the BI camera streams. Full res only, recording 24x7, all BI motion detection turned off.
When the Camera causes a motion alert, BI creates an event and saves an image to the AI_Input folder. *
AI_tool then sends it to deepstack for analysis and if it returns positive;
Ai_tool flags the event in BI &
Telegram sends me an alert with an image and the detected object outlined.

The only issue I have with this setup is that I almost feel guilty how little it uses BI. The positive is since BI isn't doing any motion detection, I have nearly nothing for an average CPU load with very close to perfect alerts (I actually haven't noticed anything that either should or shouldn't be in the alerts I'm getting from Telegram, but I'm sure it can't be perfect). Using the newest Deepstack (/deepquestai/deepstack:latest ) it's processing images in ~400ms on a dinosaur i5. Read this issue thread on how to update deepstack if you don't know: Future of DeepQuest and DeepStack? · Issue #65 · VorlonCD/bi-aidetection

* I tried having the cameras upload FTP images. I think that would be the best way, but there are a lot of small house keeping issues with it I don't have the time to fix. file permissions, cleaning directories, etc.

This sounds amazing! Thanks so much for sharing. I def am not experiencing near perfect alerts, so I'm eager to try to replicate your setup. Did you follow a particular tutorial? If not, would you be willing to share any tips on how you implemented it? (I'm embarrassed to say I even needed to google the IVS acronym).

For clarity, you are recording the HD stream 24x7 but are you quickly discarding any "clips" that are not relevant? What does your long(er) term storage strategy look like? Currently, I keep the 6tb HDD on my Blue Iris box full which I think should get me CLOSE to a month of motion captured 4k h265 and then offloading anything older to a unraid server on the LAN...
 
Be sure you put a '-' before your Chat ID #, also be sure your bot is invited to the group.
Re reading the whole thread so that is why I am replying to one that is so far back- Anyway I have seen many reminders about including the "-" and it pops up in AI-Tool also but for me if I include it it will not work, I have to make sure and not use it. Curious if anyone knows why? the way I made the bot originally maybe?
 
Re reading the whole thread so that is why I am replying to one that is so far back- Anyway I have seen many reminders about including the "-" and it pops up in AI-Tool also but for me if I include it it will not work, I have to make sure and not use it. Curious if anyone knows why? the way I made the bot originally maybe?
I have never tried adding it and never had any issues either. The adage of If it is not broken don't try and fix it comes to mind.
 
  • Like
Reactions: balucanb
Am I doing something wrong that would prevent Telegram text from showing? All I see is a picture.

I deleted the registry at HKEY_CURRENT_USER\Software\AppDataLow\AITool and also the files in AppData\Local\WindowsFormApp2 and setup 1 camera from scratch and still only get a picture. Am I missing something here? I'm running version 2.0 also.
 

Attachments

  • TelegramText.JPG
    TelegramText.JPG
    82.8 KB · Views: 26
Am I doing something wrong that would prevent Telegram text from showing? All I see is a picture.

I deleted the registry at HKEY_CURRENT_USER\Software\AppDataLow\AITool and also the files in AppData\Local\WindowsFormApp2 and setup 1 camera from scratch and still only get a picture. Am I missing something here? I'm running version 2.0 also.
I think there's a big in that version. I tried to build it from the latest source because I believe Chris said it's fixed since the release, but I get errors. I had to roll back to the previous version

Sent from my Pixel 3 using Tapatalk
 
  • Like
Reactions: WhereWeAt09
I think there's a big in that version. I tried to build it from the latest source because I believe Chris said it's fixed since the release, but I get errors. I had to roll back to the previous version

Sent from my Pixel 3 using Tapatalk
Looks like you were right! I tried version 1.81 and I receive Telegram captions as expected. But now I get an error when creating a custom mask lol. Looks like I'll just use 2.0 till there is an update which hopefully fixes this.

Thanks for the help!!