machinevisiontoolbox.PointCloud.PointCloud.Read
- classmethod PointCloud.Read(filename, *args, **kwargs)[source]
Create point cloud from file
- Parameters:
filename (str) – name of file
- Returns:
new point cloud
- Return type:
PointCloud
instance
Read point cloud data from a file using
read_point_cloud
. Supported filetypes include PLY.If the path is not absolute it is first searched for relative to the current directory, and if not found, it is searched for in the
data
folder of the`mvtb_data
package <https://github.com/petercorke/machinevision-toolbox-python/tree/master/mvtb-data>`_.