Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetStore ¶
func SetStore(as AnnotationStore)
Types ¶
type Annotation ¶
type Annotation struct { Image string `json:"image" bson:"image"` Boxes []*Box `json:"boxes" bson:"boxes"` }
func Get ¶
func Get(p *project.Project) []*Annotation
type AnnotationStore ¶
type AnnotationStore interface { Save(*project.Project, *Annotation) error Get(*project.Project) []*Annotation GetImage(p *project.Project, name string) (*Annotation, error) }
Click to show internal directories.
Click to hide internal directories.