Skip to content

Texture Matching using Local Binary Patterns (LBP)

Notifications You must be signed in to change notification settings

tuji-sjp/texture-matching

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Texture Matching using Local Binary Patterns (LBP)

Related blog post explaining the code - Click Here

Usage

Perform training using

python perform-training.py -t data/lbp/train/ -l data/lbp/class_train.txt

Perform testing using

python perform-testing.py -t data/lbp/test/ -l data/lbp/class_test.txt

Results

Let's check out the results.

Input Image -- ROCK Class

Here is an input image of a rock texture.

alt tag

Matching Scores - Below are the sorted results of matching. The top 2 scores are of rock texture.

alt tag

Input Image -- CHECKERED Class

Here is an input image of a checkered texture .

alt tag

Matching Scores - Below are the sorted results of matching. The top 2 scores are of checkered texture.

alt tag

Input Image -- GRASS Class

Here is an input image of a grass texture.

alt tag

Matching Scores - Below are the sorted results of matching. The top 2 scores are of grass texture.

alt tag

About

Texture Matching using Local Binary Patterns (LBP)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%