Hi all, I am trying to extract the (x,y) coordinates of the the four corners of a wooden rectangular plank image and apply that to a real-time video feed.
What I have in mind is: 1) read image and apply Harris Corner Dectection(HCD) to mark out 4 red points. 2) Search for red points on the image and output an array giving the (x,y) coordinates
I have no idea how to implement step 2 at the moment, and with regard to step 1, I have no idea how the HCD knows which pixel to mark out on. Is there a way I can extract the coordinate information?