Skip to content

BasicAcid/cliclip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cliclip

CLI tool that uses the CLIP model from OpenAI to search images on your disk.

Support Cuda and CPU.

Installation

pip install -r requirements.txt

Usage

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.

About

Find local images based on text prompt.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages