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

BossHogg

n3wb
Joined
Dec 18, 2020
Messages
9
Reaction score
0
Location
Ottawa
Hi All,

After trying a few months ago to get this working but being unsuccessful, I ended up putting it on hold. Now, I'm trying again to get it working. I seem to be having a problem again getting the AI tool to communicate with Deepstack. Here are some details:

Everything is running on a Dell R710 with Proxmox
BI and the AI tool are on a Win10 Pro VM (CPU ~50%, RAM ~25%) (10.0.20.17)
BI seems to be working well.
Deepstack is running in Docker on a Ubuntu 20.04 LTS VM (10.0.20.15)
I can confirm that Deepstack is running and activated on the correct port by browsing to the IP and port in a web browser.
I am able to ping the deepstack VM from the BI VM

I've tried 2 different versions of deepstack, :latest and :noavx (since my CPUs don't have the AVX flag). The no AVX version can not be activated anymore and therefore the AI tool produces an error saying so. I did read somewhere that the latest version of deepstack is supposed to be able to handle AVX and NOAVX CPUs. The latest version creates the following errors:

1612366334760.png

If i point to a port I know is wrong, I get a different error, so I think the AI tool can see the Deepstack server, but is not allowed access for some reason.

I don't know what to try next to get this working. I'm looking for any help you can provide. I've spent the last 2 days searching for answers and have come up empty.

Thanks.

EDIT: I just saw in the log on startup that there is a not that says "no docker support yet". Is this true or a carryover from an old version? I'm using version 2.0.37.7608 from 2020-10-30.
 
Last edited:

Brendon06

Young grasshopper
Joined
Jan 20, 2019
Messages
33
Reaction score
16
Location
New Zealand

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
1,995
Reaction score
881

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
1,995
Reaction score
881
I have a question about Camera Settings. Will Deepstack identify the items listed in the "Additional Relevant Objects" setting? I've added several additional things that I'd like to have Deepstack trigger on but I'm not sure Deepstack can actually recognize any of these.
Screen Shot 2021-02-03 at 1.09.30 PM.png
 

Brendon06

Young grasshopper
Joined
Jan 20, 2019
Messages
33
Reaction score
16
Location
New Zealand
I have a question about Camera Settings. Will Deepstack identify the items listed in the "Additional Relevant Objects" setting? I've added several additional things that I'd like to have Deepstack trigger on but I'm not sure Deepstack can actually recognize any of these.
View attachment 81403
There could be more but here is a list of all I'm aware of
person, bicycle, car, motorcycle, airplane, bus, train, truck, boat, traffic light, fire hydrant, stop_sign, parking meter, bench, bird, cat, dog, horse, sheep, cow, elephant, bear, zebra, giraffe, backpack, umbrella, handbag, tie, suitcase, frisbee, skis, snowboard, sports ball, kite, baseball bat, baseball glove, skateboard, surfboard, tennis racket, bottle, wine glass, cup, fork, knife, spoon, bowl, banana, apple, sandwich, orange, broccoli, carrot, hot dog, pizza, donut, cake, chair, couch, potted plant, bed, dining table, toilet, tv, laptop, mouse, remote, keyboard, cell phone, microwave, oven, toaster, sink, refrigerator, book, clock, vase, scissors, teddy bear, hair dryer, toothbrush.
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
1,995
Reaction score
881
There could be more but here is a list of all I'm aware of
person, bicycle, car, motorcycle, airplane, bus, train, truck, boat, traffic light, fire hydrant, stop_sign, parking meter, bench, bird, cat, dog, horse, sheep, cow, elephant, bear, zebra, giraffe, backpack, umbrella, handbag, tie, suitcase, frisbee, skis, snowboard, sports ball, kite, baseball bat, baseball glove, skateboard, surfboard, tennis racket, bottle, wine glass, cup, fork, knife, spoon, bowl, banana, apple, sandwich, orange, broccoli, carrot, hot dog, pizza, donut, cake, chair, couch, potted plant, bed, dining table, toilet, tv, laptop, mouse, remote, keyboard, cell phone, microwave, oven, toaster, sink, refrigerator, book, clock, vase, scissors, teddy bear, hair dryer, toothbrush.
Thanks @Brendon06, it looks like none of the items I'd like it to detect are listed. Hopefully they'll add news ones over time.
 

MnM

Young grasshopper
Joined
May 14, 2014
Messages
95
Reaction score
20
GPU performance on High

1612517597417.png

GPU performance on Low

1612517762133.png

Virtual Win10 for BI
Virtual Ubuntu 20.04 for DeepStack with 1080 (not Ti) passthrough
 

MnM

Young grasshopper
Joined
May 14, 2014
Messages
95
Reaction score
20
Should work with a 1030. Performance might be different.

Not sure how to get it going on Windows - as mentioned I have DeepStack running on Ubuntu and only BI running on Widows
 

xjust

