Back to Catalog

Transform Photos to Sketches and Paintings with OpenCV

BeginnerGuided Project

Have you ever wanted to transform your photographs into an artistic sketch or painting to showcase your creativity?  In this Guided Project you'll do just that! Transform your photographs to paintings, sketches and more using OpenCV in python.

4.3 (124 Reviews)

Language

  • English

Topic

  • Computer Vision

Enrollment Count

  • 924

Skills You Will Learn

  • OpenCV, Computer Vision

Offered By

  • IBM

Estimated Effort

  • 30 minutes

Platform

  • SkillsNetwork

Last Update

  • May 1, 2024
About This Guided Project

Learn by Doing

A guided project is a hands-on tutorial designed to help you learn a particular technology by doing a real project. It includes step-by-step instructions with explanations, examples and exercises that can be followed and practiced in a lab environment.  Hands-on skills are highly sought out by employers when determining job readiness.   Guided projects are 
interactive, on-demand and will equip you with practical abilities that can be applied on the job!

A Look at the Project Ahead

Have you ever wondered what techniques are used to make photo filters like the ones present in applications such as Adobe Photoshop? Well the answer is computer vision and image processing techniques! Or wondered how your photographs would look like as art work? 

In this project you will learn how to use built-in OpenCV functions to transform your photographs into artistic paintings and sketches.  OpenCV  is a powerful and popular open source computer vision and image processing library that contains an extensive set of algorithms. We will be utilizing this library to transform your photographs into artwork!

Express your creativity with technology using OpenCV in python, all while learning about some common and basic image processing and computer vision techniques!

More specifically after this lab you will be able to:
  • Convert colored images to grayscale
  • Apply the Gaussian filter to smooth an image
  • Detect the edges of an image using the Gradient Magnitude
  • Convert a grayscale image to a binary image
  • Create a pencil sketch of an image in OpenCV
  • Create a water painting of an image in OpenCV

What You’ll Need 

To do this project, you will need the following:
  • A very basic knowledge of Python

Your Instructor

Yasmine Hemmati, IBM

Instructors

Yasmine Hemmati

Skills Network data scientist Intern

Math, Statistics and Computer Science Student at the University of Toronto

Read more