Versions in this module Expand all Collapse all v1 v1.3.0 Jul 6, 2018 Changes in this version type Annotation + Color string + Hotkey string v1.2.1 Jul 5, 2018 Changes in this version type AnnotationCollection + func (ac AnnotationCollection) PolygonAnnotations() []PolygonAnnotation v1.2.0 Jun 29, 2018 v1.1.1 Jun 29, 2018 Changes in this version type Annotation + CreatedBy string + Label string + type PolygonAnnotation struct + Label string + Points []Point v1.1.0 Jun 25, 2018 Changes in this version + func AnyPolygonAnnotation(annots []Annotation) bool type Annotation + Polygon *PolygibAnnotation + type Point float64 + type PolygibAnnotation struct + Label string + Points []Point v1.0.1 May 31, 2018 v1.0.0 Apr 26, 2018 Changes in this version + func AnyPointAnnotation(annots []Annotation) bool + func AnyRectAnnotation(annots []Annotation) bool + func Max(a, b int) int + func Min(a, b int) int + type Annotation struct + Id int + Point *PointAnnotation + Rect *RectAnnotation + Type string + func PointToAnnotation(points []pts.Point) []Annotation + type AnnotationCollection []Annotation + func (ac AnnotationCollection) PointAnnotations() []PointAnnotation + func (ac AnnotationCollection) RectAnnotations() []RectAnnotation + type PointAnnotation struct + Label string + X int + Y int + type RectAnnotation struct + Height int + Label string + Width int + X int + Y int + func FindPointAnnotationRect(label string, annots AnnotationCollection, padding int, image image.Image) RectAnnotation + func (ra *RectAnnotation) Rectangle() image.Rectangle + func (ra RectAnnotation) Canon() RectAnnotation + func (ra RectAnnotation) FixBounds(size image.Point) RectAnnotation