Tracking studio: Process & Export + GCS upload#81
Open
dimkab wants to merge 3 commits into
Open
Conversation
Replace the playback-end CSV download with a dedicated "Bulk Convert" button that processes the full video and writes results in the format matching the full_pipeline notebook: detect_csv (JSON predictions per frame) for detection-only, tracked_bboxes.csv (one row per tracked detection) for tracking. Add an "Upload" button on the results card (visible only for GCS-sourced videos) that uploads the CSV next to the original video, with overwrite confirmation when the destination already exists. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bulk implied batch-over-many; this button operates on a single video. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ultralytics 8.4.50 removed the frame_rate parameter from BYTETracker; omitting it preserves prior behavior (30 was the previous default). Also apply ruff format on app.py. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
full_pipeline.ipynb:detect_csv(one row per frame with JSON predictions) for detection-only,tracked_bboxes.csv(one row per tracked detection) for tracking.Test plan
<video>_bboxes.csvis downloaded withtrack_id,frame,x1,y1,x2,y2,confidence,classcolumns.<video>_detections.csvis downloaded withcount_objects,output_image,predictionscolumns (predictions is a JSON blob compatible withoutput_tracked_bboxes_csv).gs://<bucket>/<folder>/<video_stem>_bboxes.csv(or_detections.csv).🤖 Generated with Claude Code