detect
Detect faces in the image. This operation should be called on a background thread.
Return
Detected faces sorted by their confidences.
Parameters
face Image
Image.
maximum Faces
Detection stops when number of detected faces reaches this number.
Throws
If detection module is not activated.