Code Monkey home page Code Monkey logo

point-cloud-visualization's Introduction

Point Cloud Visualization

Status

Video Tutorial: YouTube
Author: Light, Camera, Vision!

Setup

Step 1: (Optional) If you don't want to mess up your existing setup, consider creating a conda environment.

PPTK works with Python 3.6

conda create -n LCV_PC_VIS python=3.6
conda activate LCV_PC_VIS

Step 2: (Required)

pip install -r requirements.txt

To read .laz files using laspy in addition to .las files.

python3 -m pip install "laspy[lazrs,laszip]"

Data

Please download the data folder from this link and keep it in the main directory as shown below or change the paths in the code. The data references are provided at the end of this repo.

│Point-Cloud-Visualization/
├──data/
├──.......

What to Expect?

In this turorial, we learn the easy ways to visualize several different point cloud file formats that are commonly used to store point cloud-type information using two very popular python packages (Open3D & pptk - Point Processing Toolkit).

  • The list of file formats covered here is below, with references to the popular datasets they are found in.
    • ply (Toronto3D)
    • pcd (Trimble, Toyota PCD datasets)
    • npz, npy (ScanNet, ShapeNet, Sun RGB-D, A2D2-Audi Autonomous Driving Dataset)
    • hdf5 (ModelNet-C, ShapeNet-C, ScanObjectNN)
    • binary (KITTI)
    • las, laz (USGS 3DEP)
    • txt (ModelNet40, Semantic3D)

Misc Useful Links:

  1. Open3D Shortcut Control Keys
  2. PPTK Shortcut Control Keys

Data References:

  1. PLY file: https://github.com/HuangCongQing/Point-Clouds-Visualization/blob/master/2open3D/data/fragment.ply
  2. pcd file: https://github.com/PointCloudLibrary/data/tree/master/terrain
  3. ShapeNet: https://shapenet.org/
  4. ScanObjectNN: https://hkust-vgd.github.io/scanobjectnn/
  5. KITTI data: http://www.cvlibs.net/datasets/kitti/index.php
  6. las file: vegetation_1_3.las: https://github.com/laspy/laspy/blob/master/tests/data/vegetation_1_3.las
  7. laz file: https://github.com/laspy/laspy/blob/master/tests/data/plane.laz
  8. ModelNet40: https://modelnet.cs.princeton.edu/

Star the repository Feel free to ⭐ this repo if you found this tutorial somewhat helpful. Thanks!
YouTube If you have any question, please comment on the YouTube video.


point-cloud-visualization's People

Contributors

lightscameravision avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

point-cloud-visualization's Issues

LaspyException: No LazBackend selected, cannot decompress data

This is a potential error, I think, some of you may encounter when working with this repo. That's why I'm just proactively adding the solution.

Situation: Reading .laz file using the laspy package
Error Message: LaspyException: No LazBackend selected, cannot decompress data

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.