Skip to main content

A CLI for sorting animal images.

Project description

animalsearch

A commandline tool for finding animals in pictures.

How to use

Open a terimal to install using pip:

$ pip install animalsearch

Run the tool on a folder containing only images:

$ animalsearch PATH_TO_IMAGE_FOLDER --mode sort

The folder should be structured like this:

PATH_TO_IMAGE_FOLDER/
    img000.jpg
    img001.jpg
    ...
    imgXXX.jpg

If there are any non-image files or folders in PATH_TO_IMAGE_FOLDER, the tool will throw an error message. This is a safety mechanism.

Once the tool is run, your folder should look like this:

PATH_TO_IMAGE_FOLDER/
    animals/
        img000.jpg
        img003.jpg
        img004.jpg
        ...
    no_animals/
        img001.jpg
        img002.jpg
        img005.jpg
        ...

Read the help menu for more information.

$ animalsearch -h

FAQ

For more information about the code in this repo, take a look at the original source here.

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

animalsearch-0.0.4.tar.gz (40.6 MB view hashes)

Uploaded Source

Built Distribution

animalsearch-0.0.4-py3-none-any.whl (40.7 MB 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