A command-line photo search tool based on the awesome OpenAI’s CLIP neural network

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 
$ sudo mv  /usr/local/bin/rclip

Usage

$ cd photos && rclip "search query"

rclip-usage

How do I preview the results?

The command from below will open top-5 results for “kitty” in your default image viewer. For this to work, you’ll have to index the directory beforehand by running rclip in it without the -n key.

$ rclip -nf -t 5 "kitty" | xargs -d 'n'

 

 

 

To finish reading, please visit source site