RGB-D camera grabber with OpenCV and PCL currently for the following devices.
Dependencies:
$ git clone https://github.com/gflags/gflags
$ cd gflags
$ cmake .
$ make
$ sudo make install
$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list'
$ sudo apt-get update
$ sudo apt-get install libboost-all-dev libopencv-dev libpcl-1.7-all
$ cmake .
$ make
$ bin/UVCameraCapture --id=0
$ cmake -DUSE_DS=ON .
$ make
$ bin/DS325Capture --id=0
$ cmake -DUSE_PMD=ON .
$ make
$ bin/PMDNanoCapture --pap=/path/to/camboardnano.L64.pap --ppp=/path/to/camboardnanoproc.L64.ppp
See also the examples of configuration file data/ueye-conf.ini
and calibration data data/ueye-calib.xml
for an uEye camera.
Single camera
$ cmake -DUSE_UEYE=ON .
$ make
$ bin/UEyeCalibration --id=0 --conf=/path/to/conf.ini --intrinsics=/path/to/calib.xml
# Enter 'c' to capture an image.
# Enter 'q' to quit capture and start calibration.
$ bin/UEyeCapture --id=0 --conf=/path/to/conf.ini --intrinsics=/path/to/calib.xml
Stereo camera
$ cmake -DUSE_UEYE=ON .
$ make
$ bin/StereoUEyeGetCalibrationData --left_id=0 --right_id=1 --left_conf=/path/to/conf.ini --right_conf=/path/to/conf.ini
$ bin/StereoCameraCalibration --intrinsics=/path/to/intrinsics.xml --extrinsics=/path/to/extrinsics.xml
$ bin/StereoUEyeCapture --left_id=0 --right_id=1 --left_conf=/path/to/conf.ini --right_conf=/path/to/conf.ini --intrinsics=/path/to/intrinsics.xml --extrinsics=/path/to/extrinsics.xml