Documentation
¶
Index ¶
- func ReadCOCOAnnotationsFromCreateMLFile(annotations *COCOAnnotations, path string) error
- func ReadCOCOAnnotationsFromFile(annotations *COCOAnnotations, path string) error
- func ReadCOCOAnnotationsFromPascalVOCDir(annotations *COCOAnnotations, path string) error
- func ReadCreateMLAnnotationsFromCOCOFile(annotations *CreateMLAnnotations, path string) error
- func ReadCreateMLAnnotationsFromFile(annotations *CreateMLAnnotations, path string) error
- func ReadCreateMLAnnotationsFromPascalVOCDir(annotations *CreateMLAnnotations, path string) error
- func ReadVOCAnnotationFromDir(annotations *VOCAnnotations, path string) error
- func ReadVOCAnnotationFromFile(annotation *VOCAnnotation, path string) error
- func ReadVOCAnnotationsFromCOCOFile(annotations *VOCAnnotations, path string) error
- func ReadVOCAnnotationsFromCreateMLFile(annotations *VOCAnnotations, path string) error
- func WriteCOCOAnnotationsToFile(annotations *COCOAnnotations, path string) error
- func WriteCreateMLAnnotationsToFile(annotations *CreateMLAnnotations, path string) error
- func WriteVOCAnnotationsToFile(annotations *VOCAnnotations, path string) error
- type COCOAnnotation
- type COCOAnnotations
- type COCOCategory
- type COCOImage
- type COCOInfo
- type COCOLicense
- type CreateMLAnnotation
- type CreateMLAnnotationItem
- type CreateMLAnnotations
- type CreateMLCoordinates
- type VOCAnnotation
- type VOCAnnotationItem
- type VOCAnnotations
- type VOCBndbox
- type VOCDataSource
- type VOCImageSize
- type VOCOwner
- type VOCPose
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadCOCOAnnotationsFromCreateMLFile ¶
func ReadCOCOAnnotationsFromCreateMLFile(annotations *COCOAnnotations, path string) error
func ReadCOCOAnnotationsFromFile ¶
func ReadCOCOAnnotationsFromFile(annotations *COCOAnnotations, path string) error
func ReadCOCOAnnotationsFromPascalVOCDir ¶
func ReadCOCOAnnotationsFromPascalVOCDir(annotations *COCOAnnotations, path string) error
func ReadCreateMLAnnotationsFromCOCOFile ¶
func ReadCreateMLAnnotationsFromCOCOFile(annotations *CreateMLAnnotations, path string) error
func ReadCreateMLAnnotationsFromFile ¶
func ReadCreateMLAnnotationsFromFile(annotations *CreateMLAnnotations, path string) error
func ReadCreateMLAnnotationsFromPascalVOCDir ¶
func ReadCreateMLAnnotationsFromPascalVOCDir(annotations *CreateMLAnnotations, path string) error
func ReadVOCAnnotationFromDir ¶
func ReadVOCAnnotationFromDir(annotations *VOCAnnotations, path string) error
func ReadVOCAnnotationFromFile ¶
func ReadVOCAnnotationFromFile(annotation *VOCAnnotation, path string) error
func ReadVOCAnnotationsFromCOCOFile ¶
func ReadVOCAnnotationsFromCOCOFile(annotations *VOCAnnotations, path string) error
func ReadVOCAnnotationsFromCreateMLFile ¶
func ReadVOCAnnotationsFromCreateMLFile(annotations *VOCAnnotations, path string) error
func WriteCOCOAnnotationsToFile ¶
func WriteCOCOAnnotationsToFile(annotations *COCOAnnotations, path string) error
func WriteCreateMLAnnotationsToFile ¶
func WriteCreateMLAnnotationsToFile(annotations *CreateMLAnnotations, path string) error
func WriteVOCAnnotationsToFile ¶
func WriteVOCAnnotationsToFile(annotations *VOCAnnotations, path string) error
Types ¶
type COCOAnnotation ¶
type COCOAnnotations ¶
type COCOAnnotations struct { Info COCOInfo `json:"info"` Licenses []COCOLicense `json:"licenses"` Categories []COCOCategory `json:"categories"` Images []COCOImage `json:"images"` Annotations []COCOAnnotation `json:"annotations"` }
type COCOCategory ¶
type COCOLicense ¶
type CreateMLAnnotation ¶
type CreateMLAnnotation struct { Image string `json:"image"` Annotations []CreateMLAnnotationItem `json:"annotations"` }
type CreateMLAnnotationItem ¶
type CreateMLAnnotationItem struct { Label string `json:"label"` Coordinates CreateMLCoordinates `json:"coordinates"` }
type CreateMLAnnotations ¶
type CreateMLAnnotations []CreateMLAnnotation
type CreateMLCoordinates ¶
type VOCAnnotation ¶
type VOCAnnotation struct { XMLName xml.Name `xml:"annotation"` Folder string `xml:"folder"` Filename string `xml:"filename"` Path string `xml:"path"` Source VOCDataSource `xml:"source"` Size VOCImageSize `xml:"size"` Segmented int `xml:"segmented"` Object []VOCAnnotationItem `xml:"object"` }
type VOCAnnotationItem ¶
type VOCAnnotations ¶
type VOCAnnotations []VOCAnnotation
type VOCDataSource ¶
type VOCImageSize ¶
Click to show internal directories.
Click to hide internal directories.