Documentation ¶
Index ¶
Constants ¶
View Source
const ( XResolution = "ResX" YResolution = "ResY" FPS = "FPS" Model = "Model" Brand = "Brand" PixelBits = "PixelBits" FrameSize = "FrameSize" Firmware = "Firmware" Serial = "CameraSerial" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderInfo ¶
type HeaderInfo struct {
// contains filtered or unexported fields
}
HeaderInfo contains the camera description fields returned by a camera service.
func ReadHeaderInfo ¶
func ReadHeaderInfo(reader *bufio.Reader) (*HeaderInfo, error)
func (*HeaderInfo) CameraSerial ¶
func (h *HeaderInfo) CameraSerial() int
Camera module unique serial#
func (*HeaderInfo) Firmware ¶
func (h *HeaderInfo) Firmware() string
Camera module firmware revision i.e. 1.2.3
func (*HeaderInfo) FrameSize ¶
func (h *HeaderInfo) FrameSize() int
FrameSize returns the number of bytes in each frame (include any telemetry bytes).
Click to show internal directories.
Click to hide internal directories.