Skip to content

Commit 552766d

Browse files
committed
removed references to S3 assets
1 parent f2edd25 commit 552766d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+44
-44
lines changed

php-demo/config.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
["#752673"],
2020
["#FBB03B"]
2121
]',
22-
"mediaPath" => "https://media.kairos.com/demo/emotion/",
22+
"mediaPath" => "/emotion/",
2323
"uploadFileSizeImage" => "10000000",
2424
"uploadFileTypesImage" => '[
2525
["image/gif"],
@@ -42,6 +42,7 @@
4242
["image/jpeg"],
4343
["image/jpg"],
4444
["application/octet-stream"],
45+
["video/x-matroska"],
4546
["image/x-ms-bmp"]
4647
]',
4748
"apiTimeout" => API_TIMEOUT,

php-demo/detect/css/detect.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
width: 500px;
104104
height: 500px;
105105
margin: 0 auto;
106-
background: transparent url('../images/face_overlay.png') no-repeat;
106+
background: transparent url('/images/face_overlay.png') no-repeat;
107107
background-size: 50%;
108108
background-position: 45% 45%;
109109
z-index: 10;
@@ -179,13 +179,13 @@
179179
width: 50px;
180180
height: 50px;
181181
margin: 0 auto;
182-
background: transparent url('../images/spinner.gif') no-repeat;
182+
background: transparent url('/images/spinner.gif') no-repeat;
183183
}
184184
.sad-face {
185185
width: 50px;
186186
height: 50px;
187187
margin: 0 auto;
188-
background: transparent url('../images/sad_face.png') no-repeat;
188+
background: transparent url('/images/sad_face.png') no-repeat;
189189
}
190190
.message-container{
191191
font-size: 14px;

php-demo/detect/index.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div class="main-container container">
2222
<div class="row">
2323
<div class="col-xs-12 col-sm-6 col-md-6 main-image-container">
24-
<img id="previewImage" width="100%" src="images/Brain_Brackeen.jpeg">
24+
<img id="previewImage" width="100%" src="/images/team/Brian_Brackeen.jpg">
2525
<div class="webcam-video-container">
2626
<div class="face-overlay"></div>
2727
<div class="webcam-counter"></div>
@@ -48,19 +48,19 @@
4848
<div class="row">
4949
<div class="col-md-12 thumbnails container">
5050
<a href="image1" class="photo-thumbnail image1">
51-
<img src="images/Brain_Brackeen.jpeg" crossorigin="Anonymous" />
51+
<img src="/images/team/Brian_Brackeen.jpg" crossorigin="Anonymous" />
5252
</a>
5353
<a href="image2" class="photo-thumbnail image2">
54-
<img src="https://media.kairos.com/team/Ben_Virdee-Chapman.jpeg" crossorigin="Anonymous" />
54+
<img src="/images/team/Ben_Virdee-Chapman.jpg" crossorigin="Anonymous" />
5555
</a>
5656
<a href="image3" class="photo-thumbnail image3">
57-
<img src="https://media.kairos.com/team/Rajnesah_Belyeu2.jpeg" crossorigin="Anonymous" />
57+
<img src="/images/team/Rajnesah_Belyeu.jpg" crossorigin="Anonymous" />
5858
</a>
5959
<a href="image4" class="photo-thumbnail image4">
60-
<img src="https://media.kairos.com/team/Neil_Pitts.jpeg" crossorigin="Anonymous" />
60+
<img src="/images/team/Neil_Pitts.jpg" crossorigin="Anonymous" />
6161
</a>
6262
<a href="image5" class="photo-thumbnail image5">
63-
<img src="https://media.kairos.com/team/ben_allison.jpeg" crossorigin="Anonymous" />
63+
<img src="/images/team/ben_allison.jpg" crossorigin="Anonymous" />
6464
</a>
6565
</div>
6666
</div>

php-demo/emotion/css/emotion.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
margin: 10px 30px;
5151
}
5252
#play-pause.play{
53-
background: transparent url("../images/play.png") no-repeat 0 0;
53+
background: transparent url("/images/play.png") no-repeat 0 0;
5454
}
5555
#play-pause.pause{
56-
background: transparent url("../images/pause.png") no-repeat 0 0;
56+
background: transparent url("/images/pause.png") no-repeat 0 0;
5757
}
5858
#progress {
5959
background-color: #464d5b;
@@ -81,7 +81,7 @@
8181
width: 28px;
8282
height: 28px;
8383
background-size: 28px 28px;
84-
background: transparent url("../images/scrubber.png") no-repeat right 0;
84+
background: transparent url("/images/scrubber.png") no-repeat right 0;
8585
cursor: pointer;
8686
position: absolute;
8787
display: block;
@@ -94,7 +94,7 @@ only screen and (-moz-min-device-pixel-ratio: 1.5),
9494
only screen and (-o-min-device-pixel-ratio: 3/2),
9595
only screen and (min-device-pixel-ratio: 1.5) {
9696
#progress-scrubber {
97-
background: transparent url("../images/scrubber-2x.png") no-repeat right 0;
97+
background: transparent url("/images/scrubber-2x.png") no-repeat right 0;
9898
background-size: 28px 28px;
9999
}
100100
}
@@ -288,7 +288,7 @@ only screen and (min-device-pixel-ratio: 1.5) {
288288
width: 100%;
289289
height: 100%;
290290
margin: 0 auto;
291-
background: transparent url('../images/face_overlay.png') no-repeat;
291+
background: transparent url('/images/face_overlay.png') no-repeat;
292292
background-size: 50%;
293293
background-position: 45% 45%;
294294
z-index: 10;
@@ -375,19 +375,19 @@ only screen and (min-device-pixel-ratio: 1.5) {
375375
width: 50px;
376376
height: 50px;
377377
margin: 0 auto;
378-
background: transparent url('../images/spinner.gif') no-repeat;
378+
background: transparent url('/images/spinner.gif') no-repeat;
379379
}
380380
.processing-spinner-transparent {
381381
width: 50px;
382382
height: 50px;
383383
margin: 0 auto;
384-
background: transparent url('../images/spinner_transparent.gif') no-repeat;
384+
background: transparent url('/images/spinner_transparent.gif') no-repeat;
385385
}
386386
.sad-face {
387387
width: 50px;
388388
height: 50px;
389389
margin: 0 auto;
390-
background: transparent url('../images/sad_face.png') no-repeat;
390+
background: transparent url('/images/sad_face.png') no-repeat;
391391
}
392392
.message-container{
393393
font-size: 14px;
-1.66 MB
Binary file not shown.
-1.78 KB
Binary file not shown.
-29.3 KB
Binary file not shown.
-13.3 KB
Binary file not shown.

php-demo/facerace/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$configs = include('../config.php');
33

44
define('DEMO_ENV', (getenv('STAGE') ? getenv('STAGE') : 'dev'));
5-
define('DEMO_PREVIEW_IMAGE', (getenv('DEMO_PREVIEW_IMAGE') ? getenv('DEMO_PREVIEW_IMAGE') : ""));
5+
define('DEMO_PREVIEW_IMAGE', '/images/demo_elizabeth.png');
66

77
function getDiversityImageUrl($default_image_url = null)
88
{

php-demo/images/demo_elizabeth.png

183 KB

0 commit comments

Comments
 (0)