Snippets Collections
import math

def getFocallength(hFov_deg, width):
	return width/(2 * math.tan((hFov_deg * math.pi / 180)/2))
star

Thu Feb 03 2022 18:11:11 GMT+0000 (Coordinated Universal Time)

#depthai #python #fov

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension