Hi So basically I got 2 arrays. For the sake of simplicity the following:
array_notepad = []
array_images = []
Some magic happens and they are populated, i.e. data is loaded, for array_notepad
data is read from a notepad file whilst array_images
is populated with the RGB values from a folder containing images.
How do I use array_notepad
as a label of array_images
?
i.e. the label of array_images[0]
is array_notepad[0]
, array_images[1]
is array_notepad[1]
, array_images[1]
is array_notepad[1]
, and so on until array_images[999]
is array_notepad[999]
If it makes any difference I am using glob
and cv2
to read the image data, whilst normal python file reader to read the content in the notepad.
Thanks a lot for your help!