moviepy音视频剪辑:headblur函数遇到的TypeError: integer argument expected, got float错误的解决方案

运行环境如下:

python版本:3.7
opencv-python版本:4.2.0.34
numpy版本:1.19.0

错误信息:

在调用moviepy1.03版本的headblur函数执行人脸跟踪和模糊化处理时,报如下错误:

  File "F:/study/python/project/moviepyTest/moviepyTest.py", line 63, in <module>
    clip_blurred = clip.fx(vfx.headblur, tracking.xi, tracking.yi, 

猜你喜欢

转载自blog.csdn.net/LaoYuanPython/article/details/107325474