Tracking people in a room
Hi, I'm currently working on a project that will count the amount of people that are in a room. I want certain parameters to change when people enter the room and when people exit the room. I'm stuck on how to do this - I have only been using max for a few weeks. What sort of things will I need? I'm assuming a webcam? but I wouldn't know how to patch this. Cheers.
start with:
(right click any object -> open any help file)
jit.world
+
jit.grab
this gets your camera into Max
then
Check out cv.jit package in Package Manager
Specifically cv.ji.blobs.centroids
Pretty much copy all the code from cv.ji.blobs.centroids help file and replace the movie with your jit.grabthen - weeks and months and years of being driven crazy trying to tune it!
Here is my recent blob tracker - I tracking as many blobs as possible using higher dimensions
You might track single people with lower dimensions
Look inside [spill] to see how I unpack the data - this for a specific type of motion effecting jit.glgridshapes-
You will have to spend time to find what you want to do with the data