{"id":21152078,"url":"https://github.com/amirzenoozi/image-color-analyzer","last_synced_at":"2026-05-07T05:40:19.918Z","repository":{"id":107291522,"uuid":"464364791","full_name":"amirzenoozi/image-color-analyzer","owner":"amirzenoozi","description":"A Simple Color CLI Analyzer For Images","archived":false,"fork":false,"pushed_at":"2022-03-08T12:52:46.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-09T06:32:30.856Z","etag":null,"topics":["analyzer","chart","cli","color","color-analysis","color-palette","color-scheme","fastapi","kmeans","kmeans-algorithm","kmeans-clustering","kmeans-clustering-algorithm","matplotlib","numpy","opencv","python","python-script","python3","telegram-bot","uvicorn"],"latest_commit_sha":null,"homepage":"","language":"Python","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/amirzenoozi.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":"2022-02-28T06:28:42.000Z","updated_at":"2023-08-07T20:36:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"245fed95-fc1b-4701-9510-47ed09c4110f","html_url":"https://github.com/amirzenoozi/image-color-analyzer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amirzenoozi/image-color-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirzenoozi%2Fimage-color-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirzenoozi%2Fimage-color-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirzenoozi%2Fimage-color-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirzenoozi%2Fimage-color-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirzenoozi","download_url":"https://codeload.github.com/amirzenoozi/image-color-analyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirzenoozi%2Fimage-color-analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000960,"owners_count":26082973,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":["analyzer","chart","cli","color","color-analysis","color-palette","color-scheme","fastapi","kmeans","kmeans-algorithm","kmeans-clustering","kmeans-clustering-algorithm","matplotlib","numpy","opencv","python","python-script","python3","telegram-bot","uvicorn"],"created_at":"2024-11-20T10:24:15.405Z","updated_at":"2025-10-09T07:33:48.429Z","avatar_url":"https://github.com/amirzenoozi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Color Analyzer By Using Python\nIn this simple script we extract the image colors by using python and `KMeans` clustring method\n\n\n## Requierments\n```bash\npip install -r requirements.txt\n```\n\n## Features\n- [x] Pie Chart\n- [x] CLI\n- [x] Telegram Bot\n- [x] Rest API\n- [ ] Video Files\n\n## CLI Options\n```bash\n--src       Your Target File Path       #default: sample.jpg\n--clusters  Number of KMeans Cluster    #default: 5\n--dest      Your Target File Path       #default: results\n```\n\n\n## How To Use\n```bash\npython main.py --src PATH_TO_YOUR_IMAGE --clusters 5 --dest FOLDER_NAME\n```\n\n## How To Serve API Server\nYou Only Need To Install `Uvicorn` Library For Python By:\n```bash\npip install uvicorn\n```\n\nor\n\n```bash\npip install -r requirements.txt\n```\n\nand run\n\n```bash\npython server.py\n```\n\n## How To Serve Telegram Bot\nFirstly, You Need To Get `API_TOKEN` from `Bot_Fother` and put it in `.env` File Then You Just Need To Run: \n```bash\npython bot.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirzenoozi%2Fimage-color-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirzenoozi%2Fimage-color-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirzenoozi%2Fimage-color-analyzer/lists"}