-
Notifications
You must be signed in to change notification settings - Fork 3
Example Applications
The Single Test applications allows to run KinectFusion with Kangaroo in a single computer from one or several cameras at the same time.
Steps:
-
Arrange one or several Kinect2 cameras in fixed positions and connect them to the same computer.
-
Calibrate the infrared cameras of the Kinect2's at the same time. Check the Calibration documentation. Use one of these files instead of the ones generated by Vicalib to get marks for the Vicon markers: small pattern, medium pattern, large pattern.
-
Run the SingleTest application. For example, to use two Kinect2 cameras with the calibration file
cameras.xmlobtained in the step 2:./singletest -cam freenect2:[rgb=0,ir=0,depth=1]// -cmod cameras.xml
You should see the GUI application with the depth images and the reconstructed 3D volume:

- Activate the
fuseoption to run the 3D fusion. Deactivate theview onlyoption at some moment to fully render the reconstructed scene.
This example shows how to run KinectFusion by acquiring images from cameras over the network. For that, you need two computers that are connected to the same local network.
Steps for the machine connected to the cameras:
-
Calibrate the cameras as in the section above.
-
Locate the HAL application
CamToNode(HAL/Applications/CamToNode). -
Run the program:
./CamToNode -node camera_node -topic images -fps 30 -cam freenect2:[rgb=0,ir=0,depth=1]//
This will export depth images to the local network through the address camera_node/images.
Steps for the remote machine performing the 3D reconstruction:
- Run SingleTest wit the driver
node: