Skip to content

About

A simple script to distinguish some specific color in a .JPG file

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

##A simple script to distinguish some specific color in a .JPG file

use opencv in python to do some simple works, just like this below:

before

###before classification

mask

###add mask

knn

###use knn classification to identify green area in city

use kmean to generate the training simple instead of selecting data by hands, like this below

green1

###a piece of green area

kmean1

###after kmean clustering, 30 features in the green square

About

A simple script to distinguish some specific color in a .JPG file

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages