YuanxunLu / LiveSpeechPortraits

Live Speech Portraits: Real-Time Photorealistic Talking-Head Animation (SIGGRAPH Asia 2021)
MIT License
1.16k stars 200 forks source link

Error when run the demo #37

Closed muxiddin19 closed 2 years ago

muxiddin19 commented 2 years ago

cv2.error: OpenCV(4.5.4) :-1: error: (-5:Bad argument) in function 'line'

Overload resolution failed:

  • Can't parse 'pt1'. Sequence item with index 0 has a wrong type
  • Can't parse 'pt1'. Sequence item with index 0 has a wrong type I got this error when run the demo. Any solutions, please?
fishfl commented 2 years ago

I got the same error, could any one solve this?

vicdxxx commented 2 years ago

you guys can change Opencv version opencv_python==4.4.0.40

YuanxunLu commented 2 years ago

This is an OpenCV version error. I've merged the PR.