Common Lisp client for MATCH (reverse image search). Allows you to reverse image search your local files from anywhere!
Read the technical blog post for more info about this thing.
- Upload images from your computer with
(update)
. MATCH-CLIENT will search for images in the specified directories and add any new images to the MATCH server. - Search for images using
(match url)
- match-client only works with SBCL.
- All the requirements except cl-graphicsmagick are installable through quicklisp. Install graphicsmagick libraries and cl-graphicsmagick manually. Note that there are issues with using graphicsmagick on Linux, see below.
- Set up MATCH server.
- Copy
settings.lisp.template
tosettings.lisp
and change the settings appropriately. - Run
(update)
to upload all the images in*root-dirs*
to the server. - Next time you run
(update)
only files that changed will be updated. Deleted files will also be cleared from the server.
There might be a problem with calling graphicsmagick on Linux from SBCL with the latter crashing right into a debugger (ldb). I recommend installing graphicsmagick from source, and comment out the following line in magick.c
.
InitializeMagickSignalHandlers(); /* Signal handlers */