Skip to content

detection classes parameter - usage #387

Closed
@shashi-netra

Description

❔Question

Hi, I am a newbie to this awesome project.

How do I filter output for a specific list of classes?

python3 detect.py --source videos/video.mp4 --output video_out/ --weights best.pt --conf-thres 0.4 --classes 104

I can see this is the way to filter it into a single class. But can we provide a list of classes indexes so we can show a select list of classes?

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions