We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It looks like in generate_dummy_camera_params, when generating the camera matrix, the focal length is assumed to be the width:
generate_dummy_camera_params
width
pytorch_mpiigaze_demo/ptgaze/utils.py
Line 125 in 47cdf68
Ideally you would have the focal length in mm and the sensor size and then would use logic like this: https://github.com/google/mediapipe/blob/ecb5b5f44ab23ea620ef97a479407c699e424aa7/mediapipe/calculators/image/image_file_properties_calculator.cc#L52-L77
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It looks like in
generate_dummy_camera_params
, when generating the camera matrix, the focal length is assumed to be thewidth
:pytorch_mpiigaze_demo/ptgaze/utils.py
Line 125 in 47cdf68
Ideally you would have the focal length in mm and the sensor size and then would use logic like this: https://github.com/google/mediapipe/blob/ecb5b5f44ab23ea620ef97a479407c699e424aa7/mediapipe/calculators/image/image_file_properties_calculator.cc#L52-L77
The text was updated successfully, but these errors were encountered: