Skip to content

Use TrackedObjectMask as "Mask: Source" for any Effect#1074

Merged
jonoomph merged 3 commits into
developfrom
tracked-mask-source
May 10, 2026
Merged

Use TrackedObjectMask as "Mask: Source" for any Effect#1074
jonoomph merged 3 commits into
developfrom
tracked-mask-source

Conversation

@jonoomph
Copy link
Copy Markdown
Member

@jonoomph jonoomph commented May 9, 2026

Adding the ability to use TrackedObjectMask as "Mask: Source" for any effect (i.e. blur/pixilate only the tracked area)

  • Add tracked effect IDs as mask sources
  • Generate bbox masks from Tracker/Object Detection
  • Preserve original frame when no bbox is visible
  • Add focused mask-source tests

… effect (i.e. blur/pixilate only the tracked area)

- Add tracked effect IDs as mask sources
- Generate bbox masks from Tracker/Object Detection
- Preserve original frame when no bbox is visible
- Add focused mask-source tests
@jonoomph
Copy link
Copy Markdown
Member Author

jonoomph commented May 9, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented May 9, 2026

Codecov Report

❌ Patch coverage is 73.33333% with 84 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.74%. Comparing base (0081cda) to head (07e60a8).
⚠️ Report is 6 commits behind head on develop.

Files with missing lines Patch % Lines
src/effects/ObjectDetection.cpp 0.00% 47 Missing ⚠️
src/EffectBase.cpp 78.20% 17 Missing ⚠️
src/effects/Blur.cpp 87.69% 8 Missing ⚠️
src/effects/Bars.cpp 0.00% 4 Missing ⚠️
src/effects/Crop.cpp 0.00% 4 Missing ⚠️
src/effects/Pixelate.cpp 0.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1074      +/-   ##
===========================================
+ Coverage    70.42%   70.74%   +0.32%     
===========================================
  Files          241      242       +1     
  Lines        29656    29936     +280     
===========================================
+ Hits         20885    21179     +294     
+ Misses        8771     8757      -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

jonoomph added 2 commits May 9, 2026 14:50
…te one (for consistency). Renamed the user-facing JsonProperty labels across all effects with similar keyframes to:

- Margin: Left
- Margin: Top
- Margin: Right
- Margin: Bottom
- Add Bottom margin support to Caption JSON, properties, rendering, and tests
- Rename Caption margin property labels to "Margin: Top/Left/Bottom/Right"
- Clip Caption rendering to the configured margin rectangle
- Default Caption fade in/out to 0.0 so newly inserted captions render immediately
- Avoid divide-by-zero fade calculations when Caption fade durations are disabled
@jonoomph jonoomph merged commit 0751153 into develop May 10, 2026
13 checks passed
@jonoomph jonoomph deleted the tracked-mask-source branch May 10, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant