You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just finished working through the photomosaic tutorial the other day. This is how I altered the code to account for the 'match' and it seems to work fine.
if not reuse_images:
input_images.remove(input_images[match_index])
avgs.remove(avgs[match_index])
*Once you remove the image that is stored at match_index you have to also remove its average rbg value too otherwise you'll get an error.
In project photomosaic.py, in line 180:
I wonder variable ‘match' is miswritten. it is never defined in codes. But I don't know what it should be replaced?
The text was updated successfully, but these errors were encountered: