### Install Testing Dependencies Locally Source: https://github.com/oliviermirat/zebrazoom/blob/master/DEVELOPMENT_INFO.md Install necessary packages for running tests locally. This includes pytest for test execution, pytest-qt for Qt-specific testing, and pytest-cov for code coverage analysis. ```bash pip install pytest pytest-qt pytest-cov ``` -------------------------------- ### Convert Seq to Avi and Launch Tracking Source: https://github.com/oliviermirat/zebrazoom/blob/master/SeqToAviConvertion.md This command converts a .seq video to .avi and immediately launches the tracking process. It allows specifying the video path, configuration file, codec, last frame, and optional hyperparameters. ```bash python -m zebrazoom convertSeqToAviThenLaunchTracking pathToVideo videoName pathToConfigFile codec lastFrame ``` -------------------------------- ### Update Tests and Store Results Source: https://github.com/oliviermirat/zebrazoom/blob/master/DEVELOPMENT_INFO.md Run tests locally with the --store-results flag to generate expected results for new parameters. This helps in verifying existing parameters and identifying changes. ```bash python -m pytest --store-results -s test/ ``` -------------------------------- ### Generate HTML Coverage Report Source: https://github.com/oliviermirat/zebrazoom/blob/master/DEVELOPMENT_INFO.md Generate an HTML coverage report for the zebrazoom package. This command also runs all tests, including long ones. ```bash python -m pytest --cov-report html --cov=zebrazoom --long -s test/ ``` -------------------------------- ### Convert Seq to Avi Source: https://github.com/oliviermirat/zebrazoom/blob/master/SeqToAviConvertion.md Use this command to convert a .seq video file to .avi format. You can optionally specify the codec and the last frame for conversion. ```bash python -m zebrazoom convertSeqToAvi pathToVideo videoName codec lastFrame ``` -------------------------------- ### Filter Background for Border Issues Source: https://github.com/oliviermirat/zebrazoom/blob/master/TrackingTroubleshooting.md Add this configuration to filter the background and resolve problems with animals detected on the border of the well. Adjust the parameter value based on the desired filtering level. ```json "backgroundPreProcessMethod": ["erodeThenMin"], "backgroundPreProcessParameters": [[3]] ``` -------------------------------- ### Update macOS Runner Version for Release Action Source: https://github.com/oliviermirat/zebrazoom/blob/master/DEVELOPMENT_INFO.md Modify the 'runs-on' value for 'deploy_mac' and 'deploy_mac_legacy' in release.yaml to update the macOS runner version used for the release action. ```yaml jobs: release: runs-on: deploy_mac_legacy ``` -------------------------------- ### Run All Tests Locally Source: https://github.com/oliviermirat/zebrazoom/blob/master/DEVELOPMENT_INFO.md Execute all tests using pytest. Omit the --long argument to skip long-running tests. ```bash python -m pytest --long -s test/ ``` -------------------------------- ### Update Python Version for Releases Source: https://github.com/oliviermirat/zebrazoom/blob/master/DEVELOPMENT_INFO.md Change the 'FULL_PYTHON_VERSION' environment variable in release.yml to specify the Python version used for releases. ```yaml env: FULL_PYTHON_VERSION: 3.13.0 ``` -------------------------------- ### Update Python Versions in CI/CD Source: https://github.com/oliviermirat/zebrazoom/blob/master/DEVELOPMENT_INFO.md Modify the 'python_version' variable in test.yml and long_test.yml to change the Python versions used for automated tests. ```yaml jobs: run-tests: strategy: matrix: python-version: [3.9, 3.13] ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.