diff --git a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/ComputerVision.json b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/ComputerVision.json index afc702a14218..9b07da49c9da 100644 --- a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/ComputerVision.json +++ b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/ComputerVision.json @@ -901,6 +901,7 @@ "textAngle": { "type": "number", "format": "double", + "x-nullable": false, "description": "The angle, in degrees, of the detected text with respect to the closest horizontal or vertical direction. After rotating the input image clockwise by this angle, the recognized text lines become horizontal or vertical. In combination with the orientation property it can be used to overlay recognition results correctly on the original image, by rotating either the original image or recognition results by a suitable angle around the center of the original image. If the angle cannot be confidently detected, this property is not present. If the image contains text at different angles, only part of the text will be recognized correctly." }, "orientation": { @@ -1116,6 +1117,7 @@ "confidence": { "type": "number", "format": "double", + "x-nullable": false, "description": "The level of confidence the service has in the caption" } } @@ -1131,7 +1133,12 @@ "confidence": { "type": "number", "format": "double", + "x-nullable": false, "description": "The level of confidence the service has in the caption" + }, + "hint": { + "type": "string", + "description": "Optional categorization for the tag" } } }, @@ -1142,11 +1149,13 @@ "width": { "type": "integer", "format": "int32", + "x-nullable": false, "description": "Image width" }, "height": { "type": "integer", "format": "int32", + "x-nullable": false, "description": "Image height" }, "format": { @@ -1166,6 +1175,7 @@ "confidence": { "type": "number", "format": "double", + "x-nullable": false, "description": "Level of confidence ranging from 0 to 1." }, "faceRectangle": { @@ -1184,6 +1194,7 @@ "confidence": { "type": "number", "format": "double", + "x-nullable": false, "description": "Confidence level for the landmark recognition." } } @@ -1194,18 +1205,22 @@ "properties": { "left": { "type": "integer", + "x-nullable": false, "description": "X-coordinate of the top left point of the face." }, "top": { "type": "integer", + "x-nullable": false, "description": "Y-coordinate of the top left point of the face." }, "width": { "type": "integer", + "x-nullable": false, "description": "Width measured from the top-left point of the face." }, "height": { "type": "integer", + "x-nullable": false, "description": "Height measured from the top-left point of the face." } } @@ -1216,6 +1231,7 @@ "properties": { "age": { "type": "integer", + "x-nullable": false, "description": "Possible age of the face." }, "gender": { @@ -1241,10 +1257,12 @@ "properties": { "clipArtType": { "type": "number", + "x-nullable": false, "description": "Confidence level that the image is a clip art." }, "lineDrawingType": { "type": "number", + "x-nullable": false, "description": "Confidence level that the image is a line drawing." } } @@ -1317,6 +1335,7 @@ "score": { "type": "number", "format": "double", + "x-nullable": false, "description": "Scoring of the category." }, "detail": { diff --git a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulAnalyzeWithStream.json b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulAnalyzeWithStream.json index 562773f07549..e1ea36075e27 100644 --- a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulAnalyzeWithStream.json +++ b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulAnalyzeWithStream.json @@ -63,6 +63,11 @@ { "name": "window", "confidence": 0.89513939619064331 + }, + { + "name": "pangolin", + "confidence": 0.7250059783791661, + "hint": "mammal" } ], "description": { diff --git a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulAnalyzeWithUrl.json b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulAnalyzeWithUrl.json index 37da3d805f70..71f9e8f4b8dd 100644 --- a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulAnalyzeWithUrl.json +++ b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulAnalyzeWithUrl.json @@ -69,6 +69,11 @@ { "name": "window", "confidence": 0.89513939619064331 + }, + { + "name": "pangolin", + "confidence": 0.7250059783791661, + "hint": "mammal" } ], "description": {