I have 2 lists of pixel coordinates
(confirmed pixel[(60, 176), (60, 174), (63, 163), (61, 176)] &
white_pixel [(64, 178), (60, 174), (61, 176)])
I want to compare them both, and if any same values are found such as (61, 176) and (60, 174), it will return True, meaning at least one value needs to match.
How can I do this in this if statement?
confirmed_pixel == white_pixel doesn't work as all the values in both lists need to be the same for it to return true
if confirmed_pixel == white_pixel and len(confirmed_pixel) != 0 and len(white_pixel) != 0:
print("True")
continue