Giter Site home page Giter Site logo

hand-detection's Introduction

Hand Detection with OpenCV

Hand detection is a simple idea, but it requires some advanced tools to do it.

In this project we will allow the user to set the area that will be used to determine the color to capture, and then show, over the videocam feed, where the hand is and what signals it is doing.

The available signals are:

  • Numbers using the fingers from 0 to 5;
  • OK signal;
  • Cool/Fixe signal.

Detection of numbers from 0 to 5

Detection of 'ok' and 'cool' gestures

Usage

To start the project run at root: python hand_detection.py <optional_param>

  • -h can be used to know what the available params are;
  • --left or -l: Moves the ROI to the left side;
  • --shot or -s: Detects hand in a single shot, a picture, not video;
  • --input=<path> or -i=<path>: Analyses a stored image;

Then the webcam image is shown saying 'Welcome'.

You can then:

  • Press h to go to the color calculator;
  • Or press v to go to the hand detection;

Press q at any time to close the project.

Hand Contours

In this mode, you will calculate the color of the hand to be detected.

Place your hand in the blue square and then

  • Press v to capture;

If the result pleases you

  • Press any key to proceed to video hand detection. If it doesn't:
  • Press n to return to the color calculator.

Hand Detection

In this mode, you will be able to do signs with a single hand that will be analysed by the algorithm.

Check the list of available signs above.

To exit the app press q.

Additional Information

For more information about the project consult the wiki of this project.

For more knowledge of the area we recommend the following works:

[1] A. Birdal e R. Hassanpour, Region Based Hand Gesture Recognition. Václav Skala - UNION Agency, 2008.

[2] Y. Zhou, G. Jiang, e Y. Lin, «A novel finger and hand pose estimation technique for real-time hand gesture recognition», Pattern Recognition, vol. 49, pp. 102–114, Jan. 2016.

[3] S. S. Rautaray e A. Agrawal, «Vision based hand gesture recognition for human computer interaction: a survey», Artif Intell Rev, vol. 43, n. 1, pp. 1–54, Jan. 2015.

[4] E. Sánchez-Nielsen, L. Antón-Canaĺıs, e M. Hernández-Tejera, «Hand Gesture Recognition for Human-Machine Interaction», em The 12-th International Conference in Central Europe on Computer Graphics, Visualization and Computer Vision’2004, WSCG 2004, University of West Bohemia, Campus Bory, Plzen-Bory, Czech Republic, February 2-6, 2004, 2004, pp. 395–402.

hand-detection's People

Contributors

bluedi avatar miguellucas avatar

Watchers

James Cloos 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.