• Stars
    star
    322
  • Rank 130,398 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created about 9 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Extract Color Themes from Images

ImageColorTheme

Extract Color Themes from Images

pixData

import numpy as np

pixData = np.array([[R, G, B], [R, G, B],...], dtype=np.uint8)
print(pixData.shape)
# (h, w, d)

MMCQ

from ict.MMCQ import MMCQ
mmcq = MMCQ(pixData, maxColor)
theme= mmcq.quantize()

k-means

from ict.KMeans import KMeans
km = KMeans(pixData, maxColor)
theme = km.quantize()

Results

More Repositories

1

javascript-in-one-pic

Learn javascript in one picture.
6,697
star
2

python3-in-one-pic

Learn python3 in one picture.
Jupyter Notebook
4,968
star
3

pytips

Useful Python tips!
Jupyter Notebook
550
star
4

lolita

Using github's issue system as lightweight notes & blog.
Jupyter Notebook
159
star
5

CPython-Internals-Lecture-Notes

CPython Internals 学习笔记
115
star
6

cix-extractor-py

基于行块分布函数的通用网页正文(及图片)抽取 - Python版本
Python
115
star
7

react-jwt-example

Using JSON Web Token in React App.
JavaScript
73
star
8

dailybot

Daily Bot - Parse RSS and ChatGPT it.
Python
45
star
9

Dobby

Test your RESTful API more RESTfully
JavaScript
31
star
10

MathModeBot

Telegram Bot MathMode with Flask
Python
14
star
11

init-react-reflux-workflow

Clone and Gulp, start writing your React App.
JavaScript
13
star
12

DataX

Crawling, Cleaning, Analysing, Visualization and Inferencing
Jupyter Notebook
12
star
13

Oxford-Machine-Learning-Course-2015

Oxford Machine Learning Course 2015
Jupyter Notebook
11
star
14

tornado-mvc

Tornado x MVC
Python
9
star
15

rainyear.github.io

blog.
JavaScript
9
star
16

emoji-query

Query emoji string & unicode
JavaScript
6
star
17

data-blog

Data blog generated with Jupyter & MkDocs
Python
5
star
18

solar-rain

Solarized dark ghost theme
JavaScript
4
star
19

A-sketch-of-SICP

SICP in IPython Notebook with Scheme kernel.
3
star
20

nb

Jupyter Notebook Viewer
HTML
3
star
21

FlomoBar

JavaScript
3
star
22

xr_ux

Posts about AR/VR UX & Tech.
1
star
23

NexusHDThanker

NHD 说谢谢换魔力值
Python
1
star
24

lisp-koans-answers

My lisp-koans answers
Common Lisp
1
star
25

avgot

Python
1
star