Skip to main content

Calculates the similarity score between images

Project description

Bjorn score

Calculate image similarity score

Expected Input: csv file with images and its absolute path
Expected Output: csv file with images and its absolute path, image score and elapsed time in secs.

Install:
pip3 install imagescore

How to run:
imagescore --infile 'input.csv' --outfile 'output.csv'

The options are:

    --infile  | -i [str]    -- [Input file path]
    --outfile | -o [str]    -- [Output file path]
    --height  | -h [int]    -- [Optional: height to be resized, default = 4096]
    --width   | -w [int]    -- [Optional: width to be resized, default = 4096]

Developer mode:
The application is written in python3. Hence create a virtualenv with python3 and install the dependencies.

virtualenv --python=python3 venv
pip install -e .

Tests:
The unit test cases are located in tests directory. Install the dependencies requrements-dev.txt.

pip install -r requirements-dev.txt
tox

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

imagescore-1.0.4.tar.gz (3.8 kB view details)

Uploaded Source

Built Distributions

imagescore-1.0.4-py3.7.egg (17.2 kB view details)

Uploaded Source

imagescore-1.0.4-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file imagescore-1.0.4.tar.gz.

File metadata

  • Download URL: imagescore-1.0.4.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for imagescore-1.0.4.tar.gz
Algorithm Hash digest
SHA256 abd1d82cbc7e5981884e6e0889212ff7f0ca5c5b17e9b2ad6ce09f7496d0ede4
MD5 4b3eaa56678b89bc9498da932e44f170
BLAKE2b-256 090c6e67b966d1953e91b88d666ff59f5f6e2e86b284cf4c8d151bcb0b1bd0ee

See more details on using hashes here.

File details

Details for the file imagescore-1.0.4-py3.7.egg.

File metadata

  • Download URL: imagescore-1.0.4-py3.7.egg
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for imagescore-1.0.4-py3.7.egg
Algorithm Hash digest
SHA256 fae871db47bbf51acaff20655def7e30e8c19fea92536cdcb1a9614e89718936
MD5 444a35609f54115e302dc4ffb4f8ddc2
BLAKE2b-256 6e6c0d8018d3ce4053e7635ebb015f597590c1510b7d5dde4489f0f9db5930c5

See more details on using hashes here.

File details

Details for the file imagescore-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: imagescore-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for imagescore-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fffdd32e6b91985bb246e6ffe5118d34cf1f4a8e428b8d18bbb8968578cba867
MD5 165995bd43640371c7b3bbc27855ca6c
BLAKE2b-256 361ef857b9fb155288453a783d803162c7a75a103de5f0f3bcaf9a9e586718e5

See more details on using hashes here.

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