[ [ 99 66] [118 67] [119 67] [120 67] [121 67] [121 68] [121 70] [ 95 71] [121 71] [123 98] [133 109] [136 110] [150 126] [153 126] [153 128] [153 129]]
I have this numpy array that contains the coordinate sets that I want to overlay on the matrix. How can I turn this numpy array into something like this
[[0 1 1 ..., 0 1 1] [0 0 1 ..., 1 1 1] [0 0 0 ..., 1 0 0] ..., [0 0 0 ..., 0 1 0] [1 0 0 ..., 0 0 1] [0 1 0 ..., 1 1 1]]`
So, I can draw what I want on my matrix
source share