Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Testing box2d interactions with a webcam

$
0
0

@thesmeazy wrote:

I’m working with box2d interactions using this example https://github.com/kuflex/ofxKuBox2d

I have the example working but wanted to know if I can use my webcam for testing until I get a Kinect.

The program uses depth camera data from a Kinect that is stored inside a vector. Is there a way to get this data from a webcam for testing purposes?

The addon says that it uses openCV - background removal and contour filtering and changes positions of box2D objects and applying forces dependent on the contour.

I’m pretty new with OpenFrameworks & OpenCV so any help/examples would be greatly appreciated!

Thank You.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles