Book Image

OpenCV 4 Computer Vision with Python Recipes [Video]

By : Muhammad Hamza Javed
Book Image

OpenCV 4 Computer Vision with Python Recipes [Video]

By: Muhammad Hamza Javed

Overview of this book

<p>Have you ever wondered how self-driving cars work? Have you ever wanted to land a highly paid job in Computer Vision industry? <br />We have compiled this course so you seize your opportunity to get noticed by building awesome Computer Vision applications.This course kicks-off with Introduction to OpenCV 4 and familiarizes you with the advancements in this version. We’ll educate you on how to handle images, enhance and transform them. We’ll also develop some cool applications including Face and Eyes detection, Emotion recognition and Fast QR code detection &amp; decoding that you can deploy anywhere. We’ll also share some tips &amp; tricks to make you more productive.<br />By the end of the course, you will have profound knowledge on what Computer Vision is and how we can leverage OpenCV 4 to build real-world applications without much effort.</p> <h1>Style and Approach</h1> <p>This course helps you learn the core concepts of OpenCV faster by taking a recipe-based approach where you can try out different code snippets to understand a concept. Every operation is performed step-by-step and the code is neatly documented so it’s easier for the audience to reuse the modules in their own projects.</p>
Table of Contents (7 chapters)
Chapter 5
Object Detection and Machine Learning
Content Locked
Section 1
Obtaining an Object Mask Using the GrabCut Algorithm
In this video, we’ll separate an object from other parts of a scene. In other words, where we want to create masks for the foreground and background. - Open an image - Define the mouse callback function - Call cv2.grabCut() to create an object mask