Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using a pretrained ML model in JavaScript using TensorFlow.js
<script src=""></script>
<script src=""></script>
<img id="tennis" src="tennis.jpg"/>
async function run() {
const net = await posenet.load();
const image = document.getElementById('tennis');
const pose = await net.estimateSinglePose(image);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.