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

Optimize Background Subtraction Performance #19

Open
Blindspot22 opened this issue Aug 13, 2024 · 0 comments
Open

Optimize Background Subtraction Performance #19

Blindspot22 opened this issue Aug 13, 2024 · 0 comments
Labels
ticket issues

Comments

@Blindspot22
Copy link
Owner

Description:

  • Analyze and optimize the performance of the background subtraction algorithms to ensure they run efficiently in real-time.

Implementation Steps:

  • Profile the performance of the MOG2 and KNN algorithms using tools like perf or valgrind to identify bottlenecks.
  • Experiment with different parameter settings (e.g., history length, shadow detection) to find the optimal balance between accuracy and speed.
  • Implement optimizations such as multi-threading or parallel processing to improve performance, especially for high-resolution video streams.
  • Minimize memory usage by optimizing the handling of foreground masks and reducing unnecessary allocations.
  • Document the performance benchmarks and provide guidelines on how to tune the parameters for different environments (e.g., indoor vs. outdoor).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ticket issues
Projects
Status: Ready
Development

No branches or pull requests

1 participant