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
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 to · /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 to · /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 to · /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.5-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3942ea00bb14177991ffc667adfbc1df52e1f8ffb90b5d36c420f951834a72ea |
|
MD5 | 5adb34694a672dc3ea7bd62c8a118c76 |
|
BLAKE2b-256 | 20ba9cc84deb89f8ab7aa8be057559797013df4f2d349814300cdda21f3b6f63 |
Hashes for ilytix-0.2.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c277d53b2ab7ab6bc92617385353da4330a5b5fc75b0603f48a6103b1de45a5 |
|
MD5 | 1227cb7e7f8c3d339e6fde1eb80e8ef2 |
|
BLAKE2b-256 | 7949db200b82573bd11a9c14c2e42583280eb50a78a40065a691eb78292693b5 |
Hashes for ilytix-0.2.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 241bb9b6d6f2e47a0d483a6b9d28421a997d118a7cdb5150349dcdbfba0fd44c |
|
MD5 | 5a01bc9c0a2806735003ad95be288a0f |
|
BLAKE2b-256 | 12861c409da167d3e5ca159c3ab555bb85acd893aae1048f7e86d52129f8ecb1 |
Hashes for ilytix-0.2.5-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed39f22de0be92d82c83b9a35b8e09502465f9f75055387bc0e901318d65efaa |
|
MD5 | 0aef0af68d4bb1f248125e1440f1f8cb |
|
BLAKE2b-256 | 294bbcaa29d7c8960850921d2751fc005ee69309f14399b4cf45cbf21ee8398d |
Hashes for ilytix-0.2.5-py3-none-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9accb66b3ee0a02d45aa1c42f6578513ecbc73b353d2c10bb53cc369a32a85a2 |
|
MD5 | 05875804e9013d16ea224561322e0092 |
|
BLAKE2b-256 | d56dca2cdabfe1f15661168c5278ca1296222f10b95d3fc0bc4c1d6991bf4f99 |