Site icon TheWindowsUpdate.com

Find objects from Images using computer/custom vision with simple flow

This post has been republished via RSS; it originally appeared at: Microsoft Tech Community - Latest Blogs - .

Find objects from Images — Simple flow

Azure Cognitive Services Computer Vision and Custom Vision

Use Computer vision to identify objects in an image

Use Case

Architecture

 

Logic Flow

 

 

 

Code

 

 

 

 

 

{
"properties": {
"categories": {
"items": {
"properties": {
"detail": {
"properties": {
"celebrities": {
"type": "array"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"score": {
"type": "number"
}
},
"required": [
"name",
"score",
"detail"
],
"type": "object"
},
"type": "array"
},
"description": {
"properties": {
"captions": {
"items": {
"properties": {
"confidence": {
"type": "number"
},
"text": {
"type": "string"
}
},
"required": [
"text",
"confidence"
],
"type": "object"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"faces": {
"items": {
"properties": {
"age": {
"type": "integer"
},
"faceRectangle": {
"properties": {
"height": {
"type": "integer"
},
"left": {
"type": "integer"
},
"top": {
"type": "integer"
},
"width": {
"type": "integer"
}
},
"type": "object"
},
"gender": {
"type": "string"
}
},
"required": [
"age",
"gender",
"faceRectangle"
],
"type": "object"
},
"type": "array"
},
"metadata": {
"properties": {
"format": {
"type": "string"
},
"height": {
"type": "integer"
},
"width": {
"type": "integer"
}
},
"type": "object"
},
"modelVersion": {
"type": "string"
},
"objects": {
"items": {
"properties": {
"confidence": {
"type": "number"
},
"object": {
"type": "string"
},
"parent": {
"properties": {
"confidence": {
"type": "number"
},
"object": {
"type": "string"
}
},
"type": "object"
},
"rectangle": {
"properties": {
"h": {
"type": "integer"
},
"w": {
"type": "integer"
},
"x": {
"type": "integer"
},
"y": {
"type": "integer"
}
},
"type": "object"
}
},
"required": [
"rectangle",
"object",
"confidence"
],
"type": "object"
},
"type": "array"
},
"requestId": {
"type": "string"
},
"tags": {
"items": {
"properties": {
"confidence": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"confidence"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
 

 

 

 

 

Original article Samples2021/computervision1.md at main · balakreshnan/Samples2021 (github.com)

 

Exit mobile version