func()

in functions/image-analysis/go/response.go [45:51]


func (o *visionResponse) getLabels() (labels []string) {
	sort.Sort(byScore(o.LabelAnnotations))
	for _, label := range o.LabelAnnotations {
		labels = append(labels, label.Description)
	}
	return
}