for obj in tf.classify(net, img, min_scale=1.0, scale_mul=0.8, x_overlap=0.5, y_overlap=0.5):
print("**********\nPredictions at [x=%d,y=%d,w=%d,h=%d]" % obj.rect())
img.draw_rectangle(obj.rect())
# This combines the labels and confidence values into a list of tuples
predictions_list = list(zip(labels, obj.output()))
for i in range(len(predictions_list)):
print("%s = %f" % (predictions_list[i][0], predictions_list[i][1]))
print(clock.fps(), "fps")
K
kzv4
@kzv4
0
声望
1
楼层
262
资料浏览
0
粉丝
0
关注
kzv4 发布的帖子
-
从Edge Impulse上导入的程序可以框选物体并返回检测物体的坐标吗?