Skip to content

Commit

Permalink
lip reading
Browse files Browse the repository at this point in the history
  • Loading branch information
astorfi committed Jul 16, 2017
1 parent c33ea03 commit 8bcf0c2
Show file tree
Hide file tree
Showing 142 changed files with 187 additions and 3 deletions.
24 changes: 24 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,30 @@ Table of Contents
:local:
:depth: 3


-----
DEMO
-----

~~~~~~~~~~~~~~~~~~~~~~~~
Training/Evaluation DEMO
~~~~~~~~~~~~~~~~~~~~~~~~

|training|

.. |training| image:: readme_images/liptrackingdemo.png
:target: https://asciinema.org/a/kXIDzZt1UzRioL1gDPzOy9VkZ

~~~~~~~~~~~~~
Lip Tracking
~~~~~~~~~~~~~

|liptrackingdemo|

.. |Asciinema| image:: readme_images/liptrackingdemo.png
:target: https://asciinema.org/a/RiZtscEJscrjLUIhZKkoG3GVm
.. https://asciinema.org/a/m1r1OaoUXsEECNZKzpkfAXg7y
--------------
General View
--------------
Expand Down
1 change: 1 addition & 0 deletions activation
Binary file modified code/training_evaluation/auxiliary/__init__.pyc
Binary file not shown.
Binary file modified code/training_evaluation/auxiliary/losses.pyc
Binary file not shown.
Binary file modified code/training_evaluation/nets/__init__.pyc
Binary file not shown.
Binary file modified code/training_evaluation/nets/lipread_mouth.pyc
Binary file not shown.
Binary file modified code/training_evaluation/nets/lipread_speech.pyc
Binary file not shown.
Binary file modified code/training_evaluation/nets/nets_factory.pyc
Binary file not shown.
Binary file modified code/training_evaluation/roc_curve/__init__.pyc
Binary file not shown.
Binary file modified code/training_evaluation/roc_curve/calculate_roc.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions dlib
9 changes: 6 additions & 3 deletions lip_tracking_demo.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Sample input
input_filename="data/sample_video.mp4"

# visualizing (using pretrained model)
mkdir results
ln -s data/ dlib
mkdir results/action && ln -s results/activation ./activation
python -u ./code/lip_tracking/VisualizeLip.py --input $input_filename --output ../results/output_video.mp4
python -u ./code/lip_tracking/VisualizeLip.py --input $input_filename --output results/output_video.mp4

