如何在 Kotlin 中的 ImageView 上绘制矩形?

时间:2021-03-25 18:25:00

标签: android kotlin imageview tensorflow-lite

我创建了一个应用程序来检测对象。我已经得到了边界框的坐标列表,我想在图片(ImageViews)中绘制这些边界框。

Here is what I have.

And here is what I would like to achieve.

您对如何执行此操作有任何想法吗?