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: 2391
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 »

...
Last edited by MikeBwca on Fri Apr 05, 2024 11:06 am, edited 2 times in total.
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
Post Reply