Reputation: 3
I want to capture images with the camera in a constant period without press any key and compare consecutive images to detect motions. this project is very important for me. please help me.
Upvotes: 0
Views: 379
Reputation: 13762
Use custom camer to take image , then use Timer thread to take picture at regular interval by calling takePicture() function of camera class
Upvotes: 2
Reputation: 4971
1 - Explore the Camera class
, it is easy to understand.
2 - Use a [Handler][2]
or a Timer
to schedule the auto photo taking.
It seems quite simple, actually. There are several examples online on how to user handlers and timers, and the camera class is simple to use.
Upvotes: 0