LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I display images acquired with a webcam in native picture control?

Hello, My system: LabVIEW 8.20. NI-IMAQ USB Logitech Webcam Windows XP Problem: I want to continuously diplay the images acquired by the webcam on the front panel. Can I display in the picture control (I do not want to use the Image Display control provided in IMAQ-Vision)? If yes, how do I do it? Thanks, Prashant.
0 Kudos
Message 1 of 4
(3,049 Views)
To my knowledge, most images can be displayed in Picture control.  I'm not sure about a continuous display in the picture control tho, perhaps utilizing the image display to an intensity graph that then goes to a picture control could work for a continuous feed.
0 Kudos
Message 2 of 4
(3,019 Views)
Hi Prashant.
If you have NI-IMAQ installed, you can use "IMAQ ColorImageToArray.vi" to convert a color image to an array.
"Draw Unflattened Pixmap.VI" allows to create a picture from a 2D-array.
Guenter

0 Kudos
Message 3 of 4
(3,004 Views)
 

Hello Prashant,

I suggest you reconsider using the Image Display.  The Image Display was designed for the task of continuously displaying acquired images to the Front Panel.  I would not recommend trying to reinvent the wheel.

If you are using a third party image acquisition driver and are concerned that you cannot generate the "image" data type that you must pass to the Image Display, I suggest you check out our NI-IMAQ for USB Cameras driver.

Best Regards,
T. McCarty

0 Kudos
Message 4 of 4
(2,986 Views)