Converting dataset from Pascal VOC format into matlab format ?

18 views (last 30 days)
I have a custom data set labeled in Pascal VOC format. I want to convert the data set into Matlab format.

Answers (1)

Shraddha Jain
Shraddha Jain on 18 Jun 2021
Hi Fathi,
As per my understanding, Pascal Visual Object Classes (VOC) is essentially an XML file. As of now, there is no function available in MATLAB which reads a dataset given in Pascal VOC format.
As a workaround, you may utilize the method xmlread in MATLAB to read an XML file into a MATLAB Structure Array.
Hope this helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by