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

pbc

Getting comfortable
Joined
Jul 11, 2014
Messages
1,024
Reaction score
156
13 regular cams and 5 with clones for ai tools
What does BI CPU usage look like on it's own? You mention CPU in total at 70...curious what just BI is.
 

pbc

Getting comfortable
Joined
Jul 11, 2014
Messages
1,024
Reaction score
156
Must still have a setting off somewhere, if I turn off my clones, usage drops to around 18%-22%, but then almost doubles with them on. Didn't think the clones were supposed to take much if any CPU.
 

Cameraguy

Known around here
Joined
Feb 15, 2017
Messages
1,486
Reaction score
1,134
Must still have a setting off somewhere, if I turn off my clones, usage drops to around 18%-22%, but then almost doubles with them on. Didn't think the clones were supposed to take much if any CPU.
Don't think they should
 

pbc

Getting comfortable
Joined
Jul 11, 2014
Messages
1,024
Reaction score
156
AI cams all turned on:

1594949693297.png


AI Cams all disabled:

1594949745078.png

Zero idea why given they are not sending any additional bitrate per the post a few above.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,186
Reaction score
49,078
Location
USA
Make sure the original camera has clone master selected and then make sure that clone master is unchecked on the clones.

if the clones are working properly, they should have an * at the end of the camera name when viewing the cams in BI. No * means it is pulling two feeds instead of one.
 

ReXX

Young grasshopper
Joined
Dec 28, 2018
Messages
47
Reaction score
15
Location
Denmark
Didnt seem to work at my end.

For this command:

-VISION-FACE=False -VISION-SCENE=False -VISION-DETECTION=True -ADMIN-KEY= -API-KEY= -PORT=88

If your API key was say af-5667-yujhn-ssr and port was 81, by way of example, would it be:

-VISION-FACE=False -VISION-SCENE=False -VISION-DETECTION=True -ADMIN-KEY= -af-5667-yujhn-ssr= -PORT=81

I.e., have a - in front of the actual API key?
I don't set anything in for ADMIN-KEY or API-KEY.

When the service is running I go to and activate it that way.

And if you want to apply it in the commandline it would be -API-KEY=af-5667-yujhn-ssr

Sendt fra min SM-G973F med Tapatalk
 

pbc

Getting comfortable
Joined
Jul 11, 2014
Messages
1,024
Reaction score
156
Thanks, will try that.

If anyone else could oblige, curious what folks BI CPU usage is with all cameras and AI cameras running, then disable AI Cameras only, and what is that CPU Usage %? Trying to figure out if I have a setting off somewhere in my AI cameras causing them to use almost the same amount of CPU as the main cameras, even though BI isn't showing a bitrate usage for them.
 

pbc

Getting comfortable
Joined
Jul 11, 2014
Messages
1,024
Reaction score
156
I PM'ed you but this is the command line I used:

docker run —name="deepstack" -e TZ=Europe/London -e VISION-DETECTION=True -v localstorage:/datastore -p 8083:5000 --restart always deepquestai/deepstack

Change the port to whichever you use and TZ to your TimeZone.
With help from a friend got it to work using this command

docker run -e VISION-DETECTION=True -v localstorage:/datastore -p 83:5000 deepquestai/deepstack
Managed to get around the service issue (for some reason the Server service in services.msc was not running).

Getting back to this, are you guys using 8083 or 83 because that's the port you're using instead of 81?

Also, and weird, if I double click on Docker Desktop shortcut on my desktop....nothing happens? Presumably something should open?
 

peachpit

n3wb
Joined
Jul 17, 2020
Messages
1
Reaction score
0
Location
Alabama
Just wanted to share that I wrote something similar to AI Tool in PHP that natively runs on the Raspberry PI 3/4. On my install I have Deepstack and blueAI running on a PI 4. Processing an image takes about 650 - 700ms with the Intel stick on a USB 3 port. Image size is 740x640.

[GIN] 2020/07/17 - 09:23:53 | 200 | 700.99636ms | 192.168.1.8 | POST /v1/vision/detection
[GIN] 2020/07/17 - 09:23:56 | 200 | 676.721575ms | 192.168.1.8 | POST /v1/vision/detection
[GIN] 2020/07/17 - 09:23:59 | 200 | 691.511652ms | 192.168.1.8 | POST /v1/vision/detection
[GIN] 2020/07/17 - 09:24:02 | 200 | 673.042527ms | 192.168.1.8 | POST /v1/vision/detection
[GIN] 2020/07/17 - 09:30:02 | 200 | 642.752278ms | 192.168.1.8 | POST /v1/vision/detection
[GIN] 2020/07/17 - 09:39:27 | 200 | 706.303165ms | 192.168.1.8 | POST /v1/vision/detection

 

IAmATeaf

Known around here
Joined
Jan 13, 2019
Messages
3,313
Reaction score
3,302
Location
United Kingdom
The port you use is entirely up to you, I use 8083 as 8081 and 8082 are already being used by other software on my BI PC.

You can use any port provided it’s not already being used except ports such as 80, 443, 3389 plus a host of others that Windows uses.
 

IAmATeaf

Known around here
Joined
Jan 13, 2019
Messages
3,313
Reaction score
3,302
Location
United Kingdom
Quick question. For the mask image I just free hand drew the masked area but reading another thread it looks like the mask is an array of rectangles.

So is what I have done to produce the mask image fine or do I need to redo and draw rectangles or is it AITools that makes use of the mask image and uses it as an overlay to then work out what can be ignored.
 

danodemano

n3wb
Joined
Jul 31, 2017
Messages
8
Reaction score
1
I apologize if I missed it but it's really hard to search through this thread. I have everything set up and working perfectly, thank you for this awesome tool! I was wondering if there was an easy (programmatic) way to enable/disable the Telegram messaging functionality. A flaw I discovered today while my wife and I were sitting outside on the patio is that I was getting constant alerts as it detected a person. It wasn't wrong, but I would like a way to turn that off with a physical button. I have buttons I can pipe into Home Assistant/Node-RED I just need to know how to make changes to the settings and disable motion alerts. Thanks so much!!
 
Top