Compare two face entities
POST {{protocol}}://{{service}}.{{region}}.{{base_url}}/api/v1/entities/faces/compare
Compare the largest faces in the two uploaded images.
Request Body
{"model"=>"{{modelName}}", "imageOne"=>{"data"=>"{{imageOne}}", "area"=>{"top"=>0, "left"=>0, "width"=>1000, "height"=>1000}, "autoRotate"=>true, "returnDetails"=>{"position"=>true, "angle"=>true, "landmarks"=>true, "quality"=>true, "attributes"=>true}}, "imageTwo"=>{"data"=>"{{imageTwo}}", "area"=>{"top"=>0, "left"=>0, "width"=>1000, "height"=>1000}, "autoRotate"=>true, "returnDetails"=>{"position"=>true, "angle"=>true, "landmarks"=>true, "quality"=>true, "attributes"=>true}}}
RESPONSES
status: OK
{"similarityScore":0.9819762,"model":"JCV_FACE_K25000"}