Open jstray opened 5 years ago
I got the same error and found the solution:
change
from facemorpher import locator
to
import locator
at line34 of morphed.py
I had this as well and tried what @akamatsu said - but his suggestion is not working for me. From the example and this stackoverflow I would conclude that there should not be any hair - only plain faces to make it work. I'm not into opencv to have any clue if this could be improved...
I tried this once more and what @akamatsu is working if you checkout the git repo, i.e. if you don't use facemorpher
installed from pip
. No idea why this is the case, though...
Attempting to run facemorpher in a docker container as described in the readme,
The inputs are jpg files that open fine, and I've even grabbed
alyssa.jpg
from the README to ensure that my particular face images are not the problem.