chaowang15 / rgbdcapture Goto Github PK
View Code? Open in Web Editor NEWCapture RGB-D data from a depth camera
Capture RGB-D data from a depth camera
i merged rgb png and depth png into .pcd
files and found that the rgb image and the depth image were not registrated.
I'm not sure whether it works as intented.
AFAIK, openni2 provides a switch to auto-registrate kinect images. so I added some code to do that.
For anyone who wants to do the same, you can add following code to the bool OpenNISensor::init()
if (m_device.isImageRegistrationModeSupported(
openni::IMAGE_REGISTRATION_DEPTH_TO_COLOR)) {
m_device.setImageRegistrationMode(
openni::IMAGE_REGISTRATION_DEPTH_TO_COLOR);
std::cout << "registration is ok" << std::endl;
}
Hi,
I am getting the following error while running cmake. I have manually pointed CMake variable OpenCV_DIR to my build of OpenCV library because otherwise it was giving an error.
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OpenNI_LIBRARIES
linked by target "RGBDCapture" in directory /home/mayankamedhe/RGBDCapture/RGBDCapture
-- Configuring incomplete, errors occurred!
See also "/home/mayankamedhe/RGBDCapture/RGBDCapture/build/CMakeFiles/CMakeOutput.log".
Does anyone know how to resolve this?
Thanks in advance!
As described above.
I am getting the following error at make step-
[ 25%] Building CXX object CMakeFiles/RGBDCapture.dir/OpenNISensor.cpp.o
In file included from /home/mayankamedhe/RGBDCapture/RGBDCapture/OpenNISensor.cpp:1:0:
/home/mayankamedhe/RGBDCapture/RGBDCapture/OpenNISensor.h:6:20: fatal error: OpenNI.h: No such file or directory
compilation terminated.
CMakeFiles/RGBDCapture.dir/build.make:62: recipe for target 'CMakeFiles/RGBDCapture.dir/OpenNISensor.cpp.o' failed
make[2]: *** [CMakeFiles/RGBDCapture.dir/OpenNISensor.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/RGBDCapture.dir/all' failed
make[1]: *** [CMakeFiles/RGBDCapture.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Does anyone know how to resolve it?
error: rs.hpp: No such file or directory
#include <rs.hpp>
this is the error I get when i run the make command
I ran the code.. it saves images in half resolution !!!
could you plz tell me how to change it to original size?
Thanks
ERROR: Can't Open Device: DeviceOpen using default: no devices found
WARNING: initialize the device at first!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.