Open newfaggit opened 8 years ago
Perceptual hashing is probably too CPU-intensive to be worth it, but we might do simpler tests, like looking for specific colors in the thumbnail (#794).
@ccd0 do both ways and have a warning next to the perceptal hash about any heavy CPU use
Currently MD5 is used for blocking images. This works most of the time but has the downside that just changing one single pixel in the image will break the filter. This is however how MD5 works so it's expected result.
I think that using perpetual hashing, if possible, would be a much better implementation since it will also block similar images. As a side effect, it could prove effective against pepe, bananas and all kinds of other cancer you don't want to see.