Lightact works with Nerian Stereo Cameras. You can use their depth feed for various purposes, interactive installations being probably the most common application. There are several advantages to using a stereo camera system instead of infrared time-of-flight technologies (such as Intel RealSense or, now obsolete, Microsoft Kinect).

To import the depth feed you should first open the Devices window by pressing F7 or going to Window and then clicking on Devices.

nerianDeviceNode insert

Once there, right-click, hover above Nerian stereo camera and then click on Add reader.

nerian scan the network

Select the node and click on Scan button.

selecting nerian ip address

If Lightact finds a Nerian SceneScan device (either a standard or a Pro version) it will appear on the list. Select the appropriate radio button.

nerian streaming

Then, make sure you select the Streaming checkbox and after a few seconds, a green Receiving label should appear. If it doesn’t and you continue to see a grey Waiting for data… label, it might mean your network is not fast enough. This can happen if there are too many network switches or routers between your computer and Nerian SceneScan or if your network card is not fast enough.

In the node’s properties on the right, you can also adjust:

  • the Encoding type: RAW means black and white, whereas the other 2 use colors to encode the depth. In most cases, you’ll be using RAW encoding.
  • the Framerate: leave it at 33 if you want Nerian to stream as fast as it can, which might be slower than 33. The actual maximum framerate depends on the resolution SceneScan is working at (see next chapter) and network speed.

Additional settings

nerian additional settings

If you type in the IP address of Nerian SceneScan, you should see a page similar to this. Here you can calibrate the cameras and adjust various other settings about which you should find more information in Nerian user documentation.

Getting Nerian Depth Feed into Layer Layouts

nerian in layer layouts

To get Nerian camera feed into Layer Layouts, you insert a Nerian Stereo Camera Listener node and, in its properties on the right, select the Nerian stereo camera reader node you inserted in the Devices window.

The node outputs a cvMat, which you can convert to a Texture using a CvMat to Texture node or perform additional computer vision algorithms using various computer vision nodes.

Please note, you can map several Listener nodes in Layouts to one Reader node in the Devices window.


Login to leave your feedback!

Comments are closed.