Crate nokhwa[−][src]
Modules
backends | Raw access to each of Nokhwa’s backends. |
Structs
Camera | The main |
CameraFormat | This is a convenience struct that holds all information about the format of a webcam stream.
It consists of a |
CameraInfo | Information about a Camera e.g. its name.
|
Resolution | Describes a Resolution.
This struct consists of a Width and a Height value (x,y). |
Enums
CaptureAPIBackend | The list of known capture backends to the library. |
FrameFormat | Describes a frame format (i.e. how the bytes themselves are encoded). Often called |
NokhwaError | All errors in Nokhwa. |
Traits
CaptureBackendTrait | This trait is for any backend that allows you to grab and take frames from a camera. Many of the backends are blocking, if the camera is occupied the library will block while it waits for it to become availible. |
VirtualBackendTrait |
Functions
mjpeg_to_rgb888 | Converts a MJPEG stream of u8 into a Vec |
yuyv422_to_rgb888 | Converts a YUYV 4:2:2 datastream to a RGB888 Stream. For further reading |
yuyv444_to_rgb888 | Convert |