v1

package
v0.0.0-...-f6d29ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CameraID

type CameraID string

type Capabilities

type Capabilities struct {
	Resolution []Resolution `json:"resolution"`
	ISO        []ISO        `json:"iso"`
}

type ISO

type ISO string

type Resolution

type Resolution struct {
	X int
	Y int
}

type Settings

type Settings struct {
	Camera     CameraID      `json:"id"`
	Resolution Resolution    `json:"resolution"`
	ISO        ISO           `json:"iso"`
	Shutter    time.Duration `json:"shutter"`
	Exposure   string        `json:"exposure"` // e.g. off, auto, night etc.
	Mode       string        `json:"mode"`     // not really defined, force sensor mode e.g. 0 = auto
	Rotation   int           `json:"rotation"` //0, 90, 180, or 270
	Quality    int           `json:"quality"`
	AWB        string        `json:"awb"`
	Saturation string        `json:"saturation"`
	Denoise    string        `json:"denoise"`
	EV         string        `json:"ev"`
}

type StillCamera

type StillCamera struct {
	ID           CameraID     `json:"id"`
	Capabilities Capabilities `json:"capabilities"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL