xxxxxxxxxx
29
<!--
Copyright (c) 2018 ml5
This software is released under the MIT License.
https://opensource.org/licenses/MIT
-->
<html>
<head>
<meta charset="UTF-8">
<title>Webcam Image Classification using MobileNet and p5.js</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.1/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.1/addons/p5.dom.min.js"></script>
<script src="https://unpkg.com/ml5" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<p id='status'>Loading Model...</p>
<p>
The MobileNet model labeled this as <span id="result">...</span>
<br/>with a confidence of <span id="probability">...</span>.
</p>
<script src="sketch.js"></script>
</body>
</html>