Beginner-Friendly Topic
Take your time - it's perfectly normal to re-read this topic 2-3 times. Try the interactive code editor below to run code yourself. Use the Q&A section to check your understanding before moving on.You've got this!
Lesson 11 of 12
Module 4 Practice
Practise colour detection by extending the examples to different colours and conditions.
Practice Task
Note
Take a photo that contains at least three different distinct colours (e.g. a fruit bowl, some toys, or coloured objects on a desk). Run the colour coverage analyser on it. Then select the dominant colour and build a detector that draws bounding boxes around all objects of that colour. Adjust the HSV ranges if the detection is incomplete. Compare how the detection changes between good lighting and dim lighting.
Educational visual guide for module 4 practice.
Finished this lesson?