{"id":27011936,"url":"https://github.com/zrafa/imgfingerprint","last_synced_at":"2025-09-20T09:09:05.346Z","repository":{"id":249894012,"uuid":"832879902","full_name":"zrafa/imgfingerprint","owner":"zrafa","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-19T23:08:22.000Z","size":23462,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-20T00:24:07.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zrafa.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-23T23:12:27.000Z","updated_at":"2025-02-19T23:08:26.000Z","dependencies_parsed_at":"2024-07-24T02:10:57.029Z","dependency_job_id":"f4b3b02d-9178-45ff-b351-4698ba644659","html_url":"https://github.com/zrafa/imgfingerprint","commit_stats":null,"previous_names":["zrafa/imgfingerprint"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrafa%2Fimgfingerprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrafa%2Fimgfingerprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrafa%2Fimgfingerprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrafa%2Fimgfingerprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zrafa","download_url":"https://codeload.github.com/zrafa/imgfingerprint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247173789,"owners_count":20896070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-04-04T11:38:50.738Z","updated_at":"2025-09-20T09:09:00.291Z","avatar_url":"https://github.com/zrafa.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imgfingerprint\n\nThis project tries to use a image hash for fingerprint location in an \norchard. We use the imgsim project as root of the software, so the license\nis the one which imgsim has.\n\n# Imgsim [![GoDoc](https://godoc.org/github.com/Nr90/imgsim?status.svg)](https://godoc.org/github.com/Nr90/imgsim) [![Go Report Card](https://goreportcard.com/badge/github.com/Nr90/imgsim)](https://goreportcard.com/report/github.com/Nr90/imgsim) [![unstable](http://badges.github.io/stability-badges/dist/unstable.svg)](http://github.com/badges/stability-badges)\n#\n\n\nImgsim is a library allows you to compute a fast perceptual hashes of an image. These hashes can then be used to compare images for similarity.\nSimilar looking images will get similar perceptual hashes. Unlike cryptographic hashes\nthat would be very different for images with slight differences.\nThis makes them suitable to compare how similar images are.\n\n# Average hash #\nAn average hash is an example of a perceptual hash. \n\nFor an introduction see: [Average hash](http://www.hackerfactor.com/blog/?/archives/432-Looks-Like-It.html)\n\n# Difference hash #\nDifference hashes are said to be more resillient to changes in the image then the Average hash.\n\nFor an introduction see: [Difference hash](http://www.hackerfactor.com/blog/index.php?/archives/529-Kind-of-Like-That.html)\n\n# Installation #\n\nThe package is go-gettable: `go get -u github.com/Nr90/imgsim`. \n\n# Example #\n```\npackage main\n\nimport (\n\t\"fmt\"\n\t\"image/png\"\n\t\"os\"\n\n\t\"github.com/Nr90/imgsim\"\n)\n\nfunc main() {\n\timgfile, err := os.Open(\"assets/gopher.png\")\n\tdefer imgfile.Close()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\timg, err := png.Decode(imgfile)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tahash := imgsim.AverageHash(img)\n\tfmt.Println(ahash)\n\tdhash := imgsim.DifferenceHash(img)\n\tfmt.Println(dhash)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzrafa%2Fimgfingerprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzrafa%2Fimgfingerprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzrafa%2Fimgfingerprint/lists"}