python提取xml文件标签中的位置信息截取图像指定区域并另存指定文件夹

#!/usr/bin/env python3 # -*- coding: utf-8 -*- import xml.etree.ElementTree as ET import os, shutil import cv2 # from cv2 import cv2 as cv dir_path = 'xxxxxxx/xxxxxxx' #new_dir = 'xxxxxxx/xxxxxxx'
相关文章
相关标签/搜索