dconfig

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetectorConfig

type DetectorConfig struct {
	Name          string        `json:"name"`
	Type          string        `json:"type"`
	ModelFile     string        `json:"model_file"`
	LabelFile     string        `json:"label_file"`
	NumThreads    int           `json:"num_threads"`
	NumConcurrent int           `json:"num_concurrent"`
	HWAccel       bool          `json:"hw_accel"`
	Timeout       time.Duration `json:"timeout"`
}

Detector config is used for parsing configuration data from the config file

Jump to

Keyboard shortcuts

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