take Picture
Parameters
callback
used to notify capture success or failure
See also
Stop the real-time border detection and capture the image
Return
false if a picture is already being taken, true otherwise
Parameters
callback
used to notify capture success or failure
focus Before Trigger
if true, an auto-focus will run before the picture is captured. This can be especially useful on devices where the continuous auto-focus is not great to improve the chances of the picture being sharp, but it slows down the capture.