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-06-07 11:49:48 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1e799ed6934b54e466a195c07b17d8bc1f978c7c
1e799ed6
1 parent
0208fda1
remove the blue mask color
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
dominant_colors.py
dominant_colors.py
View file @
1e799ed
...
...
@@ -105,4 +105,8 @@ class DominantColors:
colors
[
i
][
1
]
=
int
(
colors
[
i
][
1
])
colors
[
i
][
2
]
=
int
(
colors
[
i
][
2
])
# Blue mask 제거
fil
=
[
colors
[
i
][
2
]
<
250
and
colors
[
i
][
0
]
>
10
for
i
in
range
(
self
.
CLUSTERS
)]
colors
=
list
(
compress
(
colors
,
fil
))
return
colors
...
...
Please
register
or
login
to post a comment