Versions in this module Expand all Collapse all v0 v0.1.7 Aug 24, 2021 Changes in this version + func New(ctx activity.InitContext) (activity.Activity, error) + type Activity struct + func (a *Activity) Eval(ctx activity.Context) (done bool, err error) + func (a *Activity) Metadata() *activity.Metadata + type Input struct + Image gocv.Mat + func (i *Input) FromMap(values map[string]interface{}) error + func (i *Input) ToMap() map[string]interface{} + type Output struct + Image gocv.Mat + LetterboxPadding []interface{} + func (o *Output) FromMap(values map[string]interface{}) error + func (o *Output) ToMap() map[string]interface{} + type Settings struct + FlipHorizontally bool + FlipVertically bool + OutputHeight int + OutputWidth int + Rotation int + ScaleMode string