To import a video camera stream open Devices window by going to Window top menu and clicking on Devices (or by pressing F7).
IP Cameras
To import a video stream from an IP camera you first have to insert an IP camera node into the Devices window. We do that by right-clicking somewhere on the left side, hovering above IP Camera and clicking on Add new.
When you do that a popup window will open where you can enter the IP address of the camera.
If you don’t know it yet, just leave it as it is – you can always change it later. After clicking OK an IP camera node will appear.
If you select it, you’ll see its properties on the right.
Please note: Lightact has been tested with Axis cameras for which the setup process should be pretty straightforward. For others, you might have to modify it a bit.
In the Username and Password fields type in the username and password you need in order to get access to the video feed of the camera. In the IP address type in the correct IP address of the camera. Please don’t forget to click on Change IP button after you’ve changed the IP.
Whenever you change these values the URL field will automatically change as well. Feel free to check it and if everything is set up correctly you should be able to copy this URL and paste it into a browser and see a video stream of the camera.
Getting the stream into Layer Layouts
You import the camera stream with an IP camera reader node.
In its properties on the right, you should select the IP Camera node from the Devices window.
The output of the node is of cvMat type which can be directly connected to various computer vision nodes.
The above layout, for example, uses the cvMat to Texture node to convert cvMat to a texture which is then connected to the Render to canvas node.