Skip to content

Template matching is a technique to extract or highlight the area or object of an image using a smaller image of that area. The basic goal of template matching is to find a smaller image or template into a larger image.

Notifications You must be signed in to change notification settings

ayushjindal23/Template-Matching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Template Matching

Template matching is a technique to extract or highlight the area or object of an image using a smaller image of that area. The basic goal of template matching is to find a smaller image or template into a larger image.

Requirements

  • cv2
  • numpy
  • matplotlib.pyplot
  • glob2
  • Google Colab

Run Locally

Clone the project

  git clone https://github.com/ayushjindal23/Template-Matching.git

Go to the project directory

  cd [folder name]

Install dependencies

  pip install opencv-python numpy matplotlib glob2

Google Colab

Colab is a Google’s free cloud service which will let you run your deep learning or machine learning models in cloud.

Creating New Colab Notebook

  • Open your Google Drive
  • Create a new notebook via Right click > More > Colaboratory

GPU Setting

Edit > Notebook settings or Runtime>Change runtime type and select GPU as Hardware accelerator

!pip install or !apt-get install

!pip install opencv-python numpy matplotlib glob2

Cloning Github Repo to Google Colab

!git clone https://github.com/ildoonet/tf-pose-estimation.git

Then, using the Table of Contents, you can access all of the files in the github repository and run the programmes using cells.

Demo

image

Output

Output

About

Template matching is a technique to extract or highlight the area or object of an image using a smaller image of that area. The basic goal of template matching is to find a smaller image or template into a larger image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages