从OpenCV中的ROI裁剪矩形扩展名

问题描述 投票:0回答:1

我有这张图片:

This is the image I want to work on

我想从整个ROI中提取下面突出显示的矩形扩展名。

Rectangluar extensions to extract

python opencv image-processing shapes extraction
1个回答
1
投票

这是使用morphological operations + cv2.contourArea()进行轮廓滤波的简单方法>


Otsu的阈值->形态关闭+反转->结果

© www.soinside.com 2019 - 2024. All rights reserved.