Skip to content

Conversation

@gitttt-1234
Copy link
Collaborator

This PR updates the VideoReader and LabelReader classes to ensure thread-safe video access. Backend video handles are now closed in the main thread and reopened only within the worker thread that loads images. After predictions are complete, the videos are reopened in the main thread so the frames can be accessed again during tracking.

@codecov
Copy link

codecov bot commented Sep 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.49%. Comparing base (ff91433) to head (2527060).
⚠️ Report is 32 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #326      +/-   ##
==========================================
- Coverage   95.28%   93.49%   -1.80%     
==========================================
  Files          49       49              
  Lines        6765     6974     +209     
==========================================
+ Hits         6446     6520      +74     
- Misses        319      454     +135     

☔ 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.

@gitttt-1234 gitttt-1234 merged commit 8c32b1d into main Sep 16, 2025
12 of 13 checks passed
@gitttt-1234 gitttt-1234 deleted the divya/fix-thread-video branch September 16, 2025 19:06
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.

2 participants