How to integrate camera image into physics engine?

Posted by Pedro on Stack Overflow See other posts from Stack Overflow or by Pedro
Published on 2012-06-23T21:12:37Z Indexed on 2012/06/23 21:16 UTC
Read the original article Hit count: 119

I recently came across this and would like to implement something similar. The basic approach is clear: I have to threshold the image and check if a virtual object collides with the remaining foreground.

Instead of implementing the physics myself, I'd like use an engine like Box2D. But how do I integrate the thresholded image into the physics engine so it is possible to interact with virtual objects?

© Stack Overflow or respective owner

Related posts about physics

Related posts about augmented-reality