Skip to content

wakanawakana/robustTemplateMatching

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robust Template Matching Using Scale-Adaptive Deep Convolutional Features

Pytorch Implementation of Robust Template Matching Using Scale-Adaptive Deep Convolutional Features

http://www.apsipa.org/proceedings/2017/CONTENTS/papers2017/14DecThursday/TA-02/TA-02.5.pdf

Requirements

  • torch (1.0.0)
  • torchvision (0.2.1)
  • cv2
  • (optional) cython

Usage

python run.py [sample_image_path] [template_image_path] --use_cuda --use_cython
  • add --use_cuda option to use GPU
  • add --use_cython option to execute with cython

result image will be saved as result.png

Example

python run.py sample/sample1.jpg template/template1.png --use_cuda --use_cython
sample image template image result image
python run.py sample/sample2.jpg template/template2.png --use_cuda --use_cython
sample image template image result image

About

Implementation of Robust Template Matching Using Scale-Adaptive Deep Convolutional Features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.6%
  • C 11.4%