DeepFake Detection
Based on the input image, detect whether the face in the image is fake, especially the recognition of deepfake fakes.
Code Sample:
Example of Success Response of real face:
Example of Success Response of fake face:
Example of image error Response:
Example of request parameter error Response:
Example of image format error Response:
Example of image larger than 2M error Response:
Example of server error Response:
Request Url
POST https://api.ekycpro.com/v1/deepfakedetect
Request Parameters:
Parameter | Description |
---|---|
img | string , Base64 encoded image |
Detail Response Description
parameter | description |
---|---|
status | status code |
message | is_deepfake :whether the face is fake live_score :liveness score [0-100] reason :success, no liveness face |
Status Code:
Status | Message |
---|---|
OK | charge ,Recognize success |
FAIL | charge ,Image error |
INVALID_REQUEST | free ,Wrong request parameter |
IMAGE_INVALID_FORMAT | free ,Image format is not supported, only PNG, JPG, JPEG, BMP are supported |
IMAGE_INVALID_SIZE | free ,The image size should be less than 2M after base64 encoding |
INNER_ERROR | free ,System error |