【发布时间】:2020-06-22 22:07:38
【问题描述】:
我正在使用 Raspberry pi 4、模型 B、珊瑚边缘 TPU 运行我的对象分类。我正在使用此命令对图像进行分类。
‘model.classify_with_image(frame, threshold=args[“confidence”])’
它工作得很好,但它没有给我类似的坐标
‘model.detect_with_image()’
有什么办法可以得到坐标吗?
来自官方文档:
detection:
detect_with_image(img, threshold=0.1, top_k=3, keep_aspect_ratio=False,
relative_coord=True, resample=0)
classification:
classify_with_image(img, threshold=0.1, top_k=3, resample=0)
【问题讨论】:
标签: python tensorflow google-coral