Detection#

class model_api.tilers.detection.DetectionTiler(model, configuration={}, execution_mode='async')#

Bases: Tiler

Tiler for object detection models. This tiler expects model to output a lsit of Detection objects or one DetectionResult object.

Base constructor for creating a tiling pipeline

Parameters:
  • model – underlying model

  • configuration (dict) – it contains values for parameters accepted by specific tiler (tile_size, tiles_overlap etc.) which are set as data attributes.

  • execution_mode – Controls inference mode of the tiler (async or sync).

classmethod parameters()#

Defines the description and type of configurable data parameters for the tiler.

Returns:

  • the dictionary with defined wrapper tiler parameters