ComputerVisionImpl Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. implementation. ComputerVisionImpl
- com.
Implements
public class ComputerVisionImpl
implements ComputerVision
An instance of this class provides access to all the operations defined in ComputerVision.
Constructor Summary
Constructor | Description |
---|---|
ComputerVisionImpl(Retrofit retrofit, ComputerVisionClientImpl client) |
Initializes an instance of Computer |
Method Summary
Modifier and Type | Method and Description |
---|---|
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionAnalyzeImageParameters |
analyzeImage()
This operation extracts a rich set of visual features based on the image content. |
Image |
analyzeImage(String url, AnalyzeImageOptionalParameter analyzeImageOptionalParameter)
This operation extracts a rich set of visual features based on the image content. |
rx.Observable<Image |
analyzeImageAsync(String url, AnalyzeImageOptionalParameter analyzeImageOptionalParameter)
This operation extracts a rich set of visual features based on the image content. |
com.microsoft.rest.ServiceFuture<Image |
analyzeImageAsync(String url, AnalyzeImageOptionalParameter analyzeImageOptionalParameter, ServiceCallback<ImageAnalysis> serviceCallback)
This operation extracts a rich set of visual features based on the image content. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionAnalyzeImageByDomainParameters |
analyzeImageByDomain()
This operation recognizes content within an image by applying a domain-specific model. |
Domain |
analyzeImageByDomain(String model, String url, AnalyzeImageByDomainOptionalParameter analyzeImageByDomainOptionalParameter)
This operation recognizes content within an image by applying a domain-specific model. |
rx.Observable<Domain |
analyzeImageByDomainAsync(String model, String url, AnalyzeImageByDomainOptionalParameter analyzeImageByDomainOptionalParameter)
This operation recognizes content within an image by applying a domain-specific model. |
com.microsoft.rest.ServiceFuture<Domain |
analyzeImageByDomainAsync(String model, String url, AnalyzeImageByDomainOptionalParameter analyzeImageByDomainOptionalParameter, ServiceCallback<DomainModelResults> serviceCallback)
This operation recognizes content within an image by applying a domain-specific model. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionAnalyzeImageByDomainInStreamParameters |
analyzeImageByDomainInStream()
This operation recognizes content within an image by applying a domain-specific model. |
Domain |
analyzeImageByDomainInStream(String model, byte[] image, AnalyzeImageByDomainInStreamOptionalParameter analyzeImageByDomainInStreamOptionalParameter)
This operation recognizes content within an image by applying a domain-specific model. |
rx.Observable<Domain |
analyzeImageByDomainInStreamAsync(String model, byte[] image, AnalyzeImageByDomainInStreamOptionalParameter analyzeImageByDomainInStreamOptionalParameter)
This operation recognizes content within an image by applying a domain-specific model. |
com.microsoft.rest.ServiceFuture<Domain |
analyzeImageByDomainInStreamAsync(String model, byte[] image, AnalyzeImageByDomainInStreamOptionalParameter analyzeImageByDomainInStreamOptionalParameter, ServiceCallback<DomainModelResults> serviceCallback)
This operation recognizes content within an image by applying a domain-specific model. |
rx.Observable<com.microsoft.rest.ServiceResponse<Domain |
analyzeImageByDomainInStreamWithServiceResponseAsync(String model, byte[] image, AnalyzeImageByDomainInStreamOptionalParameter analyzeImageByDomainInStreamOptionalParameter)
This operation recognizes content within an image by applying a domain-specific model. |
rx.Observable<com.microsoft.rest.ServiceResponse<Domain |
analyzeImageByDomainInStreamWithServiceResponseAsync(String model, byte[] image, String language, String modelVersion)
This operation recognizes content within an image by applying a domain-specific model. |
rx.Observable<com.microsoft.rest.ServiceResponse<Domain |
analyzeImageByDomainWithServiceResponseAsync(String model, String url, AnalyzeImageByDomainOptionalParameter analyzeImageByDomainOptionalParameter)
This operation recognizes content within an image by applying a domain-specific model. |
rx.Observable<com.microsoft.rest.ServiceResponse<Domain |
analyzeImageByDomainWithServiceResponseAsync(String model, String url, String language, String modelVersion)
This operation recognizes content within an image by applying a domain-specific model. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionAnalyzeImageInStreamParameters |
analyzeImageInStream()
This operation extracts a rich set of visual features based on the image content. |
Image |
analyzeImageInStream(byte[] image, AnalyzeImageInStreamOptionalParameter analyzeImageInStreamOptionalParameter)
This operation extracts a rich set of visual features based on the image content. |
rx.Observable<Image |
analyzeImageInStreamAsync(byte[] image, AnalyzeImageInStreamOptionalParameter analyzeImageInStreamOptionalParameter)
This operation extracts a rich set of visual features based on the image content. |
com.microsoft.rest.ServiceFuture<Image |
analyzeImageInStreamAsync(byte[] image, AnalyzeImageInStreamOptionalParameter analyzeImageInStreamOptionalParameter, ServiceCallback<ImageAnalysis> serviceCallback)
This operation extracts a rich set of visual features based on the image content. |
rx.Observable<com.microsoft.rest.ServiceResponse<Image |
analyzeImageInStreamWithServiceResponseAsync(byte[] image, AnalyzeImageInStreamOptionalParameter analyzeImageInStreamOptionalParameter)
This operation extracts a rich set of visual features based on the image content. |
rx.Observable<com.microsoft.rest.ServiceResponse<Image |
analyzeImageInStreamWithServiceResponseAsync(byte[] image, List<VisualFeatureTypes> visualFeatures, List<Details> details, String language, List<DescriptionExclude> descriptionExclude, String modelVersion)
This operation extracts a rich set of visual features based on the image content. |
rx.Observable<com.microsoft.rest.ServiceResponse<Image |
analyzeImageWithServiceResponseAsync(String url, AnalyzeImageOptionalParameter analyzeImageOptionalParameter)
This operation extracts a rich set of visual features based on the image content. |
rx.Observable<com.microsoft.rest.ServiceResponse<Image |
analyzeImageWithServiceResponseAsync(String url, List<VisualFeatureTypes> visualFeatures, List<Details> details, String language, List<DescriptionExclude> descriptionExclude, String modelVersion)
This operation extracts a rich set of visual features based on the image content. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionDescribeImageParameters |
describeImage()
This operation generates a description of an image in human readable language with complete sentences. |
Image |
describeImage(String url, DescribeImageOptionalParameter describeImageOptionalParameter)
This operation generates a description of an image in human readable language with complete sentences. |
rx.Observable<Image |
describeImageAsync(String url, DescribeImageOptionalParameter describeImageOptionalParameter)
This operation generates a description of an image in human readable language with complete sentences. |
com.microsoft.rest.ServiceFuture<Image |
describeImageAsync(String url, DescribeImageOptionalParameter describeImageOptionalParameter, ServiceCallback<ImageDescription> serviceCallback)
This operation generates a description of an image in human readable language with complete sentences. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionDescribeImageInStreamParameters |
describeImageInStream()
This operation generates a description of an image in human readable language with complete sentences. |
Image |
describeImageInStream(byte[] image, DescribeImageInStreamOptionalParameter describeImageInStreamOptionalParameter)
This operation generates a description of an image in human readable language with complete sentences. |
rx.Observable<Image |
describeImageInStreamAsync(byte[] image, DescribeImageInStreamOptionalParameter describeImageInStreamOptionalParameter)
This operation generates a description of an image in human readable language with complete sentences. |
com.microsoft.rest.ServiceFuture<Image |
describeImageInStreamAsync(byte[] image, DescribeImageInStreamOptionalParameter describeImageInStreamOptionalParameter, ServiceCallback<ImageDescription> serviceCallback)
This operation generates a description of an image in human readable language with complete sentences. |
rx.Observable<com.microsoft.rest.ServiceResponse<Image |
describeImageInStreamWithServiceResponseAsync(byte[] image, DescribeImageInStreamOptionalParameter describeImageInStreamOptionalParameter)
This operation generates a description of an image in human readable language with complete sentences. |
rx.Observable<com.microsoft.rest.ServiceResponse<Image |
describeImageInStreamWithServiceResponseAsync(byte[] image, Integer maxCandidates, String language, List<DescriptionExclude> descriptionExclude, String modelVersion)
This operation generates a description of an image in human readable language with complete sentences. |
rx.Observable<com.microsoft.rest.ServiceResponse<Image |
describeImageWithServiceResponseAsync(String url, DescribeImageOptionalParameter describeImageOptionalParameter)
This operation generates a description of an image in human readable language with complete sentences. |
rx.Observable<com.microsoft.rest.ServiceResponse<Image |
describeImageWithServiceResponseAsync(String url, Integer maxCandidates, String language, List<DescriptionExclude> descriptionExclude, String modelVersion)
This operation generates a description of an image in human readable language with complete sentences. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionDetectObjectsParameters |
detectObjects()
Performs object detection on the specified image. |
Detect |
detectObjects(String url, DetectObjectsOptionalParameter detectObjectsOptionalParameter)
Performs object detection on the specified image. |
rx.Observable<Detect |
detectObjectsAsync(String url, DetectObjectsOptionalParameter detectObjectsOptionalParameter)
Performs object detection on the specified image. |
com.microsoft.rest.ServiceFuture<Detect |
detectObjectsAsync(String url, DetectObjectsOptionalParameter detectObjectsOptionalParameter, ServiceCallback<DetectResult> serviceCallback)
Performs object detection on the specified image. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionDetectObjectsInStreamParameters |
detectObjectsInStream()
Performs object detection on the specified image. |
Detect |
detectObjectsInStream(byte[] image, DetectObjectsInStreamOptionalParameter detectObjectsInStreamOptionalParameter)
Performs object detection on the specified image. |
rx.Observable<Detect |
detectObjectsInStreamAsync(byte[] image, DetectObjectsInStreamOptionalParameter detectObjectsInStreamOptionalParameter)
Performs object detection on the specified image. |
com.microsoft.rest.ServiceFuture<Detect |
detectObjectsInStreamAsync(byte[] image, DetectObjectsInStreamOptionalParameter detectObjectsInStreamOptionalParameter, ServiceCallback<DetectResult> serviceCallback)
Performs object detection on the specified image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Detect |
detectObjectsInStreamWithServiceResponseAsync(byte[] image, DetectObjectsInStreamOptionalParameter detectObjectsInStreamOptionalParameter)
Performs object detection on the specified image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Detect |
detectObjectsInStreamWithServiceResponseAsync(byte[] image, String modelVersion)
Performs object detection on the specified image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Detect |
detectObjectsWithServiceResponseAsync(String url, DetectObjectsOptionalParameter detectObjectsOptionalParameter)
Performs object detection on the specified image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Detect |
detectObjectsWithServiceResponseAsync(String url, String modelVersion)
Performs object detection on the specified image. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionGenerateThumbnailParameters |
generateThumbnail()
This operation generates a thumbnail image with the user-specified width and height. |
Input |
generateThumbnail(int width, int height, String url, GenerateThumbnailOptionalParameter generateThumbnailOptionalParameter)
This operation generates a thumbnail image with the user-specified width and height. |
rx.Observable<Input |
generateThumbnailAsync(int width, int height, String url, GenerateThumbnailOptionalParameter generateThumbnailOptionalParameter)
This operation generates a thumbnail image with the user-specified width and height. |
com.microsoft.rest.ServiceFuture<Input |
generateThumbnailAsync(int width, int height, String url, GenerateThumbnailOptionalParameter generateThumbnailOptionalParameter, ServiceCallback<InputStream> serviceCallback)
This operation generates a thumbnail image with the user-specified width and height. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionGenerateThumbnailInStreamParameters |
generateThumbnailInStream()
This operation generates a thumbnail image with the user-specified width and height. |
Input |
generateThumbnailInStream(int width, int height, byte[] image, GenerateThumbnailInStreamOptionalParameter generateThumbnailInStreamOptionalParameter)
This operation generates a thumbnail image with the user-specified width and height. |
rx.Observable<Input |
generateThumbnailInStreamAsync(int width, int height, byte[] image, GenerateThumbnailInStreamOptionalParameter generateThumbnailInStreamOptionalParameter)
This operation generates a thumbnail image with the user-specified width and height. |
com.microsoft.rest.ServiceFuture<Input |
generateThumbnailInStreamAsync(int width, int height, byte[] image, GenerateThumbnailInStreamOptionalParameter generateThumbnailInStreamOptionalParameter, ServiceCallback<InputStream> serviceCallback)
This operation generates a thumbnail image with the user-specified width and height. |
rx.Observable<com.microsoft.rest.ServiceResponse<Input |
generateThumbnailInStreamWithServiceResponseAsync(int width, int height, byte[] image, GenerateThumbnailInStreamOptionalParameter generateThumbnailInStreamOptionalParameter)
This operation generates a thumbnail image with the user-specified width and height. |
rx.Observable<com.microsoft.rest.ServiceResponse<Input |
generateThumbnailInStreamWithServiceResponseAsync(int width, int height, byte[] image, Boolean smartCropping, String modelVersion)
This operation generates a thumbnail image with the user-specified width and height. |
rx.Observable<com.microsoft.rest.ServiceResponse<Input |
generateThumbnailWithServiceResponseAsync(int width, int height, String url, GenerateThumbnailOptionalParameter generateThumbnailOptionalParameter)
This operation generates a thumbnail image with the user-specified width and height. |
rx.Observable<com.microsoft.rest.ServiceResponse<Input |
generateThumbnailWithServiceResponseAsync(int width, int height, String url, Boolean smartCropping, String modelVersion)
This operation generates a thumbnail image with the user-specified width and height. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionGetAreaOfInterestParameters |
getAreaOfInterest()
This operation returns a bounding box around the most important area of the image. |
Area |
getAreaOfInterest(String url, GetAreaOfInterestOptionalParameter getAreaOfInterestOptionalParameter)
This operation returns a bounding box around the most important area of the image. |
rx.Observable<Area |
getAreaOfInterestAsync(String url, GetAreaOfInterestOptionalParameter getAreaOfInterestOptionalParameter)
This operation returns a bounding box around the most important area of the image. |
com.microsoft.rest.ServiceFuture<Area |
getAreaOfInterestAsync(String url, GetAreaOfInterestOptionalParameter getAreaOfInterestOptionalParameter, ServiceCallback<AreaOfInterestResult> serviceCallback)
This operation returns a bounding box around the most important area of the image. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionGetAreaOfInterestInStreamParameters |
getAreaOfInterestInStream()
This operation returns a bounding box around the most important area of the image. |
Area |
getAreaOfInterestInStream(byte[] image, GetAreaOfInterestInStreamOptionalParameter getAreaOfInterestInStreamOptionalParameter)
This operation returns a bounding box around the most important area of the image. |
rx.Observable<Area |
getAreaOfInterestInStreamAsync(byte[] image, GetAreaOfInterestInStreamOptionalParameter getAreaOfInterestInStreamOptionalParameter)
This operation returns a bounding box around the most important area of the image. |
com.microsoft.rest.ServiceFuture<Area |
getAreaOfInterestInStreamAsync(byte[] image, GetAreaOfInterestInStreamOptionalParameter getAreaOfInterestInStreamOptionalParameter, ServiceCallback<AreaOfInterestResult> serviceCallback)
This operation returns a bounding box around the most important area of the image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Area |
getAreaOfInterestInStreamWithServiceResponseAsync(byte[] image, GetAreaOfInterestInStreamOptionalParameter getAreaOfInterestInStreamOptionalParameter)
This operation returns a bounding box around the most important area of the image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Area |
getAreaOfInterestInStreamWithServiceResponseAsync(byte[] image, String modelVersion)
This operation returns a bounding box around the most important area of the image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Area |
getAreaOfInterestWithServiceResponseAsync(String url, GetAreaOfInterestOptionalParameter getAreaOfInterestOptionalParameter)
This operation returns a bounding box around the most important area of the image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Area |
getAreaOfInterestWithServiceResponseAsync(String url, String modelVersion)
This operation returns a bounding box around the most important area of the image. |
Read |
getReadResult(UUID operationId)
This interface is used for getting OCR results of Read operation. |
rx.Observable<Read |
getReadResultAsync(UUID operationId)
This interface is used for getting OCR results of Read operation. |
com.microsoft.rest.ServiceFuture<Read |
getReadResultAsync(UUID operationId, ServiceCallback<ReadOperationResult> serviceCallback)
This interface is used for getting OCR results of Read operation. |
rx.Observable<com.microsoft.rest.ServiceResponse<Read |
getReadResultWithServiceResponseAsync(UUID operationId)
This interface is used for getting OCR results of Read operation. |
List |
listModels()
This operation returns the list of domain-specific models that are supported by the Computer Vision API. |
rx.Observable<List |
listModelsAsync()
This operation returns the list of domain-specific models that are supported by the Computer Vision API. |
com.microsoft.rest.ServiceFuture<List |
listModelsAsync(ServiceCallback<ListModelsResult> serviceCallback)
This operation returns the list of domain-specific models that are supported by the Computer Vision API. |
rx.Observable<com.microsoft.rest.ServiceResponse<List |
listModelsWithServiceResponseAsync()
This operation returns the list of domain-specific models that are supported by the Computer Vision API. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionReadParameters |
read()
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
void |
read(String url, ReadOptionalParameter readOptionalParameter)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
rx.Observable<Void> |
readAsync(String url, ReadOptionalParameter readOptionalParameter)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
com.microsoft.rest.ServiceFuture<Void> |
readAsync(String url, ReadOptionalParameter readOptionalParameter, ServiceCallback<Void> serviceCallback)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionReadInStreamParameters |
readInStream()
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
void |
readInStream(byte[] image, ReadInStreamOptionalParameter readInStreamOptionalParameter)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
rx.Observable<Void> |
readInStreamAsync(byte[] image, ReadInStreamOptionalParameter readInStreamOptionalParameter)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
com.microsoft.rest.ServiceFuture<Void> |
readInStreamAsync(byte[] image, ReadInStreamOptionalParameter readInStreamOptionalParameter, ServiceCallback<Void> serviceCallback)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Read |
readInStreamWithServiceResponseAsync(byte[] image, OcrDetectionLanguage language, List<String> pages, String modelVersion, String readingOrder)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Read |
readInStreamWithServiceResponseAsync(byte[] image, ReadInStreamOptionalParameter readInStreamOptionalParameter)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Read |
readWithServiceResponseAsync(String url, OcrDetectionLanguage language, List<String> pages, String modelVersion, String readingOrder)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Read |
readWithServiceResponseAsync(String url, ReadOptionalParameter readOptionalParameter)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionRecognizePrintedTextParameters |
recognizePrintedText()
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
Ocr |
recognizePrintedText(boolean detectOrientation, String url, RecognizePrintedTextOptionalParameter recognizePrintedTextOptionalParameter)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
rx.Observable<Ocr |
recognizePrintedTextAsync(boolean detectOrientation, String url, RecognizePrintedTextOptionalParameter recognizePrintedTextOptionalParameter)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
com.microsoft.rest.ServiceFuture<Ocr |
recognizePrintedTextAsync(boolean detectOrientation, String url, RecognizePrintedTextOptionalParameter recognizePrintedTextOptionalParameter, ServiceCallback<OcrResult> serviceCallback)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionRecognizePrintedTextInStreamParameters |
recognizePrintedTextInStream()
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
Ocr |
recognizePrintedTextInStream(boolean detectOrientation, byte[] image, RecognizePrintedTextInStreamOptionalParameter recognizePrintedTextInStreamOptionalParameter)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
rx.Observable<Ocr |
recognizePrintedTextInStreamAsync(boolean detectOrientation, byte[] image, RecognizePrintedTextInStreamOptionalParameter recognizePrintedTextInStreamOptionalParameter)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
com.microsoft.rest.ServiceFuture<Ocr |
recognizePrintedTextInStreamAsync(boolean detectOrientation, byte[] image, RecognizePrintedTextInStreamOptionalParameter recognizePrintedTextInStreamOptionalParameter, ServiceCallback<OcrResult> serviceCallback)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
rx.Observable<com.microsoft.rest.ServiceResponse<Ocr |
recognizePrintedTextInStreamWithServiceResponseAsync(boolean detectOrientation, byte[] image, OcrLanguages language, String modelVersion)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
rx.Observable<com.microsoft.rest.ServiceResponse<Ocr |
recognizePrintedTextInStreamWithServiceResponseAsync(boolean detectOrientation, byte[] image, RecognizePrintedTextInStreamOptionalParameter recognizePrintedTextInStreamOptionalParameter)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
rx.Observable<com.microsoft.rest.ServiceResponse<Ocr |
recognizePrintedTextWithServiceResponseAsync(boolean detectOrientation, String url, OcrLanguages language, String modelVersion)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
rx.Observable<com.microsoft.rest.ServiceResponse<Ocr |
recognizePrintedTextWithServiceResponseAsync(boolean detectOrientation, String url, RecognizePrintedTextOptionalParameter recognizePrintedTextOptionalParameter)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionTagImageParameters |
tagImage()
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
Tag |
tagImage(String url, TagImageOptionalParameter tagImageOptionalParameter)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
rx.Observable<Tag |
tagImageAsync(String url, TagImageOptionalParameter tagImageOptionalParameter)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
com.microsoft.rest.ServiceFuture<Tag |
tagImageAsync(String url, TagImageOptionalParameter tagImageOptionalParameter, ServiceCallback<TagResult> serviceCallback)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
com.microsoft.azure.cognitiveservices.vision.computervision.implementation.ComputerVisionImpl.ComputerVisionTagImageInStreamParameters |
tagImageInStream()
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
Tag |
tagImageInStream(byte[] image, TagImageInStreamOptionalParameter tagImageInStreamOptionalParameter)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
rx.Observable<Tag |
tagImageInStreamAsync(byte[] image, TagImageInStreamOptionalParameter tagImageInStreamOptionalParameter)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
com.microsoft.rest.ServiceFuture<Tag |
tagImageInStreamAsync(byte[] image, TagImageInStreamOptionalParameter tagImageInStreamOptionalParameter, ServiceCallback<TagResult> serviceCallback)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Tag |
tagImageInStreamWithServiceResponseAsync(byte[] image, TagImageInStreamOptionalParameter tagImageInStreamOptionalParameter)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Tag |
tagImageInStreamWithServiceResponseAsync(byte[] image, String language, String modelVersion)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Tag |
tagImageWithServiceResponseAsync(String url, TagImageOptionalParameter tagImageOptionalParameter)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
rx.Observable<com.microsoft.rest.ServiceResponse<Tag |
tagImageWithServiceResponseAsync(String url, String language, String modelVersion)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. |
Methods inherited from java.lang.Object
Constructor Details
ComputerVisionImpl
public ComputerVisionImpl(Retrofit retrofit, ComputerVisionClientImpl client)
Initializes an instance of ComputerVisionImpl.
Parameters:
Method Details
analyzeImage
public ComputerVisionImpl.ComputerVisionAnalyzeImageParameters analyzeImage()
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
analyzeImage
public ImageAnalysis analyzeImage(String url, AnalyzeImageOptionalParameter analyzeImageOptionalParameter)
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageAsync
public Observable
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageAsync
public ServiceFuture
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageByDomain
public ComputerVisionImpl.ComputerVisionAnalyzeImageByDomainParameters analyzeImageByDomain()
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
analyzeImageByDomain
public DomainModelResults analyzeImageByDomain(String model, String url, AnalyzeImageByDomainOptionalParameter analyzeImageByDomainOptionalParameter)
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageByDomainAsync
public Observable
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageByDomainAsync
public ServiceFuture
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageByDomainInStream
public ComputerVisionImpl.ComputerVisionAnalyzeImageByDomainInStreamParameters analyzeImageByDomainInStream()
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
analyzeImageByDomainInStream
public DomainModelResults analyzeImageByDomainInStream(String model, byte[] image, AnalyzeImageByDomainInStreamOptionalParameter analyzeImageByDomainInStreamOptionalParameter)
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageByDomainInStreamAsync
public Observable
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageByDomainInStreamAsync
public ServiceFuture
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageByDomainInStreamWithServiceResponseAsync
public Observable<>
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageByDomainInStreamWithServiceResponseAsync
public Observable<>
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageByDomainWithServiceResponseAsync
public Observable<>
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageByDomainWithServiceResponseAsync
public Observable<>
This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageInStream
public ComputerVisionImpl.ComputerVisionAnalyzeImageInStreamParameters analyzeImageInStream()
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
analyzeImageInStream
public ImageAnalysis analyzeImageInStream(byte[] image, AnalyzeImageInStreamOptionalParameter analyzeImageInStreamOptionalParameter)
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageInStreamAsync
public Observable
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageInStreamAsync
public ServiceFuture
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageInStreamWithServiceResponseAsync
public Observable<>
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageInStreamWithServiceResponseAsync
public Observable<>
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageWithServiceResponseAsync
public Observable<>
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
analyzeImageWithServiceResponseAsync
public Observable<>
This operation extracts a rich set of visual features based on the image content. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. Within your request, there is an optional parameter to allow you to choose which features to return. By default, image categories are returned in the response. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
describeImage
public ComputerVisionImpl.ComputerVisionDescribeImageParameters describeImage()
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
describeImage
public ImageDescription describeImage(String url, DescribeImageOptionalParameter describeImageOptionalParameter)
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
describeImageAsync
public Observable
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
describeImageAsync
public ServiceFuture
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
describeImageInStream
public ComputerVisionImpl.ComputerVisionDescribeImageInStreamParameters describeImageInStream()
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
describeImageInStream
public ImageDescription describeImageInStream(byte[] image, DescribeImageInStreamOptionalParameter describeImageInStreamOptionalParameter)
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
describeImageInStreamAsync
public Observable
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
describeImageInStreamAsync
public ServiceFuture
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
describeImageInStreamWithServiceResponseAsync
public Observable<>
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
describeImageInStreamWithServiceResponseAsync
public Observable<>
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
describeImageWithServiceResponseAsync
public Observable<>
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
describeImageWithServiceResponseAsync
public Observable<>
This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
detectObjects
public ComputerVisionImpl.ComputerVisionDetectObjectsParameters detectObjects()
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
detectObjects
public DetectResult detectObjects(String url, DetectObjectsOptionalParameter detectObjectsOptionalParameter)
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
detectObjectsAsync
public Observable
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
detectObjectsAsync
public ServiceFuture
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
detectObjectsInStream
public ComputerVisionImpl.ComputerVisionDetectObjectsInStreamParameters detectObjectsInStream()
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
detectObjectsInStream
public DetectResult detectObjectsInStream(byte[] image, DetectObjectsInStreamOptionalParameter detectObjectsInStreamOptionalParameter)
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
detectObjectsInStreamAsync
public Observable
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
detectObjectsInStreamAsync
public ServiceFuture
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
detectObjectsInStreamWithServiceResponseAsync
public Observable<>
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
detectObjectsInStreamWithServiceResponseAsync
public Observable<>
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
detectObjectsWithServiceResponseAsync
public Observable<>
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
detectObjectsWithServiceResponseAsync
public Observable<>
Performs object detection on the specified image. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
generateThumbnail
public ComputerVisionImpl.ComputerVisionGenerateThumbnailParameters generateThumbnail()
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
generateThumbnail
public InputStream generateThumbnail(int width, int height, String url, GenerateThumbnailOptionalParameter generateThumbnailOptionalParameter)
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
Parameters:
Returns:
generateThumbnailAsync
public Observable
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
Parameters:
Returns:
generateThumbnailAsync
public ServiceFuture
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
Parameters:
Returns:
generateThumbnailInStream
public ComputerVisionImpl.ComputerVisionGenerateThumbnailInStreamParameters generateThumbnailInStream()
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
generateThumbnailInStream
public InputStream generateThumbnailInStream(int width, int height, byte[] image, GenerateThumbnailInStreamOptionalParameter generateThumbnailInStreamOptionalParameter)
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
Parameters:
Returns:
generateThumbnailInStreamAsync
public Observable
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
Parameters:
Returns:
generateThumbnailInStreamAsync
public ServiceFuture
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
Parameters:
Returns:
generateThumbnailInStreamWithServiceResponseAsync
public Observable<>
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
Parameters:
Returns:
generateThumbnailInStreamWithServiceResponseAsync
public Observable<>
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
Parameters:
Returns:
generateThumbnailWithServiceResponseAsync
public Observable<>
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
Parameters:
Returns:
generateThumbnailWithServiceResponseAsync
public Observable<>
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that differs from that of the input image. A successful response contains the thumbnail image binary. 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, InvalidThumbnailSize, NotSupportedImage, FailedToProcess, Timeout, or InternalServerError.
Parameters:
Returns:
getAreaOfInterest
public ComputerVisionImpl.ComputerVisionGetAreaOfInterestParameters getAreaOfInterest()
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.
getAreaOfInterest
public AreaOfInterestResult getAreaOfInterest(String url, GetAreaOfInterestOptionalParameter getAreaOfInterestOptionalParameter)
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.
Parameters:
Returns:
getAreaOfInterestAsync
public Observable
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.
Parameters:
Returns:
getAreaOfInterestAsync
public ServiceFuture
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.
Parameters:
Returns:
getAreaOfInterestInStream
public ComputerVisionImpl.ComputerVisionGetAreaOfInterestInStreamParameters getAreaOfInterestInStream()
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.
getAreaOfInterestInStream
public AreaOfInterestResult getAreaOfInterestInStream(byte[] image, GetAreaOfInterestInStreamOptionalParameter getAreaOfInterestInStreamOptionalParameter)
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.
Parameters:
Returns:
getAreaOfInterestInStreamAsync
public Observable
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.
Parameters:
Returns:
getAreaOfInterestInStreamAsync
public ServiceFuture
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.
Parameters:
Returns:
getAreaOfInterestInStreamWithServiceResponseAsync
public Observable<>
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.
Parameters:
Returns:
getAreaOfInterestInStreamWithServiceResponseAsync
public Observable<>
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.
Parameters:
Returns:
getAreaOfInterestWithServiceResponseAsync
public Observable<>
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.
Parameters:
Returns:
getAreaOfInterestWithServiceResponseAsync
public Observable<>
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.
Parameters:
Returns:
getReadResult
public ReadOperationResult getReadResult(UUID operationId)
This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Read interface.
Parameters:
Returns:
getReadResultAsync
public Observable
This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Read interface.
Parameters:
Returns:
getReadResultAsync
public ServiceFuture
This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Read interface.
Parameters:
Returns:
getReadResultWithServiceResponseAsync
public Observable<>
This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Read interface.
Parameters:
Returns:
listModels
public ListModelsResult listModels()
This operation returns the list of domain-specific models that are supported by the Computer Vision API. Currently, the API supports following domain-specific models: celebrity recognizer, landmark recognizer. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Returns:
listModelsAsync
public Observable
This operation returns the list of domain-specific models that are supported by the Computer Vision API. Currently, the API supports following domain-specific models: celebrity recognizer, landmark recognizer. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Returns:
listModelsAsync
public ServiceFuture
This operation returns the list of domain-specific models that are supported by the Computer Vision API. Currently, the API supports following domain-specific models: celebrity recognizer, landmark recognizer. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
listModelsWithServiceResponseAsync
public Observable<>
This operation returns the list of domain-specific models that are supported by the Computer Vision API. Currently, the API supports following domain-specific models: celebrity recognizer, landmark recognizer. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Returns:
read
public ComputerVisionImpl.ComputerVisionReadParameters read()
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
read
public void read(String url, ReadOptionalParameter readOptionalParameter)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
Parameters:
readAsync
public Observable
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
Parameters:
Returns:
readAsync
public ServiceFuture
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
Parameters:
Returns:
readInStream
public ComputerVisionImpl.ComputerVisionReadInStreamParameters readInStream()
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
readInStream
public void readInStream(byte[] image, ReadInStreamOptionalParameter readInStreamOptionalParameter)
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
Parameters:
readInStreamAsync
public Observable
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
Parameters:
Returns:
readInStreamAsync
public ServiceFuture
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
Parameters:
Returns:
readInStreamWithServiceResponseAsync
public Observable<>
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
Parameters:
Returns:
readInStreamWithServiceResponseAsync
public Observable<>
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
Parameters:
Returns:
readWithServiceResponseAsync
public Observable<>
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
Parameters:
Returns:
readWithServiceResponseAsync
public Observable<>
Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadResult' operation to access OCR results.\u200b.
Parameters:
Returns:
recognizePrintedText
public ComputerVisionImpl.ComputerVisionRecognizePrintedTextParameters recognizePrintedText()
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
recognizePrintedText
public OcrResult recognizePrintedText(boolean detectOrientation, String url, RecognizePrintedTextOptionalParameter recognizePrintedTextOptionalParameter)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
Parameters:
Returns:
recognizePrintedTextAsync
public Observable
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
Parameters:
Returns:
recognizePrintedTextAsync
public ServiceFuture
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
Parameters:
Returns:
recognizePrintedTextInStream
public ComputerVisionImpl.ComputerVisionRecognizePrintedTextInStreamParameters recognizePrintedTextInStream()
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
recognizePrintedTextInStream
public OcrResult recognizePrintedTextInStream(boolean detectOrientation, byte[] image, RecognizePrintedTextInStreamOptionalParameter recognizePrintedTextInStreamOptionalParameter)
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
Parameters:
Returns:
recognizePrintedTextInStreamAsync
public Observable
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
Parameters:
Returns:
recognizePrintedTextInStreamAsync
public ServiceFuture
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
Parameters:
Returns:
recognizePrintedTextInStreamWithServiceResponseAsync
public Observable<>
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
Parameters:
Returns:
recognizePrintedTextInStreamWithServiceResponseAsync
public Observable<>
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
Parameters:
Returns:
recognizePrintedTextWithServiceResponseAsync
public Observable<>
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
Parameters:
Returns:
recognizePrintedTextWithServiceResponseAsync
public Observable<>
Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine-usable character stream. Upon success, the OCR results will be returned. Upon failure, the error code together with an error message will be returned. The error code can be one of InvalidImageUrl, InvalidImageFormat, InvalidImageSize, NotSupportedImage, NotSupportedLanguage, or InternalServerError.
Parameters:
Returns:
tagImage
public ComputerVisionImpl.ComputerVisionTagImageParameters tagImage()
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
tagImage
public TagResult tagImage(String url, TagImageOptionalParameter tagImageOptionalParameter)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
tagImageAsync
public Observable
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
tagImageAsync
public ServiceFuture
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
tagImageInStream
public ComputerVisionImpl.ComputerVisionTagImageInStreamParameters tagImageInStream()
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
tagImageInStream
public TagResult tagImageInStream(byte[] image, TagImageInStreamOptionalParameter tagImageInStreamOptionalParameter)
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
tagImageInStreamAsync
public Observable
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
tagImageInStreamAsync
public ServiceFuture
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
tagImageInStreamWithServiceResponseAsync
public Observable<>
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
tagImageInStreamWithServiceResponseAsync
public Observable<>
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
tagImageWithServiceResponseAsync
public Observable<>
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
tagImageWithServiceResponseAsync
public Observable<>
This operation generates a list of words, or tags, that are relevant to the content of the supplied image. The Computer Vision API can return tags based on objects, living beings, scenery or actions found in images. Unlike categories, tags are not organized according to a hierarchical classification system, but correspond to image content. Tags may contain hints to avoid ambiguity or provide context, for example the tag "ascomycete" may be accompanied by the hint "fungus". Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for