Documentation ¶
Overview ¶
Package oceanprefilter implements a classifier for interesting events on the open waters, as a Viam vision service
Index ¶
Constants ¶
View Source
const ( // ModelName is the name of the model ModelName = "ocean-prefilter" // DefaulMaxFrequency is how often the vision service will poll the camera for a new image DefaultMaxFrequency = 10.0 DefaultThreshold = 0.25 )
Variables ¶
View Source
var ( // Model is the resource Model = resource.NewModel("viam-labs", "vision", ModelName) )
Functions ¶
Types ¶
type Config ¶
type Config struct { CameraName string `json:"camera_name"` DetectorName string `json:"detector_name"` ChosenLabels map[string]float64 `json:"chosen_labels"` MaxFrequency float64 `json:"max_frequency_hz"` Threshold float64 `json:"threshold"` Debug bool `json:"debug"` ExcludedRegion []int `json:"excluded_region"` TriggerOnMotion bool `json:"trigger_on_motion"` }
Config contains names for necessary resources (camera and vision service)
Click to show internal directories.
Click to hide internal directories.