import glob import xml.etree.ElementTree as ET import cv2 from PIL import Image import os def change_xmlfile(path)