09-25-2022 11:00 AM
I'm using a usb camera (.h264 video format) with Raspberry pi 3 (Linux based OS).
I can see the live stream of the usb webcam through my browser by entering the ip address.
Is there any way I can bring that video stream to LabVIEW? (I want to do it for making a GUI)
If no, then is there any other way of streaming live video from a usb webcam on Pi board and showing that video on Labview?
09-25-2022 11:40 AM
LabVIEW has a Vision Development Module which has functions that know how to manipulate Images (typically from Web Cams, including the one built into most Laptops) and a separate Vision Acquisition System package that includes the IMAQdx drivers that can accept USB and TCP/IP streams from cameras that adhere to the GenICam standard (like your Laptop camera does).
Bob Schor
09-25-2022 05:16 PM - edited 09-25-2022 05:21 PM
@Bob_Schor wrote:
and a separate Vision Acquisition System package that includes the IMAQdx drivers that can accept USB and TCP/IP streams from cameras that adhere to the GenICam standard (like your Laptop camera does).
But the webpage stream from the Raspi is not a GeniCam standard. You would need a Windows IP camera driver that installs as DirectX driver. This can then be accessed through IMAQdx like the built in Webcam. However, such drivers are manyfold but seldom supported and equally seldom for free. It’s a dying species that many tried to come up with a solution but few were willing to provide for free and all found eventually impossible to maintain and support for the myriads different IP camera standards out there, combined with the fact that very few are willing to pay for something like this as it’s “just” a driver.
09-30-2022 02:02 PM
I've used the code posted here to get USB cameras, or IP based cameras in LabVIEW.
https://forums.ni.com/t5/Example-Code/VLC-scripting-in-LabVIEW/ta-p/3515450
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord