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

Convert annotation formats

How To Convert OpenImages CSV to RetinaNet Keras CSV

In this guide, we show you how to convert data between the OpenImage and RetinaNet Keras formats for free. You can use your converted data to train models and other models that support the RetinaNet Keras format.

OpenImages CSV

A variation on the YOLO Darknet format which removes the need for a labelmap.

Below, learn the structure of OpenImages CSV.

OpenImages.csv
ImageID,Source,LabelName,Confidence,XMin,XMax,YMin,YMax,IsOccluded,IsTruncated,IsGroupOf,IsDepiction,IsInside
000026e7ee790996,xclick,/m/07j7r,1,0.071875,0.1453125,0.20625,0.39166668,0,1,1,0,0
000026e7ee790996,xclick,/m/07j7r,1,0.4390625,0.571875,0.26458332,0.43541667,0,1,1,0,0
000026e7ee790996,xclick,/m/07j7r,1,0.66875,1,0,0.5520833,0,1,1,0,0
000062a39995e348,xclick,/m/015p6,1,0.20620842,0.849224,0.15463917,1,0,0,0,0,0
000062a39995e348,xclick,/m/05s2s,1,0.13747229,0.37694013,0,0.88365245,1,1,0,0,0
0000c64e1253d68f,xclick,/m/0k4j,1,0,0.5132743,0.32079646,0.6902655,0,1,0,0,0
0000c64e1253d68f,xclick,/m/0k4j,1,0.016224189,0.26843658,0.29867256,0.46238938,1,0,0,0,0
0000c64e1253d68f,xclick,/m/0k4j,1,0.48082596,0.9041298,0.23230088,0.48893806,1,0,0,0,0
0000c64e1253d68f,xclick,/m/0k4j,1,0.7522124,1,0.3318584,0.65707964,0,1,0,0,0

RetinaNet Keras CSV

A custom format used by the Keras implementation of RetinaNet.

Below, learn the structure of RetinaNet Keras CSV.

retinanet.keras.csv
0001.jpg,2694,1211,353,353,helmet
0001.jpg,1754,1449,68,68,person
0002.jpg,113,95,226,226,helmet
0003.jpg,352,114,151,151,helmet
0003.jpg,799,217,139,139,person
0004.jpg,162,126,124,124,helmet

Step 1: Create a free Roboflow public workspace

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.

Step 2: Upload your data into Roboflow

Once your account has been created, click Create New Project.

Roboflow's create project form, with Object Detection selected as the project type

Upload your data to Roboflow by dragging and dropping your OpenImages CSV images and annotations into the upload space.

Roboflow's upload page, with a drag-and-drop area for images, annotations, videos and PDFs

Step 3: Generate Dataset Version

Next, click "Generate New Version" to generate a new version of your dataset:

Roboflow's Generate a Dataset Version page, showing the source images and train/test split for a new version

You can then apply any preprocessing or augmentation steps to your dataset:

The augmentation step of a new dataset version, with 90° Rotate and Brightness added

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 RetinaNet Keras CSV when asked in what format you want to export your data. You will see a dropdown with various options like this:

Roboflow's Download dialog, with the export format list open and COCO highlighted

Congratulations, you have successfully converted your dataset from OpenImages CSV format to RetinaNet Keras CSV format!

Video Tutorial

Convert Computer Vision Annotation Formats Tutorial

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.

Frequently Asked Questions

Yes! It is free to convert OpenImages CSV data into the RetinaNet Keras CSV format on the Roboflow platform.

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.

Show guide

Convert other formats to RetinaNet Keras CSV

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
Create Roboflow Workspace