Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct { FieldWidth float32 `json:"fieldWidth"` FieldLength float32 `json:"fieldLength"` CenterRadius float32 `json:"centerRadius"` PenaltyWidth float32 `json:"penaltyWidth` PenaltyDepth float32 `json:"penaltyDepth` PenaltyPoint float32 `json:"penaltyPoint"` BoundaryWidth float32 `json:"boundaryWidth"` GoalWidth float32 `json:"goalWidth"` GoalDepth float32 `json:"goalDepth"` Shapes []Shape `json:"shapes"` ActiveSourceId string `json:"activeSourceId"` Sources map[string]string `json:"sources"` }
func (*Package) AddDetectionFrame ¶
func (*Package) AddGeometryShapes ¶
func (*Package) SortShapes ¶
func (p *Package) SortShapes()
type PublishType ¶
type PublishType int
type Publisher ¶
type Publisher struct { DetectionProvider func() *vision.Frame GeometryProvider func() *vision.Field // contains filtered or unexported fields }
func NewPublisher ¶
func NewPublisher() (p Publisher)
type PublisherClient ¶
type PublisherClient struct {
// contains filtered or unexported fields
}
type ShapesByOrderNumber ¶
type ShapesByOrderNumber []Shape
func (ShapesByOrderNumber) Len ¶
func (a ShapesByOrderNumber) Len() int
func (ShapesByOrderNumber) Less ¶
func (a ShapesByOrderNumber) Less(i, j int) bool
func (ShapesByOrderNumber) Swap ¶
func (a ShapesByOrderNumber) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.