📌  相关文章
📜  将鱼眼视频转换为普通 python 代码示例

📅  最后修改于: 2022-03-11 14:46:46.181000             🧑  作者: Mango

代码示例1
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)