Skip to content

monk678/mainColor

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

mainColor

使用Python提取图片中的主要颜色

识别图片主体色彩

思路:使用k-means算法对图像像素点进行聚类,中心点即为图片主体色彩。

mainColor1.Py依赖sklearn包实现k-means算法 详细教程请参与我的博客"机器在学习":http://www.siyuanblog.com/?p=1609

mainColor2.py使用python实现K-means算法 详细教程请参考我的博客“机器在学习”:http://www.siyuanblog.com/?p=1762

About

使用Python提取图片中的主要颜色

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages