Skip to content

Quansight/brisque

 
 

Repository files navigation

Blind/Referenceless Image Spatial Quality Evaluator (BRISQUE)

BRISQUE is a no-reference image quality score.

A good place to know how BRISQUE works : LearnOpenCV

Installation

pip install brisque

Usage

  1. Trying to perform Image Quality Assessment on local images
from brisque import BRISQUE

obj = BRISQUE(url=False)
obj.score("<Ndarray of the Image>")
  1. Trying to perform Image Quality Assessment on web images
from brisque import BRISQUE

obj = BRISQUE(url=True)
obj.score("<URL for the Image>")

Example

  • Input
from brisque import BRISQUE

obj = BRISQUE("https://www.mathworks.com/help/examples/images/win64/CalculateBRISQUEScoreUsingCustomFeatureModelExample_01.png", 
        url=True)
obj.score()
  • Output
74.41910327611319

About

Blind/Referenceless Image Spatial QUality Evaluator (BRISQUE)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%