Code Monkey home page Code Monkey logo

gesturedetector's Introduction

GestureDetector

GestureDetector trains a gesture SVM classifier by extracting HOG descriptors from input images. Given a model, it can also determine which gesture it is in a given image.

Minimum System Requirements

To build and run this project, you should prepare:

  • OS X 10.9 or above
  • Xcode 5.0 or above
  • OpenCV 2.4.2 or above
  • At least 1GB memory

Dataset

This project uses Sebastien Marcel - Hand Posture and Gesture Datasets for gesture samples, and background images from INRIA Person Dataset for negative samples. You can download the dataset here.

LIBSVM

The classifier used in this project is SVM; particularly, LIBSVM. The three binary files in "libsvm" directory were compiled using LIBSVM source code under OS X.

Configure OpenCV for Your Xcode

  1. Start a new XCode Command Line Tool project.
  2. Rght click on the project, and click "Add files to...".
  3. When Finder pops up, hit "/" to bring up the navigation panel.
  4. Type in "/usr/local/lib".
  5. Add in all the .dylib files that you need. To prevent linker errors, I recommend you initially add ALL the files ending in "...2.4.0.dylib". Now, you should have a bunch of .dylib files in your project. Feel free to move them to a separate group within your project.
  6. Click on the project file and go to "Build Settings".
  7. Search for "Header Search Paths", and change the path to "/usr/local/include".
  8. Search for "Library Search Paths", and change the path to "/usr/local/lib".
  9. [For Xcode 5] Search for "C++ Standard Library", and change to "libstdc++ (GNU C++ standard library".

gesturedetector's People

Contributors

zichen-zheng 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.