Recording and trigger mode improvements
Assessment
This issue has not been assessed yet.
Description
Context
Several improvements could still be made to the GUI, notably regarding performance and task distribution.
Recent changes (e.g. #82) significantly improved recording performance for monochrome Basler cameras by avoiding unnecessary Mono8 → BGR8 casting. However, for high-throughput multi-camera setups recording can still lose frames, especially with multiple cameras at high FPS/resolution.
- Making the current data processing pipeline less sequential
Currently it consists of:
camera backend read
→ SingleCameraWorker signal
→ MultiCameraController full-rate slot
→ MultiFrameData construction
→ GUI full-rate frame handler
→ RecordingManager
→ VideoRecorder queue
→ writer thread / WriteGear
The main goals there would be to have:
- Separate acquisition from downstream processing as much as possible
- Ensure recording, display, and DLC have independent queue& drop behavior
- Ensure the camera grabbing path does minimal work, e.g.:
- Retrieve frame
- Timestamp
- Minimal metadata
- Enqueue/dispatch quickly
- Ensuring triggered cams are started/stopped properly in regards to recording
- Start: all followers → master → recording
- Stop: master → followers stop → finish queues → stop recording
- Dominant language
- Python
- Stars
- 72
- Forks
- 28
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DeepLabCut/DeepLabCut-live-GUI
-
enhancement
DeepLabCut/DeepLabCut-live-GUI#127 · 1 assignee ·
-
config gui
DeepLabCut/DeepLabCut-live-GUI#124 · 1 assignee ·
-
camera DLClive performance
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
processor
DeepLabCut/DeepLabCut-live-GUI#117 · 1 reaction · 1 assignee ·
-
config enhancement gui
DeepLabCut/DeepLabCut-live-GUI#113 · 1 assignee ·
All issues in DeepLabCut/DeepLabCut-live-GUI
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·