yolocsv

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YoloCSV

type YoloCSV struct {
	//Data - Each row contains as follow:
	// FileName string
	// CenterX  string
	// CenterY  string
	// Width    string
	// Height   string
	// Label    string
	Data [][]string
}

YoloCSV - /notebook/chrisjan/project/images/nokia3/jpg/59f95e6e1c35e40001a92492_0.jpg 0.569393 0.659381 0.114002 0.063752 BTS center x, center y, width and height x,y,w,h都是相對於圖片尺寸width, height的百分比

func (*YoloCSV) AddImage

func (y *YoloCSV) AddImage(file string, annots annotation.AnnotationCollection, image image.Image)

AddImage - Add image to csv

func (*YoloCSV) CSV

func (y *YoloCSV) CSV() ([]byte, error)

CSV -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL