Computer Vision · Beginner level

Beginner level · Module 1: Introduction to Computer Vision · Lesson 2 of 3

The Computer Vision Pipeline

A walk through the stages of a vision system (capture, preprocessing, features or model, post-processing and evaluation) using a produce-sorting example.

In this lesson you will

  • Name the stages of a vision pipeline
  • Explain how capture conditions affect results

Key concepts

image capturepreprocessingfeatures and modelspost-processingevaluation

The lesson

A vision pipeline starts with capture: the camera, lighting, angle and distance. Preprocessing makes images consistent (size, colour, brightness). A feature extractor or a trained model turns pixels into a prediction. Post-processing turns predictions into decisions (counts, alerts, reports). Evaluation compares outputs with what people labelled.

Capture conditions matter more than beginners expect. A model trained on leaves photographed against a plain background in a laboratory may fail on photos taken in a field, with shadows, soil and other plants behind the leaf.

Writing down capture rules (distance, background, lighting, phone settings) is one of the cheapest ways to make a vision system more reliable.

Step by step

  1. Draw the five pipeline stages for a mango ripeness sorter.
  2. Write capture rules for photographing mangoes consistently.
  3. Take six photos following the rules and six without them.
  4. Compare the two sets and note the differences.

Practice activity

Write a capture protocol for the level project and test it with twelve photographs of produce.

Expected result: A one-page protocol and a side-by-side comparison showing why consistent capture matters.

Check your understanding

  1. Why can a model trained on laboratory leaf photos fail in the field?

    Show answer

    Field photos have different backgrounds, lighting and angles from the training images.

  2. What does post-processing do?

    Show answer

    It turns model outputs into decisions such as counts, alerts or reports.

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.