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

The problem is Unifi Protect. It causes the keyframe rate to be too low. Ideally it should be 1.00 as shown below:.....

I'll check this out and have no problem editing via SSH and have the same cloudkey, thanks for the info and help! Appreciated! It sucks the file needs to be updated each time but at least I have something to start with now.
 
Your camera's show identical IP addresses.
Yes thats correct however as mentioned they are using unique RTSP urls and THAT is where the stream is sourced, many NVR's work the same way and I think you're missing that this actually works and the problem has to do with keyframes as another member has mentioned and nothing at all to do with the same IP on cameras as I've already shown, its the RTSP url that makes them unique and they still work in Blue Iris using this method.

If both cameras have the EXACT same IP and nothing after the port number then of course you have a clone of a camera, its using the same IP however what I am posting is actually a URL and forgive me for not adding rtsp:/ to the beginning of it but the forward slash further to the right in both the examples I show sort of make it clear this is the URL for the camera that makes it unique.

Here's further clarification if you are not sure of the difference between an IP and an rtsp URL, after port "7447" you can clearly see different characters which makes these unique rtsp urls where the stream is fed from for each camera, IP has nothing to do with this at all and you could have 50 rtsp urls all different and can still use them in BI even if the IP address and port is the same in every camera, its the characters after the forward slash that make each rtsp stream unique and NOT a clone.

Camera Office = rtsp:/192.168.1.120:7447/JJnG64KrxTHEzSCP

Camera Theatre= rtsp:/192.168.1.120:7447/MMtG64LryuKKzTTY
 
  • Like
Reactions: Village Guy
Yes thats correct however as mentioned they are using unique RTSP urls and THAT is where the stream is sourced, many NVR's work the same way and I think you're missing that this actually works and the problem has to do with keyframes as another member has mentioned and nothing at all to do with the same IP on cameras as I've already shown, its the RTSP url that makes them unique and they still work in Blue Iris using this method.

If both cameras have the EXACT same IP and nothing after the port number then of course you have a clone of a camera, its using the same IP however what I am posting is actually a URL and forgive me for not adding rtsp:/ to the beginning of it but the forward slash further to the right in both the examples I show sort of make it clear this is the URL for the camera that makes it unique.

Here's further clarification if you are not sure of the difference between an IP and an rtsp URL, after port "7447" you can clearly see different characters which makes these unique rtsp urls where the stream is fed from for each camera, IP has nothing to do with this at all and you could have 50 rtsp urls all different and can still use them in BI even if the IP address and port is the same in every camera, its the characters after the forward slash that make each rtsp stream unique and NOT a clone.

Camera Office = rtsp:/192.168.1.120:7447/JJnG64KrxTHEzSCP

Camera Theatre= rtsp:/192.168.1.120:7447/MMtG64LryuKKzTTY
Now I understand :cool: :thumb:
Thanks for the education!
 
Now I understand :cool: :thumb:
Thanks for the education!
No problem, I know it seems confusing but basically the NVR has multiple RTSP streams and every camera when you go into options will offer you three RTSP urls to use for High,Medium,Low and then in my case I just needed the low quality streams and they can all be added in BI when you choose RTSP from the drop down.

All these streams work no problem in BI however the keyframe rate from the Ubiquiti Protect which is basically a NVR is too low and this is why I'm having the problems I mentioned in my post, I thought I was clear in mentioning they were Ubiquiti cameras and this was a specific to these cameras with Deepstack. I'll see if I can edit things via SSH as the other poster mentioned and get things working ;-)
 

Attachments

  • rtsp.png
    rtsp.png
    131 KB · Views: 15
I'll see if I can edit things via SSH as the other poster mentioned and get things working ;-)

I use WInSCP to manage files using a GUI (I use SFTP protocol to connect) while using X-Shell for a command line terminal. Both are free.

I also use Visual Studio Code to edit the files.

KYi0zJ.jpg
 
  • Like
Reactions: Ripper99
1608571648323.png




seems like the GPU goes to sleep , every new image after no new for a few min takes much longer, ~400ms. I cannot see any low power/sleep setting for the GPU, win10?
 
No problem, I know it seems confusing but basically the NVR has multiple RTSP streams and every camera when you go into options will offer you three RTSP urls to use for High,Medium,Low and then in my case I just needed the low quality streams and they can all be added in BI when you choose RTSP from the drop down.

All these streams work no problem in BI however the keyframe rate from the Ubiquiti Protect which is basically a NVR is too low and this is why I'm having the problems I mentioned in my post, I thought I was clear in mentioning they were Ubiquiti cameras and this was a specific to these cameras with Deepstack. I'll see if I can edit things via SSH as the other poster mentioned and get things working ;-)
A picture is worth a thousand words!
I will stick to using Ubiquity for my access points and Hikvision for the camera's ;)
 
Yes that is correct, I should have posed my question better. Assuming you have them set up to auto scan, or maybe only during night you have them move between presets, etc. do you have any issues with detection, how do you handle missed/false detections because of the movement, etc. Also did you (or anyone) do anything different with your triggers or set in BI to adjust for issues caused because of movement vs. a static camera?
I think i noticed that their are some new features in BI for PTZ cameras but I haven't tried any of them.
 
I think i noticed that their are some new features in BI for PTZ cameras but I haven't tried any of them.
You are right, I saw something the last time I updated, like you I have not really looked at them-Since I "love" my cheap cameras any update probably won't help me- they seem to be more useful for you rich guys who buy quality. LOL. I just updated from 2 EZVIZ PTZ's to a couple from Reolink. Both manufacturers cameras work in BI but with EZVIZ I could only operate the PTZ in their app with the Reolink's it all seems to work inside of BI and I can use the presets so it auto jumps from spot to spot as I want. ERGO my question about set up, I am not having big issues but with the movement I am getting more false alerts, and some other minor issues. I need to go into BI and play around / read the manual and tweak some setting I suppose.
 
I only use cheap Chinese PTZ cameras but they have been brilliant. I've had the odd problem that I've sorted but now I know them pretty well it's not a problem.
 
  • Like
Reactions: balucanb
I've got this working on seven using the latest Blue Iris Stable release, but I'm having no luck getting telegram to work. Frankly, the whole bot thing is brand new to me, so I've struggled to get my first bot created. I have the bot api, and through several methods, including the url one, have nailed down the chat ID. I'm pretty sure I've entered these correctly in AI Tools settings, and checked the ""Send alert images to Telegram" box. Hitting the test button creates an image from the last camera event, but I'm not sure that's being sent to Telegram also?

I have Telegram installed on the Blue Iris machine and my Iphone. I'm really happy with AI Tools, but can't really see it being of use without working notifications...

Any suggestions? Thanks!
 
I've got this working on seven using the latest Blue Iris Stable release, but I'm having no luck getting telegram to work. Frankly, the whole bot thing is brand new to me, so I've struggled to get my first bot created. I have the bot api, and through several methods, including the url one, have nailed down the chat ID. I'm pretty sure I've entered these correctly in AI Tools settings, and checked the ""Send alert images to Telegram" box. Hitting the test button creates an image from the last camera event, but I'm not sure that's being sent to Telegram also?

I have Telegram installed on the Blue Iris machine and my Iphone. I'm really happy with AI Tools, but can't really see it being of use without working notifications...

Any suggestions? Thanks!
When you put your telegram info in the settings tab in AI-tool (telegram token and Chat ID) and you click the save button what message if any are you getting?
 
Yes, I did hit the save button - the log didn't throw any errors. Here's a screen grab of the log result:View attachment 77471
Just to be clear I mean this screen-

settings.JPG

If you got no messages after putting the info in here then I am not sure why it is not working- Assumption is you have the correct info and telegram set up correctly of course.
 
View attachment 77441




seems like the GPU goes to sleep , every new image after no new for a few min takes much longer, ~400ms. I cannot see any low power/sleep setting for the GPU, win10?

I probably wouldn't sweat a lost 300ms every now and then :) , but you could try looking in the nvidia control panel settings for power management to make sure (check tabs for both global settings and specific programs - deepstack)