aizvorski / video-quality

Video quality metrics, reference implementation in python: VIF, SSIM, PSNR, ...
GNU General Public License v2.0
697 stars 190 forks source link

Issue in jpg_demo.py #5

Closed engrzeeshan closed 4 years ago

engrzeeshan commented 5 years ago

I'm running jpg_demo.py in Anaconda/Spyder on RHEL 7.5. I encounter following error:

CalledProcessError: Command 'gm convert lena1.jpg -quality 0 lena_tmp.jpg' returned non-zero exit status 127. <Figure size 576x576 with 0 Axes>

Please help me resolve the issue.

purple7seven commented 5 years ago

Have you solve the problem? I get the same issue, i don't know how to resolve it.

engrzeeshan commented 5 years ago

No, issue is not resolved yet. Do you know python code of image/video quality metrics?

sinianzaibeifang commented 5 years ago

I met a similar problem before.The system command 'gm convert...' in line 36 jpg_demo.py calls 'git merge' instead of 'graphicsmagick'.You can try to point out the path of 'gm'(graphicsmagick) in the code.

marccospraiano commented 5 years ago

The jpg_demo.py has various erros of implentation. Use the Scikitvideo library in: http://www.scikit-video.org/stable/index.html

engrzeeshan commented 5 years ago

thanks

On Fri, Apr 26, 2019 at 3:22 AM marccospraiano notifications@github.com wrote:

The jpg_demo.py has various erros of implentation. Use the Scikitvideo library in: http://www.scikit-video.org/stable/index.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aizvorski/video-quality/issues/5#issuecomment-486858971, or mute the thread https://github.com/notifications/unsubscribe-auth/AGHM5WZSFPVQ6Q7SUC7YOBTPSIVKXANCNFSM4GSAGWCQ .

-- ------------------------------ Muhammad Zeeshan

aizvorski commented 4 years ago

Please install graphicsmagick before running the demo, and make sure gm is in the path. This is not needed to use measure.py or to use the metrics from code.