Visual Intelligence Summit: Oct 22 in San Francisco Get your ticket

Segment Anything 2

SAM-2 uses a custom dataset format for use in fine-tuning models. You can convert and export data to the SAM 2 format in Roboflow.

Overview

SAM-2 uses a custom dataset format for use in fine-tuning models.

You can convert and export data to the SAM 2 format in Roboflow.

Format Description

Below, learn the structure of Segment Anything 2.

JSON
{"image":{"image_id":3,"license":1,"file_name":"A2_jpg.rf.1aa89274b154e74a1f960fbb192c6bf2.jpg","height":416,"width":416,"date_captured":"2024-10-07T11:35:58+00:00"},"annotations":[{"id":3,"bbox":[92,153,193.077471,199.115617],"area":38444.7397669646,"segmentation":{"counts":"...","size":[416,416]}}]}
Start where you are

Speak with an AI expert

Our team will help you start solving business problems on the first call.

  • Solution architecting
  • Live demonstration
  • Pricing and specifications
  • Feasibility assessment

Over 16,000 organizations build with Roboflow.

Rivian
Pella
Chobani
USG Corporation
BNSF Railway
American Woodmark
Outcomes
Patrick Industries
Peer Robotics