Image Quality Assessment API

Image Quality Assessment API

Performs a blind/referenceless image spatial quality evaluator (BRISQUE) algorithm on the image and predicts an image quality score.

Response example. If you want to see more check the documentation.

Free Plan $0.00 Monthly Subscribe
100 Requests / Monthly
Free for Lifetime
No Credit Card Required
Starter Plan $39.99 Monthly Subscribe
30,000 Requests / Monthly
Standard Support
Pro Plan $129.99 Monthly Subscribe
150,000 Requests / Monthly
Standard Support
Custom Plan Volume Monthly Contact Us
Any requests volume you need

What is Image Quality Assessment?

It is easy to take photos, but it is difficult to take good ones. It requires good composition and good lighting. The right lens and top quality hardware can make a big difference. Most importantly, a high quality photo requires good taste and judgment. You need an expert eye. But is there a mathematical measure of quality that constitutes this human judgment?

Some quality metrics can be easily captured with an algorithm. For example, we can look at information captured by pixels and mark an image as noise or blurry. On the other hand, some quality metrics are nearly impossible for an algorithm to catch. For example, an algorithm finds it difficult to judge the quality of a photo that requires cultural context.

There is a scientific method called BRISQUE (Blind/Referenceless Image Spatial Quality Evaluator ) which is a no-reference image quality score well-accepted in the market. This API is a sclable and performant implementation of this method.

Use cases

You can use this service for:

  • Determining the best image of the product to display on the front page
  • Sort the products/listings based on the image quality score on your e-commerce site
  • Show only the high-quality images for adverts
  • Only permitting high-quality images for your listing/product

Evaluating an image on a URL

First, start by (free tier available), get your API key and you are ready. Next, you can test using the following cURL command. This code will fetch the image located at https://.../sample.jpg

curl --request GET \
--url '' \
--header 'apikey: YOUR API KEY HERE'

The results will be as follows

    "score": 32.20628629174732,
    "description": "good"

Evaluating an image from local file

The procedure is pretty similar to what we do for parsing a resume on a URL. First, simply (free tier available), get your API key and you are done.

Use the following code to upload an image from your computer to the service and get the quality score in JSON format immediately back.

curl --location --request POST '' \
--header 'Content-Type: application/octet-stream' \
--header 'apikey: YOUR API KEY HERE' \
--data-binary '@/C:/Users/test/Desktop/sample.jpg'

Related Articles