{"id":24317417,"url":"https://github.com/fetchandadd/iams","last_synced_at":"2026-05-02T08:31:42.071Z","repository":{"id":143731331,"uuid":"89138946","full_name":"fetchandadd/iams","owner":"fetchandadd","description":"Image analysis microservice","archived":false,"fork":false,"pushed_at":"2017-04-25T09:42:45.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T16:44:43.761Z","etag":null,"topics":["docker","image-analysis","microservice","nginx","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/fetchandadd.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":"2017-04-23T12:07:30.000Z","updated_at":"2019-11-20T21:11:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4f9505e-f581-4013-8aee-2c86f7b901eb","html_url":"https://github.com/fetchandadd/iams","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fetchandadd/iams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchandadd%2Fiams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchandadd%2Fiams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchandadd%2Fiams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchandadd%2Fiams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fetchandadd","download_url":"https://codeload.github.com/fetchandadd/iams/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchandadd%2Fiams/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32528161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["docker","image-analysis","microservice","nginx","python"],"created_at":"2025-01-17T13:39:39.504Z","updated_at":"2026-05-02T08:31:42.002Z","avatar_url":"https://github.com/fetchandadd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iams\nImage analysis microservice\n\n## API\n\nFor the following examples [HTTPie](https://httpie.org/) is used to manage HTTP connections.\n\n### Average hash\n\n```bash\nhttp localhost:8080/v1/average_hash \u003c source.jpg\n```\n\n```json\n{\n    \"average_hash\": \"fe7838020078785e\"\n}\n```\n\n### Difference hash\n\n```bash\nhttp localhost:8080/v1/difference_hash \u003c source.jpg\n```\n\n```json\n{\n    \"difference_hash\": \"6f2d0d4b232f2f6b\"\n}\n```\n\n### Perception hash\n\n```bash\nhttp localhost:8080/v1/perception_hash \u003c source.jpg\n```\n\n```json\n{\n    \"perception_hash\": \"212bb9e187f19971\"\n}\n```\n\n### Wavelet hash\n\n```bash\nhttp localhost:8080/v1/wavelet_hash \u003c source.jpg\n```\n\n```json\n{\n    \"wavelet_hash\": \"ff7e780208487c5e\"\n}\n```\n\n### Hashes\n\n```bash\nhttp localhost:8080/v1/hashes \u003c source.jpg\n```\n\n```json\n{\n    \"average_hash\": \"fe7838020078785e\",\n    \"difference_hash\": \"6f2d0d4b232f2f6b\",\n    \"perception_hash\": \"212bb9e187f19971\",\n    \"wavelet_hash\": \"ff7e780208487c5e\"\n}\n```\n\n### Top n colors\n\n```bash\nhttp localhost:8080/v1/colors n==3 \u003c source.jpg\n```\n\n```\n[\n    {\n        \"color\": {\n            \"name\": \"Dark Olive Green\",\n            \"hex\": \"556B2F\",\n            \"r\": 85,\n            \"g\": 107,\n            \"b\": 47\n        },\n        \"frequency\": 0.1875\n    },\n    {\n        \"color\": {\n            \"name\": \"Dim Gray\",\n            \"hex\": \"696969\",\n            \"r\": 105,\n            \"g\": 105,\n            \"b\": 105\n        },\n        \"frequency\": 0.1528\n    },\n    {\n        \"color\": {\n            \"name\": \"Dark Slate Gray\",\n            \"hex\": \"2F4F4F\",\n            \"r\": 47,\n            \"g\": 79,\n            \"b\": 79\n        },\n        \"frequency\": 0.1389\n    }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffetchandadd%2Fiams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffetchandadd%2Fiams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffetchandadd%2Fiams/lists"}