image-quality-assessment
image-quality-assessment copied to clipboard
Is it possible to predict other type of images like png?
Although I am trying to predict png file, the error shows jpg file not found. Any idea?
Thanks in advance
Hi,
I was having the same problem with my png files, and it seems like in the code somewhere it adds .jpg extension to the filename, regardless of the file format.
Although one could change one line of code to make it work for png, I figured it would be faster for me to convert all the png files to jpgs other than trying to track down the codes that the authors wrote.
I used software called 'Imagemagick' to batch process all images from png to jpg (https://imagemagick.org/index.php):
sudo apt install imagemagick
mogrify -monitor Detail -path "OuputFolderName" -format jpg *.png
Please note that above command needs to be run on the folder where you have png images.
It took about 10 minutes to process 2.5G worth of 60,000 images on my laptop, so it doesn't take that long.