Dublin University Crest Computer Science Department > Dr. Kenneth Dawson-Howe > Practical Vision textbook Trinity College Crest
 Home
 Code Samples
 
 FULL CODE DOWNLOAD
 1. Introduction
 2. Images
 3. Histograms
 4. Binary Vision
 5. Geometric
 6. Edges
 7. Features
 8. Recognition
 9. Video
 OpenCV information
 Lecture notes
 Application Problems
 

Code samples - Video.

The Video code (provided in Video.cpp) runs the following demos:


Optical Flow:
Static Background Model:
Running Average Background Model:
Selective Running Average Background Model:
Median Background Model:
Gaussian Mixture Model:

Copyright © 2025 Wiley & Kenneth Dawson-Howe. Unless indicated otherwise, the rights to the materials presented here are held by Wiley and/or Kenneth Dawson-Howe. All rights reserved with the following exceptions:
  • Permission is granted to reuse the code presented here for teaching purposes subject to the textbook ("A Practical Introduction to Computer Vision with OpenCV" by Kenneth Dawson-Howe, Wiley 2014.) being included as a recommended text on any associated course, and to an appropriate copyright notice being reproduced along with the material.
Email  kdawson @ cs.tcd.ie