bang if blob "present"?
Hello, I'm trying to create a program that simply sends a bang if someone is in the frame, and bangs when they leave, but does not bang if they move around in the frame.
my knowledge of max is littered with gaping holes— i have some understanding of blob detection, motion tracking, color tracking, background subtraction, etc— but cannot figure out what will let me know if it detects something has entered the frame. i'm thinking it'll recognize the background via jit.slide or jit.op or something and then bang if there's a difference? but i'm not sure.
thanks everyone love you all!!
Are you using the cv.jit Package?
i am, i'm just not sure which object will best describe whether a blob exists or not... centroids? direction?
cv.jit.label gives you the number of blobs.
You'll play with more advanced blob morphology features if you want to recognize a given shape, etc.
Depending on your application, cv.jit.faces might be useful (tells you if there is a face or not)
Check out the different help files in the package. For blobs, I would start with cv.jit.label, cv.jit.sort, etc.
Another approach would be to do background subtraction to know if "someone is in the field or not". This direct approach can be very robust, but it really depends on your application, what you want to achieve.
amazing, thank you so much!! you're a legend!