Spaces:
Running
Running
A newer version of the Gradio SDK is available:
6.1.0
metadata
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
- Authenticate with Hugging Face to access the gated SAM3 checkpoint:
hf auth login - Upload an aerial MP4/MOV clip. The app automatically sends the prompts
small-vehicleandlarge-vehicleto SAM3, overlays the resulting masks, and links detections over time to form trajectories. - 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.