📅  最后修改于: 2022-03-11 14:46:46.181000             🧑  作者: Mango
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)