tagging motion detection above a certain size limit?

General discussion about Blue Iris
Post Reply
bdfda
Posts: 3
Joined: Tue Mar 12, 2024 5:15 pm

tagging motion detection above a certain size limit?

Post by bdfda »

Hi all,

I'm aware how the min and max object size works in the configuration for motion detection.

Is there any ability to add custom scripting? For example, I'd like to be able to tag motion clips where the motion detected object size was on average "bigger than x%"


Basically my goal is to be able to tag large work vehicles and trucks separately from regular cars, so I can see those separately. Is this possible in blue iris? Thanks
User avatar
TimG
Posts: 2098
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: tagging motion detection above a certain size limit?

Post by TimG »

If you mean to add a text phrase to an image, then that can be done with overlays and macros. The macros can either be fixed text, or can be updated with http commands so you can even add dynamic messages from a home automation program.

Something like this:

1. Ensure overlays are enabled for the camera. Edit overlays.
2. Press "Add text/time".
3. At top of new window add %1 and look in preview window. Does it show "Macro1" ? If yes this should work, as that is the default text in that macro.
4. Save it with OK.
5. Now you can change the text in Macro1 to whatever you need.
6. Or you can alter the default text in Macro1 using http commands:

Code: Select all

http://Your BI-Server-IP:81/admin?macro=1&text=Big Truck&user=YourUsername&pw=YourPassword
And I think this will blank that text:

Code: Select all

http://Your BI-Server-IP:81/admin?macro=1&text=&user=YourUsername&pw=YourPassword
That should get you started :D
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
bdfda
Posts: 3
Joined: Tue Mar 12, 2024 5:15 pm

Re: tagging motion detection above a certain size limit?

Post by bdfda »

hey thanks @TimG .. where I'm more stuck on though is how I can actually write a script to determine a "very big object" vs just a normal sized object.
MikeBwca
Posts: 1115
Joined: Thu Jun 20, 2019 5:39 am

Re: tagging motion detection above a certain size limit?

Post by MikeBwca »

CodeProject AI does a very good job identifying vehicles,,, car, truck, bus, motorcycle... and the like.

You could clone the camera once or twice. Then have the Master camera record everything, but have Clone1 use AI to confirm cars, and Clone2 to confirm Trucks, Bus. Clone3 to conform people. Each clone could them take a different action,
You could adjust the object size a bit smaller for cars, and slightly larger for larger for truck,bus.
bdfda
Posts: 3
Joined: Tue Mar 12, 2024 5:15 pm

Re: tagging motion detection above a certain size limit?

Post by bdfda »

Thanks @MikeBwca I'm going to look into setting up CodeProject AI
MikeBwca
Posts: 1115
Joined: Thu Jun 20, 2019 5:39 am

Re: tagging motion detection above a certain size limit?

Post by MikeBwca »

MikeBwca wrote: Sat Mar 16, 2024 8:09 am ...
You could adjust the object size a bit smaller for cars, and slightly larger for larger for truck,bus.
Correction. Doesn't make much sense to do this. CP will confirm the different objects.
First step is to notion detect on all the objects you want to conform using CP. Then, clone and setup CP.
Post Reply