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 image or images 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 images 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
Image-Image Retrival (图片检索相似图片)
ilytix retrive -i <Images Folder> -r --query <Query> -v
Output
✔ Collection · /home/qweasd/Desktop/4test › Folder
✔ Recursively · true
🐢 Building [####################] 10,693/10,693 (100% | 0.00s | 00:00:36)
✔ Index
· Capacity › 10693
· Size › 10677
· Dimensions › 32
✔ Query · /home/qweasd/Desktop/query.png
✔ Matched · x6
· /home/qweasd/Desktop/4test/clips/query (3rd copy).png
· /home/qweasd/Desktop/4test/clips/query (another copy).png
· /home/qweasd/Desktop/4test/clips/query (4th copy).png
· /home/qweasd/Desktop/4test/clips/query (copy).png
· /home/qweasd/Desktop/4test/clips/query.png
· /home/qweasd/Desktop/4test/clips/query (5th copy).png
🐢 Saving[Copy] [####################] 6/6 (100% | 0.00s | 00:00:00)
✔ Results saved at · /home/qweasd/Desktop/A/B
TODO
- images integrity check
- images de-duplicate
- image-image retrival
- 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.4-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 170c449fa81c1a5ac05456c78915e5202af9166e9fbcbd034f72f53b1fbd63ac |
|
MD5 | f1ffa126c12359399191c37593489958 |
|
BLAKE2b-256 | bb53d741d5928b754a2db0e7b2224c67f78e52541432a370727b7207339d181d |
Hashes for ilytix-0.2.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 228d68ba9aaf8cd756c3774a42b81c8144e68449097d30968e6d35822c12d76b |
|
MD5 | 79ceb397eafe9c507267aacf34c51cec |
|
BLAKE2b-256 | fe30f0112412495bf52ec0173e3321f03c78457c2d58a9cca342ba605739de11 |
Hashes for ilytix-0.2.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7eb5e8adf5008f645c35bb15a99c64d378c0f1b400c277c477f7507f358072c |
|
MD5 | 435bfdbd4791d5299f181c66deb74756 |
|
BLAKE2b-256 | 282b879ed0fd51062c38462958db3f544dc067aa35b99a49a79a41088d23bb4b |
Hashes for ilytix-0.2.4-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17db6cdc15ff24c9bc0e5bf3f84f1e3038225fc3dd3b004d25567744bbbda1f5 |
|
MD5 | a78dd6ff3477d3b32045701117614149 |
|
BLAKE2b-256 | ac7178e6d9b201b294a62249d62a789ef37915debb4eed29a8d473c78dbac30c |
Hashes for ilytix-0.2.4-py3-none-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29807a56f714ed9ea3c1d41aa4e8f0d35f0088e654b798ec531874105fbc4635 |
|
MD5 | b784fce4b1d85825400ac64f05df4d5d |
|
BLAKE2b-256 | ca10bcd79d78a173eb815df544595f1995e21350abac05a963e14f94e13091d8 |