Tutorial: Integrate a webcam view in a visualization project
To integrate the live feed of a webcam in a visualization project the web server has to host an HTML document that provides that feed. Following models are supported:
- generic:Â Generic.zip
- Axis:Â Axis.zip
- Aviglion:Â Aviglion.zip
Further vendors can be offered on request.
- Extract the suitable zip's content in C:\ProgramData\nxa4\external\global.
- Adapt the settings in the HTML file.
- Ensure that the Web Manager service is running.
- Testing
- local access: use a web browser and access http://localhost:<port>/external/<path-to-camera-file-html>. E.g., the Axis file is located in Axis\axis.html, so the URL is http://localhost/external/Axis/axis.html.
- remote access: on the machine where you intend to run the visualization, open a web browser and access the target file using the web server's IP address, e.g. http://172.16.0.23/external/Axis/axis.html.
- Integrate the view in visualization: create an internet control on a visualization page and use the URL for remote access from the previous step, e.g. http://172.16.0.23/external/Axis/axis.html.
Start the visualization project, and the provided HTML file is displayed in the internet control.