Skip to content

Commit

Permalink
fix(scale): Scaleslider DOM is needed in main.js
Browse files Browse the repository at this point in the history
In main.js, scaleSlider is needed which result into an undefined error
  • Loading branch information
tosinamuda authored Nov 7, 2024
1 parent 705cfc4 commit 6cf3cd2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/video-object-detection/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,16 @@ <h4>
<br>
<input id="threshold" type="range" min="0.01" max="1" step="0.01" value="0.25" disabled>
</div>
<div>
<label>Image scale</label>
(<label id="scale-value">0.5</label>)
<br>
<input id="scale" type="range" min="0" max="1" step="0.01" value="0.5" disabled>
</div>
</div>
<label id="status"></label>

<script type="module" src="/main.js"></script>
</body>

</html>
</html>

0 comments on commit 6cf3cd2

Please sign in to comment.