AI Hints
Home›Computer Vision Tutorial›Review: Deep Vision
Computer Vision · Lesson 101 of 111

Review: Practical Details

The small things that bite.

⏱ 2 min read▶ Video at 2:47:09🎓 Free
Watch this lesson in the Computer Vision courseWatch on YouTube ↗Full Computer Vision course

Big failures often come from small details. A wrong resize. A colour order. A forgotten lens. Let's see if you'd catch them.

Review: Practical Details
From the video: Review: Practical Details
  • Small details
  • Big failures
  • Would you catch them?

Recap: the details

Use area interpolation to shrink, and nearest for masks. Include compression in your training if you'll see it in production. Remember that OpenCV reads blue, green, red. Work out your receptive field. Budget every millisecond. And before you train at all, ask whether you can simply change the problem.

Shrink with areaavoid aliasing
BGR ordera classic bug
Receptive fieldcan it see the object?
Change the problemmarkers, lighting

Question 1

Question 1. Which method suits resizing a label mask? A, Bicubic. B, Nearest neighbour. C, Area. D, Lanczos. Pause and choose. The answer is B. Averaging would invent classes.

Quick check
Which method suits resizing a label mask?

Question 2

Question 2. What colour order does OpenCV use by default? A, RGB. B, BGR. C, HSV. D, CMYK. Pause and choose. The answer is B. That's caused many bugs.

Quick check
What colour order does OpenCV use by default?

Question 3

Question 3. What's the first thing to try for a hard defect? A, A bigger model. B, Better lighting. C, More epochs. D, A new optimiser. Pause and choose. The answer is B. Solve it at the camera.

Quick check
What's the first thing to try for a hard defect?

Question 4

Question 4. Your network misses large defects. What should you check? A, The file format. B, The receptive field. C, The learning rate only. D, The colour order. Pause and choose. The answer is B. A neuron must be able to see the object.

Quick check
Your network misses large defects. What should you check?

Question 5

Question 5. Twelve apples a second gives what budget per apple? A, About 8 milliseconds. B, About 83 milliseconds. C, 1 second. D, 12 milliseconds. Pause and choose. The answer is B. Keep a margin too.

Quick check
Twelve apples a second gives what budget per apple?

Question 6

Question 6. When should you use a general vision model rather than your own? A, Millisecond speed. B, Quick prototypes. C, High volume. D, Exact locations. Pause and choose. The answer is B. It's great for getting started.

Quick check
When should you use a general vision model rather than your own?

Summary

Next, myths, and design questions.

Key takeaways
  • Details cause big failures
  • Fix the camera first
  • You're ready
Next up: Vision Myths — what people get wrong