code: public void recognizeTextInStream(byte[] image, TextRecognitionMode mode) {
          recognizeTextInStreamWithServiceResponseAsync(image, mode).toBlocking().single().body();
      }
docs: 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 Recognize Text Operation Result operation.
  
  @param image An image stream.
  @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed'
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ComputerVisionErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent