EveryDev.ai
Subscribe
Home
Tools

5,901+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2972
  • Coding2248
  • Infrastructure1067
  • Projects818
  • MCP794
  • Research744
  • Analytics565
  • Marketing527
  • Design488
  • Testing476
  • Data442
  • Security412
  • Integration288
  • Communication284
  • Prompts283
  • Extensions238
  • Voice213
  • DevOps190
  • Commerce183
  • Web128
  • Learning123
  • Finance44
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. SAM 2
    SAM 2 icon

    SAM 2

    Academic Research
    Featured

    Meta's open-source foundation model and code for promptable visual segmentation and tracking in images and videos.

    Visit Website

    At a Glance

    Pricing
    Open Source

    SAM 2 model checkpoints, demo code and training code are licensed under Apache 2.0 and are free to use, modify and distribute.

    Engagement

    Available On

    Linux
    Windows
    SDK

    Resources

    WebsiteGitHubllms.txt

    Topics

    Academic ResearchVideoAI Development Libraries

    Alternatives

    Perception ModelsMarinTabFM
    Developer
    Meta AIMenlo Park, CAEst. 2013$2.3B raised

    Listed Nov 2026

    About SAM 2

    SAM 2 (Segment Anything Model 2) comes from AI at Meta, FAIR. The repository provides inference code, downloadable model checkpoints, example notebooks, training code, and a web demo for promptable segmentation in images and videos. It is released under the Apache 2.0 license.

    What It Is

    SAM 2 is a foundation model for promptable visual segmentation. It extends the original SAM to video by treating an image as a video with a single frame. The model uses a transformer architecture with streaming memory for real-time video processing. The repository also links the SA-V video segmentation dataset, which the authors collected with a model-in-the-loop data engine.

    How It Works

    Users install the Python package, download a checkpoint (SAM 2.1 tiny, small, base plus, or large), and run it through Python APIs.

    • Images: SAM2ImagePredictor accepts prompts and returns masks. Automatic mask generation is also supported.
    • Videos: the video predictor takes click or box prompts, refines them, and propagates masklets through the video. It can track multiple objects and keeps an inference state for each video.
    • Hugging Face: models can be loaded from Hugging Face.

    Training, Demo, and Recent Updates

    The repository includes code to train or fine-tune SAM 2 on custom image and video datasets. It also includes frontend and backend code for a locally deployable web demo. The December 2024 update added torch.compile support for the full model on videos, enabled with vos_optimized=True, and a reworked SAM2VideoPredictor that supports independent per-object inference and adding objects after tracking starts. The SAM 2.1 release in September 2024 brought improved checkpoints.

    Setup Requirements

    The code requires Python 3.10 or later, torch 2.5.1 or later, and torchvision 0.20.1 or later. It targets GPU machines, and installation compiles a custom CUDA kernel with nvcc. The README recommends WSL with Ubuntu on Windows.

    SAM 2 - 1

    Community Discussions

    Be the first to start a conversation about SAM 2

    Share your experience with SAM 2, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (Apache 2.0)

    SAM 2 model checkpoints, demo code and training code are licensed under Apache 2.0 and are free to use, modify and distribute.

    • SAM 2 model checkpoints under Apache 2.0
    • SAM 2 demo code (front-end and back-end) under Apache 2.0
    • SAM 2 training code under Apache 2.0
    • Inter Font and Noto Color Emoji in demo code are under SIL Open Font License 1.1
    • Third-party cc_torch-adapted code has its own license (LICENSE_cctorch)

    Capabilities

    Key Features

    • Promptable segmentation in images and videos
    • Click and box prompts with refinement
    • Multi-object video tracking with masklets
    • Automatic mask generation on images
    • SAM 2.1 checkpoints in tiny, small, base plus, and large sizes
    • Training and fine-tuning code
    • Locally deployable web demo
    • Hugging Face model loading
    • torch.compile full-model optimization for video inference

    Integrations

    PyTorch
    Hugging Face
    Jupyter
    Google Colab

    Ratings & Reviews

    No ratings yet

    Be the first to rate SAM 2 and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Meta AI

    Meta AI Research (formerly Facebook AI Research or FAIR) is a research laboratory within Meta Platforms (formerly Facebook) dedicated to advancing the field of artificial intelligence through open research. The division focuses on making significant advancements in AI technology and freely publishing research papers, open-sourcing code, and releasing state-of-the-art AI models for the broader AI research community. Meta AI works on a broad range of fundamental and applied research areas including computer vision, natural language processing, reasoning, multimodal AI, robotics, and responsible AI development.

    Founded 2013
    Menlo Park, CA
    $2.3B raised
    78,865 employees

    Used by

    University of Pittsburgh assistive-robo…
    Lawrence Berkeley National Laboratory…
    Alta Daily
    Common Sense Machines
    +4 more
    Read more about Meta AI
    WebsiteGitHubX / Twitter
    10 tools in directory

    Similar Tools

    Perception Models icon

    Perception Models

    Meta FAIR's open-source repository of state-of-the-art vision, video, and audio encoders (Perception Encoder) and a multimodal language model (PerceptionLM) for image, video, and audio understanding.

    Marin icon

    Marin

    An open-source framework for researching and developing foundation models, with full reproducibility of every step from raw data to final model.

    TabFM icon

    TabFM

    A scikit-learn compatible tabular foundation model from Google Research that performs zero-shot classification and regression on tabular datasets with mixed column types using in-context learning.

    Browse all tools

    Related Topics

    Academic Research

    AI tools designed specifically for academic and scientific research.

    111 tools

    Video

    AI tools that generate or edit video — from text-to-video and animation to avatars, dubbing, and short-form clips.

    141 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    590 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions