Skip to content

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

Notifications You must be signed in to change notification settings

rogerclarkgc/tree_identify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages