alyssaq / face_morpher

:angel: Morph faces with Python, Numpy, Scipy
886 stars 233 forks source link

Docker image to try out library #40

Closed mochki closed 6 years ago

mochki commented 6 years ago

So I made a docker image here albeit with some extra stuff but it's ready to use the face-morpher library. (by way of the command line)

I just know I had the hardest time getting this running and docker ended up saving me. I also see everyone's issues they have getting running that I totally feel for. This kind of works as a guide and a sample.

Anyways, it's an option, I thought I'd pitch in but I'm not sure where I'd put it? Also, I wouldn't be offended if y'all hated this and want to destroy this issue into oblivion

alyssaq commented 6 years ago

Hi! I use docker to test out on linux too and think its a great idea. face morpher does work on python3 and I usually use the image jjanzic/docker-python3-opencv which has python3.6 + opencv 3.4.1:

Similar to what you've done, I mount my local images folder to the container to do stuff there.

$ docker run -v  /Users/alyssa/Desktop/images:/images --name py3 --rm -it jjanzic/docker-python3-opencv bash

root@0dad0912ebbe:/# pip install facemorpher

I think ill add it into the readme.

mochki commented 6 years ago

Hey, looks good! I think it'll help a lot of people just trying it out.