Dummy Camera Params - Focal Length
Opened this issue · 0 comments
cancan101 commented
It looks like in generate_dummy_camera_params
, when generating the camera matrix, the focal length is assumed to be the 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