Is it free to convert Pascal VOC XML to Google Cloud AutoML Vision CSV?
Yes! It is free to convert Pascal VOC XML data into the Google Cloud AutoML Vision CSV format on the Roboflow platform.
Convert annotation formats
In this guide, we show you how to convert data between the VOC and AutoML Vision formats for free. You can use your converted data to train models and other models that support the AutoML Vision format.
Yes! It is free to convert Pascal VOC XML data into the Google Cloud AutoML Vision CSV format on the Roboflow platform.
Pascal VOC is a common XML annotation format that is human readable but doesn't work with any known object detection models.
Below, learn the structure of Pascal VOC XML.
<annotation>
<folder></folder>
<filename>000001.jpg</filename>
<path>000001.jpg</path>
<source>
<database>roboflow.ai</database>
</source>
<size>
<width>500</width>
<height>375</height>
<depth>3</depth>
</size>
<segmented>0</segmented>
<object>
<name>helmet</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<occluded>0</occluded>
<bndbox>
<xmin>179</xmin>
<xmax>231</xmax>
<ymin>85</ymin>
<ymax>144</ymax>
</bndbox>
</object>
<object>
<name>helmet</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<occluded>0</occluded>
<bndbox>
<xmin>112</xmin>
<xmax>135</xmax>
<ymin>145</ymin>
<ymax>175</ymax>
</bndbox>
</object>
</annotation>The CSV format needed for Google's AutoML Vision tool.
Below, learn the structure of Google Cloud AutoML Vision CSV.
TRAIN,gs://roboflow-platform-transforms/JW38IllTMkcS3HGC9IdKSwGtc5g1/18x5vcUUHj2YgtdY6wkH/transformed.jpg,helmet,0.256,0.224,0.466,0.224,0.466,0.36666666666666664,0.256,0.36666666666666664
TRAIN,gs://roboflow-platform-transforms/JW38IllTMkcS3HGC9IdKSwGtc5g1/18x5vcUUHj2YgtdY6wkH/transformed.jpg,helmet,0.316,0.6333333333333333,0.58,0.6333333333333333,0.58,0.8013333333333333,0.316,0.8013333333333333
TRAIN,gs://roboflow-platform-transforms/JW38IllTMkcS3HGC9IdKSwGtc5g1/3xEsBTofg5wE5QlciVbL/transformed.jpg,helmet,0.09183673469387756,0.007272727272727273,0.2653061224489796,0.007272727272727273,0.2653061224489796,0.31636363636363635,0.09183673469387756,0.31636363636363635
TRAIN,gs://roboflow-platform-transforms/JW38IllTMkcS3HGC9IdKSwGtc5g1/3xEsBTofg5wE5QlciVbL/transformed.jpg,helmet,0.6612244897959184,0.10545454545454545,0.8081632653061225,0.10545454545454545,0.8081632653061225,0.4,0.6612244897959184,0.4
TRAIN,gs://roboflow-platform-transforms/JW38IllTMkcS3HGC9IdKSwGtc5g1/3xEsBTofg5wE5QlciVbL/transformed.jpg,helmet,0.5489795918367347,0.20363636363636364,0.6632653061224489,0.20363636363636364,0.6632653061224489,0.43636363636363634,0.5489795918367347,0.43636363636363634
TRAIN,gs://roboflow-platform-transforms/JW38IllTMkcS3HGC9IdKSwGtc5g1/3xEsBTofg5wE5QlciVbL/transformed.jpg,helmet,0.24489795918367346,0.04363636363636364,0.363265306122449,0.04363636363636364,0.363265306122449,0.29818181818181816,0.24489795918367346,0.29818181818181816
VALIDATE,gs://roboflow-platform-transforms/JW38IllTMkcS3HGC9IdKSwGtc5g1/1HwmHNcOur7rLexvxKAE/transformed.jpg,helmet,0.868,0.30513595166163143,0.94,0.30513595166163143,0.94,0.4350453172205438,0.868,0.4350453172205438
VALIDATE,gs://roboflow-platform-transforms/JW38IllTMkcS3HGC9IdKSwGtc5g1/1HwmHNcOur7rLexvxKAE/transformed.jpg,helmet,0.564,0.3323262839879154,0.636,0.3323262839879154,0.636,0.4229607250755287,0.564,0.4229607250755287
TEST,gs://roboflow-platform-transforms/JW38IllTMkcS3HGC9IdKSwGtc5g1/DpXAgMz4QM6oXS6NhzWm/transformed.jpg,helmet,0.6,0.40168539325842695,0.674,0.40168539325842695,0.674,0.547752808988764,0.6,0.547752808988764Roboflow 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.
Once your account has been created, click Create New Project.

Upload your data to Roboflow by dragging and dropping your Pascal VOC XML images and annotations into the upload space.

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:

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 Google Cloud AutoML Vision CSV 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 Pascal VOC XML format to Google Cloud AutoML Vision CSV format!
Yes! It is free to convert Pascal VOC XML data into the Google Cloud AutoML Vision 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.
Our team will help you start solving business problems on the first call.
Over 16,000 organizations build with Roboflow.