Skip to content

Files

Latest commit

 

History

History

Object detection in Image

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Object detection - Template Matching

This python script will allow us to identify objects in an image.

Setup Instructions

Install python3

sudo apt-get install python3

Install pip (package installer for python)

sudo apt-get install python3-pip

Install Numpy library with pip

pip3 install numpy

Install OpenCV library with pip

pip3 install opencv-python

Install tkinter library

sudo apt-get install python3-tk

Details/Output

User is prompted to select two images -

  1. the image in which we wish to detect objects
  2. the template/image of object which is to be identified in the original image.
    (Note The size of the image is larger than that of template)

The output image is written/stored in the current folder.

Author

Github: invigorzz313