I have this python code for finding coordinates for each pixel in an image. I add 1 to y if a column is finished and 1 to x if a row has finished. The data seems fine during the for loop but when accessing the list after it, it has unknown/wrong items.
import cv2
from colormap import rgb2hex
l...