Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CameraStillReader ¶
type LibCameraStill ¶
type LibCameraStill struct {
// contains filtered or unexported fields
}
LibCameraStill represents the Golang wrapper over the `libcamera-still` command line application that is found in the Raspberry Pi OS.
func NewLibCameraStill ¶
func NewLibCameraStill(width int, height int, format string, workingDirectoryAbsoluteFilePath string) (*LibCameraStill, error)
NewLibCameraStill creates an instance of our LibCameraStill struct.
func (*LibCameraStill) Snapshot ¶
func (cam *LibCameraStill) Snapshot() (string, error)
Snapshot will take a snapshot with the Raspberry Pi camera module and save it to the specified file. This function is essentially a wrapper function over the `libcamera-still` command.
Click to show internal directories.
Click to hide internal directories.