{"id":20110605,"url":"https://github.com/deepch/imghash","last_synced_at":"2026-06-12T14:32:33.236Z","repository":{"id":57637284,"uuid":"103062135","full_name":"deepch/imghash","owner":"deepch","description":null,"archived":false,"fork":false,"pushed_at":"2017-09-10T21:11:43.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T18:35:15.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-10T21:09:20.000Z","updated_at":"2017-09-10T21:09:57.000Z","dependencies_parsed_at":"2022-08-30T09:02:10.684Z","dependency_job_id":null,"html_url":"https://github.com/deepch/imghash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepch/imghash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fimghash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fimghash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fimghash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fimghash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepch","download_url":"https://codeload.github.com/deepch/imghash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fimghash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34249560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T18:12:36.845Z","updated_at":"2026-06-12T14:32:33.212Z","avatar_url":"https://github.com/deepch.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## imghash\n\nimghash computes the Perceptual Hash for a given input image.\nThe hash is returned as a 64 bit integer. It comes with two commandline\ntools: `img-index` and `img-find`. Refer to their respective READMEs for\ninformation on what they do.\n\nNote that this toolset is mainly for educational purposes on my part.\nIt is a partial implementation of an article on [hackerfactor.com][hf].\n\n[hf]: http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html\n\nThe package supports these hashing modes:\n\n* **Average**: Average computes a Perceptual Hash using a naive, but very fast method.\n  It holds up to minor colour changes, changing brightness and contrast and\n  is indifferent to aspect ratio and image size differences.\n  \n  Average Hash is a great algorithm if you are looking for something specific.\n  For example, if we have a small thumbnail of an image and we wish to know\n  if the big one exists somewhere in our collection. Average Hash will find\n  it very quickly. However, if there are modifications -- like text was added\n  or a head was spliced into place, then Average Hash probably won't do the job.\n  \n  The Average Hash is quick and easy, but it can generate false-misses if\n  gamma correction or color histogram is applied to the image. This is\n  because the colors move along a non-linear scale -- changing where the\n  \"average\" is located and therefore changing which bits are above/below the\n  average.\n\nMore may come at some point.\n\n### Usage\n\n    go get github.com/jteeuwen/imghash\n\n\n### License\n\nUnless otherwise stated, all of the work in this project is subject to a\n1-clause BSD license. Its contents can be found in the enclosed LICENSE file.\n\n# imghash\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepch%2Fimghash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepch%2Fimghash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepch%2Fimghash/lists"}