SAM2 — Segmentation AI Model

SAM2 finds every distinct object in a picture without being told what to look for, coloring each one differently and listing them as metadata. Tiny, Small or Large trades accuracy against speed. 10-30 seconds.

Details

  • CategorySegmentation
  • Year2024
  • LicenseApache-2.0

Compliance & Provenance

  • ProviderMeta (open) · Specialized
  • EU AI Act RiskMinimal Risk
  • Art. 50 TransparencyNot applicable

Inputs & Outputs

  • ImageInput · image

    Source image to segment

  • ImageOutput · image

    Segmentation mask overlay image

  • TextOutput · string

    Detected segment labels and metadata

Tags

  • segmentation
  • segment-anything
  • automatic
  • universal
  • mask-generation
  • gpu-light
  • medium-speed

Alternatives in Segmentation

  • BiRefNet (Subject)

    Cleanly extracts a single salient subject with high-resolution edges. ~1-3s.

  • RF-DETR Seg Medium (Scene)

    Real-time instance segmentation on 80 COCO classes (RF-DETR Seg Medium).

  • SAM3 (Scene)

    Language-prompted segmentation (e.g. "person", "red car"). 10-30s/class.

  • SAM3.1 (Scene)

    Language-prompted segmentation — SAM 3.1 Object Multiplex with improved accuracy over SAM3. 10-30s/class.

Resources