Skip to content

nagendra092918/GestrureRecognition

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

GestrureRecognition

Demo at: https://www.youtube.com/watch?v=W4Afc9qcj4I

Implements a simple Convex Hull based gesture recognition and Raspberry Pi GPIO toggling.

Segmentation for convex hull is basic thresholding, hence susceptible to noises.
Take care to run in a controlled environment or feel free to add a better segmentation and use it

Raspberry Pi connection details,

For 5 fingers, Pin number 38 in board will be high
For 3 fingers, Pin number 40 in board will be high
Both pin Low when fingers closed

Dependencies

OpenCV [Linux/Rpi Install: sudo apt-get libopencv-dev ]
WiringPi [Installation: http://wiringpi.com/download-and-install/ ]

Compiling the code

g++ GestureRecognition_Rpi.cpp -o gesture `pkg-config --libs opencv` -std=c++11 -lwiringPi

(ignore -lwiringPi if you are compiling on a PC )

Running the code

./gesture

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C++ 100.0%