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

Bugfix: Hands not recognized outside the screen viewport. #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

longvision
Copy link

Fix: Added more space on the sides (left and right) to let the camera and the canvas work even if the hand is on the border. Added a constant to set the extra width to 600px, which is good for a hand size close to the screen. Camera capturing area and canvas drawing area increased in the X axis by the constant "extraHorizontalCaptureAreaInPixels".

Fix: Added more space in the sides (left and right) to let the camera and the canvas work even if the hand is on
the border. Added a constant to set the extra width to 600px, which is good for a hand size close to the screen.
Camera capturing area and canvas drawing area increased in the X axis.
@ErickWendel
Copy link
Owner

Hey @longvision thank you for your contribution!! Gonna review it and test it today. This will help a lot people there!

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.

2 participants