https://github.com/amirzenoozi/image-color-analyzer

A Simple Color CLI Analyzer For Images

https://github.com/amirzenoozi/image-color-analyzer

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.6%) to scientific vocabulary

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
Last synced: 5 months ago · JSON representation

Repository

A Simple Color CLI Analyzer For Images

Basic Info
  • Host: GitHub
  • Owner: amirzenoozi
  • License: agpl-3.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 18.6 KB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
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
Created almost 4 years ago · Last pushed almost 4 years ago
Metadata Files
Readme License

README.md

A Color Analyzer By Using Python

In this simple script we extract the image colors by using python and KMeans clustring method

Requierments

bash pip install -r requirements.txt

Features

  • [x] Pie Chart
  • [x] CLI
  • [x] Telegram Bot
  • [x] Rest API
  • [ ] Video Files

CLI Options

bash --src Your Target File Path #default: sample.jpg --clusters Number of KMeans Cluster #default: 5 --dest Your Target File Path #default: results

How To Use

bash python main.py --src PATH_TO_YOUR_IMAGE --clusters 5 --dest FOLDER_NAME

How To Serve API Server

You Only Need To Install Uvicorn Library For Python By: bash pip install uvicorn

or

bash pip install -r requirements.txt

and run

bash python server.py

How To Serve Telegram Bot

Firstly, You Need To Get API_TOKEN from Bot_Fother and put it in .env File Then You Just Need To Run: bash python bot.py

Owner

  • Name: Amirhossein Douzandeh Zenoozi
  • Login: amirzenoozi
  • Kind: user
  • Location: Bolzano, Italy

🐍 Python Lover‌ 🧠 AI Student 💻 Front-End Engineer

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels