I have used Nuitrack and Orbbec Astra to collect information from the joints. Which has worked very well.
Now I need to save the videos from the data collection sessions. I wanted to do it with Orbbec Astra but I do not know how.
Can someone please help me with this.
You can use the
Depth Sensor Module and Color Sensor Module to get depth frames and color frames from the sensor. Then, you can use DepthFrame and RGBFrame classes to get the required data. Unfortunately, Nuitrack API doesn’t have a method for saving the video.
I was successful saving the frames as images to file using OpenCV
I am building an application that needs to save nuitrack skeleton data as well as raw image data.
Using DepthSensor and ColorSensor from Nuitrack API I can get the image data, and I want to save it using cv::imwrite() function from OpenCV.
I noticed that nuitrack installation comes with opencv (2.4.8) shared libraries in /usr/local/lib/nuitrack, so I downloaded the opencv2.4 include headers from github and wrote CMakeLists.txt as: