找到图像中标记点的像素坐标,并得到它们之间的距离

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

我试图找到底部黄色矩形的中心与其直接角/边界像素之间的距离。我希望有人帮我得到矩形底部中心和角像素的像素值,并得到它们之间的距离,如 d1 和 d2

This is the Image Link where I have to find the pixel values and the distance d1 and d2

python opencv pixel
© www.soinside.com 2019 - 2024. All rights reserved.