def get_area_of_interest_in_stream(image, custom_headers:nil)
      response = get_area_of_interest_in_stream_async(image, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_area_of_interest_in_stream(image, custom_headers:nil)
      response = get_area_of_interest_in_stream_async(image, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
This operation returns a bounding box around the most important area of the
 image.
 A successful response will be returned in JSON. If the request failed, the
 response contains an error code and a message to help determine what went
 wrong.
 Upon failure, the error code and an error message are returned. The error
 code could be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize,
 NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.

 @param image An image stream.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [AreaOfInterestResult] operation results.