←back to thread

220 points wonger_ | 2 comments | | HN request time: 0.422s | source
Show context
jacobsimon ◴[] No.42188086[source]
So cool! I was just wondering the other day if it would be possible to build this! For front facing mode, I wonder if you could add a brief “calibration” step to help it learn the correct scale and adjust angles, e.g. give users a few targets to hit on the screen
replies(1): >>42192007 #
1. reynaldi ◴[] No.42192007[source]
Hi Jacob, thanks for checking it out. Regarding the calibration step for front facing mode, I'm glad you brought this up. I did think of this, because the distance from the camera/screen to the hand affect the movement so much (the part where the angle of the hand is part of the position calculation).

And you are absolutely right regarding its use for the correct scale. For my implementation, I actually just hardcoded the calibration values, based on where I want the boundaries for the Z axis. This value I got from the reading, so in a way it's like a manual calibration. :D But having calibration is definitely the right idea, I just didn't want to overcomplicate things at that time.

BTW, I am a happy user of Exponent, thanks for making it! I am doing some courses and also peer mocks for interview prep!

replies(1): >>42224585 #
2. jacobsimon ◴[] No.42224585[source]
Oh great to hear, thanks for the kind words :)