It looks like someone messed up my picture! Can anyone reorganize the pixels? The python module PIL (Python Imaging Library) might be useful! https://mega.nz/#!OKxByZyT!vaabCJRG5D9zAUp7drTekcA5pszu67r_TbQMtxEzqGE
Update: I think whoever messed up my image took every column of pixels and put them side by side. Update: I think the width of the image was 304 before they messed with it.
Fairly straight forward to understand with the clues given. Not so straight forward to get it to work correctly. I used numpy and cv2
Great solution!
1 year ago
hint:
img.load() turns your image into a list, and img.put_data(that_list_from_img_load) puts that list into an image