colorfilter

package
v0.0.0-...-791af7f Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package colorfilter implements a modular camera that filters the output of an underlying camera and only keeps captured data if the vision service detects a certain color in the captured image.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Model is the full model definition.
	Model = resource.NewModel("example", "camera", "colorfilter")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	ActualCam     string `json:"actual_cam"`
	VisionService string `json:"vision_service"`
}

Config contains the name to the underlying camera and the name of the vision service to be used.

func (*Config) Validate

func (cfg *Config) Validate(path string) ([]string, error)

Validate validates the config and returns implicit dependencies.

Directories

Path Synopsis
Package main is a module which serves the colorfilter custom module.
Package main is a module which serves the colorfilter custom module.

Jump to

Keyboard shortcuts

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