Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterVisionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterVisionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VisionServiceClient) error
- func RegisterVisionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterVisionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VisionServiceServer) error
- func RegisterVisionServiceServer(s grpc.ServiceRegistrar, srv VisionServiceServer)
- type AddClassifierRequest
- func (*AddClassifierRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddClassifierRequest) GetClassifierModelType() string
- func (x *AddClassifierRequest) GetClassifierName() string
- func (x *AddClassifierRequest) GetClassifierParameters() *structpb.Struct
- func (x *AddClassifierRequest) GetName() string
- func (*AddClassifierRequest) ProtoMessage()
- func (x *AddClassifierRequest) ProtoReflect() protoreflect.Message
- func (x *AddClassifierRequest) Reset()
- func (x *AddClassifierRequest) String() string
- type AddClassifierResponse
- type AddDetectorRequest
- func (*AddDetectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDetectorRequest) GetDetectorModelType() string
- func (x *AddDetectorRequest) GetDetectorName() string
- func (x *AddDetectorRequest) GetDetectorParameters() *structpb.Struct
- func (x *AddDetectorRequest) GetName() string
- func (*AddDetectorRequest) ProtoMessage()
- func (x *AddDetectorRequest) ProtoReflect() protoreflect.Message
- func (x *AddDetectorRequest) Reset()
- func (x *AddDetectorRequest) String() string
- type AddDetectorResponse
- type Classification
- func (*Classification) Descriptor() ([]byte, []int)deprecated
- func (x *Classification) GetClassName() string
- func (x *Classification) GetConfidence() float64
- func (*Classification) ProtoMessage()
- func (x *Classification) ProtoReflect() protoreflect.Message
- func (x *Classification) Reset()
- func (x *Classification) String() string
- type Detection
- func (*Detection) Descriptor() ([]byte, []int)deprecated
- func (x *Detection) GetClassName() string
- func (x *Detection) GetConfidence() float64
- func (x *Detection) GetXMax() int64
- func (x *Detection) GetXMin() int64
- func (x *Detection) GetYMax() int64
- func (x *Detection) GetYMin() int64
- func (*Detection) ProtoMessage()
- func (x *Detection) ProtoReflect() protoreflect.Message
- func (x *Detection) Reset()
- func (x *Detection) String() string
- type GetClassificationsFromCameraRequest
- func (*GetClassificationsFromCameraRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClassificationsFromCameraRequest) GetCameraName() string
- func (x *GetClassificationsFromCameraRequest) GetClassifierName() string
- func (x *GetClassificationsFromCameraRequest) GetN() int32
- func (x *GetClassificationsFromCameraRequest) GetName() string
- func (*GetClassificationsFromCameraRequest) ProtoMessage()
- func (x *GetClassificationsFromCameraRequest) ProtoReflect() protoreflect.Message
- func (x *GetClassificationsFromCameraRequest) Reset()
- func (x *GetClassificationsFromCameraRequest) String() string
- type GetClassificationsFromCameraResponse
- func (*GetClassificationsFromCameraResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClassificationsFromCameraResponse) GetClassifications() []*Classification
- func (*GetClassificationsFromCameraResponse) ProtoMessage()
- func (x *GetClassificationsFromCameraResponse) ProtoReflect() protoreflect.Message
- func (x *GetClassificationsFromCameraResponse) Reset()
- func (x *GetClassificationsFromCameraResponse) String() string
- type GetClassificationsRequest
- func (*GetClassificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClassificationsRequest) GetClassifierName() string
- func (x *GetClassificationsRequest) GetHeight() int32
- func (x *GetClassificationsRequest) GetImage() []byte
- func (x *GetClassificationsRequest) GetMimeType() string
- func (x *GetClassificationsRequest) GetN() int32
- func (x *GetClassificationsRequest) GetName() string
- func (x *GetClassificationsRequest) GetWidth() int32
- func (*GetClassificationsRequest) ProtoMessage()
- func (x *GetClassificationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetClassificationsRequest) Reset()
- func (x *GetClassificationsRequest) String() string
- type GetClassificationsResponse
- func (*GetClassificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClassificationsResponse) GetClassifications() []*Classification
- func (*GetClassificationsResponse) ProtoMessage()
- func (x *GetClassificationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetClassificationsResponse) Reset()
- func (x *GetClassificationsResponse) String() string
- type GetClassifierNamesRequest
- func (*GetClassifierNamesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClassifierNamesRequest) GetName() string
- func (*GetClassifierNamesRequest) ProtoMessage()
- func (x *GetClassifierNamesRequest) ProtoReflect() protoreflect.Message
- func (x *GetClassifierNamesRequest) Reset()
- func (x *GetClassifierNamesRequest) String() string
- type GetClassifierNamesResponse
- func (*GetClassifierNamesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClassifierNamesResponse) GetClassifierNames() []string
- func (*GetClassifierNamesResponse) ProtoMessage()
- func (x *GetClassifierNamesResponse) ProtoReflect() protoreflect.Message
- func (x *GetClassifierNamesResponse) Reset()
- func (x *GetClassifierNamesResponse) String() string
- type GetDetectionsFromCameraRequest
- func (*GetDetectionsFromCameraRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDetectionsFromCameraRequest) GetCameraName() string
- func (x *GetDetectionsFromCameraRequest) GetDetectorName() string
- func (x *GetDetectionsFromCameraRequest) GetName() string
- func (*GetDetectionsFromCameraRequest) ProtoMessage()
- func (x *GetDetectionsFromCameraRequest) ProtoReflect() protoreflect.Message
- func (x *GetDetectionsFromCameraRequest) Reset()
- func (x *GetDetectionsFromCameraRequest) String() string
- type GetDetectionsFromCameraResponse
- func (*GetDetectionsFromCameraResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDetectionsFromCameraResponse) GetDetections() []*Detection
- func (*GetDetectionsFromCameraResponse) ProtoMessage()
- func (x *GetDetectionsFromCameraResponse) ProtoReflect() protoreflect.Message
- func (x *GetDetectionsFromCameraResponse) Reset()
- func (x *GetDetectionsFromCameraResponse) String() string
- type GetDetectionsRequest
- func (*GetDetectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDetectionsRequest) GetDetectorName() string
- func (x *GetDetectionsRequest) GetHeight() int64
- func (x *GetDetectionsRequest) GetImage() []byte
- func (x *GetDetectionsRequest) GetMimeType() string
- func (x *GetDetectionsRequest) GetName() string
- func (x *GetDetectionsRequest) GetWidth() int64
- func (*GetDetectionsRequest) ProtoMessage()
- func (x *GetDetectionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDetectionsRequest) Reset()
- func (x *GetDetectionsRequest) String() string
- type GetDetectionsResponse
- func (*GetDetectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDetectionsResponse) GetDetections() []*Detection
- func (*GetDetectionsResponse) ProtoMessage()
- func (x *GetDetectionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDetectionsResponse) Reset()
- func (x *GetDetectionsResponse) String() string
- type GetDetectorNamesRequest
- func (*GetDetectorNamesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDetectorNamesRequest) GetName() string
- func (*GetDetectorNamesRequest) ProtoMessage()
- func (x *GetDetectorNamesRequest) ProtoReflect() protoreflect.Message
- func (x *GetDetectorNamesRequest) Reset()
- func (x *GetDetectorNamesRequest) String() string
- type GetDetectorNamesResponse
- func (*GetDetectorNamesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDetectorNamesResponse) GetDetectorNames() []string
- func (*GetDetectorNamesResponse) ProtoMessage()
- func (x *GetDetectorNamesResponse) ProtoReflect() protoreflect.Message
- func (x *GetDetectorNamesResponse) Reset()
- func (x *GetDetectorNamesResponse) String() string
- type GetObjectPointCloudsRequest
- func (*GetObjectPointCloudsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectPointCloudsRequest) GetCameraName() string
- func (x *GetObjectPointCloudsRequest) GetMimeType() string
- func (x *GetObjectPointCloudsRequest) GetName() string
- func (x *GetObjectPointCloudsRequest) GetParameters() *structpb.Struct
- func (x *GetObjectPointCloudsRequest) GetSegmenterName() string
- func (*GetObjectPointCloudsRequest) ProtoMessage()
- func (x *GetObjectPointCloudsRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectPointCloudsRequest) Reset()
- func (x *GetObjectPointCloudsRequest) String() string
- type GetObjectPointCloudsResponse
- func (*GetObjectPointCloudsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectPointCloudsResponse) GetMimeType() string
- func (x *GetObjectPointCloudsResponse) GetObjects() []*v1.PointCloudObject
- func (*GetObjectPointCloudsResponse) ProtoMessage()
- func (x *GetObjectPointCloudsResponse) ProtoReflect() protoreflect.Message
- func (x *GetObjectPointCloudsResponse) Reset()
- func (x *GetObjectPointCloudsResponse) String() string
- type GetSegmenterNamesRequest
- func (*GetSegmenterNamesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSegmenterNamesRequest) GetName() string
- func (*GetSegmenterNamesRequest) ProtoMessage()
- func (x *GetSegmenterNamesRequest) ProtoReflect() protoreflect.Message
- func (x *GetSegmenterNamesRequest) Reset()
- func (x *GetSegmenterNamesRequest) String() string
- type GetSegmenterNamesResponse
- func (*GetSegmenterNamesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSegmenterNamesResponse) GetSegmenterNames() []string
- func (*GetSegmenterNamesResponse) ProtoMessage()
- func (x *GetSegmenterNamesResponse) ProtoReflect() protoreflect.Message
- func (x *GetSegmenterNamesResponse) Reset()
- func (x *GetSegmenterNamesResponse) String() string
- type GetSegmenterParametersRequest
- func (*GetSegmenterParametersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSegmenterParametersRequest) GetName() string
- func (x *GetSegmenterParametersRequest) GetSegmenterName() string
- func (*GetSegmenterParametersRequest) ProtoMessage()
- func (x *GetSegmenterParametersRequest) ProtoReflect() protoreflect.Message
- func (x *GetSegmenterParametersRequest) Reset()
- func (x *GetSegmenterParametersRequest) String() string
- type GetSegmenterParametersResponse
- func (*GetSegmenterParametersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSegmenterParametersResponse) GetSegmenterParameters() []*TypedParameter
- func (*GetSegmenterParametersResponse) ProtoMessage()
- func (x *GetSegmenterParametersResponse) ProtoReflect() protoreflect.Message
- func (x *GetSegmenterParametersResponse) Reset()
- func (x *GetSegmenterParametersResponse) String() string
- type RemoveClassifierRequest
- func (*RemoveClassifierRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveClassifierRequest) GetClassifierName() string
- func (x *RemoveClassifierRequest) GetName() string
- func (*RemoveClassifierRequest) ProtoMessage()
- func (x *RemoveClassifierRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveClassifierRequest) Reset()
- func (x *RemoveClassifierRequest) String() string
- type RemoveClassifierResponse
- type RemoveDetectorRequest
- func (*RemoveDetectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDetectorRequest) GetDetectorName() string
- func (x *RemoveDetectorRequest) GetName() string
- func (*RemoveDetectorRequest) ProtoMessage()
- func (x *RemoveDetectorRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDetectorRequest) Reset()
- func (x *RemoveDetectorRequest) String() string
- type RemoveDetectorResponse
- type TypedParameter
- func (*TypedParameter) Descriptor() ([]byte, []int)deprecated
- func (x *TypedParameter) GetName() string
- func (x *TypedParameter) GetType() string
- func (*TypedParameter) ProtoMessage()
- func (x *TypedParameter) ProtoReflect() protoreflect.Message
- func (x *TypedParameter) Reset()
- func (x *TypedParameter) String() string
- type UnimplementedVisionServiceServer
- func (UnimplementedVisionServiceServer) AddClassifier(context.Context, *AddClassifierRequest) (*AddClassifierResponse, error)
- func (UnimplementedVisionServiceServer) AddDetector(context.Context, *AddDetectorRequest) (*AddDetectorResponse, error)
- func (UnimplementedVisionServiceServer) GetClassifications(context.Context, *GetClassificationsRequest) (*GetClassificationsResponse, error)
- func (UnimplementedVisionServiceServer) GetClassificationsFromCamera(context.Context, *GetClassificationsFromCameraRequest) (*GetClassificationsFromCameraResponse, error)
- func (UnimplementedVisionServiceServer) GetClassifierNames(context.Context, *GetClassifierNamesRequest) (*GetClassifierNamesResponse, error)
- func (UnimplementedVisionServiceServer) GetDetections(context.Context, *GetDetectionsRequest) (*GetDetectionsResponse, error)
- func (UnimplementedVisionServiceServer) GetDetectionsFromCamera(context.Context, *GetDetectionsFromCameraRequest) (*GetDetectionsFromCameraResponse, error)
- func (UnimplementedVisionServiceServer) GetDetectorNames(context.Context, *GetDetectorNamesRequest) (*GetDetectorNamesResponse, error)
- func (UnimplementedVisionServiceServer) GetObjectPointClouds(context.Context, *GetObjectPointCloudsRequest) (*GetObjectPointCloudsResponse, error)
- func (UnimplementedVisionServiceServer) GetSegmenterNames(context.Context, *GetSegmenterNamesRequest) (*GetSegmenterNamesResponse, error)
- func (UnimplementedVisionServiceServer) GetSegmenterParameters(context.Context, *GetSegmenterParametersRequest) (*GetSegmenterParametersResponse, error)
- func (UnimplementedVisionServiceServer) RemoveClassifier(context.Context, *RemoveClassifierRequest) (*RemoveClassifierResponse, error)
- func (UnimplementedVisionServiceServer) RemoveDetector(context.Context, *RemoveDetectorRequest) (*RemoveDetectorResponse, error)
- type UnsafeVisionServiceServer
- type VisionServiceClient
- type VisionServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_api_service_vision_v1_vision_proto protoreflect.FileDescriptor
var VisionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.api.service.vision.v1.VisionService", HandlerType: (*VisionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDetectorNames", Handler: _VisionService_GetDetectorNames_Handler, }, { MethodName: "AddDetector", Handler: _VisionService_AddDetector_Handler, }, { MethodName: "RemoveDetector", Handler: _VisionService_RemoveDetector_Handler, }, { MethodName: "GetDetectionsFromCamera", Handler: _VisionService_GetDetectionsFromCamera_Handler, }, { MethodName: "GetDetections", Handler: _VisionService_GetDetections_Handler, }, { MethodName: "GetClassifierNames", Handler: _VisionService_GetClassifierNames_Handler, }, { MethodName: "AddClassifier", Handler: _VisionService_AddClassifier_Handler, }, { MethodName: "RemoveClassifier", Handler: _VisionService_RemoveClassifier_Handler, }, { MethodName: "GetClassificationsFromCamera", Handler: _VisionService_GetClassificationsFromCamera_Handler, }, { MethodName: "GetClassifications", Handler: _VisionService_GetClassifications_Handler, }, { MethodName: "GetSegmenterNames", Handler: _VisionService_GetSegmenterNames_Handler, }, { MethodName: "GetSegmenterParameters", Handler: _VisionService_GetSegmenterParameters_Handler, }, { MethodName: "GetObjectPointClouds", Handler: _VisionService_GetObjectPointClouds_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/api/service/vision/v1/vision.proto", }
VisionService_ServiceDesc is the grpc.ServiceDesc for VisionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterVisionServiceHandler ¶
func RegisterVisionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterVisionServiceHandler registers the http handlers for service VisionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterVisionServiceHandlerClient ¶
func RegisterVisionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VisionServiceClient) error
RegisterVisionServiceHandlerClient registers the http handlers for service VisionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VisionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VisionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VisionServiceClient" to call the correct interceptors.
func RegisterVisionServiceHandlerFromEndpoint ¶
func RegisterVisionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterVisionServiceHandlerFromEndpoint is same as RegisterVisionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterVisionServiceHandlerServer ¶
func RegisterVisionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VisionServiceServer) error
RegisterVisionServiceHandlerServer registers the http handlers for service VisionService to "mux". UnaryRPC :call VisionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterVisionServiceHandlerFromEndpoint instead.
func RegisterVisionServiceServer ¶
func RegisterVisionServiceServer(s grpc.ServiceRegistrar, srv VisionServiceServer)
Types ¶
type AddClassifierRequest ¶ added in v0.0.9
type AddClassifierRequest struct { // name of the vision service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // name of classifier to add to registry ClassifierName string `protobuf:"bytes,2,opt,name=classifier_name,json=classifierName,proto3" json:"classifier_name,omitempty"` // the type of classifier ClassifierModelType string `protobuf:"bytes,3,opt,name=classifier_model_type,json=classifierModelType,proto3" json:"classifier_model_type,omitempty"` // additional parameters ClassifierParameters *structpb.Struct `protobuf:"bytes,4,opt,name=classifier_parameters,json=classifierParameters,proto3" json:"classifier_parameters,omitempty"` // contains filtered or unexported fields }
func (*AddClassifierRequest) Descriptor
deprecated
added in
v0.0.9
func (*AddClassifierRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddClassifierRequest.ProtoReflect.Descriptor instead.
func (*AddClassifierRequest) GetClassifierModelType ¶ added in v0.0.9
func (x *AddClassifierRequest) GetClassifierModelType() string
func (*AddClassifierRequest) GetClassifierName ¶ added in v0.0.9
func (x *AddClassifierRequest) GetClassifierName() string
func (*AddClassifierRequest) GetClassifierParameters ¶ added in v0.0.9
func (x *AddClassifierRequest) GetClassifierParameters() *structpb.Struct
func (*AddClassifierRequest) GetName ¶ added in v0.0.9
func (x *AddClassifierRequest) GetName() string
func (*AddClassifierRequest) ProtoMessage ¶ added in v0.0.9
func (*AddClassifierRequest) ProtoMessage()
func (*AddClassifierRequest) ProtoReflect ¶ added in v0.0.9
func (x *AddClassifierRequest) ProtoReflect() protoreflect.Message
func (*AddClassifierRequest) Reset ¶ added in v0.0.9
func (x *AddClassifierRequest) Reset()
func (*AddClassifierRequest) String ¶ added in v0.0.9
func (x *AddClassifierRequest) String() string
type AddClassifierResponse ¶ added in v0.0.9
type AddClassifierResponse struct {
// contains filtered or unexported fields
}
func (*AddClassifierResponse) Descriptor
deprecated
added in
v0.0.9
func (*AddClassifierResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddClassifierResponse.ProtoReflect.Descriptor instead.
func (*AddClassifierResponse) ProtoMessage ¶ added in v0.0.9
func (*AddClassifierResponse) ProtoMessage()
func (*AddClassifierResponse) ProtoReflect ¶ added in v0.0.9
func (x *AddClassifierResponse) ProtoReflect() protoreflect.Message
func (*AddClassifierResponse) Reset ¶ added in v0.0.9
func (x *AddClassifierResponse) Reset()
func (*AddClassifierResponse) String ¶ added in v0.0.9
func (x *AddClassifierResponse) String() string
type AddDetectorRequest ¶
type AddDetectorRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DetectorName string `protobuf:"bytes,2,opt,name=detector_name,json=detectorName,proto3" json:"detector_name,omitempty"` DetectorModelType string `protobuf:"bytes,3,opt,name=detector_model_type,json=detectorModelType,proto3" json:"detector_model_type,omitempty"` DetectorParameters *structpb.Struct `protobuf:"bytes,4,opt,name=detector_parameters,json=detectorParameters,proto3" json:"detector_parameters,omitempty"` // contains filtered or unexported fields }
func (*AddDetectorRequest) Descriptor
deprecated
func (*AddDetectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDetectorRequest.ProtoReflect.Descriptor instead.
func (*AddDetectorRequest) GetDetectorModelType ¶
func (x *AddDetectorRequest) GetDetectorModelType() string
func (*AddDetectorRequest) GetDetectorName ¶
func (x *AddDetectorRequest) GetDetectorName() string
func (*AddDetectorRequest) GetDetectorParameters ¶
func (x *AddDetectorRequest) GetDetectorParameters() *structpb.Struct
func (*AddDetectorRequest) GetName ¶ added in v0.0.8
func (x *AddDetectorRequest) GetName() string
func (*AddDetectorRequest) ProtoMessage ¶
func (*AddDetectorRequest) ProtoMessage()
func (*AddDetectorRequest) ProtoReflect ¶
func (x *AddDetectorRequest) ProtoReflect() protoreflect.Message
func (*AddDetectorRequest) Reset ¶
func (x *AddDetectorRequest) Reset()
func (*AddDetectorRequest) String ¶
func (x *AddDetectorRequest) String() string
type AddDetectorResponse ¶
type AddDetectorResponse struct {
// contains filtered or unexported fields
}
func (*AddDetectorResponse) Descriptor
deprecated
func (*AddDetectorResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDetectorResponse.ProtoReflect.Descriptor instead.
func (*AddDetectorResponse) ProtoMessage ¶
func (*AddDetectorResponse) ProtoMessage()
func (*AddDetectorResponse) ProtoReflect ¶
func (x *AddDetectorResponse) ProtoReflect() protoreflect.Message
func (*AddDetectorResponse) Reset ¶
func (x *AddDetectorResponse) Reset()
func (*AddDetectorResponse) String ¶
func (x *AddDetectorResponse) String() string
type Classification ¶ added in v0.0.9
type Classification struct { // the class name ClassName string `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"` // the confidence score of the classification Confidence float64 `protobuf:"fixed64,2,opt,name=confidence,proto3" json:"confidence,omitempty"` // contains filtered or unexported fields }
the general form of the output from a classifier
func (*Classification) Descriptor
deprecated
added in
v0.0.9
func (*Classification) Descriptor() ([]byte, []int)
Deprecated: Use Classification.ProtoReflect.Descriptor instead.
func (*Classification) GetClassName ¶ added in v0.0.9
func (x *Classification) GetClassName() string
func (*Classification) GetConfidence ¶ added in v0.0.9
func (x *Classification) GetConfidence() float64
func (*Classification) ProtoMessage ¶ added in v0.0.9
func (*Classification) ProtoMessage()
func (*Classification) ProtoReflect ¶ added in v0.0.9
func (x *Classification) ProtoReflect() protoreflect.Message
func (*Classification) Reset ¶ added in v0.0.9
func (x *Classification) Reset()
func (*Classification) String ¶ added in v0.0.9
func (x *Classification) String() string
type Detection ¶
type Detection struct { // the four corners of the box XMin *int64 `protobuf:"varint,1,opt,name=x_min,json=xMin,proto3,oneof" json:"x_min,omitempty"` YMin *int64 `protobuf:"varint,2,opt,name=y_min,json=yMin,proto3,oneof" json:"y_min,omitempty"` XMax *int64 `protobuf:"varint,3,opt,name=x_max,json=xMax,proto3,oneof" json:"x_max,omitempty"` YMax *int64 `protobuf:"varint,4,opt,name=y_max,json=yMax,proto3,oneof" json:"y_max,omitempty"` // the confidence of the detection Confidence float64 `protobuf:"fixed64,5,opt,name=confidence,proto3" json:"confidence,omitempty"` // label associated with the detected object ClassName string `protobuf:"bytes,6,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"` // contains filtered or unexported fields }
func (*Detection) Descriptor
deprecated
func (*Detection) GetClassName ¶
func (*Detection) GetConfidence ¶
func (*Detection) ProtoMessage ¶
func (*Detection) ProtoMessage()
func (*Detection) ProtoReflect ¶
func (x *Detection) ProtoReflect() protoreflect.Message
type GetClassificationsFromCameraRequest ¶ added in v0.0.9
type GetClassificationsFromCameraRequest struct { // name of the vision service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the image encoded as bytes CameraName string `protobuf:"bytes,2,opt,name=camera_name,json=cameraName,proto3" json:"camera_name,omitempty"` // the name of the registered classifier ClassifierName string `protobuf:"bytes,3,opt,name=classifier_name,json=classifierName,proto3" json:"classifier_name,omitempty"` // the number of classifications desired N int32 `protobuf:"varint,4,opt,name=n,proto3" json:"n,omitempty"` // contains filtered or unexported fields }
func (*GetClassificationsFromCameraRequest) Descriptor
deprecated
added in
v0.0.9
func (*GetClassificationsFromCameraRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClassificationsFromCameraRequest.ProtoReflect.Descriptor instead.
func (*GetClassificationsFromCameraRequest) GetCameraName ¶ added in v0.0.9
func (x *GetClassificationsFromCameraRequest) GetCameraName() string
func (*GetClassificationsFromCameraRequest) GetClassifierName ¶ added in v0.0.9
func (x *GetClassificationsFromCameraRequest) GetClassifierName() string
func (*GetClassificationsFromCameraRequest) GetN ¶ added in v0.0.9
func (x *GetClassificationsFromCameraRequest) GetN() int32
func (*GetClassificationsFromCameraRequest) GetName ¶ added in v0.0.9
func (x *GetClassificationsFromCameraRequest) GetName() string
func (*GetClassificationsFromCameraRequest) ProtoMessage ¶ added in v0.0.9
func (*GetClassificationsFromCameraRequest) ProtoMessage()
func (*GetClassificationsFromCameraRequest) ProtoReflect ¶ added in v0.0.9
func (x *GetClassificationsFromCameraRequest) ProtoReflect() protoreflect.Message
func (*GetClassificationsFromCameraRequest) Reset ¶ added in v0.0.9
func (x *GetClassificationsFromCameraRequest) Reset()
func (*GetClassificationsFromCameraRequest) String ¶ added in v0.0.9
func (x *GetClassificationsFromCameraRequest) String() string
type GetClassificationsFromCameraResponse ¶ added in v0.0.9
type GetClassificationsFromCameraResponse struct { Classifications []*Classification `protobuf:"bytes,1,rep,name=classifications,proto3" json:"classifications,omitempty"` // contains filtered or unexported fields }
func (*GetClassificationsFromCameraResponse) Descriptor
deprecated
added in
v0.0.9
func (*GetClassificationsFromCameraResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClassificationsFromCameraResponse.ProtoReflect.Descriptor instead.
func (*GetClassificationsFromCameraResponse) GetClassifications ¶ added in v0.0.9
func (x *GetClassificationsFromCameraResponse) GetClassifications() []*Classification
func (*GetClassificationsFromCameraResponse) ProtoMessage ¶ added in v0.0.9
func (*GetClassificationsFromCameraResponse) ProtoMessage()
func (*GetClassificationsFromCameraResponse) ProtoReflect ¶ added in v0.0.9
func (x *GetClassificationsFromCameraResponse) ProtoReflect() protoreflect.Message
func (*GetClassificationsFromCameraResponse) Reset ¶ added in v0.0.9
func (x *GetClassificationsFromCameraResponse) Reset()
func (*GetClassificationsFromCameraResponse) String ¶ added in v0.0.9
func (x *GetClassificationsFromCameraResponse) String() string
type GetClassificationsRequest ¶ added in v0.0.9
type GetClassificationsRequest struct { // name of the vision service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the image encoded as bytes Image []byte `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // the width of the image Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` // the height of the image Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // the actual MIME type of image MimeType string `protobuf:"bytes,5,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // the name of the registered classifier ClassifierName string `protobuf:"bytes,6,opt,name=classifier_name,json=classifierName,proto3" json:"classifier_name,omitempty"` // the number of classifications desired N int32 `protobuf:"varint,7,opt,name=n,proto3" json:"n,omitempty"` // contains filtered or unexported fields }
func (*GetClassificationsRequest) Descriptor
deprecated
added in
v0.0.9
func (*GetClassificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClassificationsRequest.ProtoReflect.Descriptor instead.
func (*GetClassificationsRequest) GetClassifierName ¶ added in v0.0.9
func (x *GetClassificationsRequest) GetClassifierName() string
func (*GetClassificationsRequest) GetHeight ¶ added in v0.0.9
func (x *GetClassificationsRequest) GetHeight() int32
func (*GetClassificationsRequest) GetImage ¶ added in v0.0.9
func (x *GetClassificationsRequest) GetImage() []byte
func (*GetClassificationsRequest) GetMimeType ¶ added in v0.0.9
func (x *GetClassificationsRequest) GetMimeType() string
func (*GetClassificationsRequest) GetN ¶ added in v0.0.9
func (x *GetClassificationsRequest) GetN() int32
func (*GetClassificationsRequest) GetName ¶ added in v0.0.9
func (x *GetClassificationsRequest) GetName() string
func (*GetClassificationsRequest) GetWidth ¶ added in v0.0.9
func (x *GetClassificationsRequest) GetWidth() int32
func (*GetClassificationsRequest) ProtoMessage ¶ added in v0.0.9
func (*GetClassificationsRequest) ProtoMessage()
func (*GetClassificationsRequest) ProtoReflect ¶ added in v0.0.9
func (x *GetClassificationsRequest) ProtoReflect() protoreflect.Message
func (*GetClassificationsRequest) Reset ¶ added in v0.0.9
func (x *GetClassificationsRequest) Reset()
func (*GetClassificationsRequest) String ¶ added in v0.0.9
func (x *GetClassificationsRequest) String() string
type GetClassificationsResponse ¶ added in v0.0.9
type GetClassificationsResponse struct { Classifications []*Classification `protobuf:"bytes,1,rep,name=classifications,proto3" json:"classifications,omitempty"` // contains filtered or unexported fields }
func (*GetClassificationsResponse) Descriptor
deprecated
added in
v0.0.9
func (*GetClassificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClassificationsResponse.ProtoReflect.Descriptor instead.
func (*GetClassificationsResponse) GetClassifications ¶ added in v0.0.9
func (x *GetClassificationsResponse) GetClassifications() []*Classification
func (*GetClassificationsResponse) ProtoMessage ¶ added in v0.0.9
func (*GetClassificationsResponse) ProtoMessage()
func (*GetClassificationsResponse) ProtoReflect ¶ added in v0.0.9
func (x *GetClassificationsResponse) ProtoReflect() protoreflect.Message
func (*GetClassificationsResponse) Reset ¶ added in v0.0.9
func (x *GetClassificationsResponse) Reset()
func (*GetClassificationsResponse) String ¶ added in v0.0.9
func (x *GetClassificationsResponse) String() string
type GetClassifierNamesRequest ¶ added in v0.0.9
type GetClassifierNamesRequest struct { // name of the vision service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetClassifierNamesRequest) Descriptor
deprecated
added in
v0.0.9
func (*GetClassifierNamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClassifierNamesRequest.ProtoReflect.Descriptor instead.
func (*GetClassifierNamesRequest) GetName ¶ added in v0.0.9
func (x *GetClassifierNamesRequest) GetName() string
func (*GetClassifierNamesRequest) ProtoMessage ¶ added in v0.0.9
func (*GetClassifierNamesRequest) ProtoMessage()
func (*GetClassifierNamesRequest) ProtoReflect ¶ added in v0.0.9
func (x *GetClassifierNamesRequest) ProtoReflect() protoreflect.Message
func (*GetClassifierNamesRequest) Reset ¶ added in v0.0.9
func (x *GetClassifierNamesRequest) Reset()
func (*GetClassifierNamesRequest) String ¶ added in v0.0.9
func (x *GetClassifierNamesRequest) String() string
type GetClassifierNamesResponse ¶ added in v0.0.9
type GetClassifierNamesResponse struct { ClassifierNames []string `protobuf:"bytes,1,rep,name=classifier_names,json=classifierNames,proto3" json:"classifier_names,omitempty"` // contains filtered or unexported fields }
func (*GetClassifierNamesResponse) Descriptor
deprecated
added in
v0.0.9
func (*GetClassifierNamesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClassifierNamesResponse.ProtoReflect.Descriptor instead.
func (*GetClassifierNamesResponse) GetClassifierNames ¶ added in v0.0.9
func (x *GetClassifierNamesResponse) GetClassifierNames() []string
func (*GetClassifierNamesResponse) ProtoMessage ¶ added in v0.0.9
func (*GetClassifierNamesResponse) ProtoMessage()
func (*GetClassifierNamesResponse) ProtoReflect ¶ added in v0.0.9
func (x *GetClassifierNamesResponse) ProtoReflect() protoreflect.Message
func (*GetClassifierNamesResponse) Reset ¶ added in v0.0.9
func (x *GetClassifierNamesResponse) Reset()
func (*GetClassifierNamesResponse) String ¶ added in v0.0.9
func (x *GetClassifierNamesResponse) String() string
type GetDetectionsFromCameraRequest ¶
type GetDetectionsFromCameraRequest struct { // name of the vision service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // name of camera source to use as input CameraName string `protobuf:"bytes,2,opt,name=camera_name,json=cameraName,proto3" json:"camera_name,omitempty"` // name of the registered detector to use DetectorName string `protobuf:"bytes,3,opt,name=detector_name,json=detectorName,proto3" json:"detector_name,omitempty"` // contains filtered or unexported fields }
func (*GetDetectionsFromCameraRequest) Descriptor
deprecated
func (*GetDetectionsFromCameraRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDetectionsFromCameraRequest.ProtoReflect.Descriptor instead.
func (*GetDetectionsFromCameraRequest) GetCameraName ¶
func (x *GetDetectionsFromCameraRequest) GetCameraName() string
func (*GetDetectionsFromCameraRequest) GetDetectorName ¶
func (x *GetDetectionsFromCameraRequest) GetDetectorName() string
func (*GetDetectionsFromCameraRequest) GetName ¶ added in v0.0.8
func (x *GetDetectionsFromCameraRequest) GetName() string
func (*GetDetectionsFromCameraRequest) ProtoMessage ¶
func (*GetDetectionsFromCameraRequest) ProtoMessage()
func (*GetDetectionsFromCameraRequest) ProtoReflect ¶
func (x *GetDetectionsFromCameraRequest) ProtoReflect() protoreflect.Message
func (*GetDetectionsFromCameraRequest) Reset ¶
func (x *GetDetectionsFromCameraRequest) Reset()
func (*GetDetectionsFromCameraRequest) String ¶
func (x *GetDetectionsFromCameraRequest) String() string
type GetDetectionsFromCameraResponse ¶
type GetDetectionsFromCameraResponse struct { // the bounding boxes and labels Detections []*Detection `protobuf:"bytes,1,rep,name=detections,proto3" json:"detections,omitempty"` // contains filtered or unexported fields }
func (*GetDetectionsFromCameraResponse) Descriptor
deprecated
func (*GetDetectionsFromCameraResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDetectionsFromCameraResponse.ProtoReflect.Descriptor instead.
func (*GetDetectionsFromCameraResponse) GetDetections ¶
func (x *GetDetectionsFromCameraResponse) GetDetections() []*Detection
func (*GetDetectionsFromCameraResponse) ProtoMessage ¶
func (*GetDetectionsFromCameraResponse) ProtoMessage()
func (*GetDetectionsFromCameraResponse) ProtoReflect ¶
func (x *GetDetectionsFromCameraResponse) ProtoReflect() protoreflect.Message
func (*GetDetectionsFromCameraResponse) Reset ¶
func (x *GetDetectionsFromCameraResponse) Reset()
func (*GetDetectionsFromCameraResponse) String ¶
func (x *GetDetectionsFromCameraResponse) String() string
type GetDetectionsRequest ¶
type GetDetectionsRequest struct { // name of the vision service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the image, encoded as bytes Image []byte `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // the width of the image Width int64 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` // the height of the image Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // the actual MIME type of image MimeType string `protobuf:"bytes,5,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // name of the registered detector to use DetectorName string `protobuf:"bytes,6,opt,name=detector_name,json=detectorName,proto3" json:"detector_name,omitempty"` // contains filtered or unexported fields }
func (*GetDetectionsRequest) Descriptor
deprecated
func (*GetDetectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDetectionsRequest.ProtoReflect.Descriptor instead.
func (*GetDetectionsRequest) GetDetectorName ¶
func (x *GetDetectionsRequest) GetDetectorName() string
func (*GetDetectionsRequest) GetHeight ¶
func (x *GetDetectionsRequest) GetHeight() int64
func (*GetDetectionsRequest) GetImage ¶
func (x *GetDetectionsRequest) GetImage() []byte
func (*GetDetectionsRequest) GetMimeType ¶
func (x *GetDetectionsRequest) GetMimeType() string
func (*GetDetectionsRequest) GetName ¶ added in v0.0.8
func (x *GetDetectionsRequest) GetName() string
func (*GetDetectionsRequest) GetWidth ¶
func (x *GetDetectionsRequest) GetWidth() int64
func (*GetDetectionsRequest) ProtoMessage ¶
func (*GetDetectionsRequest) ProtoMessage()
func (*GetDetectionsRequest) ProtoReflect ¶
func (x *GetDetectionsRequest) ProtoReflect() protoreflect.Message
func (*GetDetectionsRequest) Reset ¶
func (x *GetDetectionsRequest) Reset()
func (*GetDetectionsRequest) String ¶
func (x *GetDetectionsRequest) String() string
type GetDetectionsResponse ¶
type GetDetectionsResponse struct { // the bounding boxes and labels Detections []*Detection `protobuf:"bytes,1,rep,name=detections,proto3" json:"detections,omitempty"` // contains filtered or unexported fields }
func (*GetDetectionsResponse) Descriptor
deprecated
func (*GetDetectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDetectionsResponse.ProtoReflect.Descriptor instead.
func (*GetDetectionsResponse) GetDetections ¶
func (x *GetDetectionsResponse) GetDetections() []*Detection
func (*GetDetectionsResponse) ProtoMessage ¶
func (*GetDetectionsResponse) ProtoMessage()
func (*GetDetectionsResponse) ProtoReflect ¶
func (x *GetDetectionsResponse) ProtoReflect() protoreflect.Message
func (*GetDetectionsResponse) Reset ¶
func (x *GetDetectionsResponse) Reset()
func (*GetDetectionsResponse) String ¶
func (x *GetDetectionsResponse) String() string
type GetDetectorNamesRequest ¶
type GetDetectorNamesRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetDetectorNamesRequest) Descriptor
deprecated
func (*GetDetectorNamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDetectorNamesRequest.ProtoReflect.Descriptor instead.
func (*GetDetectorNamesRequest) GetName ¶ added in v0.0.8
func (x *GetDetectorNamesRequest) GetName() string
func (*GetDetectorNamesRequest) ProtoMessage ¶
func (*GetDetectorNamesRequest) ProtoMessage()
func (*GetDetectorNamesRequest) ProtoReflect ¶
func (x *GetDetectorNamesRequest) ProtoReflect() protoreflect.Message
func (*GetDetectorNamesRequest) Reset ¶
func (x *GetDetectorNamesRequest) Reset()
func (*GetDetectorNamesRequest) String ¶
func (x *GetDetectorNamesRequest) String() string
type GetDetectorNamesResponse ¶
type GetDetectorNamesResponse struct { // detectors in the registry DetectorNames []string `protobuf:"bytes,1,rep,name=detector_names,json=detectorNames,proto3" json:"detector_names,omitempty"` // contains filtered or unexported fields }
func (*GetDetectorNamesResponse) Descriptor
deprecated
func (*GetDetectorNamesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDetectorNamesResponse.ProtoReflect.Descriptor instead.
func (*GetDetectorNamesResponse) GetDetectorNames ¶
func (x *GetDetectorNamesResponse) GetDetectorNames() []string
func (*GetDetectorNamesResponse) ProtoMessage ¶
func (*GetDetectorNamesResponse) ProtoMessage()
func (*GetDetectorNamesResponse) ProtoReflect ¶
func (x *GetDetectorNamesResponse) ProtoReflect() protoreflect.Message
func (*GetDetectorNamesResponse) Reset ¶
func (x *GetDetectorNamesResponse) Reset()
func (*GetDetectorNamesResponse) String ¶
func (x *GetDetectorNamesResponse) String() string
type GetObjectPointCloudsRequest ¶
type GetObjectPointCloudsRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of a camera CameraName string `protobuf:"bytes,2,opt,name=camera_name,json=cameraName,proto3" json:"camera_name,omitempty"` // Name of the segmentation algorithm SegmenterName string `protobuf:"bytes,3,opt,name=segmenter_name,json=segmenterName,proto3" json:"segmenter_name,omitempty"` // Requested MIME type of response MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // parameters for the chosen segmenter Parameters *structpb.Struct `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty"` // contains filtered or unexported fields }
func (*GetObjectPointCloudsRequest) Descriptor
deprecated
func (*GetObjectPointCloudsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectPointCloudsRequest.ProtoReflect.Descriptor instead.
func (*GetObjectPointCloudsRequest) GetCameraName ¶
func (x *GetObjectPointCloudsRequest) GetCameraName() string
func (*GetObjectPointCloudsRequest) GetMimeType ¶
func (x *GetObjectPointCloudsRequest) GetMimeType() string
func (*GetObjectPointCloudsRequest) GetName ¶ added in v0.0.8
func (x *GetObjectPointCloudsRequest) GetName() string
func (*GetObjectPointCloudsRequest) GetParameters ¶
func (x *GetObjectPointCloudsRequest) GetParameters() *structpb.Struct
func (*GetObjectPointCloudsRequest) GetSegmenterName ¶
func (x *GetObjectPointCloudsRequest) GetSegmenterName() string
func (*GetObjectPointCloudsRequest) ProtoMessage ¶
func (*GetObjectPointCloudsRequest) ProtoMessage()
func (*GetObjectPointCloudsRequest) ProtoReflect ¶
func (x *GetObjectPointCloudsRequest) ProtoReflect() protoreflect.Message
func (*GetObjectPointCloudsRequest) Reset ¶
func (x *GetObjectPointCloudsRequest) Reset()
func (*GetObjectPointCloudsRequest) String ¶
func (x *GetObjectPointCloudsRequest) String() string
type GetObjectPointCloudsResponse ¶
type GetObjectPointCloudsResponse struct { // Actual MIME type of response MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // List of objects in the scene Objects []*v1.PointCloudObject `protobuf:"bytes,2,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*GetObjectPointCloudsResponse) Descriptor
deprecated
func (*GetObjectPointCloudsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectPointCloudsResponse.ProtoReflect.Descriptor instead.
func (*GetObjectPointCloudsResponse) GetMimeType ¶
func (x *GetObjectPointCloudsResponse) GetMimeType() string
func (*GetObjectPointCloudsResponse) GetObjects ¶
func (x *GetObjectPointCloudsResponse) GetObjects() []*v1.PointCloudObject
func (*GetObjectPointCloudsResponse) ProtoMessage ¶
func (*GetObjectPointCloudsResponse) ProtoMessage()
func (*GetObjectPointCloudsResponse) ProtoReflect ¶
func (x *GetObjectPointCloudsResponse) ProtoReflect() protoreflect.Message
func (*GetObjectPointCloudsResponse) Reset ¶
func (x *GetObjectPointCloudsResponse) Reset()
func (*GetObjectPointCloudsResponse) String ¶
func (x *GetObjectPointCloudsResponse) String() string
type GetSegmenterNamesRequest ¶
type GetSegmenterNamesRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetSegmenterNamesRequest) Descriptor
deprecated
func (*GetSegmenterNamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSegmenterNamesRequest.ProtoReflect.Descriptor instead.
func (*GetSegmenterNamesRequest) GetName ¶ added in v0.0.8
func (x *GetSegmenterNamesRequest) GetName() string
func (*GetSegmenterNamesRequest) ProtoMessage ¶
func (*GetSegmenterNamesRequest) ProtoMessage()
func (*GetSegmenterNamesRequest) ProtoReflect ¶
func (x *GetSegmenterNamesRequest) ProtoReflect() protoreflect.Message
func (*GetSegmenterNamesRequest) Reset ¶
func (x *GetSegmenterNamesRequest) Reset()
func (*GetSegmenterNamesRequest) String ¶
func (x *GetSegmenterNamesRequest) String() string
type GetSegmenterNamesResponse ¶
type GetSegmenterNamesResponse struct { // segmenters in the registry SegmenterNames []string `protobuf:"bytes,1,rep,name=segmenter_names,json=segmenterNames,proto3" json:"segmenter_names,omitempty"` // contains filtered or unexported fields }
func (*GetSegmenterNamesResponse) Descriptor
deprecated
func (*GetSegmenterNamesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSegmenterNamesResponse.ProtoReflect.Descriptor instead.
func (*GetSegmenterNamesResponse) GetSegmenterNames ¶
func (x *GetSegmenterNamesResponse) GetSegmenterNames() []string
func (*GetSegmenterNamesResponse) ProtoMessage ¶
func (*GetSegmenterNamesResponse) ProtoMessage()
func (*GetSegmenterNamesResponse) ProtoReflect ¶
func (x *GetSegmenterNamesResponse) ProtoReflect() protoreflect.Message
func (*GetSegmenterNamesResponse) Reset ¶
func (x *GetSegmenterNamesResponse) Reset()
func (*GetSegmenterNamesResponse) String ¶
func (x *GetSegmenterNamesResponse) String() string
type GetSegmenterParametersRequest ¶
type GetSegmenterParametersRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the segmentation algo SegmenterName string `protobuf:"bytes,2,opt,name=segmenter_name,json=segmenterName,proto3" json:"segmenter_name,omitempty"` // contains filtered or unexported fields }
func (*GetSegmenterParametersRequest) Descriptor
deprecated
func (*GetSegmenterParametersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSegmenterParametersRequest.ProtoReflect.Descriptor instead.
func (*GetSegmenterParametersRequest) GetName ¶ added in v0.0.8
func (x *GetSegmenterParametersRequest) GetName() string
func (*GetSegmenterParametersRequest) GetSegmenterName ¶
func (x *GetSegmenterParametersRequest) GetSegmenterName() string
func (*GetSegmenterParametersRequest) ProtoMessage ¶
func (*GetSegmenterParametersRequest) ProtoMessage()
func (*GetSegmenterParametersRequest) ProtoReflect ¶
func (x *GetSegmenterParametersRequest) ProtoReflect() protoreflect.Message
func (*GetSegmenterParametersRequest) Reset ¶
func (x *GetSegmenterParametersRequest) Reset()
func (*GetSegmenterParametersRequest) String ¶
func (x *GetSegmenterParametersRequest) String() string
type GetSegmenterParametersResponse ¶
type GetSegmenterParametersResponse struct { // parameter names of the segmenter in the request SegmenterParameters []*TypedParameter `protobuf:"bytes,1,rep,name=segmenter_parameters,json=segmenterParameters,proto3" json:"segmenter_parameters,omitempty"` // contains filtered or unexported fields }
func (*GetSegmenterParametersResponse) Descriptor
deprecated
func (*GetSegmenterParametersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSegmenterParametersResponse.ProtoReflect.Descriptor instead.
func (*GetSegmenterParametersResponse) GetSegmenterParameters ¶
func (x *GetSegmenterParametersResponse) GetSegmenterParameters() []*TypedParameter
func (*GetSegmenterParametersResponse) ProtoMessage ¶
func (*GetSegmenterParametersResponse) ProtoMessage()
func (*GetSegmenterParametersResponse) ProtoReflect ¶
func (x *GetSegmenterParametersResponse) ProtoReflect() protoreflect.Message
func (*GetSegmenterParametersResponse) Reset ¶
func (x *GetSegmenterParametersResponse) Reset()
func (*GetSegmenterParametersResponse) String ¶
func (x *GetSegmenterParametersResponse) String() string
type RemoveClassifierRequest ¶ added in v0.0.9
type RemoveClassifierRequest struct { // name of the vision service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // name of the classifier in registry ClassifierName string `protobuf:"bytes,2,opt,name=classifier_name,json=classifierName,proto3" json:"classifier_name,omitempty"` // contains filtered or unexported fields }
func (*RemoveClassifierRequest) Descriptor
deprecated
added in
v0.0.9
func (*RemoveClassifierRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveClassifierRequest.ProtoReflect.Descriptor instead.
func (*RemoveClassifierRequest) GetClassifierName ¶ added in v0.0.9
func (x *RemoveClassifierRequest) GetClassifierName() string
func (*RemoveClassifierRequest) GetName ¶ added in v0.0.9
func (x *RemoveClassifierRequest) GetName() string
func (*RemoveClassifierRequest) ProtoMessage ¶ added in v0.0.9
func (*RemoveClassifierRequest) ProtoMessage()
func (*RemoveClassifierRequest) ProtoReflect ¶ added in v0.0.9
func (x *RemoveClassifierRequest) ProtoReflect() protoreflect.Message
func (*RemoveClassifierRequest) Reset ¶ added in v0.0.9
func (x *RemoveClassifierRequest) Reset()
func (*RemoveClassifierRequest) String ¶ added in v0.0.9
func (x *RemoveClassifierRequest) String() string
type RemoveClassifierResponse ¶ added in v0.0.9
type RemoveClassifierResponse struct {
// contains filtered or unexported fields
}
func (*RemoveClassifierResponse) Descriptor
deprecated
added in
v0.0.9
func (*RemoveClassifierResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveClassifierResponse.ProtoReflect.Descriptor instead.
func (*RemoveClassifierResponse) ProtoMessage ¶ added in v0.0.9
func (*RemoveClassifierResponse) ProtoMessage()
func (*RemoveClassifierResponse) ProtoReflect ¶ added in v0.0.9
func (x *RemoveClassifierResponse) ProtoReflect() protoreflect.Message
func (*RemoveClassifierResponse) Reset ¶ added in v0.0.9
func (x *RemoveClassifierResponse) Reset()
func (*RemoveClassifierResponse) String ¶ added in v0.0.9
func (x *RemoveClassifierResponse) String() string
type RemoveDetectorRequest ¶ added in v0.0.9
type RemoveDetectorRequest struct { // name of the vision service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // name of detector in registry DetectorName string `protobuf:"bytes,2,opt,name=detector_name,json=detectorName,proto3" json:"detector_name,omitempty"` // contains filtered or unexported fields }
func (*RemoveDetectorRequest) Descriptor
deprecated
added in
v0.0.9
func (*RemoveDetectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDetectorRequest.ProtoReflect.Descriptor instead.
func (*RemoveDetectorRequest) GetDetectorName ¶ added in v0.0.9
func (x *RemoveDetectorRequest) GetDetectorName() string
func (*RemoveDetectorRequest) GetName ¶ added in v0.0.9
func (x *RemoveDetectorRequest) GetName() string
func (*RemoveDetectorRequest) ProtoMessage ¶ added in v0.0.9
func (*RemoveDetectorRequest) ProtoMessage()
func (*RemoveDetectorRequest) ProtoReflect ¶ added in v0.0.9
func (x *RemoveDetectorRequest) ProtoReflect() protoreflect.Message
func (*RemoveDetectorRequest) Reset ¶ added in v0.0.9
func (x *RemoveDetectorRequest) Reset()
func (*RemoveDetectorRequest) String ¶ added in v0.0.9
func (x *RemoveDetectorRequest) String() string
type RemoveDetectorResponse ¶ added in v0.0.9
type RemoveDetectorResponse struct {
// contains filtered or unexported fields
}
func (*RemoveDetectorResponse) Descriptor
deprecated
added in
v0.0.9
func (*RemoveDetectorResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDetectorResponse.ProtoReflect.Descriptor instead.
func (*RemoveDetectorResponse) ProtoMessage ¶ added in v0.0.9
func (*RemoveDetectorResponse) ProtoMessage()
func (*RemoveDetectorResponse) ProtoReflect ¶ added in v0.0.9
func (x *RemoveDetectorResponse) ProtoReflect() protoreflect.Message
func (*RemoveDetectorResponse) Reset ¶ added in v0.0.9
func (x *RemoveDetectorResponse) Reset()
func (*RemoveDetectorResponse) String ¶ added in v0.0.9
func (x *RemoveDetectorResponse) String() string
type TypedParameter ¶
type TypedParameter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*TypedParameter) Descriptor
deprecated
func (*TypedParameter) Descriptor() ([]byte, []int)
Deprecated: Use TypedParameter.ProtoReflect.Descriptor instead.
func (*TypedParameter) GetName ¶
func (x *TypedParameter) GetName() string
func (*TypedParameter) GetType ¶
func (x *TypedParameter) GetType() string
func (*TypedParameter) ProtoMessage ¶
func (*TypedParameter) ProtoMessage()
func (*TypedParameter) ProtoReflect ¶
func (x *TypedParameter) ProtoReflect() protoreflect.Message
func (*TypedParameter) Reset ¶
func (x *TypedParameter) Reset()
func (*TypedParameter) String ¶
func (x *TypedParameter) String() string
type UnimplementedVisionServiceServer ¶
type UnimplementedVisionServiceServer struct { }
UnimplementedVisionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedVisionServiceServer) AddClassifier ¶ added in v0.0.9
func (UnimplementedVisionServiceServer) AddClassifier(context.Context, *AddClassifierRequest) (*AddClassifierResponse, error)
func (UnimplementedVisionServiceServer) AddDetector ¶
func (UnimplementedVisionServiceServer) AddDetector(context.Context, *AddDetectorRequest) (*AddDetectorResponse, error)
func (UnimplementedVisionServiceServer) GetClassifications ¶ added in v0.0.9
func (UnimplementedVisionServiceServer) GetClassifications(context.Context, *GetClassificationsRequest) (*GetClassificationsResponse, error)
func (UnimplementedVisionServiceServer) GetClassificationsFromCamera ¶ added in v0.0.9
func (UnimplementedVisionServiceServer) GetClassificationsFromCamera(context.Context, *GetClassificationsFromCameraRequest) (*GetClassificationsFromCameraResponse, error)
func (UnimplementedVisionServiceServer) GetClassifierNames ¶ added in v0.0.9
func (UnimplementedVisionServiceServer) GetClassifierNames(context.Context, *GetClassifierNamesRequest) (*GetClassifierNamesResponse, error)
func (UnimplementedVisionServiceServer) GetDetections ¶
func (UnimplementedVisionServiceServer) GetDetections(context.Context, *GetDetectionsRequest) (*GetDetectionsResponse, error)
func (UnimplementedVisionServiceServer) GetDetectionsFromCamera ¶
func (UnimplementedVisionServiceServer) GetDetectionsFromCamera(context.Context, *GetDetectionsFromCameraRequest) (*GetDetectionsFromCameraResponse, error)
func (UnimplementedVisionServiceServer) GetDetectorNames ¶
func (UnimplementedVisionServiceServer) GetDetectorNames(context.Context, *GetDetectorNamesRequest) (*GetDetectorNamesResponse, error)
func (UnimplementedVisionServiceServer) GetObjectPointClouds ¶
func (UnimplementedVisionServiceServer) GetObjectPointClouds(context.Context, *GetObjectPointCloudsRequest) (*GetObjectPointCloudsResponse, error)
func (UnimplementedVisionServiceServer) GetSegmenterNames ¶
func (UnimplementedVisionServiceServer) GetSegmenterNames(context.Context, *GetSegmenterNamesRequest) (*GetSegmenterNamesResponse, error)
func (UnimplementedVisionServiceServer) GetSegmenterParameters ¶
func (UnimplementedVisionServiceServer) GetSegmenterParameters(context.Context, *GetSegmenterParametersRequest) (*GetSegmenterParametersResponse, error)
func (UnimplementedVisionServiceServer) RemoveClassifier ¶ added in v0.0.9
func (UnimplementedVisionServiceServer) RemoveClassifier(context.Context, *RemoveClassifierRequest) (*RemoveClassifierResponse, error)
func (UnimplementedVisionServiceServer) RemoveDetector ¶ added in v0.0.9
func (UnimplementedVisionServiceServer) RemoveDetector(context.Context, *RemoveDetectorRequest) (*RemoveDetectorResponse, error)
type UnsafeVisionServiceServer ¶
type UnsafeVisionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeVisionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VisionServiceServer will result in compilation errors.
type VisionServiceClient ¶
type VisionServiceClient interface { // GetDetectorNames returns the list of detectors in the registry. GetDetectorNames(ctx context.Context, in *GetDetectorNamesRequest, opts ...grpc.CallOption) (*GetDetectorNamesResponse, error) // AddDetector adds a new detector to the registry. AddDetector(ctx context.Context, in *AddDetectorRequest, opts ...grpc.CallOption) (*AddDetectorResponse, error) // RemoveDetector removes a detector from the registry. RemoveDetector(ctx context.Context, in *RemoveDetectorRequest, opts ...grpc.CallOption) (*RemoveDetectorResponse, error) // GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detector GetDetectionsFromCamera(ctx context.Context, in *GetDetectionsFromCameraRequest, opts ...grpc.CallOption) (*GetDetectionsFromCameraResponse, error) // GetDetections will return a list of detections in the next image given the image bytes and a detector GetDetections(ctx context.Context, in *GetDetectionsRequest, opts ...grpc.CallOption) (*GetDetectionsResponse, error) // GetClassifierNames returns the list of classifiers in the registry. GetClassifierNames(ctx context.Context, in *GetClassifierNamesRequest, opts ...grpc.CallOption) (*GetClassifierNamesResponse, error) // AddClassifier adds a new classifier to the registry. AddClassifier(ctx context.Context, in *AddClassifierRequest, opts ...grpc.CallOption) (*AddClassifierResponse, error) // RemoveClassifier adds a new classifier to the registry. RemoveClassifier(ctx context.Context, in *RemoveClassifierRequest, opts ...grpc.CallOption) (*RemoveClassifierResponse, error) // GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifier GetClassificationsFromCamera(ctx context.Context, in *GetClassificationsFromCameraRequest, opts ...grpc.CallOption) (*GetClassificationsFromCameraResponse, error) // GetClassifications will return a list of classifications in the next image given the image bytes and a classifier GetClassifications(ctx context.Context, in *GetClassificationsRequest, opts ...grpc.CallOption) (*GetClassificationsResponse, error) // GetSegmenterNames returns the list of segmenters in the registry. GetSegmenterNames(ctx context.Context, in *GetSegmenterNamesRequest, opts ...grpc.CallOption) (*GetSegmenterNamesResponse, error) // GetSegmenterParameters returns the parameter fields needed for the given segmenter. GetSegmenterParameters(ctx context.Context, in *GetSegmenterParametersRequest, opts ...grpc.CallOption) (*GetSegmenterParametersResponse, error) // GetObjectPointClouds returns all the found objects in a pointcloud from a camera of the underlying robot, // as well as the 3-vector center of each of the found objects. // A specific MIME type can be requested but may not necessarily be the same one returned. GetObjectPointClouds(ctx context.Context, in *GetObjectPointCloudsRequest, opts ...grpc.CallOption) (*GetObjectPointCloudsResponse, error) }
VisionServiceClient is the client API for VisionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewVisionServiceClient ¶
func NewVisionServiceClient(cc grpc.ClientConnInterface) VisionServiceClient
type VisionServiceServer ¶
type VisionServiceServer interface { // GetDetectorNames returns the list of detectors in the registry. GetDetectorNames(context.Context, *GetDetectorNamesRequest) (*GetDetectorNamesResponse, error) // AddDetector adds a new detector to the registry. AddDetector(context.Context, *AddDetectorRequest) (*AddDetectorResponse, error) // RemoveDetector removes a detector from the registry. RemoveDetector(context.Context, *RemoveDetectorRequest) (*RemoveDetectorResponse, error) // GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detector GetDetectionsFromCamera(context.Context, *GetDetectionsFromCameraRequest) (*GetDetectionsFromCameraResponse, error) // GetDetections will return a list of detections in the next image given the image bytes and a detector GetDetections(context.Context, *GetDetectionsRequest) (*GetDetectionsResponse, error) // GetClassifierNames returns the list of classifiers in the registry. GetClassifierNames(context.Context, *GetClassifierNamesRequest) (*GetClassifierNamesResponse, error) // AddClassifier adds a new classifier to the registry. AddClassifier(context.Context, *AddClassifierRequest) (*AddClassifierResponse, error) // RemoveClassifier adds a new classifier to the registry. RemoveClassifier(context.Context, *RemoveClassifierRequest) (*RemoveClassifierResponse, error) // GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifier GetClassificationsFromCamera(context.Context, *GetClassificationsFromCameraRequest) (*GetClassificationsFromCameraResponse, error) // GetClassifications will return a list of classifications in the next image given the image bytes and a classifier GetClassifications(context.Context, *GetClassificationsRequest) (*GetClassificationsResponse, error) // GetSegmenterNames returns the list of segmenters in the registry. GetSegmenterNames(context.Context, *GetSegmenterNamesRequest) (*GetSegmenterNamesResponse, error) // GetSegmenterParameters returns the parameter fields needed for the given segmenter. GetSegmenterParameters(context.Context, *GetSegmenterParametersRequest) (*GetSegmenterParametersResponse, error) // GetObjectPointClouds returns all the found objects in a pointcloud from a camera of the underlying robot, // as well as the 3-vector center of each of the found objects. // A specific MIME type can be requested but may not necessarily be the same one returned. GetObjectPointClouds(context.Context, *GetObjectPointCloudsRequest) (*GetObjectPointCloudsResponse, error) // contains filtered or unexported methods }
VisionServiceServer is the server API for VisionService service. All implementations must embed UnimplementedVisionServiceServer for forward compatibility