Closed gqcpm closed 2 months ago
The latest update enhances the SLEAP application by introducing functionality to detect significant point displacement in video frames. This includes new configuration options, methods for analyzing displacements, and tests to ensure reliability, all aimed at improving the user experience and analytical capabilities of the application.
File | Summary |
---|---|
sleap/config/suggestions.yaml | Added max point displacement configuration in main options, defining a new threshold parameter. |
sleap/gui/suggestions.py | Introduced max_point_displacement method in Suggestions class to analyze video frame displacements. |
tests/gui/test_suggestions.py | Added test_max_point_displacement_suggestions to validate the functionality of the new displacement feature. |
sequenceDiagram
participant User
participant SLEAP_Config
participant Suggestions
participant TestSuite
User->>SLEAP_Config: Update suggestions.yaml
SLEAP_Config->>Suggestions: Read max point displacement config
User->>Suggestions: Request frame suggestions with displacement threshold
Suggestions->>Suggestions: Process max point displacement
Suggestions->>User: Return list of suggested frames
TestSuite->>Suggestions: Run tests for max point displacement
Suggestions->>TestSuite: Return test results
In fields of code, we hop and play,
With points that shift, we find our way.
Configs and tests, a joyful spree,
SLEAP now tracks with glee, you’ll see!
So let’s leap high, and never cease,
In every frame, we find our peace. 🌟🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 94.73684%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 74.34%. Comparing base (
7ed1229
) to head (b0c47af
). Report is 23 commits behind head on develop.
Files | Patch % | Lines |
---|---|---|
sleap/gui/suggestions.py | 94.73% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
Types of changes
Does this address any currently open issues?
1761
Thank you for contributing to SLEAP!
:heart:
Summary by CodeRabbit
Summary by CodeRabbit
New Features
max point displacement
to help users detect frames with significant point movement.Tests
max point displacement
feature to ensure its accuracy and reliability.