Skip to content

Python code for patches extraction from input images

License

Notifications You must be signed in to change notification settings

Avandrea/patch-extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Patch_Extraction

Python code for the extraction of patches from input images. The function get_patches_and_labels returns a set of nd-arrays along with a list of labels defined by labelsValue inside the function. It can be used for the creation of a dataset to be used for training of a certain classifier.

Requirements: Python 3, opencv 3

Directory structure:

.  
|--images  
|--points  
|    |--PositivePoints.txt  
|--output  
|--script.py  
|--Demo.py  
|--README.md  

About

Python code for patches extraction from input images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages