I noticed that with certain images (those with a high ratio of transparency, or maybe when they’re mostly uniform in color?), I get strange results — each time a different classification, completely unrelated to what’s actually in the image. I’m fairly certain there’s some underlying caching based on image hashes. In my tests, I wasn’t able to generate a hash at all from the example image using my implementation. This led to a similar bug, where images were being discarded even though they were completely different. Based on this, I assume that if an image fails to generate a hash, it results in a cache collision.
I really got all kinds of results. Here are a few more examples:
- A white heart icon with a group of three people inside it, depicted on a black background. The heart shape surrounds three stylized figures representing a group or community.
- Black and white rectangular certificate with text and a seal emblem on the left, issued by SkyTrust and bearing accreditation information for JCommander v.0.5.0 software under the Apache 2.0 license.
- A circular award graphic with a blue outer ring containing the text ‘Certificate of Authenticity’. Inside the ring is a detailed image of an eagle’s head in monochrome, centered on a white background.
- A rectangular certificate with a decorative blue and gold border, the text ‘GREAT SERVICE AWARD’ prominently displayed, and a gold medal featuring a laurel wreath and ribbon emphasizing excellence.