Giter VIP home page Giter VIP logo

randomdecisionforest's Introduction

RandomDecisionForest

Per-pixel hand parsing in depth images using Random Decision Forest

This project is made available for non-commercial use such as research and education. By using the project, you agree to cite our work:

Hui Liang, Junsong Yuan and Daniel Thalmann,Parsing the Hand in Depth Images,in IEEE Trans. Multimedia, Aug. 2014.

For questions and comments: [email protected] or [email protected]

This released project consists of the code for per-pixel classification with the Random Decision Forest. It includes a small sample dataset of around 100 annotated synthesized depth images, a program “SampleGenerator” to prepare the training data with 80 of these training images, and a program “RandomForest” for both Random Decision Forest training and testing on the remaining 20 images. The code is written in C++/OpenCV. Please make sure you add the OpenCV library correctly before you run the code.

Organization of the code: Folder “Dataset” contains the annotated synthesis images; Folder “RandomForest” contains two programs, one is “SampleGenerator” and another one is “RandomForest”;

To run the code, 1) you need to use the program “SampleGenerator” to prepare the training data. If successful, a .mat file will be generated under the folder “Dataset”. 2) use the program “RandomForest” and set its mode to training by OpType otUse = TRAINING, then run the program. Besides, the forest parameters, such as tree number, depth, stopping criteria, number of random tests, can be set in the configuration file “conf.txt” under the folder “RandomForest/conf”, the feature parameters, such as the neighborhood size, dimension and camera projection parameters can be set with the function SetFeatureParam and GenerateFeatureIndices/ GenerateFeatureIndicesApt in the program.

After running the training program, a forest file will be generated under the folder “Dataset” if successful. You can now set its mode to testing by OpType otUse = TESTING, and run the program. It will show the comparison between the ground truth and the predicted hand parts.

randomdecisionforest's People

Contributors

shrekei 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.