Home:ALL Converter>iOS Programmatically take a picture with camera based on what camera sees

iOS Programmatically take a picture with camera based on what camera sees

Ask Time:2016-03-25T03:13:23         Author:bmjohns

Json Formatter

I am currently working on an iOS app that can take a picture programmatically using AVFoundation libraries like AVCaptureDevice through a custom button.

The new requirement is that the camera should automatically take a picture when the camera session detects something specific. For example, if the camera is open, and I line up an apple to fill a certain circle part of the capture screen, it should take the picture automatically. We can see this auto capture feature in some banking apps when you submit a mobile check deposit.

Does anyone know of existing libraries(open-source or proprietary) that can analyze images in real time while a user is taking a picture?

Author:bmjohns,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/36208254/ios-programmatically-take-a-picture-with-camera-based-on-what-camera-sees
yy