DeepLabCut / DeepLabCut/DeepLabCut-live-GUI

Recording and trigger mode improvements

Open
#83 0 comments 0 reactions 1 assignee View on GitHub

@C-Achard is already working on this.

Since Jun 26, 2026.

  • #85 by @C-Achard — merged
camera config enhancement
Dominant language
Python
Stars
72
Forks
28
Avg merge
1d 10h
Merged PRs (30d)
2

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.