Skip to content

Instantly share code, notes, and snippets.

Andrey m8rge

Block or report user

Report or block m8rge

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@m8rge
m8rge / HashBuilder.php
Last active Aug 29, 2015 — forked from mncaudill/similar.php
Image similarity algorithm
View HashBuilder.php
<?php
# Algorithm found here: http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html
class HashBuilder
{
private $buf;
function __construct()
{
$this->buf = imagecreatetruecolor(8, 8);
}
You can’t perform that action at this time.