GithubHelp home page GithubHelp logo

jamjamjon / ilytix Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 51 KB

A CLI tool for images analysis: checking image integrity, images deduplication, image retrieval.

License: MIT License

Rust 100.00%
dedup image-deduplication rust

ilytix's Introduction

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

ilytix's People

Contributors

jamjamjon avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.