Below is an image having 5 X 4 grid numbered as shown. The grid is made up of nodes which can be represented by x and y co-ordinates as shown in the figure. For example, the node highlighted by the blue circle can be represented as (X, Y) = (3, 2)
I want to write a python program using opencv2 module to save the nodes into an array. Can anyone please help me to do the same I am using pyhton 2.7