📚 Course contents

AI & Computer Vision, lesson 11 of 52

Webcam Data Capture: A Camera Trap for Your Dataset

intermediate24 min readFull course

Introduction

Last lesson you audited a dataset and found its problems. Today you stop those problems at the source. You'll build a capture script that saves frames into the right folder, rejects blurry and repeated frames as it captures, and keeps a diary of everything it did. By the end you'll have 100 good frames of your own.

By the end of this lesson you'll be able to:

  • Save frames automatically at a set interval, or manually on a key press
  • Name files and folders so every frame is traceable to its class and session
  • Reject blurry frames and near-duplicate frames at capture time
  • Keep a CSV log of every attempt, with its blur score and the reason it was accepted or rejected
  • Track progress towards a target count per class
  • Reuse the lesson 9 motion trigger to capture only when something moves
Webcam Data Capture: A Camera Trap for Your Dataset