Toggle navigation
Toggle navigation
This project
Loading...
Sign in
조수연
/
Find_your_own_personal_color
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
starbucksdolcelatte
2019-04-14 12:24:57 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
db5257dd0e469882e576ccece478a01aa634b90e
db5257dd
1 parent
9d9af331
print r, b, b by histogram order
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
dominant_colors.py
dominant_colors.py
View file @
db5257d
...
...
@@ -88,6 +88,7 @@ class DominantColors:
g
=
colors
[
i
][
1
]
b
=
colors
[
i
][
2
]
print
(
r
,
g
,
b
)
#using cv2.rectangle to plot colors
cv2
.
rectangle
(
chart
,
(
int
(
start
),
0
),
(
int
(
end
),
50
),
(
r
,
g
,
b
),
-
1
)
start
=
end
...
...
Please
register
or
login
to post a comment