nuno-faria/tiler

IndexError: tuple index out of range

th3g3ntI3man opened this issue · 2 comments

Traceback (most recent call last):
File "/home/kali/tiler/tiler.py", line 223, in
main()
File "/home/kali/tiler/tiler.py", line 217, in main
boxes, original_res = get_processed_image_boxes(image_path, tiles)
File "/home/kali/tiler/tiler.py", line 151, in get_processed_image_boxes
img = read_image(image_path)
File "/home/kali/tiler/tiler.py", line 34, in read_image
if img.shape[2] == 3:
IndexError: tuple index out of range

Does the path with the tiles only contain images?

Fixed: Image was too small (I think).