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.

질문됨 일 년 전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
답변함 일 년 전
  • 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?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