It seems like the model cannot recognize the face, i dont know how to deal with this. #380

Open
opened 2023-01-25 03:45:22 +01:00 by blak-tran · 1 comment
blak-tran commented 2023-01-25 03:45:22 +01:00 (Migrated from github.com)

Traceback (most recent call last):
File "test_video_swapmulti.py", line 65, in
img_a_align_crop, _ = app.get(img_a_whole,crop_size)
TypeError: 'NoneType' object is not iterable

Traceback (most recent call last): File "test_video_swapmulti.py", line 65, in <module> img_a_align_crop, _ = app.get(img_a_whole,crop_size) TypeError: 'NoneType' object is not iterable
MYTHOFLEGEND commented 2023-04-17 08:20:07 +02:00 (Migrated from github.com)

如果一张图片中只有裁剪出的一张脸,大部分的人脸检测模型会识别不到,我的解决方法是,在图的外围pad几圈,缩小脸在图中的占比,模型就能检测到了

如果一张图片中只有裁剪出的一张脸,大部分的人脸检测模型会识别不到,我的解决方法是,在图的外围pad几圈,缩小脸在图中的占比,模型就能检测到了
Sign in to join this conversation.