opencv

opencv / PassportPhotoMaker / 0.1.2

README.md

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. 


Input

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

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.


Changelog:
[0.1.1] - removed ssl certification check for https:// images, updated description to be more useful.