n3wb
Joined
Jan 19, 2021
Messages
22
Reaction score
3
Location
romania
i followed the instructions for windows installation of the gpu version
installed all the drivers for nvidia including creating the developer accounts to dowload everything
works pretty much the same as without hardware gpu acceleration for me (250-300ms) on medium
 

spammenotinoz

Getting comfortable
Joined
Apr 4, 2019
Messages
345
Reaction score
274
Location
Sydney
i followed the instructions for windows installation of the gpu version
installed all the drivers for nvidia including creating the developer accounts to dowload everything
works pretty much the same as without hardware gpu acceleration for me (250-300ms) on medium
I have like a $10 GTX 745 and it's 3-5 times faster for me. Check task manager to make sure it's actually using the GPU.
Should also note, when I was using the CPU I was having Bi reduce to 1080p, now I just leave them native 4k, as I like the high quality snapshots (I have AI Tool archive and send out verified snaps)
I am running 6 deepstack GPU instances as each uses <2% of my GPU
For me the beta didn't work either, downloaded the one in this forum. I checked the deepstack doco and they released a new beta, I am reluctant to try that, given it's been working great.
Anyone tried the latest beta?
 

xjust

n3wb
Joined
Jan 19, 2021
Messages
22
Reaction score
3
Location
romania
I have like a $10 GTX 745 and it's 3-5 times faster for me. Check task manager to make sure it's actually using the GPU.
Should also note, when I was using the CPU I was having Bi reduce to 1080p, now I just leave them native 4k, as I like the high quality snapshots (I have AI Tool archive and send out verified snaps)
I am running 6 deepstack GPU instances as each uses <2% of my GPU
For me the beta didn't work either, downloaded the one in this forum. I checked the deepstack doco and they released a new beta, I am reluctant to try that, given it's been working great.
Anyone tried the latest beta?
you run it on windows or linux ?
 

xjust

n3wb
Joined
Jan 19, 2021
Messages
22
Reaction score
3
Location
romania
[GIN] 2021/02/05 - 20:59:29 | 200 | 70.9997ms | 127.0.0.1 | POST /v1/vision/detection
found the same beta21.01 version on the forum. it seems to work now.

is there any plan to add minimum object size to aitool ?
i have several cats that are detected as 'human' in certain positions in the yard :)
 
Joined
Jan 21, 2021
Messages
3
Reaction score
1
Location
Somers CT
i followed the instructions for windows installation of the gpu version
installed all the drivers for nvidia including creating the developer accounts to dowload everything
works pretty much the same as without hardware gpu acceleration for me (250-300ms) on medium
I had this same problem. You need to go to the deepstack.cc forums and download the beta release. It dropped my times from 350-400 ms to 70-80 ms. Let me see if I can find a link. pow...

 

Saargebeat

n3wb
Joined
Oct 28, 2020
Messages
15
Reaction score
3
Location
Germany
Hello Friends of AI

can someone explain how to setup dynamic masks? I like to get rid of detection of parked cars. I thought i did everything but it doesnt create any dynamic masks

I dont have static masks or anything.



Also i have 150-200ms response time with RTX3070
Using newest beta

I tried MODE High but then i got more than 300ms

Also CPU goes up to 100% starting with 13% but GPU only quite stable 1% - during processing maybe 5%


Maybe a bit OT: I get the 10sec Push Images, but most of the time they start to late (person is gone already). Any idea how to improve?
 
Last edited:

spammenotinoz

Getting comfortable
Joined
Apr 4, 2019
Messages
345
Reaction score
274
Location
Sydney
Hello Friends of AI

can someone explain how to setup dynamic masks? I like to get rid of detection of parked cars. I thought i did everything but it doesnt create any dynamic masks

I dont have static masks or anything.



Also i have 150-200ms response time with RTX3070
Using newest beta

I tried MODE High but then i got more than 300ms

Also CPU goes up to 100% starting with 13% but GPU only quite stable 1% - during processing maybe 5%


Maybe a bit OT: I get the 10sec Push Images, but most of the time they start to late (person is gone already). Any idea how to improve?
I literally just clicked the "enable dynamic mask" button on each camera. Try a different version of AI Tool, perhaps your version has a bug.
Pre-recording should stop you missing any footage, but I recommend recording 24x7 continuous and have AI Tool flag footage for you.
I don't recall having any dynamic masking issues, I am currently running a self compiled version.
 

Saargebeat

n3wb
Joined
Oct 28, 2020
Messages
15
Reaction score
3
Location
Germany
I literally just clicked the "enable dynamic mask" button on each camera. Try a different version of AI Tool, perhaps your version has a bug.
Pre-recording should stop you missing any footage, but I recommend recording 24x7 continuous and have AI Tool flag footage for you.
I don't recall having any dynamic masking issues, I am currently running a self compiled version.

I took the lastest versions of AITool and the Fork.
Maybe i can get a confirmation of somebody running the same software versions?! Or any non-self-compiled one :)

Also maybe there is a short manual how it should work. Whatever i try, i dont get any dynamic mask
 

Tinbum

Pulling my weight
Joined
Sep 5, 2017
Messages
446
Reaction score
126
Location
UK
Top