convert fisheye video to normal python code example
Example: convert fisheye video to normal python
from defisheye import Defisheye
dtype = 'linear'
format = 'fullframe'
fov = 180
pfov = 120
img = "./images/example3.jpg"
img_out = f"./images/out/example3_{dtype}_{format}_{pfov}_{fov}.jpg"
obj = Defisheye(img, dtype=dtype, format=format, fov=fov, pfov=pfov)
obj.convert(img_out)