VisionClient class Services

Inheritance
Implemented types

Constructors

VisionClient(String name, ClientChannelBase channel)

Properties

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.
doCommand(Map<String, dynamic> command) Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
override
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