AI and machine learning · Free

Computer Vision with OpenCV

Classical image processing on the pictures a plant produces: parts on a belt, caps on bottles, a scratch on a surface. Images as arrays, thresholds, morphology, edges, contours and measurement, video and background subtraction, tracking and counting, Hough and template matching, and the camera, lens and lighting decisions that come before any code.

12 modules 15h 5m of video English · self-paced

Inside the course

Computer Vision with OpenCV: Syllabus at a glanceComputer Vision with OpenCV: What you will be able to doComputer Vision with OpenCV: Tools and credits

From the lessons

  • OpenCV Python Tutorial For Beginners 1 - Introduction to OpenCV

    An image is an array

    ProgrammingKnowledge

  • OpenCV Python Tutorial For Beginners 5 - Draw geometric shapes on images using Python OpenCV

    Drawing, arithmetic, masks and HSV colour

    ProgrammingKnowledge

  • OpenCV Python Tutorial For Beginners 14 - Simple Image Thresholding

    Thresholding and morphology

    ProgrammingKnowledge

  • OpenCV Python Tutorial For Beginners 18 - Smoothing Images | Blurring Images OpenCV

    Smoothing, gradients and Canny edges

    ProgrammingKnowledge

  • OpenCV Python Tutorial For Beginners 23 - Find and Draw Contours with OpenCV in Python

    Contours, shapes and measurement

    ProgrammingKnowledge

  • OpenCV Python Tutorial For Beginners 4 - How to Read, Write, Show Videos from Camera in OpenCV

    Video, motion and background subtraction

    ProgrammingKnowledge

Lesson frames belong to the creators named in the Credits below and are shown from YouTube.

What you will learn

Read, convert, crop and measure images in OpenCV; detect by colour in HSV; threshold and clean binary images; find edges and contours and turn them into counts and millimetre measurements; process video, subtract background and track objects across a counting line; use histograms, template matching and Hough transforms; choose cameras, lenses, lighting and triggers; and evaluate a counter against ground truth.

  • Treat an image as an array and measure a part in millimetres from pixels
  • Detect parts by colour in HSV and by brightness with Otsu and adaptive thresholds
  • Clean binary images with morphology and separate touching parts
  • Find contours and turn them into counts, sizes, shapes and pass/fail
  • Process video, subtract the background and count parts crossing a line with a tracker
  • Choose camera, lens, lighting and trigger so the software stays simple

For you

Taking Computer Vision with OpenCV from the United States

The course project · about 6 hours

Count parts on a conveyor: a synthetic belt with known truth, then your own video

Build a part counter — detection, morphology, contours, a centroid tracker and a counting line — debug it on a synthetic belt video whose true count you know, then run it on thirty seconds of your own phone footage and report misses and double counts separately.

The course project · about 3 hours

Sort bottle caps by colour and check their size, from your own photos

Photograph a tray of mixed bottle caps (or any small coloured parts) under fixed light, detect each cap by HSV colour, measure its diameter in millimetres against a ruler in the frame, and produce a table and an annotated image — a two-station inspection in one script.

Course content

12 modules · 34 lessons · 15h 5m

In order, at whatever pace suits you. Each module ends with a practice task that builds on the last.

  1. 01An image is an array24m
  2. 02Drawing, arithmetic, masks and HSV colour1h 25m
  3. 03Thresholding and morphology45m
  4. 04Smoothing, gradients and Canny edges40m
  5. 05Contours, shapes and measurement30m
  6. 06Video, motion and background subtraction49m
  7. 07Tracking and counting across a line27m
  8. 08Histograms, template matching and Hough1h 11m

Requirements

Who it is for
Beginner in vision. Needs basic Python and NumPy — the Python for AI course, or equivalent.
Software
Google Colab (free) with OpenCV pre-installed. A phone camera for the projects. What to download, and how
Hardware
A phone camera, a tray and a ruler for the projects. No industrial camera needed.

Software you need

What to download, where from, what it costs and how to install it. Every link goes to the maker's own site, never a mirror.

OpenCV is already installed in Colab. A phone camera is enough for the projects.

Required

  1. 01

    Google Colab

    Google, in the browser

    Free, GPU time not guaranteed
    Runs on
    Any modern web browser
    Account
    A free Google account

    Colab is free to use. In the free version GPUs and TPUs are heavily restricted and not guaranteed, sessions can run for at most 12 hours, and idle sessions are stopped. Paid plans give more reliable access.

    Open Google Colabcolab.research.google.com

Optional

Useful, not needed to finish the course.

  1. 02

    OpenCV (opencv-python)

    OpenCV, a Python or npm package

    Free
    Runs on
    Windows, macOS and Linux with Python 3
    Account
    None needed

    Free, open source under the Apache 2.0 licence.

Checked against each maker's own page on 27 September 2026. Trial lengths and editions change; the maker's page is the final word.

Computer Vision with OpenCV at a glance

