Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (30 sloc) 930 Bytes
<!DOCTYPE html>
<meta charset="UTF-8">
<title>Tensor Flow Object Detection from getUserMedia</title>
<script src=""></script>
video {
position: absolute;
top: 0;
left: 0;
z-index: -1;
/* Mirror the local video */
transform: scale(-1, 1); /*For Firefox (& IE) */
-webkit-transform: scale(-1, 1); /*for Chrome & Opera (& Safari) */
position: absolute;
top: 0;
left: 0;
<video id="myVideo" autoplay></video>
<script src="/static/local.js"></script>
<script id="objDetect" src="/static/objDetect.js" data-source="myVideo" data-mirror="true" data-uploadWidth="1280" data-scoreThreshold="0.40"></script>