Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ilytix-0.2.5.tar.gz (17.9 kB view details)

Uploaded Source

Built Distributions

ilytix-0.2.5-py3-none-win_amd64.whl (1.2 MB view details)

Uploaded Python 3 Windows x86-64

ilytix-0.2.5-py3-none-win32.whl (1.1 MB view details)

Uploaded Python 3 Windows x86

ilytix-0.2.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

ilytix-0.2.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (1.4 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ i686

ilytix-0.2.5-py3-none-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

ilytix-0.2.5-py3-none-macosx_10_12_x86_64.whl (1.3 MB view details)

Uploaded Python 3 macOS 10.12+ x86-64

File details

Details for the file ilytix-0.2.5.tar.gz.

File metadata

  • Download URL: ilytix-0.2.5.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.5.1

File hashes

Hashes for ilytix-0.2.5.tar.gz
Algorithm Hash digest
SHA256 f12cb31b5e2ab5bc154c51b21436a14e0d5112c2e2471756307558510194ac9f
MD5 b727db509a4df6561bb819ef1e667c66
BLAKE2b-256 038e924d62ed1afcb2f0605cca762cfb089161699617934aedd4780ae21ef809

See more details on using hashes here.

File details

Details for the file ilytix-0.2.5-py3-none-win_amd64.whl.

File metadata

  • Download URL: ilytix-0.2.5-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.5.1

File hashes

Hashes for ilytix-0.2.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3942ea00bb14177991ffc667adfbc1df52e1f8ffb90b5d36c420f951834a72ea
MD5 5adb34694a672dc3ea7bd62c8a118c76
BLAKE2b-256 20ba9cc84deb89f8ab7aa8be057559797013df4f2d349814300cdda21f3b6f63

See more details on using hashes here.

File details

Details for the file ilytix-0.2.5-py3-none-win32.whl.

File metadata

  • Download URL: ilytix-0.2.5-py3-none-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.5.1

File hashes

Hashes for ilytix-0.2.5-py3-none-win32.whl
Algorithm Hash digest
SHA256 f274764462a0b77587d24080bcaf02ed8e5b98a3b916db33bc605109e88d678a
MD5 467a747af2d75c60930b4f7955b979b5
BLAKE2b-256 ef1ec1a0f8fd5d939dd6b2a570be8f48e77a88a36a66085343a75b72e26da582

See more details on using hashes here.

File details

Details for the file ilytix-0.2.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file ilytix-0.2.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file ilytix-0.2.5-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ilytix-0.2.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ed39f22de0be92d82c83b9a35b8e09502465f9f75055387bc0e901318d65efaa
MD5 0aef0af68d4bb1f248125e1440f1f8cb
BLAKE2b-256 294bbcaa29d7c8960850921d2751fc005ee69309f14399b4cf45cbf21ee8398d

See more details on using hashes here.

File details

Details for the file ilytix-0.2.5-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ilytix-0.2.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9accb66b3ee0a02d45aa1c42f6578513ecbc73b353d2c10bb53cc369a32a85a2
MD5 05875804e9013d16ea224561322e0092
BLAKE2b-256 d56dca2cdabfe1f15661168c5278ca1296222f10b95d3fc0bc4c1d6991bf4f99

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page