Skip to content
Advertisement

Tag: corner-detection

Is there a method for connecting the detected corners in python?

I want to connect the detected corners that belong to the same object draw like a triangle around that. the following is my code it works I just want to add this functionality. Answer You can use cv2.line() method to draw a line between two points. Here is the documentation shows you how to use this method: https://docs.opencv.org/master/d6/d6e/group__imgproc__draw.html

Advertisement