← Neural NetworksToolsInVisionLearning Center
Object Detection · Lesson 70

One-Stage and Two-Stage Detectors

Compare one-stage and two-stage detectors, understand shared features and region proposals, and measure quality alongside processing time.

Watch the lesson

One-Stage and Two-Stage Detectors explained visually

2:40

Compare one-stage and two-stage detectors, understand shared features and region proposals, and measure quality alongside processing time.

Lesson overview

What you will learn

Locate objects, represent boxes, filter predictions, evaluate detections, and compare detector designs.

  1. Understand proposals and shared image features
  2. Follow direct predictions in one-stage detectors
  3. Separate architectural ideas from performance slogans
  4. Measure quality and processing time on real examples
01

Understand proposals and shared image features

A camera sends a new frame every fraction of a second. The detector needs to find objects quickly, but it also needs to place useful boxes around them. How do different detector designs approach that job?

Two important families are one-stage and two-stage detectors.

A two-stage detector first proposes regions that may contain objects. It then examines those regions to predict their classes and refine their bounding boxes.

Faster R C N N is a well-known example. Its region proposal network suggests candidate locations. A later detection stage uses features from those regions to classify objects and improve the boxes. The stages share image features, so the system does not have to process the original image from scratch for every region.

02

Follow direct predictions in one-stage detectors

A one-stage detector predicts object locations and classes directly from image features without that separate region-proposal stage.

The original YOLO paper presented object detection as a single network prediction from the full image. The name stands for “You Only Look Once.” Later YOLO designs have changed many details, so it is better to understand the broad idea than assume every version has the same architecture.

03

Separate architectural ideas from performance slogans

One-stage does not mean one neural-network layer. These models can contain many layers that extract and combine visual features before producing detections.

You may hear that one-stage detectors are fast and two-stage detectors are accurate. That is a useful historical starting point, but it is not a reliable rule for every modern model.

Actual results depend on the architecture, input resolution, training data, hardware, and deployment settings. Small objects and crowded scenes can also expose differences that a single overall score hides.

04

Measure quality and processing time on real examples

To choose a detector, measure both detection quality and processing time on examples that resemble the real task. A model that performs well on a benchmark may still struggle with your lighting, camera angle, or object sizes.

We now have the foundations to discuss detector training: what the model predicts, how its outputs are filtered, and how those predictions are evaluated.

Knowledge check

Quick check: test your understanding

What does a two-stage detector do before refining classes and boxes?

It proposes candidate object regions.

Does one-stage mean one neural-network layer?

No. One-stage detectors may contain many feature-extraction and prediction layers.

Is one-stage always faster and two-stage always more accurate?

No. Compare actual models, hardware, settings, and representative data.

Continue the course

Continue with lessons 71–82: transfer learning, sequences, attention, generative models, deployment, and the final project. Complete the quiz after each module.

Continue to Lesson 71 →
Accessible referenceLesson 70 transcript329 words · Matches the published narration and captionsOpen transcript

A camera sends a new frame every fraction of a second. The detector needs to find objects quickly, but it also needs to place useful boxes around them. How do different detector designs approach that job?

Two important families are one-stage and two-stage detectors.

A two-stage detector first proposes regions that may contain objects. It then examines those regions to predict their classes and refine their bounding boxes.

Faster R C N N is a well-known example. Its region proposal network suggests candidate locations. A later detection stage uses features from those regions to classify objects and improve the boxes. The stages share image features, so the system does not have to process the original image from scratch for every region.

A one-stage detector predicts object locations and classes directly from image features without that separate region-proposal stage.

The original YOLO paper presented object detection as a single network prediction from the full image. The name stands for “You Only Look Once.” Later YOLO designs have changed many details, so it is better to understand the broad idea than assume every version has the same architecture.

One-stage does not mean one neural-network layer. These models can contain many layers that extract and combine visual features before producing detections.

You may hear that one-stage detectors are fast and two-stage detectors are accurate. That is a useful historical starting point, but it is not a reliable rule for every modern model.

Actual results depend on the architecture, input resolution, training data, hardware, and deployment settings. Small objects and crowded scenes can also expose differences that a single overall score hides.

To choose a detector, measure both detection quality and processing time on examples that resemble the real task. A model that performs well on a benchmark may still struggle with your lighting, camera angle, or object sizes.

We now have the foundations to discuss detector training: what the model predicts, how its outputs are filtered, and how those predictions are evaluated.