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.3-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 621dcc8e02784c86348092b8e1c95240b827741873ac9ff1b90db1ed6e43aca6 |
|
MD5 | 0c6e8756f41bf5ebb89264f601b52938 |
|
BLAKE2b-256 | e1ca44455ab8fa2fbd231c0b7f6cca749667150476bd2f33d7037c379c014178 |
Hashes for ilytix-0.2.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32a39f7d576095262663d8333cedcbd7670dd14c4a27be6f96489d29b768700f |
|
MD5 | 145d07a67593ced87ae745104bb03339 |
|
BLAKE2b-256 | 7ede8b5cda44d290aa3261fe58ddcf5d93a4efed71cb0743ed29077873500e56 |
Hashes for ilytix-0.2.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d28480963ca79a0051bbfdb5b24b1b7afcf60da228471ce8160195075f17b35 |
|
MD5 | 10f2776425bc4f96edd54308ce051db6 |
|
BLAKE2b-256 | a86d45ee3e178b6d388fbc4f351abc55e3ba8862cca002ec83efdd36c9200117 |
Hashes for ilytix-0.2.3-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1d2c2e532cf06eb2d0c437471d5ee0fbf8372e550fbbd22d1d5039d26495ebb |
|
MD5 | 5331a338644726410899f5c66f64c0d4 |
|
BLAKE2b-256 | cafad9f21d9b15aef34e5bd591d52bb4da5cd66452dff059ca81bd966f0c6cee |
Hashes for ilytix-0.2.3-py3-none-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d06d22ce69d6044defcc0df2dd07d48ba488c6a7976e52d5dc73a1aea7d4b92 |
|
MD5 | 9077fb751de9920fa18977e87e2f15a4 |
|
BLAKE2b-256 | 25691297d79964e22dff7b322202fc3b12fa3a7d5ea33470d902d22a23c5219f |