Skip to content

Commit 905de98

Browse files
authored
Refinement R2 examples (#2)
1 parent 7063b3e commit 905de98

File tree

6 files changed

+25
-13
lines changed

6 files changed

+25
-13
lines changed

examples/video-face-detection/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h1 class="arduino-text">Video Face Detection</h1>
5151
<div class="slider-container">
5252
<div class="slider-progress" id="sliderProgress"></div>
5353
<div class="confidence-value-display" id="confidenceValueDisplay">0.5</div>
54-
<input type="range" id="confidenceSlider" min="0" max="1" step="0.05" value="0.5">
54+
<input type="range" id="confidenceSlider" min="0" max="1" step="0.01" value="0.5">
5555
</div>
5656
<span class="confidence-limits">1</span>
5757
</div>

examples/video-face-detection/assets/style.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ body {
284284
}
285285

286286
.arduino-logo {
287-
height: 32px;
287+
height: 48px;
288288
width: auto;
289289
}
290290

@@ -612,7 +612,7 @@ body {
612612
font-weight: inherit;
613613
color: inherit;
614614
text-align: center;
615-
width: 32px;
615+
width: 40px;
616616
padding: 0;
617617
margin: 0;
618618
outline: none;
@@ -640,6 +640,10 @@ body {
640640
opacity: 1;
641641
}
642642

643+
.feedback-section {
644+
margin-bottom: 8px;
645+
}
646+
643647
.feedback-content {
644648
display: flex;
645649
flex-direction: column;
@@ -700,7 +704,7 @@ body {
700704

701705
.popover {
702706
position: absolute;
703-
left: 25%;
707+
left: 5%;
704708
top: 70%;
705709
margin-left: 8px;
706710
display: none;

examples/video-generic-object-detection/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h1 class="arduino-text">Video Generic Object Detection</h1>
5050
<div class="slider-container">
5151
<div class="slider-progress" id="sliderProgress"></div>
5252
<div class="confidence-value-display" id="confidenceValueDisplay">0.5</div>
53-
<input type="range" id="confidenceSlider" min="0" max="1" step="0.05" value="0.5">
53+
<input type="range" id="confidenceSlider" min="0" max="1" step="0.01" value="0.5">
5454
</div>
5555
<span class="confidence-limits">1</span>
5656
</div>

examples/video-generic-object-detection/assets/style.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ body {
284284
}
285285

286286
.arduino-logo {
287-
height: 32px;
287+
height: 48px;
288288
width: auto;
289289
}
290290

@@ -605,14 +605,18 @@ body {
605605
height: 36px;
606606
}
607607

608+
.feedback-section {
609+
margin-bottom: 8px;
610+
}
611+
608612
.confidence-input {
609613
border: none;
610614
background: transparent;
611615
font-size: 12px;
612616
font-weight: inherit;
613617
color: inherit;
614618
text-align: center;
615-
width: 32px;
619+
width: 40px;
616620
padding: 0;
617621
margin: 0;
618622
outline: none;
@@ -695,7 +699,7 @@ body {
695699

696700
.popover {
697701
position: absolute;
698-
left: 25%;
702+
left: 5%;
699703
top: 70%;
700704
margin-left: 8px;
701705
display: none;

examples/video-person-classification/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h1 class="arduino-text">Video Person Classification</h1>
5050
<div class="slider-container">
5151
<div class="slider-progress" id="sliderProgress"></div>
5252
<div class="confidence-value-display" id="confidenceValueDisplay">0.5</div>
53-
<input type="range" id="confidenceSlider" min="0" max="1" step="0.05" value="0.5">
53+
<input type="range" id="confidenceSlider" min="0" max="1" step="0.01" value="0.5">
5454
</div>
5555
<span class="confidence-limits">1</span>
5656
</div>

examples/video-person-classification/assets/style.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ body {
284284
}
285285

286286
.arduino-logo {
287-
height: 32px;
287+
height: 48px;
288288
width: auto;
289289
}
290290

@@ -358,7 +358,7 @@ body {
358358

359359
.scan-content,
360360
.scan-content-time {
361-
font-size: 14px;
361+
font-size: 12px;
362362
font-style: normal;
363363
font-weight: 600;
364364
line-height: 160%;
@@ -605,14 +605,18 @@ body {
605605
height: 36px;
606606
}
607607

608+
.feedback-section {
609+
margin-bottom: 8px;
610+
}
611+
608612
.confidence-input {
609613
border: none;
610614
background: transparent;
611615
font-size: 12px;
612616
font-weight: inherit;
613617
color: inherit;
614618
text-align: center;
615-
width: 32px;
619+
width: 40px;
616620
padding: 0;
617621
margin: 0;
618622
outline: none;
@@ -701,7 +705,7 @@ body {
701705

702706
.popover {
703707
position: absolute;
704-
left: 25%;
708+
left: 5%;
705709
top: 70%;
706710
margin-left: 8px;
707711
display: none;

0 commit comments

Comments
 (0)