Package com.viam.service.vision.v1
Interface VisionServiceGrpc.AsyncService
- All Known Implementing Classes:
VisionServiceGrpc.VisionServiceImplBase
- Enclosing class:
- VisionServiceGrpc
public static interface VisionServiceGrpc.AsyncService
VisionService declares the gRPC contract for a vision service
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
captureAllFromCamera
(Vision.CaptureAllFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.CaptureAllFromCameraResponse> responseObserver) default void
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsdefault void
getClassifications
(Vision.GetClassificationsRequest request, io.grpc.stub.StreamObserver<Vision.GetClassificationsResponse> responseObserver) GetClassifications will return a list of classifications in the next image given the image bytes and a classifierdefault void
getClassificationsFromCamera
(Vision.GetClassificationsFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.GetClassificationsFromCameraResponse> responseObserver) GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifierdefault void
getDetections
(Vision.GetDetectionsRequest request, io.grpc.stub.StreamObserver<Vision.GetDetectionsResponse> responseObserver) GetDetections will return a list of detections in the next image given the image bytes and a detectordefault void
getDetectionsFromCamera
(Vision.GetDetectionsFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.GetDetectionsFromCameraResponse> responseObserver) GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detectordefault void
getObjectPointClouds
(Vision.GetObjectPointCloudsRequest request, io.grpc.stub.StreamObserver<Vision.GetObjectPointCloudsResponse> responseObserver) 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.default void
getProperties
(Vision.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Vision.GetPropertiesResponse> responseObserver) GetProperties will return the properties as booleans given the name of the vision service
-
Method Details
-
getDetectionsFromCamera
default void getDetectionsFromCamera(Vision.GetDetectionsFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.GetDetectionsFromCameraResponse> responseObserver) GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detector
-
getDetections
default void getDetections(Vision.GetDetectionsRequest request, io.grpc.stub.StreamObserver<Vision.GetDetectionsResponse> responseObserver) GetDetections will return a list of detections in the next image given the image bytes and a detector
-
getClassificationsFromCamera
default void getClassificationsFromCamera(Vision.GetClassificationsFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.GetClassificationsFromCameraResponse> responseObserver) GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifier
-
getClassifications
default void getClassifications(Vision.GetClassificationsRequest request, io.grpc.stub.StreamObserver<Vision.GetClassificationsResponse> responseObserver) GetClassifications will return a list of classifications in the next image given the image bytes and a classifier
-
getObjectPointClouds
default void getObjectPointClouds(Vision.GetObjectPointCloudsRequest request, io.grpc.stub.StreamObserver<Vision.GetObjectPointCloudsResponse> responseObserver) 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.
-
getProperties
default void getProperties(Vision.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Vision.GetPropertiesResponse> responseObserver) GetProperties will return the properties as booleans given the name of the vision service
-
captureAllFromCamera
default void captureAllFromCamera(Vision.CaptureAllFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.CaptureAllFromCameraResponse> responseObserver) -
doCommand
default void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-