Discuss Scratch

Tymewalk
Scratcher
1000+ posts

Is it possible to use the webcam to create a Just Dance-like game?

I've seen a couple of Just Dance projects which use the camera for scoring. However, it looks like any form of motion lets you get a Perfect.
Is it possible to use the webcam to track a player's movement (like a Kinect) and see if the way they're moving is correct? Or do the webcam blocks not work that way?

bold thing - italic thing - underlined thing - strikethrough thing
ChocolatePi
Scratcher
1000+ posts

Is it possible to use the webcam to create a Just Dance-like game?

Theoretically you could using a bunch of “complicated algorithms”, but Scratch is way too slow for all that computation.
Zro716
Scratcher
1000+ posts

Is it possible to use the webcam to create a Just Dance-like game?

Actually, in theory it is possible. TheLogFather showed us how to track head movement using clones. https://scratch.mit.edu/projects/72290026/

I would go ask him to see if full-body tracking is viable using that project's method.

As a long time Scratcher, I have found new meaning to the name “Scratch”: for me, it means to “scratch that itch”, to come back again and again to realize new ideas in this toy language, even when I'm capable of creating my projects in real programming languages years later. It's a friend that helped me to pursue programming and get me to enjoy its fruit. I'm certain many others who have walked this path as well have grown fond of its importance in their life.

Powered by DjangoBB