Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fda4819

Browse files
Dominant Color Detection From Image avinashkranjan#274
1 parent c2cd214 commit fda4819

File tree

4 files changed

+1010
-0
lines changed

4 files changed

+1010
-0
lines changed

‎Dominant Color Extraction/Dominant color Extraction.ipynb

Lines changed: 965 additions & 0 deletions
Large diffs are not rendered by default.
89.2 KB
Loading[フレーム]

‎Dominant Color Extraction/readme.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# DOMINANT COLOR DETECTION FROM IMAGE
2+
3+
## Introduction
4+
```
5+
1.) Finding Dominant Colour: Finding Colour with
6+
Kmeans and
7+
giving appropriate colors to the pixel/data points
8+
of the image.
9+
2.) Analysis different K in K-means : Different Ks can
10+
give totally different results, and usually, there is
11+
one K which is consistent with the data points,
12+
the actual K.
13+
3.) Good Segmentation(Colour Extraction) : Given
14+
an image in generic viewpoint, we wish to
15+
produce the best possible segmentation, by this
16+
we mean that most people would choose this
17+
segmentation if asked to make one, and it would
18+
make a good precursor for object recognition.
19+
20+
```
21+
## How to use it :
22+
1. Download or clone the repository
23+
2. Install Required Libraries
24+
```
25+
pip install python-opencv
26+
pip install sklearn
27+
pip install pandas
28+
pip install matplotlib
29+
```
30+
3. Run all the cells of Dominant color Extraction.ipynb
31+
4. Output :Analyse the Dominant color in Image<br>
32+
## Output:
33+
![output](https://user-images.githubusercontent.com/42711978/105338192-45c20d00-5c01-11eb-991b-a8822be225c5.jpg)
34+
35+
36+
![built with love](https://forthebadge.com/images/badges/built-with-love.svg)
37+
38+
Check out my Github profile [ARYAN GULATI](https://github.com/aryangulati)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Python==3.8.5
2+
jupyter==4.7.0
3+
jupyter-notebook==6.1.4
4+
pandas==1.1.5
5+
cv2==4.4.0
6+
matplotlib==3.3.3
7+
sklearn==0.23.2

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /