From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.


Showing results for 
Search instead for 
Did you mean: 

acquiring a webcam image without vision toolbox

I am trying to capture an image from a webcam (or even a cheap digital camera) as part of a project I am doing. I simply want labview to take a picture and save it on command. However, everything i have searched requires the vision toolbox (a $4K+ addition) which is simply out of my range as a student. Does anyone one know a simple way to capture and save an image?



0 Kudos
Message 1 of 14

Hi CanadianK...,

see this link please. You can change the example to only on WebCam.


Hope it helps.


0 Kudos
Message 2 of 14

Do you know if you can record this though? or take a snapshot? I need to set it up so that I can  rotate an object and take snap shots every few degrees of rotation.


I can get the webcam to view in, however I cannot find a way to take the image such that it can be stored.



0 Kudos
Message 3 of 14

Hi CanadianKyle,

there is also a command to send the image to the clipboard. You can then read it from the clipboard to store it to a file.

If you don't find it, then i can send you an example in the evening.



0 Kudos
Message 4 of 14

Hi CanadianKyle,

attached you will find an example which shows how to take a snapshot from your webcam.


Hope it helps.


Message 5 of 14

No it is not working. how i can take snap from laptop camera to labview front panel.

0 Kudos
Message 6 of 14

Hi CanadianKyle,


Examples, tutorials and articles on interfacing a webcam with LabVIEW without NI-IMAQ or some type of NI Vision Acquisition Softare are scarce. Depending on the lifetime of the project you are working on I would recommend downloading an evaluation copy (free for 30 days) of NI-IMAQ from You can then make use of a number of examples to accomplish your goal including the one in the URL below:


Otherwise, I can refer you to these forum posts that could possibly be of some hepl to you:


The evaluation copy of some NI Vision softare is probably you're best bet. Without it, my research doesn't seem to show any standard or straight-forward way to interface a laptop webcam with LabVIEW.


I hope this information helps!



James D.
Applications Engineer
National Instruments
Message 7 of 14

You could use ADVision Toolkit, - it's an OpenCV wrapper. It does have all the limitations of OpenCV, but for simple webcam capture, it should work OK.

0 Kudos
Message 8 of 14

This lib work in LV 2012 ?. thank in advance.

Message 9 of 14

@NICOLAS2013par wrote:

This lib work in LV 2012 ?. thank in advance.

hi NICOLAS2013par,

I haven't tested it in detail, but I was able to install ADV-1_2_6+ (I use plain LabView, no Vision Toolkit) and run those vis I needed - I used LabView 2013 SP1 32bit  on  windows 8.1 64bit



0 Kudos
Message 10 of 14