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.2.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distributions

imagescore-1.0.2-py3.7.egg (17.2 kB view hashes)

Uploaded Source

imagescore-1.0.2-py3-none-any.whl (8.8 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