I am trying to input the image, L shaped image in black:
into my Python code and receive back the coordinates of each corner. I get confused with the pixel approach of cv2 and am trying to figure out a way to create two arrays, x and y, of the corners. Examples for this shape could return:
x = [1, 3, 3, 9, 9, 2, 2, 1]
y = [1, 1, 9, 9, 11, 11, 10, 10]