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
# 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


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.2.tar.gz (16.9 kB view hashes)

Uploaded Source

Built Distributions

ilytix-0.2.2-py3-none-win_amd64.whl (1.1 MB view hashes)

Uploaded Python 3 Windows x86-64

ilytix-0.2.2-py3-none-win32.whl (1.1 MB view hashes)

Uploaded Python 3 Windows x86

ilytix-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

ilytix-0.2.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (1.4 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ i686

ilytix-0.2.2-py3-none-macosx_11_0_arm64.whl (1.2 MB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

ilytix-0.2.2-py3-none-macosx_10_12_x86_64.whl (1.2 MB view hashes)

Uploaded Python 3 macOS 10.12+ x86-64

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