Git Product home page Git Product logo

box2dcamera's Introduction

box2dCamera

an attempt to have ofxBox2d objects collide with ofxOpenCV blobs in openframeworks v0.10.1

Based on the many examples in Vanderlin's Openframeworks addon ofxBox2d https://github.com/vanderlin/ofxBox2d

mashed up with the opencv example in openframeworks https://openframeworks.cc/

For more about computer vision techniques, read this: https://github.com/openframeworks/ofBook/blob/master/chapters/image_processing_computer_vision/chapter.md

All of the examples for using ofxBox2d with ofxOpenCv on the web were older than the new glm syntax, and no longer worked.

I'm not a c++ programmer, so i am sure there is a lot in the code that could be changed or optimized. If you have any suggestions, please let me know.

I have tried using similar code with streaming video, and it always quits after a few minutes. I would love to figure that out.

Getting back to this after a while, i realized that triangulating the contours was an uneccesary step. Also i found a couple of examples (like this https://www.youtube.com/watch?v=d3URBJLciEw by Lewis Lepton) that turned the opencv contour into a box2d polyline. Much better and dependable performance.

box2dcamera's People

Contributors

david-sullivan avatar

Stargazers

 avatar

Watchers

 avatar

box2dcamera's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.