This is a python PSNR calculator tool
-
Install Python 3.5 if you dont have it in your computer.
-
Open a new terminal and type:
# apt-get install python3-pip
# pip3 install numpy
# pip3 install pillow
- Go to the path where example.py is and execute it with the command:
python3 main.py path_original_image path_encoded_image
python3 main.py ./lena.bmp ./lenadec.bmp