05-06-2020 05:17 AM
Is it possible to acquire images from a camera in LabVIEW NXG ? and does it will generate web code for the same ?
05-06-2020 07:14 AM
Of course, you can acquire an image using Vision Acquisition Software (VAS).
But if I understood correctly, VAS doesn't generate HTML code automatically.
NXG Web Module doesn't support any hardware such as USB Camera.
I don't have an expertise of HTML/CSS/Javascript so, I don't know those programming Technics resolve the problem or not.
05-07-2020 08:44 AM
Hi piZviZ,
For acquiring images from a WebVI, it definitely depends on what you are trying to do. As a general starting point, have you seen this example:
https://github.com/ni/webvi-examples/tree/master/EmbedContentIntoWebVI
Thanks,
Frank
03-26-2021 05:33 PM
For the LabVIEW NXG Web Module the File for WebVI example includes a Capture Image as File VI that allows the user to capture an image from their webcam or open an image from disk. Due to browser restrictions the user needs to manually give permission to the webcam to capture an image. You can see a demo of the library online.