Image liveness

POST {{protocol}}://{{service}}.{{region}}.{{base_url}}/api/v1/images

Perform a 2D liveness detection of the largest face in the image based on one RGB image.

Request Body

{"model"=>"{{model}}", "images"=>[{"index"=>0, "type"=>"RGB", "data"=>"{{imageRGB}}"}], "autoRotate"=>true}

RESPONSES

status: OK

{"spoofScore":2.980232238769531e-07,"model":"JCV_2D_I25000","rotated":0,"position":{"top":353,"left":193,"width":432,"height":459}}