From 9a93a0742097e2705b2a062302123c03f286ceda Mon Sep 17 00:00:00 2001 From: vjbytes102 <46790706+vjbytes102@users.noreply.github.com> Date: Fri, 18 Sep 2020 19:20:38 -0400 Subject: [PATCH] docker installation --- README.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 06ef03cf..60561d7b 100644 --- a/README.md +++ b/README.md @@ -35,15 +35,11 @@ Please add documentation link here Example usage --------------------------------------------- -- Process video/audio file +- Process video/audio file or directory - python process_file.py --input_path abc.mp4 --output_raw_path data/output --output_derived_path output/derived --dbm_group acoustic facial movement + python process_data.py --input_path abc.mp4 --output_path data/output --dbm_group acoustic facial movement -- Process multiple files in a directory - - python process_dir.py --input_path abc/ --output_raw_path data/output --output_derived_path output/derived --dbm_group acoustic facial movement - ``` where, @@ -59,4 +55,16 @@ where, If the input_path was a .wav file, then only acoustic variables can be calculated. If otherwise, a warning message will be printed. -``` \ No newline at end of file +``` + +--------------------------------------------- +Installation - docker container mode +--------------------------------------------- + +- Build docker image + + docker build --tag dbm . + +- Run container + + bash process_dbm.sh --input_path=/Users/vijayyadev/Desktop/input_vid --output_path=/Users/vijayyadev/Desktop/out --dbm_group="facial acoustic movement"