Documentation
¶
Overview ¶
Package transformpipeline defines image sources that apply transforms on images, and can be composed into an image transformation pipeline. The image sources are not original generators of image, but require an image source from a real camera or video in order to function.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrVideoSourceCreation = errors.New("failed to create video source from camera")
ErrVideoSourceCreation is returned when creating a video source from a camera fails.
Functions ¶
This section is empty.
Types ¶
type Transformation ¶
type Transformation struct { Type string `json:"type"` Attributes utils.AttributeMap `json:"attributes"` }
Transformation states the type of transformation and the attributes that are specific to the given type.
func (Transformation) JSONSchema ¶ added in v0.2.11
func (Transformation) JSONSchema() *jsonschema.Schema
JSONSchema defines the schema for each of the possible transforms in the pipeline in a OneOf.
Click to show internal directories.
Click to hide internal directories.