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

One Class detection #73

Open
AAbeijon1 opened this issue Aug 5, 2020 · 1 comment
Open

One Class detection #73

AAbeijon1 opened this issue Aug 5, 2020 · 1 comment

Comments

@AAbeijon1
Copy link

Does anyone know how to detect where I should modify sort.py or main.py to only detect a class. For example person or car
Thank you very much

@arnanmaipradit
Copy link

you can modify main.py just add if loop example:
if confidence > args["confidence"] and (classID == 7 or classID == 2) 2 = car and 7 = truck

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

2 participants