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
Tag: corner-detection
Harris corner detector at different rotations
I am using the opencv implementation of Harris Corner detection in python. My question is regarding the behaviour shown in the gif below – as the image is rotated the corners stop being detected (at various rotations). The full code: based on this. The image used can be found here. It is perhaps not so clear from the gif (more