Git Product home page Git Product logo

ofxkinectblobfinder's Introduction

ofxKinectBlobFinder

3D blob finder to be used with ofxKinect. Avoids occlusion issues when using a 2D contourfinder

See github.com/dasaki/ofxKinectBlobTracker for a working example code::blocks project/code.

Watch it in action here: https://www.youtube.com/watch?v=uwvYgiwrTwU

Comments:

Part of the cvCinema project: www.cvcinema.com

The technique used is Euclidean Cluster Extraction, as explained in: http://www.pointclouds.org/documentation/tutorials/cluster_extraction.php

To imporve performance the neighbor points are searched in a box (X/Y/Z distances) instead of a sphere (radius/distance). As the kinect cloud is ordered, the adjacency is first checked in the XY plane, within a specified pixel area around each point.

See example of usage in the ofxKinectBlobTracker addon.

The finder function is called findBlobs, and it's parameters are:

ofImage * maskImage a binary grayscale image where black pixels indicates non wanted / background pixels.

const ofVec3f boundingBoxMin first/minimum vertex defining the crop box that delimites the space where points shoud be to be considered in the search for blobs.

const ofVec3f boundingBoxMax, secnd/maximum vertex defining the crop box that delimites the space where points shoud be to be considered in the search for blobs.

const ofVec3f thresh3D X/Y/Z threshold ranges for two points to be considered as adjacent

const int thresh2D xy threshold ranges for two pixels to be considered as adjacent

const float minVol minimum volume that a blob shold have to be included in the result

const float maxVol maximum volume that a blob shold have to be included in the result

const int minPoints minimum number of volume that a blob shold have to be included in the result

const unsigned int maxBlobs maximum number of blobs to return as result

ofxkinectblobfinder's People

Contributors

kreigne avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.