OpenCV Python Tutorial #7 – Template Matching (Object Detection)

Channel Avatar
OpenCV Python Tutorial #7 - Template Matching (Object Detection)
OpenCV Python Tutorial #7 – Template Matching (Object Detection)
Welcome to another OpenCV tutorial! We’ll be talking about template matching (object detection). In this video, we’ll use an image of a soccer practice and use OpenCV to detect the soccer ball and find it’s exact location. For example, the image of the ball will be our template, and we’ll use OpenCV to match it.

AlgoExpert is the coding interview prep platform that I used to ace my Microsoft and Shopify interviews. Check it out and get a discount on the platform using the code /”techwithtim/”

Relevant Documentation:
Code For This Series:


️ Timestamps ️
00:00 Setup & Images
02:35 Loading Template & Base Images
04:55 Template Matching Methods
07:00 Theory Behind Template Matching
14:10 Displaying Matches

Courses & Merch
The Fundamentals of Programming w/ Python:

Social Medias

My YouTube Gear
Main Camera (EOS Canon 90D):
Secondary Camera (Panasonic Lumix G7):
Main Lens (EFS 24mm f/2.8):
Main Microphone (Rode NT1):
Secondary Microphone (Synco Wireless Lapel System):
Third Microphone (Rode NTG4):
️ Lights:
Keyboard (Daskeyboard 4Q):
Mouse (Logitech MX Master):
Webcam (Logitech 1080p Pro):
Speaker (Beats Pill):
Headphones (Bose Quiet Comfort 35):
Lamp (BenQ E-reading Lamp):
Secondary Lamp (BenQ Screenbar Plus):
Monitor (BenQ EX2780Q):
Monitor (LG Ultrawide 34WN750):
Mic Boom Arm (Rode PSA 1):
Audio Interface (Focusrite Scarlet 4i4):

One-Time Donations:

️ Tags ️
– Object detection in OpenCV
– Template matching OpenCV
– Python
– Computer vision
– Cameras and video capture

️ Hashtags ️
#OpenCV #Python #TemplateMatching

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Keywords: tech with tim, opencv, how to install opencv, an introduction to opencv, how to use opencv with python, how to load an image into opencv, computer vision in python, display an image in opencv, computer vision software, opencv python tutorial, computer vision tutorial, is opencv a programming language, computer vision algorithms, opencv tutorial, OpenCV Image Fundamentals, video capture in opencv, template matching in opencv, object detection in opencv, how to detect objects

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *