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

[inference] filter classes on inference request #25

Open
CuriousDolphin opened this issue Dec 11, 2024 · 0 comments
Open

[inference] filter classes on inference request #25

CuriousDolphin opened this issue Dec 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@CuriousDolphin
Copy link
Member

it would be convenient to give the option of filtering classes during inference, eg:

filter_classes=["person","helmet","painting"]
model = focoos.get_remote_model("focoos_object365")
detections = model.infer("./image.jpg", threshold=0.4, filter_classes=filter_classes)

(filter_classes should be optional)

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

No branches or pull requests

2 participants