Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure the Classes to detect from the model #28

Open
MahenderAutonomo opened this issue Jul 24, 2023 · 2 comments
Open

Configure the Classes to detect from the model #28

MahenderAutonomo opened this issue Jul 24, 2023 · 2 comments

Comments

@MahenderAutonomo
Copy link

I am trying to configure and filter the detection classes but still even after applying the classes filter it is still detecting all the classes.

@leandromarcomini
Copy link

How are you applying the filter? I'm still looking for places where I can set the detection classes.

@Monkez
Copy link

Monkez commented Sep 15, 2023

I modify the deep_sort.py file at line 32 like this to detect only person
detections = [Detection(bbox_tlwh[i], conf, features[i],oid) for i, (conf,oid) in enumerate(zip(confidences,oids)) if conf > self.min_confidence and oid==0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants