A simple cli tool for images analysis, written in Rust.
Project description
ilytix
A simple command-line tool for visual image analysis, with features like checking image integrity, deduplication, and retrieval, written in Rust.
Installation
pip install -U ilytix
# or
cargo install ilytix
Getting Started
Check the integrity of images (检查图片完整性)
It will attempt to repair incorrect image formats whenever possible.
ilytix check -i ./datasets -r -o A/B/C
Options:
-i <PATH>
Path for input file or folder.
-o <PATH>
Path for setting the saving results.
-r
, --recursive
Recursively traverse folders to obtain files.
--mv
Store results by moving instead of copying.
And you'll see something like this
✔ Source · /home/qweasd/Desktop/datasets › Folder
✔ Recursively · true
🐢 Integrity Checking [####################] 73/73 (100% | 0.00s | 00:00:00)
✔ Found · x73
· Intact › x34
· Incorrect › x3
· Deprecated Or Unsupported › x36
🐢 Saving(Copy) [####################] 73/73 (100% | 0.00s | 00:00:00)
✔ Results saved at · /home/qweasd/Desktop/A/B/C
Images deduplication (图片去重)
Used for deduplicating images within a folder.
ilytix dedup -i ./datasets -r -o A/B/C
Options:
-i <PATH>
Path for input folder.
-o <PATH>
Path for setting the saving results.
-r
, --recursive
Recursively traverse folders to obtain files.
--mv
Store results by moving instead of copying.
-thresh
Used to adjust image similarity threshold.
And you'll see something like this
✔ Source · /home/qweasd/Desktop/datasets › Folder
✔ Recursively · true
🐢 Building [####################] 73/73 (100% | 0.00s | 00:00:00)
✔ Index
· Capacity › 73
· Size › 37
· Dimensions › 32
🐢 Deduplicating [####################] 73/73 (100% | 0.00s | 00:00:00)
✔ Found
· Duplicated › x17
· Curated › x20
· Deprecated Or Unsupported › x36
🐢 Saving(Copy) [####################] 73/73 (100% | 0.00s | 00:00:00)
✔ Results saved at · /home/qweasd/Desktop/A/B/C-1
TODO
- images integrity check
- images de-duplicate
- image-image retival
- text-image retrival
- image catption
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 Distributions
Hashes for ilytix-0.2.2-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 764cf1c399d0a18d486d876422768b4bd35870ce9bced0e3319852d08ff3c773 |
|
MD5 | 71d6a7d9edba8f8b6bc7115a15118a6b |
|
BLAKE2b-256 | 8e5a6303149e4e6477428a8bcf2bf830dbd9010ad911101d97c0951c9352cd43 |
Hashes for ilytix-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cfba082298582b62abb67dce320b1b5efddd5006ac201bc0d690505c299cb4a |
|
MD5 | 93d5807fdf72ead86acb033abc55ef1f |
|
BLAKE2b-256 | 83e0e644900c5f642e749cf3f51a682c48061849d0591c92e9c29e10960ee0c3 |
Hashes for ilytix-0.2.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e87ca787276ef984aaf3a9988c3e9ad9a6b5d7f1a83fed69b325696500a4627 |
|
MD5 | a41004f7bd2485cefde98c37513f4180 |
|
BLAKE2b-256 | 9a03aae8b99ca2416215664c5ce39476e33dd0f87d234742284294c10e12f467 |
Hashes for ilytix-0.2.2-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 158b2e2317350300d949fc428b876ab6370bc998084b524defd9d9ab4b37e3e0 |
|
MD5 | 641927c1ee31eb4e3a5d23f9341a285d |
|
BLAKE2b-256 | 459b28c0874ecf4d078a17484392123577f04d3a4198afc1bedfedc56614811d |
Hashes for ilytix-0.2.2-py3-none-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8d3373268a38dee85f30068e89ce80b141bc8535fa1466c54dd4ac30220dc18 |
|
MD5 | c7c2bfdde0ff0dce603a79162b3545e0 |
|
BLAKE2b-256 | 5187abf78c6a4838f6c7fc2ddbd58b1435c46b72529a3470303b3af5c3d8ff3c |