使用Python进行图像处理,为SSD的基本原理创建边界框

时间:2019-11-12 16:37:23

标签: python image-processing deep-learning image-manipulation bounding-box

我有这两个图像,一个用作原始图像,另一个用作遮罩图像。

enter image description here

enter image description here

鉴于这2个,我想创建一个带有边界框(仅垂直/正方形)的地面实况,如下所示:

enter image description here

从理论上讲,我想要做的就是只获取像素级蒙版地面真实情况中的最小和最大x&y,并在原始图像上创建一个垂直/正方形边界框。我如何在python中做到这一点?

0 个答案:

没有答案