Skip to content

Instantly share code, notes, and snippets.

@khancyr
Created October 10, 2019 12:50
Show Gist options
  • Save khancyr/b0a417f407251c01b7b2740c383cb02b to your computer and use it in GitHub Desktop.
Save khancyr/b0a417f407251c01b7b2740c383cb02b to your computer and use it in GitHub Desktop.
C920 caracteristics
True:3MP
Software Enhanced:15MP
Diagonal Field of View (FOV) 78°
Horizontal Field of View (FOVh) 70.42°
Vertical Field of View (FOVv) 43.3°
Focal calculation (python):
```` python
import math
W = 1920
FOVh = math.radians(70.42) # horizontal field of view in deg
F = (W / 2.0) / math.tan((FOVh / 2.0)) #  Focal length = 1360.3826195266554
print("Focal : %0.2" % F)
````
Sensors spec : https://www.onsemi.com/products/sensors/image-sensors-processors/image-sensors/ar0330cm
AR0330CM: CMOS Image Sensor, 3 MP, 1/3"
2.2 × 2.2 µm pixel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment