The repository is now archived. The code, updates and issues shall be posted here: https://github.com/spmallick/learnopencv/tree/master/ImageMetrics
The work was published on https://www.learnopencv.com/. Link: blog post.
Python 2.x LIBSVM Installation
sudo apt-get install python-libsvm
Python 3.x LIVSVM Installation and C++ LIBSVM Installation
For C++ :
cd C++/libsvm/
cmake .
make
For Python 3.x :
cd Python/libsvm/
make
cd python
make
Python 2.x
python2 brisquequality.py <image_path>
Python 3.x
cd Python/libsvm/python/
python3 brisquequality.py <image_path>
C++
cd C++/
./brisquequality <image_path>
Quality Score Comparison using BRISUQE Model