-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hand gesture recognition project
- Loading branch information
1 parent
6dc388c
commit fa073f3
Showing
2 changed files
with
391 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Hand Gesture Recognition with OpenCV and MediaPipe | ||
|
||
This project implements a hand gesture recognition system using OpenCV for image processing and MediaPipe for hand detection. Users can upload images containing hand gestures, which are then processed to identify specific gestures and display the results. | ||
|
||
## Code Breakdown: | ||
|
||
1. **Image Upload**: | ||
- Users can upload images directly through Google Colab, allowing for easy testing with various hand gesture images. | ||
|
||
2. **Image Processing**: | ||
- **Hand Detection**: Uses MediaPipe to detect hands in the uploaded image. | ||
- **Gesture Identification**: Analyzes hand landmarks to identify simple gestures (e.g., "thumbs up"). | ||
|
||
3. **Visualization**: | ||
- Displays the processed image with detected hand landmarks and identified gestures using Matplotlib (`plt.imshow()`). | ||
|
||
4. **Output**: | ||
- Prints identified gestures in the console for user reference. | ||
|
||
## Possible Enhancements: | ||
- **Gesture Variety**: Expand gesture recognition capabilities to include more complex gestures. | ||
- **Real-Time Recognition**: Implement real-time video feed recognition using webcam input. | ||
- **Custom Configurations**: Adjust hand detection parameters to improve accuracy under different conditions. | ||
- **Error Handling**: Add checks for unsupported image formats or cases where no hands are detected. | ||
|
||
## Example Use Case: | ||
This hand gesture recognition system can be utilized in applications such as sign language interpretation, human-computer interaction, or control systems that respond to hand gestures. | ||
|
||
## Requirements: | ||
- OpenCV | ||
- MediaPipe | ||
- Matplotlib | ||
|
||
### How to Run: | ||
1. Upload your image file containing a hand gesture. | ||
2. Run the cell to process the image and identify the gesture. | ||
3. View the results, including the processed image and identified gestures, in the output. |
354 changes: 354 additions & 0 deletions
354
Computer Vision/Hand Gesture Recongnition/hand_gesture.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.