Amazon Rekognition Only for Object Detection

0

Is there a parameter for the rekognition API that specifies that I'm not interested in any labels that don't have instances? I am drawing bounding boxes around detected objects, so objects without instances are useless. Im using the python SDK, boto3 version 1.26.18.

已提問 1 年前檢視次數 291 次
1 個回答
1

Hi rePost-User-5089220,

Can you please elaborate what you are looking for ? Are you using DetectCustomLabels or DetectLabels API ? If you are trying to filter out some of labels from detection results, there is no label filtering for DetectCustomLabels. In other case, you can check out DetectLabels API documentation here for Filter inclusion and exclusion parameters.

Please let us know if you need further assistance.

Thanks for reaching out to us.

AWS
已回答 1 年前
  • Hi, I'm using the DetectLabels API. I am already using filters, but I was wondering whether it's possible to filter the response so that it only returns detections with instances. In other words, I'm looking to do object detection rather than classification, as I'm using the response from amazon to draw bounding boxes around the detections I find. For example, in this response http://json-parser.com/aa5371a9, I got 4 labels, but only 3 had instances. Is it possible to add a parameter that ensures the face label wouldn't have been returned because it didn't have any instances?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南