Skip to content

Commit

Permalink
ComputerVision: Update to v2.0
Browse files Browse the repository at this point in the history
ComputerVision: Update to v2.0
  • Loading branch information
dsgouda authored Jun 21, 2018
2 parents 34c2308 + 0e8868d commit 741afc4
Show file tree
Hide file tree
Showing 43 changed files with 662 additions and 316 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag />
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Entries": [
{
"RequestUri": "/vision/v1.0/analyze?visualFeatures=Adult%2CCategories%2CColor%2CFaces%2CImageType%2CTags",
"EncodedRequestUri": "L3Zpc2lvbi92MS4wL2FuYWx5emU/dmlzdWFsRmVhdHVyZXM9QWR1bHQlMkNDYXRlZ29yaWVzJTJDQ29sb3IlMkNGYWNlcyUyQ0ltYWdlVHlwZSUyQ1RhZ3M=",
"RequestUri": "/vision/v2.0/analyze?visualFeatures=Adult%2CCategories%2CColor%2CFaces%2CImageType%2CTags",
"EncodedRequestUri": "L3Zpc2lvbi92Mi4wL2FuYWx5emU/dmlzdWFsRmVhdHVyZXM9QWR1bHQlMkNDYXRlZ29yaWVzJTJDQ29sb3IlMkNGYWNlcyUyQ0ltYWdlVHlwZSUyQ1RhZ3M=",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"url\": \"https://raw.githubusercontent.com/Azure/azure-sdk-for-net/psSdkJson6/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision.Tests/TestImages/house.jpg\"\r\n}",
"RequestHeaders": {
Expand All @@ -17,10 +17,10 @@
],
"User-Agent": [
"FxVersion/4.6.25211.01",
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/0.0.0.0"
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/2.0.0.0"
]
},
"ResponseBody": "{\r\n \"categories\": [\r\n {\r\n \"name\": \"building_\",\r\n \"score\": 0.640625\r\n },\r\n {\r\n \"name\": \"outdoor_house\",\r\n \"score\": 0.31640625\r\n }\r\n ],\r\n \"tags\": [\r\n {\r\n \"name\": \"grass\",\r\n \"confidence\": 0.9999992847442627\r\n },\r\n {\r\n \"name\": \"outdoor\",\r\n \"confidence\": 0.99983179569244385\r\n },\r\n {\r\n \"name\": \"sky\",\r\n \"confidence\": 0.994972825050354\r\n },\r\n {\r\n \"name\": \"house\",\r\n \"confidence\": 0.98920279741287231\r\n },\r\n {\r\n \"name\": \"building\",\r\n \"confidence\": 0.96683281660079956\r\n },\r\n {\r\n \"name\": \"green\",\r\n \"confidence\": 0.84886491298675537\r\n },\r\n {\r\n \"name\": \"lawn\",\r\n \"confidence\": 0.8137822151184082\r\n },\r\n {\r\n \"name\": \"residential\",\r\n \"confidence\": 0.41664695739746094\r\n },\r\n {\r\n \"name\": \"grassy\",\r\n \"confidence\": 0.40174955129623413\r\n }\r\n ],\r\n \"faces\": [],\r\n \"adult\": {\r\n \"isAdultContent\": false,\r\n \"adultScore\": 0.010395138524472713,\r\n \"isRacyContent\": false,\r\n \"racyScore\": 0.014745410531759262\r\n },\r\n \"color\": {\r\n \"dominantColorForeground\": \"Green\",\r\n \"dominantColorBackground\": \"Green\",\r\n \"dominantColors\": [\r\n \"Green\",\r\n \"White\"\r\n ],\r\n \"accentColor\": \"448318\",\r\n \"isBwImg\": false\r\n },\r\n \"imageType\": {\r\n \"clipArtType\": 0,\r\n \"lineDrawingType\": 0\r\n },\r\n \"requestId\": \"2d2d6fe3-3200-4e03-ab0c-c50b3ef0df0b\",\r\n \"metadata\": {\r\n \"height\": 462,\r\n \"width\": 600,\r\n \"format\": \"Jpeg\"\r\n }\r\n}",
"ResponseBody": "{\r\n \"categories\": [\r\n {\r\n \"name\": \"building_\",\r\n \"score\": 0.640625\r\n },\r\n {\r\n \"name\": \"outdoor_house\",\r\n \"score\": 0.31640625\r\n }\r\n ],\r\n \"tags\": [\r\n {\r\n \"name\": \"grass\",\r\n \"confidence\": 0.9999992847442627\r\n },\r\n {\r\n \"name\": \"outdoor\",\r\n \"confidence\": 0.99983179569244385\r\n },\r\n {\r\n \"name\": \"sky\",\r\n \"confidence\": 0.994972825050354\r\n },\r\n {\r\n \"name\": \"house\",\r\n \"confidence\": 0.98920279741287231\r\n },\r\n {\r\n \"name\": \"building\",\r\n \"confidence\": 0.96683281660079956\r\n },\r\n {\r\n \"name\": \"green\",\r\n \"confidence\": 0.84886491298675537\r\n },\r\n {\r\n \"name\": \"lawn\",\r\n \"confidence\": 0.8137822151184082\r\n },\r\n {\r\n \"name\": \"residential\",\r\n \"confidence\": 0.41664695739746094\r\n },\r\n {\r\n \"name\": \"grassy\",\r\n \"confidence\": 0.40174955129623413\r\n }\r\n ],\r\n \"faces\": [],\r\n \"adult\": {\r\n \"isAdultContent\": false,\r\n \"adultScore\": 0.010395138524472713,\r\n \"isRacyContent\": false,\r\n \"racyScore\": 0.014745410531759262\r\n },\r\n \"color\": {\r\n \"dominantColorForeground\": \"Green\",\r\n \"dominantColorBackground\": \"Green\",\r\n \"dominantColors\": [\r\n \"Green\",\r\n \"White\"\r\n ],\r\n \"accentColor\": \"448318\",\r\n \"isBwImg\": false\r\n },\r\n \"imageType\": {\r\n \"clipArtType\": 0,\r\n \"lineDrawingType\": 0\r\n },\r\n \"requestId\": \"0e5ebd24-00a2-4f86-a088-12a58d335c98\",\r\n \"metadata\": {\r\n \"height\": 462,\r\n \"width\": 600,\r\n \"format\": \"Jpeg\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"1002"
Expand All @@ -32,10 +32,10 @@
"close"
],
"Date": [
"Wed, 30 May 2018 20:53:41 GMT"
"Thu, 14 Jun 2018 00:34:16 GMT"
],
"apim-request-id": [
"2d2d6fe3-3200-4e03-ab0c-c50b3ef0df0b"
"0e5ebd24-00a2-4f86-a088-12a58d335c98"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains; preload"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Entries": [
{
"RequestUri": "/vision/v1.0/describe?maxCandidates=1&language=ja",
"EncodedRequestUri": "L3Zpc2lvbi92MS4wL2Rlc2NyaWJlP21heENhbmRpZGF0ZXM9MSZsYW5ndWFnZT1qYQ==",
"RequestUri": "/vision/v2.0/describe?maxCandidates=1&language=ja",
"EncodedRequestUri": "L3Zpc2lvbi92Mi4wL2Rlc2NyaWJlP21heENhbmRpZGF0ZXM9MSZsYW5ndWFnZT1qYQ==",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"url\": \"https://raw.githubusercontent.com/Azure/azure-sdk-for-net/psSdkJson6/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision.Tests/TestImages/dog.jpg\"\r\n}",
"RequestHeaders": {
Expand All @@ -17,10 +17,10 @@
],
"User-Agent": [
"FxVersion/4.6.25211.01",
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/0.0.0.0"
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/2.0.0.0"
]
},
"ResponseBody": "{\r\n \"description\": {\r\n \"tags\": [\r\n \"\",\r\n \"屋外\",\r\n \"座る\",\r\n \"動物\",\r\n \"哺乳類\",\r\n \"探す\",\r\n \"茶色\",\r\n \"ベンチ\",\r\n \"イエロー\",\r\n \"フロント\",\r\n \"大きい\",\r\n \"木製\",\r\n \"小さい\",\r\n \"ホワイト\",\r\n \"立つ\",\r\n \"閉じる\",\r\n \"テーブル\",\r\n \"オレンジ\",\r\n \"横たわる\",\r\n \"公園\",\r\n \"\"\r\n ],\r\n \"captions\": [\r\n {\r\n \"text\": \"犬の顔\",\r\n \"confidence\": 0.80020958730655689\r\n }\r\n ]\r\n },\r\n \"requestId\": \"f602086d-a901-420e-b90e-86592fc2d5d7\",\r\n \"metadata\": {\r\n \"height\": 599,\r\n \"width\": 455,\r\n \"format\": \"Jpeg\"\r\n }\r\n}",
"ResponseBody": "{\r\n \"description\": {\r\n \"tags\": [\r\n \"\",\r\n \"屋外\",\r\n \"座る\",\r\n \"動物\",\r\n \"哺乳類\",\r\n \"探す\",\r\n \"茶色\",\r\n \"ベンチ\",\r\n \"イエロー\",\r\n \"フロント\",\r\n \"大きい\",\r\n \"木製\",\r\n \"小さい\",\r\n \"ホワイト\",\r\n \"立つ\",\r\n \"閉じる\",\r\n \"テーブル\",\r\n \"オレンジ\",\r\n \"横たわる\",\r\n \"公園\",\r\n \"\"\r\n ],\r\n \"captions\": [\r\n {\r\n \"text\": \"犬の顔\",\r\n \"confidence\": 0.80020958730655689\r\n }\r\n ]\r\n },\r\n \"requestId\": \"f6de1e39-ca60-42cb-a6c5-ac288064f46c\",\r\n \"metadata\": {\r\n \"height\": 599,\r\n \"width\": 455,\r\n \"format\": \"Jpeg\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"432"
Expand All @@ -32,10 +32,10 @@
"close"
],
"Date": [
"Wed, 30 May 2018 20:53:38 GMT"
"Thu, 14 Jun 2018 00:34:20 GMT"
],
"apim-request-id": [
"f602086d-a901-420e-b90e-86592fc2d5d7"
"f6de1e39-ca60-42cb-a6c5-ac288064f46c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains; preload"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Entries": [
{
"RequestUri": "/vision/v1.0/describe?maxCandidates=2",
"EncodedRequestUri": "L3Zpc2lvbi92MS4wL2Rlc2NyaWJlP21heENhbmRpZGF0ZXM9Mg==",
"RequestUri": "/vision/v2.0/describe?maxCandidates=2",
"EncodedRequestUri": "L3Zpc2lvbi92Mi4wL2Rlc2NyaWJlP21heENhbmRpZGF0ZXM9Mg==",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"url\": \"https://raw.githubusercontent.com/Azure/azure-sdk-for-net/psSdkJson6/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision.Tests/TestImages/dog.jpg\"\r\n}",
"RequestHeaders": {
Expand All @@ -17,10 +17,10 @@
],
"User-Agent": [
"FxVersion/4.6.25211.01",
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/0.0.0.0"
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/2.0.0.0"
]
},
"ResponseBody": "{\r\n \"description\": {\r\n \"tags\": [\r\n \"dog\",\r\n \"outdoor\",\r\n \"sitting\",\r\n \"animal\",\r\n \"mammal\",\r\n \"looking\",\r\n \"brown\",\r\n \"bench\",\r\n \"yellow\",\r\n \"front\",\r\n \"large\",\r\n \"wooden\",\r\n \"small\",\r\n \"white\",\r\n \"standing\",\r\n \"close\",\r\n \"table\",\r\n \"orange\",\r\n \"laying\",\r\n \"park\",\r\n \"head\"\r\n ],\r\n \"captions\": [\r\n {\r\n \"text\": \"a close up of a dog\",\r\n \"confidence\": 0.96541176672082818\r\n },\r\n {\r\n \"text\": \"close up of a dog\",\r\n \"confidence\": 0.95799109896890555\r\n }\r\n ]\r\n },\r\n \"requestId\": \"b17f1aed-b5bb-4cc3-9ddf-eaedc8f7c9c3\",\r\n \"metadata\": {\r\n \"height\": 599,\r\n \"width\": 455,\r\n \"format\": \"Jpeg\"\r\n }\r\n}",
"ResponseBody": "{\r\n \"description\": {\r\n \"tags\": [\r\n \"dog\",\r\n \"outdoor\",\r\n \"sitting\",\r\n \"animal\",\r\n \"mammal\",\r\n \"looking\",\r\n \"brown\",\r\n \"bench\",\r\n \"yellow\",\r\n \"front\",\r\n \"large\",\r\n \"wooden\",\r\n \"small\",\r\n \"white\",\r\n \"standing\",\r\n \"close\",\r\n \"table\",\r\n \"orange\",\r\n \"laying\",\r\n \"park\",\r\n \"head\"\r\n ],\r\n \"captions\": [\r\n {\r\n \"text\": \"a close up of a dog\",\r\n \"confidence\": 0.96541176672082818\r\n },\r\n {\r\n \"text\": \"close up of a dog\",\r\n \"confidence\": 0.95799109896890555\r\n }\r\n ]\r\n },\r\n \"requestId\": \"ff1cd428-9958-4062-9717-4e39700453a2\",\r\n \"metadata\": {\r\n \"height\": 599,\r\n \"width\": 455,\r\n \"format\": \"Jpeg\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"449"
Expand All @@ -32,10 +32,10 @@
"close"
],
"Date": [
"Wed, 30 May 2018 20:53:37 GMT"
"Thu, 14 Jun 2018 00:34:19 GMT"
],
"apim-request-id": [
"b17f1aed-b5bb-4cc3-9ddf-eaedc8f7c9c3"
"ff1cd428-9958-4062-9717-4e39700453a2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains; preload"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"application/json; charset=utf-8"
],
"Content-Length": [
"107"
"105"
],
"Ocp-Apim-Subscription-Key": [
""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Entries": [
{
"RequestUri": "/vision/v1.0/models/celebrities/analyze",
"EncodedRequestUri": "L3Zpc2lvbi92MS4wL21vZGVscy9jZWxlYnJpdGllcy9hbmFseXpl",
"RequestUri": "/vision/v2.0/models/celebrities/analyze",
"EncodedRequestUri": "L3Zpc2lvbi92Mi4wL21vZGVscy9jZWxlYnJpdGllcy9hbmFseXpl",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"url\": \"https://raw.githubusercontent.com/Azure/azure-sdk-for-net/psSdkJson6/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision.Tests/TestImages/satya.jpg\"\r\n}",
"RequestHeaders": {
Expand All @@ -17,10 +17,10 @@
],
"User-Agent": [
"FxVersion/4.6.25211.01",
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/0.0.0.0"
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/2.0.0.0"
]
},
"ResponseBody": "{\r\n \"result\": {\r\n \"celebrities\": [\r\n {\r\n \"faceRectangle\": {\r\n \"top\": 50,\r\n \"left\": 212,\r\n \"width\": 54,\r\n \"height\": 54\r\n },\r\n \"name\": \"Satya Nadella\",\r\n \"confidence\": 0.98922520875930786\r\n }\r\n ]\r\n },\r\n \"requestId\": \"f4765af5-fd39-4f20-bf4b-24d1be6b8c31\",\r\n \"metadata\": {\r\n \"height\": 288,\r\n \"width\": 512,\r\n \"format\": \"Jpeg\"\r\n }\r\n}",
"ResponseBody": "{\r\n \"result\": {\r\n \"celebrities\": [\r\n {\r\n \"faceRectangle\": {\r\n \"top\": 50,\r\n \"left\": 212,\r\n \"width\": 54,\r\n \"height\": 54\r\n },\r\n \"name\": \"Satya Nadella\",\r\n \"confidence\": 0.98922520875930786\r\n }\r\n ]\r\n },\r\n \"requestId\": \"9107fba4-152e-436a-9450-4558c6379177\",\r\n \"metadata\": {\r\n \"height\": 288,\r\n \"width\": 512,\r\n \"format\": \"Jpeg\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"252"
Expand All @@ -32,10 +32,10 @@
"close"
],
"Date": [
"Wed, 30 May 2018 20:53:36 GMT"
"Thu, 14 Jun 2018 00:34:24 GMT"
],
"apim-request-id": [
"f4765af5-fd39-4f20-bf4b-24d1be6b8c31"
"9107fba4-152e-436a-9450-4558c6379177"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains; preload"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Entries": [
{
"RequestUri": "/vision/v1.0/models/landmarks/analyze?language=pt",
"EncodedRequestUri": "L3Zpc2lvbi92MS4wL21vZGVscy9sYW5kbWFya3MvYW5hbHl6ZT9sYW5ndWFnZT1wdA==",
"RequestUri": "/vision/v2.0/models/landmarks/analyze?language=pt",
"EncodedRequestUri": "L3Zpc2lvbi92Mi4wL21vZGVscy9sYW5kbWFya3MvYW5hbHl6ZT9sYW5ndWFnZT1wdA==",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"url\": \"https://raw.githubusercontent.com/Azure/azure-sdk-for-net/psSdkJson6/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision.Tests/TestImages/spaceneedle.jpg\"\r\n}",
"RequestHeaders": {
Expand All @@ -17,10 +17,10 @@
],
"User-Agent": [
"FxVersion/4.6.25211.01",
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/0.0.0.0"
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/2.0.0.0"
]
},
"ResponseBody": "{\r\n \"result\": {\r\n \"landmarks\": [\r\n {\r\n \"name\": \"Obelisco Espacial\",\r\n \"confidence\": 0.99991440773010254\r\n }\r\n ]\r\n },\r\n \"requestId\": \"a5623e39-1d7b-43ed-b936-23891383179e\",\r\n \"metadata\": {\r\n \"height\": 479,\r\n \"width\": 243,\r\n \"format\": \"Jpeg\"\r\n }\r\n}",
"ResponseBody": "{\r\n \"result\": {\r\n \"landmarks\": [\r\n {\r\n \"name\": \"Obelisco Espacial\",\r\n \"confidence\": 0.99991440773010254\r\n }\r\n ]\r\n },\r\n \"requestId\": \"c8e97c27-8cd8-41b1-9925-6e236a8c31af\",\r\n \"metadata\": {\r\n \"height\": 479,\r\n \"width\": 243,\r\n \"format\": \"Jpeg\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"193"
Expand All @@ -32,10 +32,10 @@
"close"
],
"Date": [
"Wed, 30 May 2018 20:53:34 GMT"
"Thu, 14 Jun 2018 00:34:22 GMT"
],
"apim-request-id": [
"a5623e39-1d7b-43ed-b936-23891383179e"
"c8e97c27-8cd8-41b1-9925-6e236a8c31af"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains; preload"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Entries": [
{
"RequestUri": "/vision/v1.0/ocr?detectOrientation=true&language=de",
"EncodedRequestUri": "L3Zpc2lvbi92MS4wL29jcj9kZXRlY3RPcmllbnRhdGlvbj10cnVlJmxhbmd1YWdlPWRl",
"RequestUri": "/vision/v2.0/ocr?detectOrientation=true&language=de",
"EncodedRequestUri": "L3Zpc2lvbi92Mi4wL29jcj9kZXRlY3RPcmllbnRhdGlvbj10cnVlJmxhbmd1YWdlPWRl",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"url\": \"https://raw.githubusercontent.com/Azure/azure-sdk-for-net/psSdkJson6/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision.Tests/TestImages/achtung.jpg\"\r\n}",
"RequestHeaders": {
Expand All @@ -17,7 +17,7 @@
],
"User-Agent": [
"FxVersion/4.6.25211.01",
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/0.0.0.0"
"Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionAPI/2.0.0.0"
]
},
"ResponseBody": "{\r\n \"language\": \"de\",\r\n \"orientation\": \"Up\",\r\n \"textAngle\": 0.24434609527920675,\r\n \"regions\": [\r\n {\r\n \"boundingBox\": \"115,223,562,131\",\r\n \"lines\": [\r\n {\r\n \"boundingBox\": \"115,223,562,131\",\r\n \"words\": [\r\n {\r\n \"boundingBox\": \"115,223,562,131\",\r\n \"text\": \"ACHTUNG\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n}",
Expand All @@ -32,10 +32,10 @@
"close"
],
"Date": [
"Wed, 30 May 2018 20:53:45 GMT"
"Thu, 14 Jun 2018 00:34:21 GMT"
],
"apim-request-id": [
"6da121dd-599d-4d16-9dd3-bf6117ce628b"
"72bed6e4-d0a8-4e43-987a-a974d26c92a5"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains; preload"
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 741afc4

Please sign in to comment.