CLI tool that uses the CLIP model from OpenAI to search images on your disk.
Support Cuda and CPU.
pip install -r requirements.txt
usage: cliclip.py [-h] -d DIRECTORY -p PROMPT [-t TOP] [-s]
Search for images based on textual prompts using CLIP.
options:
-h, --help show this help message and exit
-d DIRECTORY, --directory DIRECTORY
Directory containing the images.
-p PROMPT, --prompt PROMPT
Text prompt.
-t TOP, --top TOP Number of top scored images to display.
-s, --score Display score along output.