objectPointClouds method

Future<List<PointCloudObject>> objectPointClouds(
  1. String cameraName, {
  2. Map<String, dynamic>? extra,
})

Get a list of PointCloudObjects from the camera named cameraName.

// Example:
var ptCloud = await myVisionService.objectPointClouds('myCamera');

Implementation

Future<List<PointCloudObject>> objectPointClouds(String cameraName, {Map<String, dynamic>? extra}) async {
  final request = GetObjectPointCloudsRequest(name: name, cameraName: cameraName, mimeType: MimeType.pcd.name, extra: extra?.toStruct());
  final response = await client.getObjectPointClouds(request);
  return response.objects;
}