Skip to main content

Travis PyPi

Image Quality

Description

Image quality is an open source software library for Automatic Image Quality Assessment (IQA).

Dependencies

  • Python 3.8

  • (Development) Docker

Installation

The package is public and is hosted in PyPi repository. To install it in your machine run

pip install image-quality

Example

After installing image-quality package, you can test that it was successfully installed running the following commands in a python terminal.

>>> import imquality.brisque as brisque
>>> import PIL.Image

>>> path = 'path/to/image'
>>> img = PIL.Image.open(path)
>>> brisque.score(img)
4.9541572815704455

Development

In case of adding a new tensorflow dataset or modifying the location of a zip file, it is necessary to update the url checksums. You can find the instructions in the following tensorflow documentation.

The steps to create the url checksums are the following:

1. Take the file with the dataset configuration (e.g. live_iqa.py) an place it in the tensorflow_datasets folder. The folder is commonly placed in ${HOME}/.local/lib/python3.8/site-packages if you install the python packages using the user flag.

2. Modify the __init__.py of the tensorflow_datasets to import your new dataset. For example from .image.live_iqa import LiveIQA at the top of the file.

3. In your terminal run the commands:

touch url_checksums/live_iqa.txt
python -m tensorflow_datasets.scripts.download_and_prepare  \
   --register_checksums  \
   --datasets=live_iqa

4. The file live_iqa.txt is going to contain the checksum. Now you can copy and paste it to your project’s url_checksums folder.

Sponsor

https://github.com/antonreshetov/mysigmail/raw/master/jetbrains.svg?sanitize=true

Maintainer

Metadata

Release files for image-quality 1.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for image-quality 1.2.6
File Size Uploaded
image-quality-1.2.6.tar.gz 141.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for image-quality 1.2.6
File Interpreter ABI Platform
image_quality-1.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 288.1 kB

Release files / image-quality-1.2.6.tar.gz

Download URL image-quality-1.2.6.tar.gz
Size 141.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ffe6cd73947486e827a0b14225d74ea13e1004495c5f41a50d07eb8800b4e4b2
BLAKE2b-256 checksum
How to use checksums
4ac96e3ae49a7602d5c5e735c67fa6b0e622bb51d5823e87dfeefe885f73fa21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.0

Release files / image_quality-1.2.6-py3-none-any.whl

Download URL image_quality-1.2.6-py3-none-any.whl
Size 146.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bef7b87b2f59b5abedbfa0c47308d6679aab764ba162d709f9ab4fbf38a0f924
BLAKE2b-256 checksum
How to use checksums
080d9fb007d9925dddf8f3a1fd1268f6cf44f1127059a0528ffc74539a92a1b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.0

Release history Release notifications | RSS feed

1.2.7

2 release files

This release

1.2.6 This release

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page