Skip to content

Commit

Permalink
explicit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nivkner committed Jan 1, 2019
1 parent 7c782f2 commit 19bea93
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# videoToVoice

to install the dependencies using pip use requirements.txt file:

```
pip install -r requirements.txt
```

tensorflow might fail to install if you are using an incompatible version of python (python 3.7 as of the time of writing)
in which case you might have to install it manually

the scripts also depend on ffmpeg being installed for video and audio conversions


These files take in a sequence of lip images, and predict the phonemes being said.

pyTubeTest.py takes in a YouTube URL, downloads that video onto the computer, turns the video into an image sequence, tries to find faces in the images, and also extracts the audio from the video and saves that, too. Earlier, we tried to get pyTubeTest.py to also convert the audio into spectrograms with ARSS in the same code, but that just didn’t work because all the libraries required for the first steps only work in Ubuntu, and ARSS only works in Windows.
Expand Down
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
VideoSequence
face_recognition
pytube
scipy<=1.0.0
tensorflow

0 comments on commit 19bea93

Please sign in to comment.