Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add requirements.txt #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,28 @@ Supported on Python 3 and OpenCV 3+. Tested on macOS High Sierra and Mojave.
* matplotlib
* pillow

For brew users:
```
brew install opencv ffmpeg
```

## Installation
1. Clone the repo.
```
git clone https://github.com/andrewdcampbell/face-movie
cd face-movie
```
2. Download the trained face detector model from [here](http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2). Unzip it and place it in the root directory of the repo.
```
curl http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2 > shape_predictor_68_face_landmarks.dat.bz2
bunzip2 shape_predictor_68_face_landmarks.dat.bz2
```
3. Create a virtualenv.
```
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
```

## Creating a face movie - reccomended workflow

Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
opencv-python
dlib
scipy
pillow