Takes in an image and extracts the foreground after detecting the face in the image. A single face should be present in the taken photo.
src - (required) - needs to be a string or byte array, if in string format, the image can be a http:// / https:// url, a data:// uri, or a base 64 encoded string.
output - a hashed data API URI pointing to data://.my/opencv/PassportPhotoMaker/temp/<unique hash>.jpg, this file will contain only the foreground of the image, with the background removed.
[0.1.1] - removed ssl certification check for https:// images, updated description to be more useful.