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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file animalsearch-0.0.4.tar.gz
.
File metadata
- Download URL: animalsearch-0.0.4.tar.gz
- Upload date:
- Size: 40.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 736f65ab775e61cf2f2f3f33334bcfd9dd378938c95c44f32738a624aedeed6d |
|
MD5 | 67d4babeaa898697f77ebab0dd56be23 |
|
BLAKE2b-256 | 4ed7af594fcaf76b505d38f9d2e137b070c819f0811900fe64ef1cd28f9dad9e |
File details
Details for the file animalsearch-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: animalsearch-0.0.4-py3-none-any.whl
- Upload date:
- Size: 40.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f081768d073e50bc80fde5b1ca535d390943205bfb803c2dc6a4be2a49f4db |
|
MD5 | 2acbecbf177f1789bc2fcbbef9113557 |
|
BLAKE2b-256 | 335824dad18881301069ce0184d0dbe45b50210b978bf7d8f8d0149ffef5d810 |