Skip to content

Bounding box drawing in appsink #692

@hteeyeoh

Description

@hteeyeoh

Description:

I'm working with a dlstreamer pipeline that processes an input stream using gvadetect for object detection and outputs frames to appsink for rendering. I need to configure the pipeline to detect and display bounding boxes only for specific labels of interest.

Current Behavior

The pipeline detects multiple object types correctly
Bounding boxes are drawn for all detected objects, including unwanted labels
Attempted to use model-proc JSON configuration with gvadetect but it still renders bounding boxes for undesired labels

Image

Expected Behavior

Only display bounding boxes for specified labels of interest
Filter out unwanted detections from the rendered output

Example

Interested label: "person"
Issue: Bounding boxes for "car" and other labels are still being drawn on the output frames

Question

Is there a proper method or configuration to filter detection results so that only bounding boxes for specific labels are rendered in the appsink output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions