import os
import xml.dom.minidom
total_count = 0
AnnoPath = './ads/ads_xml'
Annolist = os.listdir(AnnoPath)
for annotation in Annolist:
filename = os.path.join(AnnoPath,annotation
利用python批量提取xml文件中的某个类别的数目
最新推荐文章于 2023-11-16 11:53:16 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)