Advanced level · Module 7 of 10 · 15 guided hours
Video Analytics
Turning video into information: reading and sampling video, background subtraction, counting objects crossing a line, event detection, efficient processing and privacy-preserving design with minimal retention.
Learning objectives
- Process video efficiently with frame sampling
- Count and detect events in video
- Design privacy-preserving, low-bandwidth video analytics
Topics
- reading and writing video with OpenCV
- frame sampling and resolution
- background subtraction
- line-crossing counts
- event detection and temporal smoothing
- privacy, retention and on-device processing
Lessons
-
Lesson 1 Processing Video Efficiently
Learners read video with OpenCV, sample frames, reduce resolution and measure processing speed to make analytics feasible on modest computers.
cv2.VideoCaptureframes per secondframe samplingresolution reductionthroughput measurement
-
Lesson 2 Background Subtraction and Line-Crossing Counts
Learners detect moving objects with background subtraction and count objects crossing a line with a detector and tracker, comparing counts with manual counts.
cv2.createBackgroundSubtractorMOG2foreground maskscounting linetrack directioncount error
-
Lesson 3 Privacy-Preserving and Low-Bandwidth Video Systems
Learners design video analytics that process on the device, store only aggregate results, blur people when frames must be kept, and use minimal bandwidth.
data minimisationon-device processingaggregate outputsautomatic blurringretention policy
Practical activity
Build a video counting application for vehicles or livestock that processes efficiently, counts by class with measured error, stores only aggregates and blurred samples, and documents its privacy design.
Expected outcomes
- Practical video analytics skills
- Privacy-by-design habits
Assessment
Counting application with evaluation (60%) and privacy design statement (40%).
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.