ouster.sdk.perception.create_config module

Copyright (c) 2026, Ouster, Inc. All rights reserved.

create_detection_config(kind='classic', **kwargs)[source]

Build a DetectionConfig for a given engine kind.

Parameters are applied by name to the config object. Base DetectionConfig fields (e.g. save_instance_id_fields) are accepted for kinds that use a derived config (such as "classic").

Parameters:
  • kind (str) – Engine identifier, matching DetectionEngine.create() (e.g. "classic").

  • **kwargs (Any) – Config attributes to set on the new instance.

Return type:

DetectionConfig

Returns:

A config instance appropriate for kind.

Raises:

ValueError – If kind is not registered.