Repository navigation
MoveNet on Scratch
MoveNet on Scratch will always be subject to updates. Get the source code here.
MNoS is a Scratch extension that allows users to use MoveNet, an extremely fast AI that detects 17 keypoints in a human body. Note that this isn't generative AI — so it serves as a tool rather than a potential replacement of human art and ingenuinity — and it runs on your own device — so it doesn't require gigantic data centers.
Note that everything in this extension might be a bit rough around the edges. I'm 14 as of writing this and I don't know as much Javascript as I should to make MNoS. Even still, I believe it may help SOME people... welp, it's helping me at least! ^^
Let's get to what matters now!
This block sends whatever is on the webcam to MoveNet. Running this block for the first time causes a lot of lag, so make sure to run it in a loading screen or something like that! After the first time, though, it works flawlessly and with little lag on moderately modern devices. I still don't recommend running it in every frame though.

This block outputs either the x, y or confidence value for a specific part of the body. The confidence value represents how confident the AI is about if it got the limb right or not.
Note that if the confidence value for the chosen limb is below the minimum confidence allowed, the value isn't shown. To set the minimum confidence to a desired value, use the "set minimum confidence to" block.

Same as the last block, but it gives you the raw numbers that MoveNet actually outputs. The get [data] of [limb] block runs some math before giving a result so you can easily render that on the stage which get raw [data] of [limb] does not.

Set a value between 0 and 1.
