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

1669987842051.png
 
  • Sad
Reactions: sebastiantombs
@animous MikeLud1 custom models are included with the CodeProject.AI install package. No need for separate download. There are a number of interesting models you can use. Trust me, it's worth ~$35 upgrade. The BI5 integration to CodeProject.AI will allow you to do more advanced triggers at a camera level that is difficult with AI Tools only.


Hello mate.
I recently paid for 1 year of blue iris upgrades and they only let me upgrade to 5.4.9.16 (07/29/2021).
I don't know why I can't update more than there, my subscription ends (9/24/2023)
 
Yes works fine see earlier in this thread.
I looked but couldn't find anything about running CP.AI without BI using this tool. I tried running it but am having no luck since the tool looks to have the command to run deepstack.exe hardcoded and I'm not seeing a place to modify it. Could you point me to the info?
 
Anyone try using this with codeproject.AI without Blue Iris? I've been using this for about two years with DeepStack but would like to try out CP.AI.

Thanks!
Do you mean with the AITool? I was hoping I could add the CP server to the AITool but it does not have that option. I added it as a discussion on Discussions · VorlonCD/bi-aidetection

Update think I got it working with CP, just was missing the /v1/vision/detection


1675449769441.png
 
Last edited:
CP installed and Deepstack stopped for now to see how it goes.
Using the AITool.

Now, one section of the AITool I never knew which to configure correctly is the linked server and combine results options.
I use an animal custom server from sunset-sunrise and the normal object one 24hrs a day.

I have tried both options, one as linked server and waits for the results from the other and none of these options ticked.
What is the difference? Just one queues and waits for the other to finish first? If nothing is ticked and both are running what difference will that make?
Thanks!
1675456056036.png1675456017449.png
 
CP installed and Deepstack stopped for now to see how it goes.
Using the AITool.

Now, one section of the AITool I never knew which to configure correctly is the linked server and combine results options.
I use an animal custom server from sunset-sunrise and the normal object one 24hrs a day.

I have tried both options, one as linked server and waits for the results from the other and none of these options ticked.
What is the difference? Just one queues and waits for the other to finish first? If nothing is ticked and both are running what difference will that make?
Thanks!
View attachment 152961View attachment 152960

I also tried that but the URL kept changing itself back to ../custom/.. Each time you open the window it's changed back.

Use the main server as "Use ONLY as a linked server" and then use Link on the custom models. Don't forget the dropdown to select the linked main server. This allows the same photo to be analyzed/marked up instead of separate.
 
I had to put the custom first as main linked, then object standard from the drop down to the custom. Otherwise it does not work, and I get skipping image - queue 101 is greater than 100, adjust maximagequeuesize.

hmm this way its only using the custom model now. you have a point
 
oh what's this rubbish?. unticked queue in settings to try and solve it but still get this error

ERROR> Skipping image because queue (101) is greater than '100'. (Adjust 'MaxImageQueueSize' in .JSON file if needed): d:\aiinput\Front.20230206_222451386.jpg

well for now I have disabled the custom - thanks for letting me know about the bug. I've asked the developer how to fix this
 
Last edited:
Funny, when it is windy, DeepStack Identifies our dog flag as a person, LOL

1677072442359.png

May need to raise my min confidence in BI to 60%,
seems all of the flag alerts are in the 40 to 50 percentages...
1677072794615.png

1677073921999.png



Ok, now going back I see it depends on the flag's position,
that is if the flag is wrapped around the pole.
Normally it identifies the flag as either a dog or cat:
1677072883494.png

1677074035523.png


I know, I know, the final fix would be to move the flag, but my wife won't let me :)
This is not a complaint nor a problem for me. I know I can also setup alert zones or hot spots but since the flag moves, I don't want to miss any other motion in that area in case of a vehicle break in.

Really just sharing since this was funny to me this morning...
 
Last edited:
When it is Real Windy, our flag becomes a car, LOL
1677075945099.png

1677075865641.png
 
Very happy with Codeproject now. Proving to be more stable and more accurate than deepstack. Got it running along side AITool. Picks up everything with hardly any false alerts. This was zoomed in, a small bird, every one of the 6 snapshots of this identified it correctly.

1677589871857.png
 
  • Like
Reactions: David L
Very happy with Codeproject now. Proving to be more stable and more accurate than deepstack. Got it running along side AITool. Picks up everything with hardly any false alerts. This was zoomed in, a small bird, every one of the 6 snapshots of this identified it correctly.

View attachment 155477
Yeah, I have been looking into switching now that BI supports it too. What I think I will do is have my Camera continue to run DeepStack and the same Camera run CodeProject.AI in another Window. Only difference I see is DeepStack is running on my GPU, where as CodeProject.AI will run on my CPU. I don't know if there is a GPU version of CodeProject.AI
 
Yeah, I have been looking into switching now that BI supports it too. What I think I will do is have my Camera continue to run DeepStack and the same Camera run CodeProject.AI in another Window. Only difference I see is DeepStack is running on my GPU, where as CodeProject.AI will run on my CPU. I don't know if there is a GPU version of CodeProject.AI

I have CodeProject and deepstack on my gpu. When you install CP it automatically detects the GPU. Did not need to configure anything .I would not run it on the cpu.
 
  • Like
Reactions: David L
I used AITool before CPAI, one thing I miss is the ability to send alert images to Amazon Rekognition. I'm curious if anyone else used that feature and how did it work for you?
 
  • Like
Reactions: David L
My deepstack instance just happened to get corrupt the other day. I wipped both DS and AITool to start over, but I fkd around and installed the newer GPU version of DS cuz I had both versions in my download folder. Turns out I had forgot the newer GPU version of DS has a memory leak... at least using a P400, took me all night to nail it down to the version of DS I was using. NIGHTMARE.
 
Last edited:
New update for AITool;


Brilliant thanks
Nice easy upgrade this time - no issues this time - before I had to make a copy of my folder - delete the original, then do a full install and sometimes copy the masks across (would ask to copy the registry settings which I did).

This time it overwrote the original folder smoothly and kept all the masks and settings- no bugs
Also codeproject in the server settings - awesome! (said deepstack before even though the port was CP)