visionsvc

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Description = "" /* 162-byte string literal not displayed */
View Source
var Model = resource.NewModel("viam-soleng", "vision", "detect-and-classify")
View Source
var PrettyName = "Viam detect and classify vision service"

Functions

This section is empty.

Types

type Config

type Config struct {
	Camera              string   `json:"camera"`
	Detector            string   `json:"detector_service"`
	DetectorConfidence  float64  `json:"detector_confidence"`
	MaxDetections       int      `json:"max_detections"`
	DetectorValidLabels []string `json:"detector_valid_labels"`
	DetBorder           int      `json:"padding"`
	VisionService       string   `json:"vision_service"`
	LogImage            bool     `json:"log_images"`
	ImagePath           string   `json:"images_path"`
}

func (*Config) Validate

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

Jump to

Keyboard shortcuts

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