350
sam9669
7y

Holy shit, this is fucking awesome

Comments
  • 10
    @g-m-f Or at least like an exploding phone it something!!
  • 2
    @g-m-f @linuxxx I have been through worse
  • 4
    @dfox Would be great to get some technical background information :)
  • 15
    @schlomm They hash every picture. If a pic with the same hash has been uploaded recently, it notifies you. The hashing is also why it can't detect reposts if the picture was resized
  • 1
    @nyjan hmmm we need more power for more powerful repost prevention
  • 12
  • 1
    Welcome to Devrant 2017 😂
  • 2
    Algo no want your reposts 😂
  • 3
    This is GREAT news!
  • 1
    @dfox 10x shyt right there mate 🖒🏽
  • 2
    @dfox
    Please don't mind the curiosity of a young dev, how do you search to check if the same image has been posted recently? Hashsum check?
    I'd say maybe the gud ol' image comparison and search, but that would probably take a hell of a lot of time...
  • 2
    @Cybersapien I think the easiest way would be to store the Hashes in a database and on every post sumbit with a image to force a check with the DB.

    I personally would go with a cached DB on a cluster to save ressources and get blazing performance. Or the cheaper one, to have a small dedicated server for it.

    You just need to cache every new hash once, because they are not changing anyway.

    Check above, somebody posted a github link for PHP Image Hashes
  • 20
    @Cybersapien yep, it's just a simple md5 hash. We also store a phash (perceptual hash) for each image but we don't use it because it seems to be extremely inaccurate.
Add Comment