Crate generic_camera

source
Expand description

§Generic Camera Interface

This crate provides a generic interface for controlling cameras.

§Features

  • server: Enables the generic camera server.
  • dummy: Enables the dummy camera implementation.

§Usage

To use the crate, add the following to your Cargo.toml:

[dependencies]
generic-camera = "0.0"

Re-exports§

Modules§

Structs§

  • A structure to hold information about a camera device.
  • This structure defines a region of interest. The region of interest is defined in the binned pixel space.

Enums§

Traits§

  • Trait for controlling the camera. This trait is intended to be applied to a non-clonable object that is used to capture images and can not be shared across threads.
  • Trait for camera drivers. Provides functions to list available devices and connect to a device.
  • Trait for obtaining camera information and cancelling any ongoing image capture. This trait is intended to be exclusively applied to a clonable object that can be passed to other threads for housekeeping purposes.

Type Aliases§