Spaces:
Running
Running
File size: 1,117 Bytes
543ad60 899327c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
---
title: Sam3 Demo
emoji: π
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
license: apache-2.0
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
## SAM3 Vehicle Trajectory Space
This Space turns `facebook/sam3` into a ready-to-use pipeline for extracting
small- and large-vehicle trajectories from aerial surveillance videos.
### Quick start
1. Authenticate with Hugging Face to access the gated SAM3 checkpoint:
```bash
hf auth login
```
2. Upload an aerial MP4/MOV clip. The app automatically sends the prompts
`small-vehicle` and `large-vehicle` to SAM3, overlays the resulting masks,
and links detections over time to form trajectories.
3. Download the rendered video and inspect the per-track summary table.
The UI exposes stride, resize, and frame-limit controls so you can trade off
latency versus coverage depending on the clip length. All heavy lifting (frame
decoding, segmentation, mask rendering, trajectory stitching) happens on the
Space so you only need to provide the footage.
|