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
Feature/make sv.mask annotator as fast as annotators in popular detection frameworks #472 #606
Conversation
* Combined all colored masks before applying them to the scene * Made sure that returned ndarray is np.uint8 for video writer simplicity
Hi, @xenteros! 👋🏻 Thanks for your interest in Supervision. I'm benchmarking your solution right now. |
Hi @xenteros 👋🏻, I've been busy making tests of this change. Here is what I got:
Annotation speed depends on external factors - other processes running on the machine and varies between test runs. To validate the results, I performed 5 tests with the code in the current
|
LGTM. Merging! @xenteros, thanks a lot for your contribution. This annotator was a big performance bottleneck. |
Description
#472
How has this change been tested, please provide a testcase or example of how you tested the change?
I profiled the code with VizTracer and compared outputs frame by frame and they are equal.