Interface for a source capable of producing camera frames. More...
Public Member Functions | |
| bool | is_open (self) |
| Return whether the camera device is currently open. | |
| None | open (self) |
| Open and configure the camera device. | |
| CameraFrame | read (self) |
| Capture and return the next frame. | |
| None | close (self) |
| Release the camera device. | |
Interface for a source capable of producing camera frames.
| bool hardware_io.camera.camera_if.CameraIf.is_open | ( | self | ) |
Return whether the camera device is currently open.
Reimplemented in hardware_io.camera.v4l2_camera.V4L2Camera.
| CameraFrame hardware_io.camera.camera_if.CameraIf.read | ( | self | ) |
Capture and return the next frame.
Reimplemented in hardware_io.camera.v4l2_camera.V4L2Camera.