{
  "id": 115051,
  "title": "Getting point cloud using lyft_dataset_sdk",
  "url": "/competitions/3d-object-detection-for-autonomous-vehicles/discussion/115051",
  "author_name": "",
  "post_date": "2019-10-31T01:07:16.533468400Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Hi,</p>\n\n<p>Is it possible to get 3D points of a scene or lidar in say a DataFrame (or numpy array etc) using lyft_dataset_sdk.\nI see that there are methods to render them,but can I get it in some data structure so that I can use it as input to say my neural network?</p>",
  "messages": [
    {
      "id": "661996",
      "postDate": "10/31/2019 01:07:16",
      "content": "<p>Hi,</p>\n\n<p>Is it possible to get 3D points of a scene or lidar in say a DataFrame (or numpy array etc) using lyft_dataset_sdk.\nI see that there are methods to render them,but can I get it in some data structure so that I can use it as input to say my neural network?</p>",
      "rawMarkdown": "Hi,\n\nIs it possible to get 3D points of a scene or lidar in say a DataFrame (or numpy array etc) using lyft_dataset_sdk.\nI see that there are methods to render them,but can I get it in some data structure so that I can use it as input to say my neural network?",
      "votes": null
    },
    {
      "id": "662068",
      "postDate": "10/31/2019 04:02:42",
      "content": "<p>I figured it out... Essentially it is (assuming data etc is loaded):</p>\n\n<p><code>\nlidFPath = level5data.get_sample_data_path('5c3d79e1cf8c8182b2ceefa33af96cbebfc71f92e18bf64eb8d4e0bf162e01d4')\nlidar_pointcloud = LidarPointCloud.from_file(lidFPath)\nlidar_pointcloud.points  #We have numpy array here\n</code></p>",
      "rawMarkdown": "I figured it out... Essentially it is (assuming data etc is loaded):\n\n```\nlidFPath = level5data.get_sample_data_path('5c3d79e1cf8c8182b2ceefa33af96cbebfc71f92e18bf64eb8d4e0bf162e01d4')\nlidar_pointcloud = LidarPointCloud.from_file(lidFPath)\nlidar_pointcloud.points  #We have numpy array here\n```",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 662068,
      "author_name": "aknirala",
      "author_url": "",
      "post_date": "10/31/2019 04:02:42",
      "content": "<p>I figured it out... Essentially it is (assuming data etc is loaded):</p>\n\n<p><code>\nlidFPath = level5data.get_sample_data_path('5c3d79e1cf8c8182b2ceefa33af96cbebfc71f92e18bf64eb8d4e0bf162e01d4')\nlidar_pointcloud = LidarPointCloud.from_file(lidFPath)\nlidar_pointcloud.points  #We have numpy array here\n</code></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "661996": "Hi,\n\nIs it possible to get 3D points of a scene or lidar in say a DataFrame (or numpy array etc) using lyft_dataset_sdk.\nI see that there are methods to render them,but can I get it in some data structure so that I can use it as input to say my neural network?",
    "662068": "I figured it out... Essentially it is (assuming data etc is loaded):\n\n```\nlidFPath = level5data.get_sample_data_path('5c3d79e1cf8c8182b2ceefa33af96cbebfc71f92e18bf64eb8d4e0bf162e01d4')\nlidar_pointcloud = LidarPointCloud.from_file(lidFPath)\nlidar_pointcloud.points  #We have numpy array here\n```"
  },
  "source": "meta"
}