i explain you my idea, and you tellme if i am lost… jeje
i want to put my hand, or a full body for example, in front to camera, and put a circle in the screen, and make colisions with the contour of my body.
or i want to put my hand, and in the place where i put my hand, or any objetc infront the camara, in this posicion, maybe draw a circle, or put a image.
or something like that, but i need to obtain, the posicion of the pink boxes, created for the example opencv, this pink boxes, coverted in my object for make a lot of activities…
but this is so avanced for my a im new in openframeworks, and i want to make collisions with objects or hand, or any thing that you put infront of camera, with the objects in the screen…
For real collisions, you need boundaries. A simple way to get boundaries is background subtraction plus the blob tracker in the ofxOpenCv addon.
The demo videos you show just use optical flow, which is also available by OpenCv (and I think it might be wrapped in ofxOpenCv?). Not “real” collisions, but kind of similar.
For doing the simulation of different particles and collisions, you could try Memo’s physics library: http://www.memo.tv/ofxmsaphysics
they are 0.05 projects, but they should plug into 0.06 with problem. this requires (likely) both the opencv addon and the vector math addon.
take care!
zach[/quote]
Hi Zach,
I’m really interested in makingthingsmove code (openCV/collision/contour/objects). I use 0.06 now so it debugs with errors. Is there anyway to fix the code in order to make it running on 0.06?