Amazing-Python-Scripts
..
/
Object detection in Image
ReadMe.md
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 -
- the image in which we wish to detect objects
- 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