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.

preguntada hace un año291 visualizaciones
1 Respuesta
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
respondido hace un año
  • 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?

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas