viam.services.vision.service

Classes

VisionRPCService

gRPC service for a Vision service

Module Contents

class viam.services.vision.service.VisionRPCService(manager: viam.resource.manager.ResourceManager)[source]

Bases: viam.proto.service.vision.UnimplementedVisionServiceBase, viam.resource.rpc_service_base.ResourceRPCServiceBase

gRPC service for a Vision service

RESOURCE_TYPE
async CaptureAllFromCamera(stream: grpclib.server.Stream[viam.proto.service.vision.CaptureAllFromCameraRequest, viam.proto.service.vision.CaptureAllFromCameraResponse]) None[source]
async GetDetectionsFromCamera(stream: grpclib.server.Stream[viam.proto.service.vision.GetDetectionsFromCameraRequest, viam.proto.service.vision.GetDetectionsFromCameraResponse]) None[source]
async GetDetections(stream: grpclib.server.Stream[viam.proto.service.vision.GetDetectionsRequest, viam.proto.service.vision.GetDetectionsResponse]) None[source]
async GetClassificationsFromCamera(stream: grpclib.server.Stream[viam.proto.service.vision.GetClassificationsFromCameraRequest, viam.proto.service.vision.GetClassificationsFromCameraResponse]) None[source]
async GetClassifications(stream: grpclib.server.Stream[viam.proto.service.vision.GetClassificationsRequest, viam.proto.service.vision.GetClassificationsResponse]) None[source]
async GetObjectPointClouds(stream: grpclib.server.Stream[viam.proto.service.vision.GetObjectPointCloudsRequest, viam.proto.service.vision.GetObjectPointCloudsResponse]) None[source]
async GetProperties(stream: grpclib.server.Stream[viam.proto.service.vision.GetPropertiesRequest, viam.proto.service.vision.GetPropertiesResponse]) None[source]
async DoCommand(stream: grpclib.server.Stream[viam.proto.common.DoCommandRequest, viam.proto.common.DoCommandResponse]) None[source]