This is a fork of https://github.com/pharmapsychotic/clip-interrogator that has been ported to python and can be run in the terminal. It has also been given the ability to process batches of images.
python setup.py
python cli.py -i https://i.ytimg.com/vi/0k1xU4Kp5Go/maxresdefault.jpg
-i
URL or path to image to interrogate-f
File with a list of images to interrogate-o
Output file to save prompts to, defaults to stdout
- Now loops through every file in list, runs, and saves prompt to a .txt file with the same name as the original image, in the same directory