我正在对AWS Rekognition进行一些调查。我需要知道两个问题,但没有得到答案。
1)如何获取对象检测部分的类别列表。
2)在不考虑数据传输时间的情况下处理图像以获取对象标签需要多长时间。
有没有人有任何想法?
答案 0 :(得分:0)
使用AWS Command-Line Interface (CLI):
$ time aws rekognition detect-labels \
--image '{"S3Object":{"Bucket":"my-bucket","Name":"fluffy.jpg"}}' \
--region us-east-1
{
"Labels": [
{
"Confidence": 99.2266845703125,
"Name": "Plant"
},
{
"Confidence": 99.2266845703125,
"Name": "Potted Plant"
},
{
"Confidence": 92.96235656738281,
"Name": "Animal"
},
{
"Confidence": 92.96235656738281,
"Name": "Bunny"
},
{
"Confidence": 92.96235656738281,
"Name": "Mammal"
},
{
"Confidence": 92.96235656738281,
"Name": "Rabbit"
},
{
"Confidence": 92.96235656738281,
"Name": "Rodent"
}
]
}
real 0m1.646s
user 0m0.264s
sys 0m0.036s