Documentation ¶
Overview ¶
Package vision implements computer vision algorithms.
Index ¶
- type ImageTrainingStore
- func (its *ImageTrainingStore) BuildIndexes(ctx context.Context) error
- func (its *ImageTrainingStore) Close(ctx context.Context) error
- func (its *ImageTrainingStore) GetImage(ctx context.Context, id primitive.ObjectID) (TrainingImage, error)
- func (its *ImageTrainingStore) GetImagesForLabel(ctx context.Context, label string) ([]primitive.ObjectID, error)
- func (its *ImageTrainingStore) GetLabels(ctx context.Context) (map[string]int, error)
- func (its *ImageTrainingStore) SetLabelsForImage(ctx context.Context, id primitive.ObjectID, labels []string) error
- func (its *ImageTrainingStore) StoreImage(ctx context.Context, img image.Image, metaData map[string]interface{}, ...) (primitive.ObjectID, error)
- func (its *ImageTrainingStore) StoreImageFromDisk(ctx context.Context, fn string, labels []string) (primitive.ObjectID, error)
- type Object
- type TrainingImage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageTrainingStore ¶
type ImageTrainingStore struct {
// contains filtered or unexported fields
}
ImageTrainingStore TODO.
func NewImageTrainingStore ¶
func NewImageTrainingStore(ctx context.Context, mongoURI, db, collection string) (*ImageTrainingStore, error)
NewImageTrainingStore TODO.
func (*ImageTrainingStore) BuildIndexes ¶
func (its *ImageTrainingStore) BuildIndexes(ctx context.Context) error
BuildIndexes TODO.
func (*ImageTrainingStore) Close ¶
func (its *ImageTrainingStore) Close(ctx context.Context) error
Close TODO.
func (*ImageTrainingStore) GetImage ¶
func (its *ImageTrainingStore) GetImage(ctx context.Context, id primitive.ObjectID) (TrainingImage, error)
GetImage TODO.
func (*ImageTrainingStore) GetImagesForLabel ¶
func (its *ImageTrainingStore) GetImagesForLabel(ctx context.Context, label string) ([]primitive.ObjectID, error)
GetImagesForLabel TODO.
func (*ImageTrainingStore) SetLabelsForImage ¶
func (its *ImageTrainingStore) SetLabelsForImage(ctx context.Context, id primitive.ObjectID, labels []string) error
SetLabelsForImage TODO.
func (*ImageTrainingStore) StoreImage ¶
func (its *ImageTrainingStore) StoreImage( ctx context.Context, img image.Image, metaData map[string]interface{}, labels []string, ) (primitive.ObjectID, error)
StoreImage TODO.
func (*ImageTrainingStore) StoreImageFromDisk ¶
func (its *ImageTrainingStore) StoreImageFromDisk(ctx context.Context, fn string, labels []string) (primitive.ObjectID, error)
StoreImageFromDisk TODO.
type Object ¶
type Object struct { pc.PointCloud BoundingBox spatialmath.Geometry }
Object extends PointCloud with respective metadata, like the center coordinate. NOTE(bh):Can potentially add category or pose information to this struct.
func NewEmptyObject ¶
func NewEmptyObject() *Object
NewEmptyObject creates a new empty point cloud with metadata.
Directories ¶
Path | Synopsis |
---|---|
Package chess implements computer vision algorithms useful in chess.
|
Package chess implements computer vision algorithms useful in chess. |
Package classification implements a classifier for use as a visModel in the vision service
|
Package classification implements a classifier for use as a visModel in the vision service |
Package delaunay implements 2d Delaunay triangulation
|
Package delaunay implements 2d Delaunay triangulation |
Package keypoints contains the implementation of keypoints in an image.
|
Package keypoints contains the implementation of keypoints in an image. |
Package objectdetection defines a functional way to create object detection pipelines by feeding in images from a gostream.VideoSource source.
|
Package objectdetection defines a functional way to create object detection pipelines by feeding in images from a gostream.VideoSource source. |
cmd/color_detection
Package main is a color detection tool.
|
Package main is a color detection tool. |
Package odometry implements functions for visual odometry
|
Package odometry implements functions for visual odometry |
cmd
Package main is a motion estimation via visual odometry tool.
|
Package main is a motion estimation via visual odometry tool. |
Package segmentation implements object segmentation algorithms.
|
Package segmentation implements object segmentation algorithms. |
Click to show internal directories.
Click to hide internal directories.