Open blak-tran opened 1 year ago
Traceback (most recent call last): File "test_video_swapmulti.py", line 65, in img_a_aligncrop, = app.get(img_a_whole,crop_size) TypeError: 'NoneType' object is not iterable
如果一张图片中只有裁剪出的一张脸,大部分的人脸检测模型会识别不到,我的解决方法是,在图的外围pad几圈,缩小脸在图中的占比,模型就能检测到了
Traceback (most recent call last): File "test_video_swapmulti.py", line 65, in
img_a_aligncrop, = app.get(img_a_whole,crop_size)
TypeError: 'NoneType' object is not iterable