Google ARCore Domain Model by Example

后端 未结 2 1737
臣服心动
臣服心动 2021-01-03 07:35

I\'m trying to read and make sense of Google ARCore\'s domain model, particularly the Android SDK packages. Currently this SDK is in \"preview\" mode and so there a

2条回答
  •  情话喂你
    2021-01-03 08:05

    Using the following link you can find and answer about Frame, Anchor and Pose:

    ARCore – Session, Frame, Camera and Pose.

    Additionally, here's an info on What a Point Cloud is:

    Point Cloud is a visual cloud of points (of yellow color, usually) in World Space which represent a reliable positions for dots for 3D tracking on a real-world objects. Point Cloud looks like this:

    And here's what Google says about Point Cloud:

    PointCloud contains a set of observed 3D points and confidence values. This class implements Closeable and usually should be used in a Java try-with-resources or Kotlin use block, for example:

    To get a PointCloud use the following code:

    Frame frame = session.update();
    
    try (PointCloud pointCloud = frame.acquirePointCloud()) {
        // Accessing point cloud data.......
    }
    

提交回复
热议问题