visionsvc

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Description = "A module of the Viam vision service that crops an image to an initial detection then runs other models to return detections"
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:"border"`
	Classifier          string   `json:"classifier_service"`
	MaxClassifications  int      `json:"max_classifications"`
	LogImage            bool     `json:"log_image"`
	ImagePath           string   `json:"image_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