Intermediate level · Module 4: Data Augmentation · Lesson 3 of 3
Collecting, Labelling and Documenting Image Data
Learners plan responsible image collection, write labelling guidelines, anonymise faces and number plates, check label quality, handle class imbalance and document the dataset in a datasheet.
In this lesson you will
- Plan and label an image dataset responsibly
- Document data and handle imbalance
Key concepts
labelling guidelinesanonymisation (blurring)label quality checksclass imbalancedatasheet
The lesson
Collect only what the task needs, with permission where required. Avoid photographing people; where they appear incidentally, blur faces and number plates (for example with cv2.GaussianBlur on the regions) before labelling or sharing. Check national law and organisational policy for images taken in public places with a qualified adviser.
Labelling guidelines define each class with example images and rules for hard cases: partly hidden objects, very small objects, and when to draw a box. Two people labelling the same 30 images and comparing results reveals unclear rules. Open-source labelling tools can export YOLO format.
Count images and objects per class. Rare classes need more examples, class-weighted training or careful evaluation. Record everything in a datasheet: sources, licences, collection method, anonymisation, classes, counts and known limits.
Step by step
- Write labelling guidelines with examples for the project classes.
- Blur faces and plates in a sample of images and check the result.
- Label 30 images with a partner and compare.
- Count objects per class and draft the datasheet.
Practice activity
Produce labelling guidelines, an anonymised labelled sample and a draft datasheet for the level project.
Expected result: Clear guidelines, consistent labels, no identifiable people and a complete draft datasheet.
Check your understanding
-
What should happen to faces and number plates before labelling?
Show answer
They should be blurred.
-
Why do two people label the same images?
Show answer
To find unclear rules and inconsistent labels.
Further learning
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.