robokudo.descriptors.analysis_engines.static_detector_from_storage

Analysis engine for static object detection from stored data.

This module provides an analysis engine that demonstrates static object detection using stored camera data. It implements a pipeline that uses predefined bounding box parameters to detect objects in stored images.

The pipeline implements the following functionality:

  • Reading stored camera data from MongoDB

  • Image preprocessing

  • Static object detection with fixed bounding box

  • Object hypothesis visualization

Note

This engine uses a static object detector with fixed bounding box parameters, making it suitable for detecting objects with known and consistent dimensions in the camera view.

Classes

AnalysisEngine

Analysis engine for static object detection from stored data.

Module Contents

class robokudo.descriptors.analysis_engines.static_detector_from_storage.AnalysisEngine

Bases: robokudo.analysis_engine.AnalysisEngineInterface

Analysis engine for static object detection from stored data.

This class implements a pipeline that performs object detection using a static bounding box approach. It processes stored camera data and detects objects based on predefined bounding box dimensions.

The pipeline includes:

  • Collection reader for stored data access

  • Image preprocessing

  • Static object detection with fixed parameters

  • Object hypothesis visualization

Note

The static object detector is configured with a fixed bounding box of 100x60 pixels, positioned at (40, 40). Adjust these parameters based on your specific object detection requirements.

name()

Get the name of the analysis engine.

Returns:

The name identifier of this analysis engine

Return type:

str

implementation()

Create a pipeline for static object detection.

This method constructs a processing pipeline that performs object detection using a static bounding box approach. The detector uses fixed parameters suitable for objects with known dimensions.

Static detector configuration:

  • Bounding box position: (40, 40)

  • Bounding box size: 100x60 pixels

Returns:

The configured pipeline for static object detection

Return type:

robokudo.pipeline.Pipeline