From bda058bf5428a93aeee9393cb7fa77b923261425 Mon Sep 17 00:00:00 2001 From: Rylan Date: Mon, 26 Nov 2018 12:12:17 -0500 Subject: [PATCH] Use tensorflow.js, embed Despacito video in iframe --- .gitignore | 2 + css/border-h.gif | Bin 72 -> 0 bytes css/border-v.gif | Bin 72 -> 0 bytes css/imgareaselect-default.css | 41 - css/main.css | 20 + index.html | 381 +- js/build/clmtrackr.js | 15320 ------------------------------ js/build/clmtrackr.min.js | 1 - js/despacito.js | 29 + js/emotion_classifier.js | 72 - js/emotionmodel.js | 26 - js/emotions.js | 67 + js/jquery-1.4.3.min.js | 166 + js/libs/Stats.js | 7 - js/libs/d3.min.js | 5 - js/libs/utils.js | 44 - js/models/model_pca_10_mosse.js | 691 -- js/models/model_pca_10_svm.js | 630 -- js/models/model_pca_20_mosse.js | 701 -- js/models/model_pca_20_svm.js | 640 -- js/models/model_spca_10_svm.js | 633 -- js/models/model_spca_20_svm.js | 642 -- media/icon_angry.png | Bin 1047 -> 0 bytes media/icon_happy.png | Bin 949 -> 0 bytes media/icon_sad.png | Bin 955 -> 0 bytes media/icon_surprised.png | Bin 883 -> 0 bytes media/obama.jpg | Bin 0 -> 22920 bytes 27 files changed, 320 insertions(+), 19798 deletions(-) create mode 100644 .gitignore delete mode 100644 css/border-h.gif delete mode 100644 css/border-v.gif delete mode 100644 css/imgareaselect-default.css create mode 100644 css/main.css delete mode 100644 js/build/clmtrackr.js delete mode 100644 js/build/clmtrackr.min.js create mode 100644 js/despacito.js delete mode 100644 js/emotion_classifier.js delete mode 100644 js/emotionmodel.js create mode 100644 js/emotions.js create mode 100644 js/jquery-1.4.3.min.js delete mode 100644 js/libs/Stats.js delete mode 100644 js/libs/d3.min.js delete mode 100644 js/libs/utils.js delete mode 100644 js/models/model_pca_10_mosse.js delete mode 100644 js/models/model_pca_10_svm.js delete mode 100644 js/models/model_pca_20_mosse.js delete mode 100644 js/models/model_pca_20_svm.js delete mode 100644 js/models/model_spca_10_svm.js delete mode 100644 js/models/model_spca_20_svm.js delete mode 100644 media/icon_angry.png delete mode 100644 media/icon_happy.png delete mode 100644 media/icon_sad.png delete mode 100644 media/icon_surprised.png create mode 100644 media/obama.jpg diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0485ba8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +\.DS_Store diff --git a/css/border-h.gif b/css/border-h.gif deleted file mode 100644 index a2aa5b0d09bf7215199dbf9a291b34b11d0352d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 72 zcmZ?wbhEHbWMg1tSjfQe|Nnmm1_m=TGay6ppOkY^YGO%hib8p2NrpmVR$@g?eqxGV XW?ou8gAPy~14tJG6LU)|D}yxvaY_|= diff --git a/css/border-v.gif b/css/border-v.gif deleted file mode 100644 index 4bfd55564099537d38d4112f550b8974744de3ca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 72 zcmZ?wbhEHbWMp7tSjfQe|Nnmm1_m=TGay6ppOkY^YGO%hib8p2NrpmVR$@g?eqxGV XW?ou8gAPy~14tJG6LU)|D}yxvaW)ls diff --git a/css/imgareaselect-default.css b/css/imgareaselect-default.css deleted file mode 100644 index f4fe341..0000000 --- a/css/imgareaselect-default.css +++ /dev/null @@ -1,41 +0,0 @@ -/* - * imgAreaSelect default style - */ - -.imgareaselect-border1 { - background: url(border-v.gif) repeat-y left top; -} - -.imgareaselect-border2 { - background: url(border-h.gif) repeat-x left top; -} - -.imgareaselect-border3 { - background: url(border-v.gif) repeat-y right top; -} - -.imgareaselect-border4 { - background: url(border-h.gif) repeat-x left bottom; -} - -.imgareaselect-border1, .imgareaselect-border2, -.imgareaselect-border3, .imgareaselect-border4 { - filter: alpha(opacity=50); - opacity: 0.5; -} - -.imgareaselect-handle { - background-color: #fff; - border: solid 1px #000; - filter: alpha(opacity=50); - opacity: 0.5; -} - -.imgareaselect-outer { - background-color: #000; - filter: alpha(opacity=50); - opacity: 0.5; -} - -.imgareaselect-selection { -} \ No newline at end of file diff --git a/css/main.css b/css/main.css new file mode 100644 index 0000000..8c3279d --- /dev/null +++ b/css/main.css @@ -0,0 +1,20 @@ +.body { + font-family: 'Oswald', sans-serif; +} + +.title { + text-align: center; +} + +.webcam { + float: left; + margin: 10px; + width: 40%; +} + +.despacito { + float: right; + margin: 10px; + background-color: red; + width: 40%; +} diff --git a/index.html b/index.html index f78418d..0478d7f 100644 --- a/index.html +++ b/index.html @@ -1,349 +1,40 @@ - - - - Face tracker - - - - - - - - - - - - - - -
-

ARE YOU HAPPY

-
-