robokudo.descriptors.factories.cr_descriptor_factory

Classes

CollectionReaderDescriptorFactory

Factory class for creating CollectionReader descriptors.

Module Contents

class robokudo.descriptors.factories.cr_descriptor_factory.CollectionReaderDescriptorFactory

Factory class for creating CollectionReader descriptors.

_camera_interface_types

Mapping of camera names to their corresponding camera interface types.

static create_descriptor(camera: str, **kwargs: typing_extensions.Any) robokudo.annotators.collection_reader.CollectionReaderAnnotator.Descriptor

Create a CollectionReader descriptor for the specified camera.

Parameters:
  • camera – The name of the camera to create a descriptor for.

  • kwargs – Additional keyword arguments to pass to the camera configuration.

Returns:

A CollectionReader descriptor for the specified camera.

Raises:
  • ValueError – If the given camera config name is not registered in the camera config registry.

  • TypeError – If the keyword arguments are invalid for the camera config class.