Description
Create an locally deployable application that allows the user to repeatedly choose between two images from a set to rank them over the course of multiple comparisons. The image set should be loadable from a local file folder the user specifies, then the program displays 2 images at a time to the user who selects their preferred image, random comparisons continue until the user decides they are done, or some threshold for comparisons is met (for example, all images except 1 have "lost" 5 times). The resulting stack sort is available to the user. As a stretch goal the images could be renamed or copy+rename based on the results. Additional stretch goal would be to sort images from a library of URLs (or perhaps a flickr stream). An unlikely but ambitious additional stretch goal is to filter out blurry images using some sort of AI plugin.
Goals
Provide an easily deployable interface in either golang or python (TBD) that supports easy image searching.
Expand the pool of possible image imports over time.
Opportunistically add AI filtering of images based on sharpness or other features.
Application runs on OpenSUSE (stretch goal to also test on Windows)
Resources
Expectation is user can run this on a local machine.
This is also meant as a learning project for freesimplegui and image understanding with Gemini
https://freesimplegui.readthedocs.io/en/latest/
https://ai.google.dev/gemini-api/docs/quickstart
https://ai.google.dev/gemini-api/docs/image-understanding
This could be used for sorting a large number of photos for quality/artistic purposes. This could also be used to rank the things that the photos/pictures represent, say ranking world wonders or food items or marvel movies.
Looking for hackers with the skills:
Nothing? Add some keywords!
This project is part of:
Hack Week 25
Activity
Comments
-
15 days ago by jeremy_moffitt | Reply
Considering using https://realpython.com/pysimplegui-python/ for this, as the basics for image display are covered in the tutorial.
Did some standalone tests with Gemini comparing image sharpness of provided images, and initial results are promising, though it needs the image contents as some URLs are not accessible by Gemini (I tried linking a Flickr profile and it said it was a nice profile but unable to view any of the photos, presumably for IP reasons).
-
about 12 hours ago by jeremy_moffitt | Reply
looks like pysimplegui has been discontinued and https://freesimplegui.readthedocs.io/en/latest/ may be a good alternative option
Similar Projects
This project is one of its kind!