I Need a motion extention please. Can anyone make it?
Describe what you exactly want.
What are the required features ?
Also, you have an Accelerometer Sensor to fulfil your needs.
how to do it
Describe what you want to achieve, and what you have tried so far.
the camera if detected motion, ring alarm
Close, but a little bit off-topic. I believe you are trying to ring alarm when you shake the phone, but the OP wants to ring the alarm when the camera has detected motion. Nice try.
Why use the accelerometer when you want the CAMERA to detect motion ?
@TIMAI2 (I don't know why the reply button is not working so I tagged you instead.)
Wait is it possible to detect motion using Camera ?
It has no blocks or properties to do that.
And even if it is done, the accelerometer makes things less complicated.
An extension will be required to handle the motion detection.
.
.
.
You will have seen the motion sensing wildlife cameras ? When they detect motion (an animal comes into range) they start video recording the animal's activity.
Many people now have video doorbells, which will start recording when they detect movement within the range of the camera.
Neither of these would use an accelerometer....
Oh ok.
I thought he wanted to detect his own motion. Sorry, Thank You and Bye.
how to do it
this is my question
Create your extension and include the JOpenCV4Android library . This article purports to do part of what you want to do using Android Studio Motion Detection in Android - Howto - CodeProject
Perhaps something similar could be done with App Inventor and an extension.
Or perhaps using the information here Android - camera as motion detector - Stack Overflow
You could possibly do motion detect with some blocks, a timer and a couple of extensions
or use Taifun's extension:
Camera Extension to take pictures programmatically without user interaction.
- Take a picture
- Take next picture
- Compare the two pictures
- If different, do something
- Loop
Thanks so much!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.