Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to take picture from my iphone programmatically when there is some movement in front of camera?

I am trying to see if it is possible to take picture on iOS when there is any movement in front of the camera. For example, Is it possible for an app to take picture when some body wave hand or just show his/her face in front of the camera or throw a ball in the air such that it crosses the camera line of sight.

like image 836
Ashutosh Avatar asked Dec 18 '12 22:12

Ashutosh


1 Answers

Check out Lucas-Kanade (LK) Optical Flow for the iPhone It's an optical flow estimation algorithm (i.e. "the pattern of apparent motion of objects, surfaces and edges in a visual scene caused by the relative motion between an observer and the scene.")

It might help you out with the motion detection and then you would probably just have to respond to that event.

like image 92
sunshineDev Avatar answered Nov 15 '22 10:11

sunshineDev