Skip to content

Instantly share code, notes, and snippets.

@rotemtam
rotemtam / pascal_to_csv.py
Created April 14, 2018 09:49
pascal voc xml to csv table
import os
import glob
import pandas as pd
import xml.etree.ElementTree as ET
def xml_to_csv(path):
xml_list = []
for xml_file in glob.glob(path + '/*.xml'):
tree = ET.parse(xml_file)