Documentation ¶
Overview ¶
Package videosource implements various camera models including webcam
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ModelWebcam = resource.DefaultModelFamily.WithModel("webcam")
ModelWebcam is the name of the webcam component.
Functions ¶
Types ¶
type CameraConfig ¶
CameraConfig is collection of configuration options for a camera.
type WebcamConfig ¶ added in v0.2.36
type WebcamConfig struct { CameraParameters *transform.PinholeCameraIntrinsics `json:"intrinsic_parameters,omitempty"` DistortionParameters *transform.BrownConrady `json:"distortion_parameters,omitempty"` Debug bool `json:"debug,omitempty"` Format string `json:"format,omitempty"` Path string `json:"video_path"` Width int `json:"width_px,omitempty"` Height int `json:"height_px,omitempty"` FrameRate float32 `json:"frame_rate,omitempty"` }
WebcamConfig is the attribute struct for webcams.
Click to show internal directories.
Click to hide internal directories.