takePicture

Stop the real-time border detection and capture the image The provided callback is invoked on the main thread.

Return

false if a picture is already being taken, true otherwise

Parameters

callback

used to notify capture success or failure