Discuss Scratch

dannierscratcher
Scratcher
8 posts

How does (motion) video sensing work?

I have seen people doing video motion sensing projects, they're cool. But how does it works actually?
when video motion>10videoonStageturnvideo on

Last edited by dannierscratcher (Feb. 14, 2020 03:44:09)

nyankatpro
Scratcher
500+ posts

How does (motion) video sensing work?

go to extensions and click “video sensing”. You should get all the blocks you need to do it there.
dannierscratcher
Scratcher
8 posts

How does (motion) video sensing work?

nyankatpro wrote:

go to extensions and click “video sensing”. You should get all the blocks you need to do it there.
i mean how does
when video motion>10
works?
btw thanks, i know how to get more blocks

Last edited by dannierscratcher (Feb. 14, 2020 03:30:45)

jettypumpkin07
Scratcher
1000+ posts

How does (motion) video sensing work?

The video motion blocks sense which direction most of the pixels in your camera are moving.
For example, something slowly moving to the right would be moving right in the camera.
The video motion in Scratch actually senses how fast this ‘thing’ is moving.
The usual motion is 30, so try using that number if you want to make something with it.
There is also video direction, which (sort of) checks which way the object is moving.

Some blocks you may need shown below:

whenvideo motion>10
Runs when video motion/direction is more than the number.

turnvideoon
Turn on/off your webcam.

videomotiononStage
Used with conditional blocks (if, else, while)

loudness
Checks how loud it is (uses microphone)

setvideotransparencyto100%
Blend between the camera and the stage backdrop.

Last edited by jettypumpkin07 (Feb. 14, 2020 03:48:08)

dannierscratcher
Scratcher
8 posts

How does (motion) video sensing work?

jettypumpkin07 wrote:

The video motion blocks sense which direction most of the pixels in your camera are moving.
For example, something slowly moving to the right would be moving right in the camera.
The video motion in Scratch actually senses how fast this ‘thing’ is moving.
The usual motion is 30, so try using that number if you want to make something with it.
There is also video direction, which (sort of) checks which way the object is moving.

Some blocks you may need shown below:

whenvideo motion>10turnvideoonvideomotiononStageloudnesssetvideotransparencyto100%
thank you so much
thomasthehedgehog13
Scratcher
15 posts

How does (motion) video sensing work?

How do I make it move by moving in that direction a.k.a. move my hand to right, it moves to right?
Yusei-Fudo
Scratcher
1000+ posts

How does (motion) video sensing work?

thomasthehedgehog13 wrote:

How do I make it move by moving in that direction a.k.a. move my hand to right, it moves to right?

Hi, if you have a question, please use: scratch.mit.edu/discuss/7/add
Harakou
Scratcher
1000+ posts

How does (motion) video sensing work?

thomasthehedgehog13 wrote:

How do I make it move by moving in that direction a.k.a. move my hand to right, it moves to right?
Hi! This topic is rather old - when you ask for help on an old thread, people often will only respond to the original post because they don't notice yours. if you need help, you're much better off creating a new thread. Be sure to explain the problem you're having! If you have a question about a post that was made here, you can always include a link to it in your new topic. Thanks!

Powered by DjangoBB