Package com.viam.service.vision.v1
Class VisionServiceGrpc.VisionServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<VisionServiceGrpc.VisionServiceBlockingStub>
com.viam.service.vision.v1.VisionServiceGrpc.VisionServiceBlockingStub
- Enclosing class:
- VisionServiceGrpc
public static final class VisionServiceGrpc.VisionServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<VisionServiceGrpc.VisionServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service VisionService.
VisionService declares the gRPC contract for a vision service
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandsGetClassifications will return a list of classifications in the next image given the image bytes and a classifierGetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifiergetDetections
(Vision.GetDetectionsRequest request) GetDetections will return a list of detections in the next image given the image bytes and a detectorGetDetectionsFromCamera will return a list of detections in the next image given a camera and a detectorGetObjectPointClouds 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.getProperties
(Vision.GetPropertiesRequest request) GetProperties will return the properties as booleans given the name of the vision serviceMethods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected VisionServiceGrpc.VisionServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<VisionServiceGrpc.VisionServiceBlockingStub>
-
getDetectionsFromCamera
public Vision.GetDetectionsFromCameraResponse getDetectionsFromCamera(Vision.GetDetectionsFromCameraRequest request) GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detector
-
getDetections
GetDetections will return a list of detections in the next image given the image bytes and a detector
-
getClassificationsFromCamera
public Vision.GetClassificationsFromCameraResponse getClassificationsFromCamera(Vision.GetClassificationsFromCameraRequest request) GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifier
-
getClassifications
public Vision.GetClassificationsResponse getClassifications(Vision.GetClassificationsRequest request) GetClassifications will return a list of classifications in the next image given the image bytes and a classifier
-
getObjectPointClouds
public Vision.GetObjectPointCloudsResponse getObjectPointClouds(Vision.GetObjectPointCloudsRequest request) 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
GetProperties will return the properties as booleans given the name of the vision service
-
captureAllFromCamera
public Vision.CaptureAllFromCameraResponse captureAllFromCamera(Vision.CaptureAllFromCameraRequest request) -
doCommand
DoCommand sends/receives arbitrary commands
-