简体   繁体   中英

How to find center of a marker in an accurate way?

I want to get the value of the center of the marker. as a picture below.

我想要的中心

I have tried to calculate the center of the marker by calculating from the corner of the marker. So, I already got the center of the marker but it was not accurate values as I want. When the marker is not parallel to a camera, the calculated center has shifted from the center of the marker as a picture below.

从角计算的中心

I would appreciate if you could give me some suggestions to find the center of the marker in an accuracy way.

I would like to apologize if my question is not clear enough. Please let me know what I have to improve.

Since your image is at an angle, you can use a perspective transform to obtain a bird's eye view of the image. To obtain the center of the marker, you can first find the corners using the Shi-Tomasi Corner Detector or the Harris corner detector and then use geometry calculations based on the found corners to obtain your center point.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM