I am generating a list of coordinates (x,y) for each images and there are 10+ images . So for one image the list is generated but when the next image comes in the loop the i