Analyze an image using the Computer Vision API
The Computer Vision API allows us to process an image and retrieve information about it. It relies on advanced algorithms to analyze the content of the image in different ways, based on our needs.
Throughout this section, we will learn how to take advantage of this API. We will look at the different ways to analyze an image through standalone examples. Some of the features we will cover will also be incorporated into our end-to-end application in a later chapter.
Calling any of the APIs will return one of the following response codes:
Code |
Description |
---|---|
|
Information of the extracted features in JSON format. |
|
Typically, this means bad request. It may be an invalid image URL, an image that is too small or too large, an invalid image format, or any other errors to do with the request body. |
|
Unsupported media type. |
|
Possible errors may include a failure to process the image, image processing timing out, or an internal... |