Add README for trackLab video analysis tool - #1
Merged
Conversation
Documents features, usage workflow, tech stack, architecture, sample videos, scripts, and deployment/browser requirements. https://claude.ai/code/session_01Q2UnFRoBArHY19nXXM2Cm3
veillette
pushed a commit
that referenced
this pull request
Feb 26, 2026
…tion, simplify track auto-creation Issues addressed from architecture review (#1.1, #1.2, #1.3): **1.2 — Tracker encapsulation (SimModel)** - Make `tracker` private; no view can access OpenCVTracker directly - Add facade methods: `isTrackerReady`, `resetTracker()`, `resizeTracker()`, `initTracker()`, `trackFrame()` — the full tracker API now lives behind the model boundary **1.1 — Atomic video source activation (SimModel + VideoSourceControlNode)** - Add `activateRecording()`, `activateUpload()`, `activateBundledVideo()` that set all related properties (isWebcamVideo, frameRate, totalFrameCount, currentWebcamBlob) in a single call, eliminating visible intermediate states - Consolidate all activation logic into the `selectedVideoProperty.lazyLink` handler — the single canonical dispatch point - Remove scattered direct property writes from the webp upload handler, `storeAndLoad`, and the webcam panel `onVideoReady` callback - Fix pre-existing bug: `onWebcamReady` was being called twice in the webcam recording and file upload flows (once from the lazyLink, once directly) - `VideoSelectedCallback` type simplified to `(url: string) => void` since fps is now owned by `activateBundledVideo` **1.3 — Track auto-creation (SimModel + AutoTrackerNode)** - Add `addTrackAndActivate()` to SimModel; replaces the 8-line view-side block that read `tracksProperty.value` directly after `addTrack()` to find and activate the newest track https://claude.ai/code/session_01LAwGKZUVqF9MNrUgaFtFyS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents features, usage workflow, tech stack, architecture,
sample videos, scripts, and deployment/browser requirements.
https://claude.ai/code/session_01Q2UnFRoBArHY19nXXM2Cm3