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

Create Unit Tests for Background Subtraction #20

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

Create Unit Tests for Background Subtraction #20

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

Comments

@Blindspot22
Copy link
Owner

Description:

  • Develop comprehensive unit tests to validate the functionality and robustness of both the MOG2 and KNN background subtraction implementations.

Implementation Steps:

  • Set up a testing framework in the Rust project using cargo test.
  • Write unit tests to verify that the MOG2 background subtractor correctly identifies moving objects and generates accurate foreground masks.
  • Write unit tests to verify the KNN background subtractor's performance under various conditions (e.g., different lighting, motion speeds).
  • Create test cases that simulate common scenarios, such as sudden changes in lighting or the introduction of new static objects, to ensure the algorithms handle these cases gracefully.
  • Run all tests to validate the background subtraction functionality, ensuring that both MOG2 and KNN produce consistent and reliable results.
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