idea-research/grounded-sam-2

Grounded SAM 2: Ground and Track Anything in Videos with Grounding DINO, Florence-2 and SAM 2

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 55 minutes ago
Added to GitGenius on September 18th, 2026
Created on August 1st, 2024
Open Issues & Pull Requests: 58 (+0)
GitHub issues: Enabled
Number of forks: 429
Total Stargazers: 3,742 (+0)
Total Subscribers: 15 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 11.1 hours
Mean response time: 7.2 days
90th percentile: 23.2 days
Tracked items: 49

Most active contributors

Sign in to see contributor activity.

How this project is maintained

100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 59% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 42
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 535 days
Stale 30+ days: 42
Stale 90+ days: 42

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • discussion (3)
  • documentation (3)
  • enhancement (3)
  • bug (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Grounded SAM 2 is a foundation model pipeline that grounds and tracks objects in videos by combining Grounding DINO, Florence-2, and SAM 2.

The tool addresses the problem of identifying and following arbitrary objects across video frames without requiring task-specific training. It works by chaining together open-world models: Grounding DINO or its variants detect and localize objects based on text descriptions, Florence-2 provides dense region understanding, and SAM 2 segments and tracks those objects frame-to-frame. The pipeline supports both single-image segmentation and video object tracking with visualization powered by the supervision library.

Developers working on video analysis, object tracking, or visual grounding tasks should consider this tool if they need to detect and follow arbitrary classes without retraining. It suits projects requiring flexible, text-prompted object detection combined with precise segmentation and temporal tracking. The repository emphasizes simplified implementations compared to the original Grounded SAM work, prioritizing ease of use over methodological novelty. Support extends across multiple detection backends including Grounding DINO 1.5, DINO-X, and Florence-2, allowing users to choose based on their accuracy and latency requirements. The tool handles high-resolution imagery through SAHI tiled inference and can track new objects introduced mid-video.

The project maintains active development with regular updates to support new model versions and API changes. Recent work has focused on integrating newer model variants and addressing infrastructure changes in upstream dependencies. The codebase is structured around Jupyter notebooks for demonstrations, making it accessible for experimentation and integration into larger pipelines.