I would like to determine the camera matrix of a feed. The image is of width shape=(1440,2960)
where 1440 is the height and 2960 is the width.
I would like to find the camera matrix for the same. I used the following calculation to find cx,cy
cx = shape[1]/2
cy = shape[0]/2
How do I find an approximate fx
and fy
? I tried to use shape[1] as my focal length but it doesn't seem to work for some reason :(