c++ - How to use Box2D physics engine into an openCV project? -


i studying opencv , box2d , going diy game.this how works: first put in picture black thick lines, edge detection produce edge.

then comes trouble, want use these edges "staticbody" in box2d engine can't find way "transform" edges body.actually edges going used walls in game, , there small virtual point represents motion ball. have control point , move destination.the opencv used processing image can draw map on paper , start game.

i'm newbie on box2d way, how can do?


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -