Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Classifying image chips into land-use and land-cover classes

1. Context

In Lesson 04, you prepared training data: imagery, labels, chips, quality checks and splits. This lesson uses those ideas in the first modelling workflow of SDS320: Image Recognition.

Image recognition asks a simple question of your data: not “What is every pixel?” but “What is this whole tile, mostly?”. It assigns a single label to an entire image or image chip. In geospatial work, this is often also called image classification or scene classification. A model might classify a chip as forest, residential, industrial, river or crop land.

This makes image recognition a useful first supervised GeoAI task. The output is simpler than object detection or segmentation: one image goes in, one class label comes out. At the same time, the workflow introduces ideas you will reuse in later lessons: model architectures, Transfer Learning, training history, test-set evaluation, confusion matrices and visual prediction checks.


2. Motivation

Image recognition is often the fastest path from an idea to a working model. It needs less annotation effort than segmentation or detection, since a label describes a whole tile rather than every pixel or object within it, and it trains quickly enough to iterate several times in a single class session. For a project-oriented course like SDS320, that speed matters: a working baseline model early in the semester gives you something concrete to improve, rather than a plan you have not yet tested.

Image recognition is useful when one dominant label per tile is enough. It is not the right method when you need the exact position of objects or a pixel-level map. That distinction matters for SDS320 projects because it helps you avoid choosing a method that produces the wrong type of output.

A useful rule for this lesson is:

Use image recognition when the tile-level label is the answer.

3. Learning objectives

By the end of this lesson, you should be able to:


4. Lesson roadmap

Work through the pages in this order:

  1. When to use image recognition — decide whether tile-level classification fits your question.

  2. From pixels to labels — understand the input-output logic of an image classifier.

  3. Classification architectures — compare ResNet, EfficientNet, Vision Transformers and ConvNeXt.

  4. ImageFolder and EuroSAT — inspect the dataset structure and visual examples.

  5. Training a classifier — train a first ResNet-50 classifier with the GeoAI API.

  6. Evaluation and confusion matrices — interpret metrics, confusion matrices and visual predictions.

  7. Architecture comparison and reuse — compare ResNet-50 and EfficientNet-B0 fairly and consider model reuse.

  8. Project transfer — decide whether image recognition fits your own SDS320 project.


5. Project framing

As you work through this lesson, keep your own project in mind.

Use these guiding questions:


6. Before class

Before class, prepare the following:


7. After this lesson

After completing this lesson, you should have:

These outputs do not need to be perfect. Their purpose is to help you understand the classification workflow before moving to methods with more complex spatial outputs.