camera

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 18 Imported by: 57

Documentation

Overview

Package camera provides a video camera driver.

Device Label Generation Rules

On Linux, the device label will be in the format of:

pci-0000:00:00.0-usb-0:0:0.0-video-index0;video0

If /dev/v4l/by-path/* is not available (for example in a docker container without bindings in /dev/v4l/by-path/), it will be:

video0;video0

Index

Constants

View Source
const LabelSeparator = ";"

LabelSeparator is used to separate labels for a driver that is found from multiple locations on a host.

Variables

This section is empty.

Functions

func DestroyObserver added in v0.9.0

func DestroyObserver() error

DestroyObserver is a stub implementation for Linux.

func Initialize added in v0.4.0

func Initialize()

Initialize finds and registers camera devices. This is part of an experimental API.

func SetupObserver added in v0.9.0

func SetupObserver() error

SetupObserver is a stub implementation for Linux.

func StartObserver added in v0.9.0

func StartObserver() error

StartObserver is a stub implementation for Linux.

Types

This section is empty.

Jump to

Keyboard shortcuts

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