def recognize_text(url, detect_handwriting:false, custom_headers:nil)
      response = recognize_text_async(url, detect_handwriting:detect_handwriting, custom_headers:custom_headers).value!
      nil
    end
def recognize_text(url, detect_handwriting:false, custom_headers:nil)
      response = recognize_text_async(url, detect_handwriting:detect_handwriting, custom_headers:custom_headers).value!
      nil
    end
Recognize Text operation. When you use the Recognize Text interface, the
 response contains a field called 'Operation-Location'. The
 'Operation-Location' field contains the URL that you must use for your Get
 Handwritten Text Operation Result operation.

 @param url [String] Publicly reachable URL of an image
 @param detect_handwriting [Boolean] If 'true' is specified, handwriting
 recognition is performed. If this parameter is set to 'false' or is not
 specified, printed text recognition is performed.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.