Computer Vision · Beginner level

Beginner level · Module 6: Introduction to Image Classification · Lesson 3 of 3

Testing on Local Images and Presenting the Project

Learners test their classifier on the photographs they took locally, measure the change in accuracy, and present the project with its limits.

In this lesson you will

  • Measure performance on a separate local test set
  • Present results and limitations honestly

Key concepts

domain shiftlocal test setaccuracy droplimitationsnext steps

The lesson

A model trained mostly on public images learns their conditions: backgrounds, cameras, varieties. Testing on learners' own photographs, taken under local conditions, shows how well it transfers. A drop in accuracy is normal and important to report.

Explain the drop with evidence from the error gallery: different varieties, lighting, backgrounds or camera quality. Suggest realistic next steps, such as adding local images to training, improving capture rules or narrowing the categories.

The presentation shows the full pipeline, the public and local results side by side, and a clear statement of when the classifier should not be trusted.

Step by step

  1. Run the classifier on the local photo set.
  2. Compare accuracy and confusion matrices with the public test set.
  3. Explain the main causes of the difference.
  4. Prepare and give a five-minute presentation.

Practice activity

Complete and present the level project: the produce or plant classifier with public and local evaluation.

Expected result: A working classifier and an honest presentation of its performance and limits on local images.

Check your understanding

  1. What is domain shift?

    Show answer

    A difference between the conditions of the training data and the data the model is used on.

  2. Why report accuracy on local photos separately?

    Show answer

    Performance often drops on local images, and users need to know.

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.