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

Cant load images other than JPEG #45

Open
Medj9 opened this issue Sep 3, 2018 · 3 comments
Open

Cant load images other than JPEG #45

Medj9 opened this issue Sep 3, 2018 · 3 comments

Comments

@Medj9
Copy link

Medj9 commented Sep 3, 2018

Hi
screenshot from 2018-09-03 14-42-31
when put images with .png extension it throw s the error. help in this respect

@tahakhursheed
Copy link

Too late, but you could do the following

  1. Convert png to jpg : mogrify -format jpg *.png run on the directory of images
  2. Change main.py to read jpg instead of jpeg.

@tanmay-bhatnagar
Copy link

@tahakhursheed how do i change the main.py file to read jpg instead of jpeg

@ivder
Copy link

ivder commented Feb 15, 2019

line 134
self.imageList = glob.glob(os.path.join(self.imageDir, '*.jpg'))

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

4 participants