click to
look inside
Look inside
Computer Vision Applications using OpenCV

Apply a Face Mask to a Selfie you own this product

This project is part of the liveProject series Computer Vision Applications using OpenCV
basics of Python • basics of OpenCV • basics of bitwise operation
skills learned
tracking mouse events • using bitwise operations • saving images
Vishwesh Shrimali
1 week · 3-6 hours per week · BEGINNER
filed under

placing your order...

Don't refresh or navigate away from the page.
liveProject This project is part of the liveProject series Computer Vision Applications using OpenCV liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. Solve practical problems, write working code, and analyze real data—with liveProject, you learn by doing. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products.

Get One, Give One  
This December, for every book, video, or liveProject you buy, you’ll get a free second one to give away. You can use these free gifts for your friends, coworkers, or anyone you want to help, nudge, or encourage.
$19.99 $29.99 you save $10 (33%)
+ get a free copy to give away
Apply a Face Mask to a Selfie (liveProject) added to cart
continue shopping
go to cart

Look inside
In this quick liveProject, you’ll develop a selfie enhancement application to build awareness of the importance of mask-wearing during a pandemic. You’ll use a laptop webcam to capture a user’s selfie, load a face mask image with a transparent background, and apply the face mask onto the image at the location selected by the user.
This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Vishwesh Shrimali
Vishwesh Ravi Shrimali is an AI and computer vision engineer with a mechanical engineering background. In his previous company, he was involved in developing the official OpenCV AI course series. He has also written multiple books on OpenCV and machine learning. He has recently joined Mercedes Benz R&D India as an engineer in the ADAS domain. He is also pursuing his master's in ML & AI from LJMU.


This liveProject is for aspiring OpenCV developers with some knowledge of Python. To begin these liveProjects, you will need to be familiar with:

  • Basics of Python
  • Basics of NumPy
    • Creating NumPy arrays
    • NumPy array datatypes
    • Extracting values from NumPy array using binary logic
  • Basics of OpenCV
    • Reading and writing images using OpenCV
    • Displaying images using OpenCV
    • Colorspaces in OpenCV
  • Bitwise operations

you will learn

In this liveProject you’ll learn essential OpenCV skills for developing useful computer vision applications.

  • Tracking mouse events
  • Using bitwise operations
  • Saving images


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.