def identify(face_ids, person_group_id:nil, large_person_group_id:nil, max_num_of_candidates_returned:1, confidence_threshold:nil, custom_headers:nil)
      response = identify_async(face_ids, person_group_id:person_group_id, large_person_group_id:large_person_group_id, max_num_of_candidates_returned:max_num_of_candidates_returned, confidence_threshold:confidence_threshold, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def identify(face_ids, person_group_id:nil, large_person_group_id:nil, max_num_of_candidates_returned:1, confidence_threshold:nil, custom_headers:nil)
      response = identify_async(face_ids, person_group_id:person_group_id, large_person_group_id:large_person_group_id, max_num_of_candidates_returned:max_num_of_candidates_returned, confidence_threshold:confidence_threshold, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
1-to-many identification to find the closest matches of the specific query
 person face from a person group or large person group.
 <br/> For each face in the faceIds array, Face Identify will compute
 similarities between the query face and all the faces in the person group
 (given by personGroupId) or large person group (given by largePersonGroupId),
 and return candidate person(s) for that face ranked by similarity confidence.
 The person group/large person group should be trained to make it ready for
 identification. See more in [PersonGroup -
 Train](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395249)
 and [LargePersonGroup -
 Train](/docs/services/563879b61984550e40cbbe8d/operations/599ae2d16ac60f11b48b5aa4).
 <br/>

 Remarks:<br />
 * The algorithm allows more than one face to be identified independently at
 the same request, but no more than 10 faces.
 * Each person in the person group/large person group could have more than one
 face, but no more than 248 faces.
 * Higher face image quality means better identification precision. Please
 consider high-quality faces: frontal, clear, and face size is 200x200 pixels
 (100 pixels between eyes) or bigger.
 * Number of candidates returned is restricted by maxNumOfCandidatesReturned
 and confidenceThreshold. If no person is identified, the returned candidates
 will be an empty array.
 * Try [Face - Find
 Similar](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237)
 when you need to find similar faces from a face list/large face list instead
 of a person group/large person group.
 * The 'recognitionModel' associated with the query faces' faceIds should be
 the same as the 'recognitionModel' used by the target person group or large
 person group.


 @param face_ids Array of query faces faceIds, created by the Face - Detect.
 Each of the faces are identified independently. The valid number of faceIds
 is between [1, 10].
 @param person_group_id [String] PersonGroupId of the target person group,
 created by PersonGroup - Create. Parameter personGroupId and
 largePersonGroupId should not be provided at the same time.
 @param large_person_group_id [String] LargePersonGroupId of the target large
 person group, created by LargePersonGroup - Create. Parameter personGroupId
 and largePersonGroupId should not be provided at the same time.
 @param max_num_of_candidates_returned [Integer] The range of
 maxNumOfCandidatesReturned is between 1 and 5 (default is 1).
 @param confidence_threshold [Float] Confidence threshold of identification,
 used to judge whether one face belong to one person. The range of
 confidenceThreshold is [0, 1] (default specified by algorithm).
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array] operation results.