Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Segment and Replace Background in Images with MediaPipe and OpenCV

Eran Feit via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This Python tutorial demonstrates object segmentation and background replacement techniques using MediaPipe DeepLabV3 and OpenCV. Learn to load images, prepare new backgrounds, use MediaPipe's InteractiveSegmenter to segment objects with a single keypoint, create visual overlays to highlight selected regions, and replace image backgrounds using segmentation masks. The 15-minute video covers installation and implementation with step-by-step coding instructions. Access the complete tutorial code through the provided link and explore additional computer vision and image segmentation resources available on the creator's blog and YouTube playlists. The tutorial is organized into three main sections: introduction and demo, installation requirements, and the practical coding implementation.

Syllabus

00:00 Introduction and Demo
02:19 Installation
04:59 Coding

Taught by

Eran Feit

Reviews

Start your review of How to Segment and Replace Background in Images with MediaPipe and OpenCV

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.