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

Can you elaborate on your setup? Are you using AI Tool to send images to Rekognition for analysis?


Sent from my iPhone using Tapatalk
Yes, the version of AI Tool I'm running has Amazon Rekognition as an option. It's the 11/30/20 release. I have 12 Mbps upload speed and my total time for each image is between 700 - 1,500 milliseconds.

Release Notes:
Amazon Rekognition support. Seems to have really good detection ability so far. Enter 'amazon' in Settings > AI Server setting. It has 5000 free images a month, but you must first set up an account, give credit card info AND download the ROOTKEY.CSV file and place in _SETTINGS folder after creating a new user: Step 1: Set up an AWS account and create an IAM user - Amazon Rekognition

I intend on adding the ability to resize images and jpeg quality before sending to Rekognition to reduce the filesize that has to be transmitted. Which should increase the speed.
 
  • Like
Reactions: Nierka
There's no doubt in my mind that AWS Rekognition is going to give amazing results, and I would love to try it, but...... personally a non-local solution is a bit of a non-starter for me, I've tried hard to make this a fully functioning local system and I don't really want to stray away from that now. Plus I live on a busy downtown street and currently deepstack is processing over 1,000 images per day, and that's AFTER spending the last 4+ months doing as much motion detection optimization as I can. That's well outside the AWS free tier and would have me spending almost $400 per year in fees! Deepstack it is, for now.

I'd love to try other local image analysis options and would be absolutely willing to pay for a stellar one, but I don't know of any others.... are there even any?
 
There's no doubt in my mind that AWS Rekognition is going to give amazing results, and I would love to try it, but...... personally a non-local solution is a bit of a non-starter for me, I've tried hard to make this a fully functioning local system and I don't really want to stray away from that now. Plus I live on a busy downtown street and currently deepstack is processing over 1,000 images per day, and that's AFTER spending the last 4+ months doing as much motion detection optimization as I can. That's well outside the AWS free tier and would have me spending almost $400 per year in fees! Deepstack it is, for now.

I'd love to try other local image analysis options and would be absolutely willing to pay for a stellar one, but I don't know of any others.... are there even any?
Completely see your use case. I live in a rural area so the number of images processed is not a real concern for me. Previously I was running Deepstack via a Docker container on my QNAP. Worked well but I wanted to try Rekognition and see if it could identify more wildlife.
 
Yes, the version of AI Tool I'm running has Amazon Rekognition as an option. It's the 11/30/20 release. I have 12 Mbps upload speed and my total time for each image is between 700 - 1,500 milliseconds.

Release Notes:
Amazon Rekognition support. Seems to have really good detection ability so far. Enter 'amazon' in Settings > AI Server setting. It has 5000 free images a month, but you must first set up an account, give credit card info AND download the ROOTKEY.CSV file and place in _SETTINGS folder after creating a new user: Step 1: Set up an AWS account and create an IAM user - Amazon Rekognition

I intend on adding the ability to resize images and jpeg quality before sending to Rekognition to reduce the filesize that has to be transmitted. Which should increase the speed.

Thanks for this. I am going to give it a try. I agree with others about the cost of Rekonition due to exceeding 500 images per month. I’m not exactly sure how many images Deepstack processes daily for me, but I imagine that I exceed 500 images a month.


Sent from my iPhone using Tapatalk
 
Thanks for this. I am going to give it a try. I agree with others about the cost of Rekonition due to exceeding 500 images per month. I’m not exactly sure how many images Deepstack processes daily for me, but I imagine that I exceed 500 images a month.


Sent from my iPhone using Tapatalk
It's 5,000 images per month.
 
  • Like
Reactions: balucanb
It's 5,000 images per month.

Gotcha, thanks for the clarification. I totally overlooked that lol. I’m going to test it out for sure.


Sent from my iPhone using Tapatalk
 
  • Like
Reactions: 105437
Thanks all. What finally sorted it out for me was to reinstall and then run deepquestai/deepstack:noavx using powershell. that way i could specify the port number of the deepstack url, and the VISION-DETECTION=True (not scene-detection) [code shown below], and then I used that port info for the AITool settings tab Deepstack URL.

PS C:\Users\me> docker run -e VISION-DETECTION=True -v localstorage:/datastore -p 85:5000 deepquestai/deepstack:noavx

then the AITool setting tab deepstack URL used was: :85

and what was probably obvious for everyone, but I never found any info on... BI - settings - webserver tab - http server option - should be ticked 'on'. (and use same LAN and port # that you use in AITool camera tab - Trigger URL field)

Thanks pmcross, gentle pumpkin, and any other content creators!

Ive spent hours trying to get Deepstack working in Docker Desktop on Windows 10. I got it all working using the Deepstack Windows 10 install, but based on everyones suggestions here, it made sense to get it running in Docker.

First I had issues figuring out how to manually set the ports, then once I figured that out, it still would not work. Once I downloaded the image to Docker, running this line from the Windows Power Shell and changing the port in AI Tools to 85, it worked !! I have the AVX version so left that off your command line.

-------------------------
C:\Users\me> docker run -e VISION-DETECTION=True -v localstorage:/datastore -p 85:5000 deepquestai/deepstack
------------------------

Will it autostart automatically if the machine reboots?

Thank you, again!
 
Ive spent hours trying to get Deepstack working in Docker Desktop on Windows 10. I got it all working using the Deepstack Windows 10 install, but based on everyones suggestions here, it made sense to get it running in Docker.

First I had issues figuring out how to manually set the ports, then once I figured that out, it still would not work. Once I downloaded the image to Docker, running this line from the Windows Power Shell and changing the port in AI Tools to 85, it worked !! I have the AVX version so left that off your command line.

-------------------------
C:\Users\me> docker run -e VISION-DETECTION=True -v localstorage:/datastore -p 85:5000 deepquestai/deepstack
------------------------

Will it autostart automatically if the machine reboots?

Thank you, again!

When you load the deepstack app you have an option to start automatically and also choose the version of Deepstack that you wish to load. Here is an example:

docker run --restart=always -e VISION-DETECTION=True -v localstorage:/datastore -p 85:5000 deepquestai/deepstack:cpu-x5-beta
 
Yes, the version of AI Tool I'm running has Amazon Rekognition as an option. It's the 11/30/20 release. I have 12 Mbps upload speed and my total time for each image is between 700 - 1,500 milliseconds.

Release Notes:
Amazon Rekognition support. Seems to have really good detection ability so far. Enter 'amazon' in Settings > AI Server setting. It has 5000 free images a month, but you must first set up an account, give credit card info AND download the ROOTKEY.CSV file and place in _SETTINGS folder after creating a new user: Step 1: Set up an AWS account and create an IAM user - Amazon Rekognition

I intend on adding the ability to resize images and jpeg quality before sending to Rekognition to reduce the filesize that has to be transmitted. Which should increase the speed.
@105437 just to clarify, you are using a version of AI Tool that has been written to to take advantage of the Amazon Rekognition that you have compiled from GH, correct?
 
  • Like
Reactions: 105437
After resetting stats in AI Tool it seems that the tags for the pi table disappeared with it? I attached a screenshot.
 

Attachments

  • Screen Shot 2020-12-11 at 1.55.18 PM.png
    Screen Shot 2020-12-11 at 1.55.18 PM.png
    48.9 KB · Views: 19
Once I downloaded the image to Docker, running this line from the Windows Power Shell and changing the port in AI Tools to 85, it worked !!

Just remember that every time you do the run command it will create another instance of deepstack running in the background. which, if not closed properly, can slow things down a lot.
when i was trying to match up the ports to get things working, i accidentally had several instances going, and response time suffered until I ended the processes.
 
Just remember that every time you do the run command it will create another instance of deepstack running in the background. which, if not closed properly, can slow things down a lot.
when i was trying to match up the ports to get things working, i accidentally had several instances going, and response time suffered until I ended the processes.

Is this true for the Docker version? Wouldn't it just create another container that would be visible in the GUI and easily stopped?
 
@Village Guy just curious, most people seem to be running everything using the DOCKER version while the few like me (who are scared to try LOL) are still running everything with Windows, I'm using Version 2.0.195.7637 Build 30/11/2020. My question is are you and the other folks that are actually doing the heavy lifting (writing the code) Thanks everyone BTW, optimizing it more toward the DOCKER side than the Windows side? I ask because I have noticed that my alerts while still working are taking a super long time to show up vs. previous builds. talking about recognition to alert (telegram) sometimes it will take 5 min before I see it pop up?
 
FYI- from an email I received today:
DeepStack is now Open Source, now supports NVIDIA Jetson devices.
As DeepStack AI Server hits over 3.4 million installs on Docker Hub, we are glad to announce that the software is now open source with its entire source code now available on GitHub. In addition to this new development, DeepStack now runs on the NVIDIA Jetson devices with GPU acceleration....
 
  • Like
Reactions: tech101 and cscoppa