Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script strangely crashes #3

Open
t1meshift opened this issue Mar 17, 2017 · 0 comments
Open

Script strangely crashes #3

t1meshift opened this issue Mar 17, 2017 · 0 comments

Comments

@t1meshift
Copy link

Don't know what's going on, I just added some pictures from Google Image Search in folder with Flickr downloads and this is what I get on output:

C:\Users\yury\Downloads\image-mosaic-master\image-mosaic-master\mosaic>python colour-mosaic.py ./cells ./i.jpg ./j.jpg
Traceback (most recent call last):
  File "colour-mosaic.py", line 52, in <module>
    "colour": average_colour(pixels)
  File "colour-mosaic.py", line 25, in average_colour
    channels = len(pixels[0, 0])
TypeError: object of type 'int' has no len()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant