Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetectionResult ¶
type ImageProcessor ¶
type ImageProcessor interface {
ProcessImages([]*ImageMeta) ([]*ImageResult, error)
}
type ImageResult ¶
type ImageResult struct { Meta ImageMeta `json:"meta"` Results []DetectionResult `json:"results"` }
type ObjectDetectionImpl ¶
func NewObjectDetection ¶
func NewObjectDetection(objectDetectionServiceHost string) *ObjectDetectionImpl
func (*ObjectDetectionImpl) ProcessImages ¶
func (o *ObjectDetectionImpl) ProcessImages(ctx context.Context, imageMetas []*ImageMeta) ([]*ImageResult, error)
Click to show internal directories.
Click to hide internal directories.