Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Annotations ¶
type Annotations struct {
BoundingBoxes []BoundingBox
}
type BoundingBox ¶
type Image ¶
type ImageInfo ¶
type ImageInfo struct {
Id string
Collection string
Specs im.ImageSpecs
}
func NewImageInfo ¶
type ImageLabel ¶
type ScrollerButton ¶
type ScrollerButtons ¶
type ScrollerButtons struct {
Next ScrollerButton
Prev ScrollerButton
}
type View ¶
type View interface {
SetScroller(ScrollerButtons)
Error(error)
AddBox(BoundingBox)
AddLabel(ImageLabel)
SetAvailableLabels([]string)
SetAvailableImageLabels([]string)
SetImageInfo(ImageInfo)
SetImage(Image)
SetAnnotations([]BoundingBox, []ImageLabel)
UpdateBox(BoundingBox)
UpdateLabel(Annotation)
DeleteAnnotation(string)
}
Click to show internal directories.
Click to hide internal directories.