ML.html
ML.html
<button type="button"
onclick="init()">Start</button>
<div id="webcam-container"></div>
<div id="label-container"></div>
<script
src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs
@latest/dist/tf.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/@teachablemachin
e/image@latest/dist/teachablemachine-
image.min.js"></script>
<script type="text/javascript">
// More API functions here:
//
https://github.com/googlecreativelab/teachablemach
ine-community/tree/master/libraries/image
labelContainer.appendChild(document.createElement(
"div"));
}
}