Skip to content

GUI to explore large image collections with text queries

Notifications You must be signed in to change notification settings

DecafSunrise/ImageSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageSearch

image

I found this neat article the other day, and figured it could be a good way to wade through a collection of ~thousands of pictures I've saved over the last decade.

Setup:

  1. Follow the instructions in the linked article. I had to downgrade Pillow (image manipulation library) to 9.0.0 because of weird instability.
  2. Ensure you've got DotEnv set up (pip install python-dotenv), and an appropriate .env file in repo directory, pointed at the working directory of images.
  3. Run python get_embeddings.py to build an embedding representation of images we can use for search and stuff. If you add or remove images, you'll need to run this again. It ran fairly quickly (~2-3 minutes for ~1500 pictures) in tests. It doesn't know what to do with .avif files; consider converting them to PNGs!.
  4. streamlit run app.py
  5. Enjoy!

About

GUI to explore large image collections with text queries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages