/picturesautonamer

Leveraging the power of multimodal LLaVA LLM to give to image files relevant names. Quick hack built on top of llama.cpp.

Primary LanguageJavaMIT LicenseMIT

PicturesAutoNamer

A Java frontend using llamacpp and local LLaVA LLM to rename pictures according to their content.

demo

FEATURES

  • An user interface to choose a folder/subdirectories and display the progress
  • Auto-resize each picture (using imgscalr lib)
  • Send a request to a local llamacpp server running LLaVA
  • Rename the file after having cleaned up LLaVA's answer and accounted for duplicate
  • Handle the case where the name chosen by LLaVA collide with an already existing name

Support jpg, png, bmp, webp thanks to the TwelveMonkeys library.

INSTALLATION

TO DO

  • More images formats (which ones?)