From 19bea931d1a98efe17f3fb7a85dd37b550cacae2 Mon Sep 17 00:00:00 2001 From: Niv Kaminer Date: Tue, 1 Jan 2019 13:29:37 +0200 Subject: [PATCH] explicit dependencies --- README.md | 13 +++++++++++++ requirements.txt | 5 +++++ 2 files changed, 18 insertions(+) create mode 100644 requirements.txt diff --git a/README.md b/README.md index 011689b..bb8b0c7 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..da9fd21 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +VideoSequence +face_recognition +pytube +scipy<=1.0.0 +tensorflow