TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi
TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi copied to clipboard
Update create_csv.py
trafficstars
This will solve the issue I had ""IndexError: child index out of range "
Edit:
for member in root.findall('object'): value = (root.find('filename').text, int(root.find('size').find('width').text), int(root.find('size').find('height').text), member[0].text, int(member.find("bndbox").find('xmin').text), int(member.find("bndbox").find('ymin').text), int(member.find("bndbox").find('xmax').text), int(member.find("bndbox").find('ymax').text) )