官术网_书友最值得收藏!

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
200           Information of the extracted features in JSON format.
400           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.
415           Unsupported media type.
500           Possible errors may include a failure to process the image, image processing timing out, or an internal server error.
主站蜘蛛池模板: 罗定市| 湖北省| 鄯善县| 都匀市| 轮台县| 栾城县| 乌拉特后旗| 南岸区| 临夏市| 皮山县| 华池县| 宁都县| 故城县| 瑞丽市| 武陟县| 大洼县| 新宁县| 莆田市| 黑龙江省| 文安县| 凤庆县| 南宁市| 故城县| 丘北县| 东方市| 宝兴县| 灌阳县| 仪陇县| 历史| 淮阳县| 将乐县| 金华市| 盐城市| 西峡县| 资兴市| 陆丰市| 成都市| 弥勒县| 车险| 沛县| 彭泽县|