How to implement a simple motion detector using the front camera and Android SDK?
An example scenario would be like this: a device is standing on a stand and plays a movie. If a person appears in front of it, without even touching it - it changes the movie.
Use Motion Detector Android App Motion Detector app is another free Android third-party application that offers motion detection with the help of your phone's camera. This is a simple app that shows the number of times motion is detected through your camera and also takes photos of the motion to save it on your device.
Yawcam is completely free Windows users will want to check out Yawcam, a free piece software that turns your webcam into a motion-sensitive security camera. You can also view live video over the internet, shoot time-lapse movies, and set it to upload images to an FTP server however you like.
Here is my open source motion detection app for Android.
https://github.com/phishman3579/android-motion-detection
Here is a Tutorial on how to take a photo with the camera.
If your take a photo every second, and then scale it down to something like 8x8 pixels, you can easily compare two photos and find out if something has happened, to trigger you action.
The reason why you should scale it down are the following:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With