VisionClient class Services

Inheritance
Implemented types
Mixed-in types

Constructors

VisionClient(String name, ClientChannelBase channel)

Properties

callOptions CallOptions
no setterinherited
channel ClientChannelBase
getter/setter pairoverride
client VisionServiceClient
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

classifications(ViamImage image, int count, {Map<String, dynamic>? extra}) Future<List<Classification>>
Get a list of Classifications from the provided image. The maximum number of Classifications returned is count.
classificationsFromCamera(String cameraName, int count, {Map<String, dynamic>? extra}) Future<List<Classification>>
Get a list of Classifications from the camera named cameraName. The maximum number of Classifications returned is count.
detections(ViamImage image, {Map<String, dynamic>? extra}) Future<List<Detection>>
Get a list of Detections from the provided ViamImage.
detectionsFromCamera(String cameraName, {Map<String, dynamic>? extra}) Future<List<Detection>>
Get a list of Detections from the camera named cameraName.
disableDebugLogging() → void
Disable debug logging for gRPC calls by removing the trace key from the metadata.
inherited
doCommand(Map<String, dynamic> command) Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
override
enableDebugLogging({String? traceKey}) → void
Enable debug logging for gRPC calls by setting a trace key in the metadata. If no trace key is provided, a random one will be generated.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
objectPointClouds(String cameraName, {Map<String, dynamic>? extra}) Future<List<PointCloudObject>>
Get a list of PointCloudObjects from the camera named cameraName.
properties({Map<String, dynamic>? extra}) Future<VisionProperties>
Get info about what vision methods the vision service provides. Currently returns boolean values that state whether the service implements the classification, detection, and/or 3D object segmentation methods.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromRobot(RobotClient robot, String name) VisionClient
Get the VisionClient named name from the provided robot.
getResourceName(String name) ResourceName
Get the ResourceName for this VisionClient with the given name

Constants

subtype → const Subtype