Comments (10)
Hi,
I am trying to do the same thing. Just need to get PCD file from it :)
It's in InfiniTAM-master\InfiniTAM\ITMLib\Utils\ITMLibDefines.h
/// Kinect2 support is disabled by default (to not add the Kinect2 SDK dependency)
#ifndef COMPILE_WITHOUT_Kinect2
#define COMPILE_WITHOUT_Kinect2
#endif
Also, I think you don't need to calibrate Kinect2 as it's using Kinect SDK instead of OpenNI. (use no arguments)
They commented out part of Kinect2Engine.cpp
Specifically: Kinect2Engine::getImages(...)
in this commit.
I will try to get it to work tomorrow. Or I will use OpenNI like you did (thanks btw, didn't know it would work with Kinect v2).
Saving
Based on UIEngine.cpp ln 211
case 'w':
printf("saving mesh to disk ...");
uiEngine->SaveSceneToMesh("mesh.stl");
printf(" done\n");
So it's w
key. There is also support for .OBJ just go to definition of SaveSceneToMesh (F12 in VS) and further.
from infinitam.
Thanks! ^_^ I checked FindOpenNI.cmake, and I notice there is a line of code said "OPEN_NI_ROOT /usr/local" . I think this is the key, and I should set "usr/local" to my OpenNI path "c:/pragram files/openni2", right? @connerbrooks
from infinitam.
Have you tried to compile InfiniTAM in Ubuntu?
from infinitam.
No, I need it in Windows.
from infinitam.
@Attreyu, @MarTiXcz have you taken a look at #33 and the associated PR: #34?
from infinitam.
@connerbrooks +1. Thanks. I'm not sure how I missed that. I guess I was a bit tired.
from infinitam.
Hi, I am tryting to compile InfiniTAM also, and I came cross the same problems as yours.
My Kinect 2 have connected with computer successfully, and I have installed OpenNI2 at C:\Programs Files\OpenNI2, (btw, when I use Cmake to configure and generate , Cmake GUI always said can't find OpenNI, and what's worse, I can't set the path that pointing OPENI_ROOT). The InfiniTAM_cli.exe always said "compiled without Kinect 2 support" and "compiled without openNI support" . I wonder if you can tell me how you fixed this problem. Thanks! ^_^ @Attreyu @MarTiXcz
from infinitam.
You need to make changes to FindOpenNI.cmake. It does not work by default, this version includes modifications to make it work on windows.
from infinitam.
You may need to make a few more changes to match the folder structure of the binary installation, but those are present in the modified version in my gist.
from infinitam.
I linked freenect2 to infiniTAM on linux.
tested as following image:
you are welcome to try my fix:
InfiniTAM.zip
from infinitam.
Related Issues (20)
- from rgb to depth HOT 10
- Show nothing when running InfiniTAM.exe with files in Teddy HOT 5
- Multi-camera Application HOT 1
- FileBasedTracker doesn‘t fuse the scene HOT 2
- How big is the voxel grid? HOT 1
- Saving 3D Reconstruction
- Python bindings HOT 6
- Azure Kinect Support HOT 1
- C1083 Cannot open include file: 'GL/glut.h': No such file or directory HOT 5
- Extracting the current VoxelGrid for an additional processing step HOT 1
- iterations algorithm HOT 1
- Python Buffer access to ITMLocalVBA HOT 1
- Cannot access the voxel blocks on device using Nsight VSE Debugger HOT 1
- ITMLocalVBA alone extractable as 3D Reconstruction? HOT 1
- cannot read images HOT 11
- Which version is the newest HOT 1
- Project doesn't build
- Does InfiniTAM support for MS Azure Kinect (soon)?
- Blensor Scans
- Headless InfiniTAM
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 infinitam.