标签: android kotlin imageview tensorflow-lite
我创建了一个应用程序来检测对象。我已经得到了边界框的坐标列表,我想在图片(ImageViews)中绘制这些边界框。
Here is what I have.
And here is what I would like to achieve.
您对如何执行此操作有任何想法吗?
答案 0 :(得分:0)
你可以看看这个https://www.tensorflow.org/lite/examples/object_detection/overview
github 也展示了代码,使用位图 https://github.com/tensorflow/examples/blob/e5fcd871a9ef4066f8db7d86941a710271f8ed89/lite/examples/object_detection/android/app/src/main/java/org/tensorflow/lite/examples/detection/DetectorActivity.java#L151