Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a Gesture Recognizer sample for Raspberry Pi #206

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

kinarr
Copy link
Collaborator

@kinarr kinarr commented Aug 14, 2023

Description

Adds the Gesture Recognizer sample for Raspberry Pi

Fixes # (issue)

  • Removed an unused script (utils.py) in image_classification/raspberry_pi

@kinarr kinarr assigned kinarr and PaulTR and unassigned kinarr Aug 14, 2023
@PaulTR
Copy link
Collaborator

PaulTR commented Aug 14, 2023

Ready for updates - I'll run the code tomorrow when I'm back in the office with my hardware. Thanks!

Updated TFLite model to task file in relevant places
Specify the range for num_hands
Fixed command line argument names
if recognition_frame is not None:
cv2.imshow('gesture_recognition', recognition_frame)

# Stop the program if the ESC key is pressed.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you verify if the escape command works? I've been manually using ctrl+c because esc doesn't seem to work for me. Thanks!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it again. The program exits normally with the escape command for me.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird, alright. I can't get it working on my pi, but that's a later problem.

@PaulTR PaulTR merged commit 2a5f7fc into main Aug 16, 2023
4 checks passed
palrahul pushed a commit to palrahul/mediapipe that referenced this pull request Sep 27, 2023
…gnizer-pi-sample

Added a Gesture Recognizer sample for Raspberry Pi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants