Skip to content

Add README for trackLab video analysis tool - #1

Merged
veillette merged 1 commit into
mainfrom
claude/write-video-analysis-readme-WbhK0
Feb 17, 2026
Merged

Add README for trackLab video analysis tool#1
veillette merged 1 commit into
mainfrom
claude/write-video-analysis-readme-WbhK0

Conversation

@veillette

Copy link
Copy Markdown
Collaborator

Documents features, usage workflow, tech stack, architecture,
sample videos, scripts, and deployment/browser requirements.

https://claude.ai/code/session_01Q2UnFRoBArHY19nXXM2Cm3

Documents features, usage workflow, tech stack, architecture,
sample videos, scripts, and deployment/browser requirements.

https://claude.ai/code/session_01Q2UnFRoBArHY19nXXM2Cm3
@veillette
veillette merged commit d40e8af into main Feb 17, 2026
1 check passed
@veillette
veillette deleted the claude/write-video-analysis-readme-WbhK0 branch February 18, 2026 17:11
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
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