Roboflow is a universal conversion tool for computer vision annotation formats. The Public plan is the best way for those exploring personal projects, class assignments, and other experiments to try Roboflow. To convert your dataset, start by creating a free workspace on the Public plan.
Upload your data to Roboflow by dragging and dropping your Unity Perception JSON images and annotations into the upload space.
Step 3: Generate Dataset Version
Next, click "Generate New Version" to generate a new version of your dataset:
You can then apply any preprocessing or augmentation steps to your dataset:
Step 4: Export Dataset Version
After generating, you will be prompted to Export your dataset. You can choose to receive your dataset as a .zip file or a curl download link. Choose Segment Anything 2 when asked in what format you want to export your data. You will see a dropdown with various options like this:
Congratulations, you have successfully converted your dataset from Unity Perception JSON format to Segment Anything 2 format!
Next Steps
Ready to use your new Segment Anything 2 dataset? Great!
Want to dive deeper into converting annotation formats with Roboflow? In the tutorial below, we explore how to convert your data in the Roboflow dashboard. We also discuss rejecting annotations and train-test-validation splits.
Is it free to convert Unity Perception JSON to Segment Anything 2?
Yes! It is free to convert Unity Perception JSON data into the Segment Anything 2 format on the Roboflow platform.
How long does it take to convert Unity Perception JSON data to Segment Anything 2?
If you have between a few and a few thousand images, converting data between these formats will be quick. But, the time it takes to convert between data formats increases with the more images you have.