def add_face_from_stream_with_http_info(face_list_id, image, user_data:nil, target_face:nil, custom_headers:nil)
      add_face_from_stream_async(face_list_id, image, user_data:user_data, target_face:target_face, custom_headers:custom_headers).value!
    end
def add_face_from_stream_with_http_info(face_list_id, image, user_data:nil, target_face:nil, custom_headers:nil)
      add_face_from_stream_async(face_list_id, image, user_data:user_data, target_face:target_face, custom_headers:custom_headers).value!
    end
Add a face to a face list. The input face is specified as an image with a
 targetFace rectangle. It returns a persistedFaceId representing the added
 face, and persistedFaceId will not expire.

 @param face_list_id [String] Id referencing a particular face list.
 @param image An image stream.
 @param user_data [String] User-specified data about the face for any purpose.
 The maximum length is 1KB.
 @param target_face [Array<Integer>] A face rectangle to specify the target
 face to be added to a person in the format of
 "targetFace=left,top,width,height". E.g. "targetFace=10,10,100,100". If there
 is more than one face in the image, targetFace is required to specify which
 face to add. No targetFace means there is only one face detected in the
 entire image.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.