Comments (3)
Hi, You should first figure out how to get the depth image from ZED, and then how to convert the depth image into an organized point cloud which should be organized as a 3xHxW sized tensor (or HxWx3). Then you can save the organized point cloud as a *.pcd file. And then you can use https://github.com/ai4ce/peac/blob/master/cpp/plane_fitter_pcd.cpp to process your pcd file to extract planes.
from peac.
Thank you for your response. However, when I ran the pcd file I saved from the camera, it said it failed to load the file. Do I need to save it as .xyz file and then convert it into pcd file or change any of the parameters?
mmvc@mmvc-Alienware-13-R3:~/peac/cpp/build$ ./plane_fitter_pcd
[iniLoad] list=>/home/mmvc/peac/cpp/build/data/test.pcd
[iniLoad] ignore line:
[iniLoad] outputDir=>/home/mmvc/peac/cpp/build/data/output
[iniLoad] loop=>1
[iniLoad] debug=>0
[iniLoad] ignore line:
[iniLoad] unitScaleFactor=>1000
[iniLoad] ignore line:
[iniLoad] showWindow=>1
[iniLoad] ignore line:
[iniLoad] stdTol_merge=>8
[iniLoad] stdTol_init=>5
[iniLoad] depthSigma=>1.6e-6
[iniLoad] ignore line:
[iniLoad] z_near=>500
[iniLoad] z_far=>4000
[iniLoad] angleDegree_near=>15
[iniLoad] angleDegree_far=>90
[iniLoad] similarityDegreeTh_merge=>60
[iniLoad] similarityDegreeTh_refine=>30
[iniLoad] ignore line:
[iniLoad] depthAlpha=>0.04
[iniLoad] depthChangeTol=>0.02
[iniLoad] ignore line:
[iniLoad] initType=>1
[iniLoad] ignore line:
[iniLoad] minSupport=>3000
[iniLoad] ignore line:
[iniLoad] windowWidth=>10
[iniLoad] windowHeight=>10
[iniLoad] ignore line:
[iniLoad] doRefine=>1
create:/home/mmvc/peac/cpp/build/data/output
'.cl::PCDReader::readHeader] Could not find file '/home/mmvc/peac/cpp/build/data/test.pcd
fail to load: /home/mmvc/peac/cpp/build/data/test.pcd
'.cl::PCDReader::readHeader] Could not find file '/home/mmvc/peac/cpp/build/data/test.pcd
fail to load: /home/mmvc/peac/cpp/build/data/test.pcd
from peac.
Also if I want to extract the planes in real time, do I use plane_fitter.cpp? Thanks!
from peac.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peac.