Check out example codes for "File "rs_to_open3d.py", line 19, in <module> point cloud = Point Cloud() NameError: name 'PointCloud' is not defined". It will help you in understanding the concepts better.

Code Example 1

To solve that you should change it like this:

import open3d as o3d
pcd = o3d.geometry.PointCloud()

Learn ReactJs, React Native from akashmittal.com