答案 0 :(得分:1)
目前,通过Microsoft Cognitive Services提供的任何Vision API都不支持计算图像中的对象。
答案 1 :(得分:1)
您可以使用此网址自行测试 - https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision/ - >去'认识名人和地标' 这就是输出
{
"categories": [
{
"name": "plant_tree",
"score": 0.45703125,
"detail": null
}
],
"adult": null,
"tags": [
{
"name": "grass",
"confidence": 0.99937587976455688
},
{
"name": "field",
"confidence": 0.94717073440551758
},
{
"name": "people",
"confidence": 0.65122932195663452
},
{
"name": "grassy",
"confidence": 0.546949565410614
},
{
"name": "lush",
"confidence": 0.11115188896656036
}
],
"description": {
"tags": [
"grass",
"kite",
"field",
"flying",
"people",
"grassy",
"large",
"soccer",
"group",
"man",
"green",
"walking",
"dog",
"playing",
"many",
"hill",
"woman",
"blue",
"standing",
"crowd",
"ball"
],
"captions": [
{
"text": "a group of people flying kites in a field",
"confidence": 0.7429714961690741
}
]
},
"requestId": "ba0592e6-1449-450e-a00f-a551ed0da4a8",
"metadata": {
"width": 160,
"height": 120,
"format": "Jpeg"
},
"faces": [],
"color": {
"dominantColorForeground": "Green",
"dominantColorBackground": "Green",
"dominantColors": [
"Green"
],
"accentColor": "718E39",
"isBWImg": false
},
"imageType": {
"clipArtType": 0,
"lineDrawingType": 0
}
}
它识别出置信度为0.65%的人
我尝试使用更清晰的图像,以“面孔”的形式获得了人数enter image description here
答案 2 :(得分:1)
Custom Vision API和Computer Vision API现在都支持对象检测功能。
如果您具有现有数据集或可以标记数据集,则可以使用Custom Vision来训练模型,然后在看不见的图像中检测相似的人。如果您不需要一般的检测器,也可以接受培训,则可以使用Computer Vision API。