{"id":20542861,"url":"https://github.com/jerryshell/similars","last_synced_at":"2025-03-06T04:29:38.439Z","repository":{"id":113050981,"uuid":"254660887","full_name":"jerryshell/similars","owner":"jerryshell","description":"similaRS is a tool for calculating image similarity written in Rust 🦀","archived":false,"fork":false,"pushed_at":"2024-12-07T15:33:46.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T15:27:06.706Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jerryshell.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":"2020-04-10T14:53:58.000Z","updated_at":"2024-12-07T15:33:50.000Z","dependencies_parsed_at":"2024-12-07T15:28:52.833Z","dependency_job_id":null,"html_url":"https://github.com/jerryshell/similars","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fsimilars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fsimilars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fsimilars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fsimilars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerryshell","download_url":"https://codeload.github.com/jerryshell/similars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242149856,"owners_count":20079994,"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":"2024-11-16T01:34:41.513Z","updated_at":"2025-03-06T04:29:38.422Z","avatar_url":"https://github.com/jerryshell.png","language":"Rust","readme":"# similaRS\n\n_similaRS_ is a tool for calculating image similarity written in Rust 🦀\n\n## How to use\n\n```bash\ncargo install --git https://github.com/jerryshell/similars\n```\n\n```\nUsage: similars_cli [OPTIONS] --image-x-path \u003cIMAGE_X_PATH\u003e --image-y-path \u003cIMAGE_Y_PATH\u003e\n\nOptions:\n  -x, --image-x-path \u003cIMAGE_X_PATH\u003e\n  -y, --image-y-path \u003cIMAGE_Y_PATH\u003e\n      --width \u003cHAMMING_WIDTH\u003e        [default: 8]\n      --height \u003cHAMMING_HEIGHT\u003e      [default: 8]\n  -d, --show-distance                By default, the output is the percentile of similarity, or the Hamming distance if --show-distance is explicitly specified.\n  -h, --help                         Print help\n  -V, --version                      Print version\n```\n\n## Example\n\nBy default, the output is the percentile of similarity\n\n```bash\nsimilars_cli -x example_img1.jpg -y example_img2.jpg\n# 95.3125\n```\n\nIf `-d` is explicitly specified, the output is Hamming distance\n\n```bash\nsimilars_cli -d -x example_img1.jpg -y example_img2.jpg\n# 3\n```\n\n## References\n\n- [https://www.ruanyifeng.com/blog/2011/07/principle_of_similar_image_search.html](https://www.ruanyifeng.com/blog/2011/07/principle_of_similar_image_search.html)\n\n## License\n\n[GNU Affero General Public License v3.0](https://choosealicense.com/licenses/agpl-3.0/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fsimilars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerryshell%2Fsimilars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fsimilars/lists"}