Skip to main content

Image Quality

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brisque-0.0.15.tar.gz (136.4 kB view hashes)

Uploaded Source

Built Distribution

brisque-0.0.15-py3-none-any.whl (135.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page