-
Notifications
You must be signed in to change notification settings - Fork 2
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
Asking for the a_ratio & b_ratio #1
Comments
Pls refer this:
|
Thanks for your reply! I have a further question. I noticed that you deal with the screenX with the following code:
Plus, what's the origin of screenX and LookAtPoint in their corresponding coordinate? Why you use the half of the screenSize.width? |
Since the camera location is in the center of the screen (in portrait orientation), while considering width we need to consider only half of the width For other questions, once I get free I will go through the code and add answers here soon |
Thanks for your code and post https://shiru99.medium.com/eye-tracking-with-arkit-ios-part-ii-2723f9bfe04e . After read both of your code, I added my cal method here. Do I make a right calculation ? |
Thanks for your wonderful project! I am curious about how to convert the physical size to the screen size. I noticed that you used some special ratio and the PPI should not be the same as iPhone XR. So could please provide more details about how you calculate these parameters? Thank you in advance !
The text was updated successfully, but these errors were encountered: