Coder Social home page Coder Social logo

rclip's Introduction

rclip - AI-Powered Command-Line Photo Search Tool

All Contributors

[Blog] [Demo on YouTube]

rclip logo

rclip is a command-line photo search tool based on the awesome OpenAI's CLIP neural network.

Installation

Currently, pre-built distributable is available only for Linux x86_64.

  1. Download the AppImage from the latest release.

  2. Execute following commands:

$ chmod +x <downloaded AppImage filename>
$ sudo mv <downloaded AppImage filename> /usr/local/bin/rclip

Usage

$ cd photos && rclip "search query"

rclip usage demo

When you run rclip for the first time in a particular directory, it's going to extract features from the photos, and this takes time. How long it takes depends on your CPU and the number of photos you are going to search through. It took about a day to process 73 thousand of my photos on my NAS that runs an old-ish Intel Celeron J3455.

For the detailed demonstration, watch the video: https://www.youtube.com/watch?v=tAJHXOkHidw.

How do I preview the results?

The command from below will open top-5 results for "kitty" in your default image viewer:

$ rclip -f -t 5 kitty | xargs -d '\n' -n 1 xdg-open

I prefer to use feh's thumbnail mode to preview multiple results:

$ rclip -f -t 5 kitty | feh -f - -t

Help

$ rclip --help

Contributing

This repository follows the Conventional Commits standard.

Contributors

Thanks goes to these wonderful people (emoji key):


ramayer

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

rclip's People

Contributors

allcontributors[bot] avatar ramayer avatar yurijmikhalevich 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.