Giter VIP home page Giter VIP logo

torch-pcl's Introduction

torch-pcl

Point Cloud Library (PCL) bindings for Torch

WARNING: Work in progress! Expected v1 release date: 2015-12-20 If you want to help please contact @andreaskoepf.

Install

Prerequisites:

  1. Torch7
  2. PCL

Install using LuaRocks:

$ luarocks install pcl

Some Examples

Load a PCD file and acess values as torch tensor.

local pcl = require 'pcl'
cloud = pcl.PointCloud(pcl.PointXYZ)
cloud:loadPCDFile('data/bunny.pcd')
pt = cloud:points()  -- get tensor view to points
print(pt)

Visualize live RGB-D sensor data

Capture cloud point with OpenNI2 device and show result live in a cloud viewer window.

local pcl = require 'pcl'
local s = pcl.OpenNI2Stream(pcl.PointXYZRGBA)
local v = pcl.CloudViewer()
s:start()
for i=1,1000 do
  local c = s:read(1000)
  if c ~= nil then
    v:showCloud(c)
  end
end
s:stop()

torch-pcl's People

Contributors

andreaskoepf avatar uwesterh avatar

Watchers

Sui Libin avatar  avatar

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.