def predict_image(project_id, image_data, iteration_id:nil, application:nil, custom_headers:nil)
      response = predict_image_async(project_id, image_data, iteration_id:iteration_id, application:application, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def predict_image(project_id, image_data, iteration_id:nil, application:nil, custom_headers:nil)
      response = predict_image_async(project_id, image_data, iteration_id:iteration_id, application:application, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Predict an image and saves the result

 @param project_id The project id
 @param image_data
 @param iteration_id Optional. Specifies the id of a particular iteration to
 evaluate against.
 The default iteration for the project will be used when not specified
 @param application [String] Optional. Specifies the name of application using
 the endpoint
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ImagePrediction] operation results.