Open muxiddin19 opened 2 years ago
I'm not sure about this error. Can you check if you have the same versions of the libraries in the "requirements.txt"? This looks like an OpenCV version mismatch issue. Also, please make sure the template image exists, you can try different template images as well. The requirement for the template image is that it should contain a symmetrical face.
Hope this helps!
Best, Emre
Hi @muxiddin19, did you solve the above issue? I am also facing the same issue.
This worked for me:
eyesCenter = (int((leftEyeCenter[0] + rightEyeCenter[0]) // 2), int((leftEyeCenter[1] + rightEyeCenter[1]) // 2))
When I run the following code: python .\data_prep\prepare_data.py -i \25_fps_video_folder\ -o \output_folder --mode 1 --nw 1 I faced with this problem: TypeError: Can't parse 'center'. Sequence item with index 0 has a wrong type Can you please give your suggestions to handle it?