tensor(261.)
print('xyxy:',xyxy,names[c],conf)
# print('xyxy:',xyxy,names[c], f'{conf:.2f}')
print('范围:',f'{xyxy[0]:.2f}' + ',' + f'{xyxy[1]:.2f}' + ',' + f'{xyxy[2]:.2f}' + ',' + f'{xyxy[3]:.2f}' ,names[c], f'{conf:.2f}')
2023-10-11 20:49:04
tensor(261.)
print('xyxy:',xyxy,names[c],conf)
# print('xyxy:',xyxy,names[c], f'{conf:.2f}')
print('范围:',f'{xyxy[0]:.2f}' + ',' + f'{xyxy[1]:.2f}' + ',' + f'{xyxy[2]:.2f}' + ',' + f'{xyxy[3]:.2f}' ,names[c], f'{conf:.2f}')