在这里插入代码片
#统计
# 计算每一个目标在原图中的占比
# 计算目标的平均长度、
# 计算平均宽度,
# 计算平均面积、
# 计算目标平均占比
import os
import xml.etree.ElementTree as ET
import numpy as np
#np.set_printoptions(suppress=True, threshold=np.nan) #10,000,000
np.set_printoptions(suppress=True, threshold
根据XML统计每一个目标在原图中的占比、目标的平均长度、宽度等
猜你喜欢
转载自blog.csdn.net/Irwin2020/article/details/107360061
今日推荐
周排行