# create gif from mouth frames
ffmpeg -i ./mouth/frame_%*.png ../results/mouth.gif
ffmpeg -i ./results/mouth/frame_%*.png results/mouth.gif
Binary file added readme_images/liptrackingdemo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions results/TRAIN_CNN_3D/checkpoint
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
model_checkpoint_path: "train_logs-62"
all_model_checkpoint_paths: "train_logs-62"
Binary file not shown.
Binary file not shown.
Binary file added results/TRAIN_CNN_3D/train_logs-62.index
Binary file not shown.
Binary file added results/TRAIN_CNN_3D/train_logs-62.meta
Binary file not shown.
Binary file not shown.
153 changes: 153 additions & 0 deletions results/activation
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
(lp0
I0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI0
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI1
aI0
aI1
aI1
aI1
aI1
aI1
aI1
aI0
aI0
aI1
aI1
aI1
aI1
aI1
aI1
aI1
a.
Binary file added results/mouth.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_101.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_102.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_103.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_104.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_105.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_106.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_107.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_108.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_109.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_110.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_111.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_112.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_113.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_114.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_115.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_116.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_117.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_118.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_119.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_121.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_122.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/mouth/frame_123.png
Binary file added results/mouth/frame_124.png
Binary file added results/mouth/frame_125.png
Binary file added results/mouth/frame_126.png
Binary file added results/mouth/frame_127.png
Binary file added results/mouth/frame_128.png
Binary file added results/mouth/frame_129.png
Binary file added results/mouth/frame_130.png
Binary file added results/mouth/frame_131.png
Binary file added results/mouth/frame_132.png
Binary file added results/mouth/frame_133.png
Binary file added results/mouth/frame_134.png
Binary file added results/mouth/frame_136.png
Binary file added results/mouth/frame_137.png
Binary file added results/mouth/frame_138.png
Binary file added results/mouth/frame_139.png
Binary file added results/mouth/frame_140.png
Binary file added results/mouth/frame_141.png
Binary file added results/mouth/frame_144.png
Binary file added results/mouth/frame_145.png
Binary file added results/mouth/frame_146.png
Binary file added results/mouth/frame_147.png
Binary file added results/mouth/frame_148.png
Binary file added results/mouth/frame_149.png
Binary file added results/mouth/frame_150.png
Binary file added results/mouth/frame_28.png
Binary file added results/mouth/frame_29.png
Binary file added results/mouth/frame_30.png
Binary file added results/mouth/frame_31.png
Binary file added results/mouth/frame_32.png
Binary file added results/mouth/frame_33.png
Binary file added results/mouth/frame_34.png
Binary file added results/mouth/frame_35.png
Binary file added results/mouth/frame_36.png
Binary file added results/mouth/frame_37.png
Binary file added results/mouth/frame_38.png
Binary file added results/mouth/frame_39.png
Binary file added results/mouth/frame_40.png
Binary file added results/mouth/frame_41.png
Binary file added results/mouth/frame_42.png
Binary file added results/mouth/frame_43.png
Binary file added results/mouth/frame_44.png
Binary file added results/mouth/frame_45.png
Binary file added results/mouth/frame_46.png
Binary file added results/mouth/frame_47.png
Binary file added results/mouth/frame_48.png
Binary file added results/mouth/frame_49.png
Binary file added results/mouth/frame_50.png
Binary file added results/mouth/frame_51.png
Binary file added results/mouth/frame_52.png
Binary file added results/mouth/frame_53.png
Binary file added results/mouth/frame_54.png
Binary file added results/mouth/frame_55.png
Binary file added results/mouth/frame_56.png
Binary file added results/mouth/frame_57.png
Binary file added results/mouth/frame_58.png
Binary file added results/mouth/frame_59.png
Binary file added results/mouth/frame_60.png
Binary file added results/mouth/frame_61.png
Binary file added results/mouth/frame_62.png
Binary file added results/mouth/frame_63.png
Binary file added results/mouth/frame_64.png
Binary file added results/mouth/frame_65.png
Binary file added results/mouth/frame_66.png
Binary file added results/mouth/frame_67.png
Binary file added results/mouth/frame_68.png
Binary file added results/mouth/frame_69.png
Binary file added results/mouth/frame_70.png
Binary file added results/mouth/frame_71.png
Binary file added results/mouth/frame_72.png
Binary file added results/mouth/frame_73.png
Binary file added results/mouth/frame_74.png
Binary file added results/mouth/frame_75.png
Binary file added results/mouth/frame_76.png
Binary file added results/mouth/frame_77.png
Binary file added results/mouth/frame_78.png
Binary file added results/mouth/frame_79.png
Binary file added results/mouth/frame_80.png
Binary file added results/mouth/frame_81.png
Binary file added results/mouth/frame_82.png
Binary file added results/mouth/frame_83.png
Binary file added results/mouth/frame_84.png
Binary file added results/mouth/frame_85.png
Binary file added results/mouth/frame_86.png
Binary file added results/mouth/frame_87.png
Binary file added results/mouth/frame_88.png
Binary file added results/mouth/frame_89.png
Binary file added results/mouth/frame_90.png
Binary file added results/mouth/frame_91.png
Binary file added results/mouth/frame_92.png
Binary file added results/mouth/frame_93.png
Binary file added results/mouth/frame_94.png
Binary file added results/mouth/frame_95.png
Binary file added results/mouth/frame_96.png
Binary file added results/mouth/frame_97.png
Binary file added results/mouth/frame_98.png
Binary file added results/mouth/frame_99.png
Binary file added results/output_video.mp4
Binary file not shown.

0 comments on commit 8bcf0c2

Please sign in to comment.