Computer Vision with OpenCV is a free, self-paced online course from EDWartens for engineers, developers and students applying AI to real work. It has 12 modules and 15h 5m of video lessons by ProgrammingKnowledge, Murtaza's Workshop, freeCodeCamp.org and others, with written notes and worked problems, a practical project with a document pack and a 15-question final assessment (pass mark 60%). Learning is free with an account; an optional certificate with a public verification code is issued when you pass. Last updated 27 September 2026.

All course facts
Price
Free, for good. No trial, no card. The only paid item is the optional certificate, a small one-off fee.
Who it is for
Engineers, developers and students applying AI to real work
Format
12 self-paced modules, 15h 5m of video, written notes, a practice task per module and one final assessment.
Level
Beginner. Beginner in vision. Needs basic Python and NumPy — the Python for AI course, or equivalent.
Brand
Vendor-neutral
Software
Google Colab (free) with OpenCV pre-installed. A phone camera for the projects.
Hardware
A phone camera, a tray and a ruler for the projects. No industrial camera needed.
Certificate
Optional EDWartens Certificate of Completion, verifiable by code. Not a vendor credential.
Video lessons by
ProgrammingKnowledge, Murtaza's Workshop, freeCodeCamp.org, SmartVisionLights, Nicolai Nielsen (independent creators, credited below)
Language
English
Last updated
27 September 2026

A shareable EDWartens certificate

Finish every module and pass the final assessment, and the optional EDWartens certificate is yours. It carries a unique verification code on a public page anyone can check, so it stands up when a recruiter looks it up. See it below.

The course itself stays free whether or not you ever buy one.

Stuck? Ask a practising engineer

A free course usually means a comment section and hope. This one does not. Every module has an Ask-your-trainer panel that reaches the same engineers who teach our paid programme: people who commission panels for a living, not moderators.

Pairs well with

More free courses: Free AI courses for engineers

Learning paths with this course

  • Applied AI engineer · 4 courses

Learner reviews

No reviews yet

Reviews here are written only by learners who have finished every module of Computer Vision with OpenCV, and they are published exactly as written. Finish the course and yours will be the first.

Common questions

Do I need an industrial camera?

No. Every exercise runs on images and videos you make with a phone, plus a synthetic belt video the notebook generates with a known part count. The module on cameras and lighting tells you what to buy when the time comes.

Is this deep learning?

No — deliberately. This course is the classical toolbox that solves most fixed-camera inspection jobs at a fraction of the cost, and it is what the Deep Learning and Machine Vision courses build on. It also teaches you to measure when classical methods fail, so a neural network is a decision, not a reflex.

What are the projects in the Computer Vision with OpenCV course?

A conveyor part counter — detection, tracking, a counting line — debugged on a synthetic belt video with a known count and then run on your own phone video, with misses and double counts reported separately; and a colour-sorting plus size-check station on photos of bottle caps.

Is the Computer Vision with OpenCV course really free?

Yes. Every module, practice task, project and assessment. You create an account so your progress is saved and the assessments can be marked. The certificate is the only paid item, and only if you want it.

What certificate does the Computer Vision with OpenCV course give?

An EDWartens Certificate of Completion, issued when you have finished the modules and passed the final assessment (the project is optional practice), with a verification code anyone can check. It is not a vendor credential and is never described as one.

Who made the video lessons in the Computer Vision with OpenCV course?

The creators named in the Credits block at the foot of this page, on their own YouTube channels. EDWartens did not make the videos and the creators are not affiliated with EDWartens. What EDWartens wrote is the study plan, the notes, the practice tasks, the projects and the assessments.

How long does the Computer Vision with OpenCV course take?

Plan on about 19 hours in all, including the video lessons, notes and practice tasks. It is self-paced, so you work through the twelve modules at your own speed.

What you walk away with

Your certificate for Computer Vision with OpenCV

Finish the course, pass the final, and this is the document with your name on it.

Sample EDWartens Certificate of Completion for Computer Vision with OpenCV
Sample. The issued certificate carries your name, admission number, a unique certificate number and its own QR code.
  • Verifiable by anyone

  • Adds to LinkedIn in one click

  • QR code on the certificate

  • Names what you can do

  • A permanent link

  • Earned, not attended

Learning is free. The certificate is optional.

Add it now and pay only when you have finished the course, or come back for it later. One-off, US$23.99, with a receipt.

Issued by EDWartens, the training division of Wartens, as a Certificate of Completion for this self-paced course. Sold by Wartens Ltd (England and Wales). It is not a vendor certification, a university award or a CPD-accredited activity, and it does not certify competence on live equipment. Delivered electronically; see the refund policy.

Credits

Who made the video lessons

The video lessons in this course were created by the people below, not by EDWartens. Every lesson streams from its creator's own YouTube channel; EDWartens neither hosts nor sells that footage, and the creators are not affiliated with EDWartens and do not endorse this course. What EDWartens wrote is the study plan, the notes, the practice tasks and the assessments.

If you are one of these creators and would like a lesson removed or credited differently, write to info@wartens.com.