Sweeping objects with body movement
I'm trying to wipe objects from the screen using body movement. The idea is that the people can sweep leaves from the screen moving their arms, so the objects can fly with a physical behavior revealing the image in the background.
My approach until now has been to isolate the person's figure adjusting contrast, and then creating an image that is only black or white, like a mask. Then my idea is to use this mask to repel the leave's positions.
I've tried the CV objects to do this but seems like there is no object for isolating blobs? face detecting works great, also point structures... but I couldn't find a way to detect a whole body in the CV tools.
I've also tried vade's optical flow and other objects with no better result...
Is there a way to build a particle cloud in a way that i can distribute its particle's positions in space using body movement? Is it possible to do this using a structure?
I've been able to distribute the objects of a structure in space but I don't know how to control each object's movement.
I think I'm gonna end controlling each object individually, in this case, anybody knows a repel algorithm that I can use?
Any help will be useful,