Home » Questions » Computers [ Ask a new question ]

How to sort images based on their content?

How to sort images based on their content?

I have a bunch of images (screenshots), that I would like to sort automaticly in subfolders.

Asked by: Guest | Views: 289
Total answers/comments: 1
Guest [Entry]

"Maybe you could create these ""pattern images"" (with any image editing software) and then iterate over all the images you want to sort ""comparing"" them against the ""pattern images"". Given the result of this operation (the similarity between the ""pattern image"" and the ""actual image"") you can put them in the specific subfolder.

The ""compare"" process can be done with ImageMagick's compare tool, and make decisions based on the return value of the metric used to compare both images.

Regards."