https://github.com/lzhbrian/palm-live-detection
Palm Live Detection (Project of Digital Image Processing Course)
https://github.com/lzhbrian/palm-live-detection
hand live-detection palm tracking
Last synced: 6 months ago
JSON representation
Palm Live Detection (Project of Digital Image Processing Course)
- Host: GitHub
- URL: https://github.com/lzhbrian/palm-live-detection
- Owner: lzhbrian
- Created: 2017-05-22T19:05:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-06T01:48:18.000Z (about 8 years ago)
- Last Synced: 2025-03-25T19:15:59.299Z (7 months ago)
- Topics: hand, live-detection, palm, tracking
- Language: C++
- Homepage:
- Size: 5.34 MB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Palm Live Detection
### Brief
To detect if a palm is __alive__ or is __just a picture__, implementing using OpenCV.
This system is a course project of Digital Image Processing.
brief steps:
1. Find palm image pixels using OTSU algorithm
2. Find Contour of the pixels
3. Get finger end vertices
4. Monitoring the relative distance between finger end vertices.
1. If changed to a threshold -> ALIVE### Usage
``` bash
g++ source/hand_reco_lzhbrian.cpp \
-I/path/to/opencv3/include \
-L/path/to/opencv3/lib \
-lopencv_core -lopencv_highgui \
-lopencv_videoio -lopencv_objdetect \
-lopencv_imgproc -lopencv_imgcodecs \
-o hand_reco # To compile./hand_reco # To run
```### Demo
* This system detects the relative distance of finger end vertices, so moving forward or backward won't trigger anything. (as shown below)

* If you stretch your fingers, which results in change of relative distance between finger end vertices, the system will consider it as a LIVE PALM. (as shown below)
