public ServiceFuture<OCR> oCRFileInputAsync(String language, byte[] imageStream, OCRFileInputOptionalParameter oCRFileInputOptionalParameter, final ServiceCallback<OCR> serviceCallback) {
        return ServiceFuture.fromResponse(oCRFileInputWithServiceResponseAsync(language, imageStream, oCRFileInputOptionalParameter), serviceCallback);
    }
public ServiceFuture < OCR > oCRFileInputAsync ( String language , byte [ ] imageStream , OCRFileInputOptionalParameter oCRFileInputOptionalParameter , final ServiceCallback < OCR > serviceCallback ) { return ServiceFuture . fromResponse ( oCRFileInputWithServiceResponseAsync ( language , imageStream , oCRFileInputOptionalParameter ) , serviceCallback ) ; }
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

@param language Language of the terms.
@param imageStream The image file.
@param oCRFileInputOptionalParameter the object representing the optional parameters to be set before calling this API
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object