Documentation
¶
Index ¶
- type Controller
- func (c *Controller) ExportDataset(dest string, balanced bool)
- func (c *Controller) GetImagePaths(binID int) []string
- func (c *Controller) GetPreview(path string) image.Image
- func (c *Controller) GetThumbnail(path string) image.Image
- func (c *Controller) LoadDataset(path string)
- func (c *Controller) MoveImages(paths []string, sourceID, destID int) error
- type CoreUI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(ui CoreUI) *Controller
func (*Controller) ExportDataset ¶
func (c *Controller) ExportDataset(dest string, balanced bool)
func (*Controller) GetImagePaths ¶
func (c *Controller) GetImagePaths(binID int) []string
func (*Controller) GetPreview ¶
func (c *Controller) GetPreview(path string) image.Image
Getthumbnail to be used by controller clients and retrieve the preview from the in memory cache
func (*Controller) GetThumbnail ¶
func (c *Controller) GetThumbnail(path string) image.Image
func (*Controller) LoadDataset ¶
func (c *Controller) LoadDataset(path string)
func (*Controller) MoveImages ¶
func (c *Controller) MoveImages(paths []string, sourceID, destID int) error
Click to show internal directories.
Click to hide internal directories.