LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a USB camera to identify a metal subject using labview

Hi

I want to know how to use the vision and motion module as to set a USB camera as an input to identify an object using labview , i need this to control the production line as when the camera see a squar metal object it will go to the left , if it see triangle metal object it will go to the right and soo on .

Thanks 🙂

0 Kudos
Message 1 of 4
(1,270 Views)

Hi,

you need the IMAQ USB Driver. See this link

http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=411729#M411729

 

If you get the images from your USB cam, then you have to find your objects and make the decision on the result.

 

Hope it helps.

Mike

 

 

0 Kudos
Message 2 of 4
(1,266 Views)

A better link would be:

NI-IMAQ for USB Cameras

 

It mentions two important things:

1. NI-IMAQ for USB Cameras driver software allows users to configure any DirectShow imaging device and acquire images into LabVIEW.

2. Note: Although NI-IMAQ for USB Cameras comes with  documentation, it is not officially supported by the National Instruments Corp.

 

After you have downloaded the driver, there are shipped examples that should get you started with programming. If you have any specific questions, post back.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 3 of 4
(1,255 Views)

Hey,

 

As mentioned previously in this thread, you are going to need NI IMAQ for USB to acquire from your camera. In addition to the driver, you are also going to need NI Vision Development Module to do processing on the image. Once you have the driver to acquire from the camera and the software to process the image, you can generate the code to perform your inspection.

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 4 of 4
(1,224 Views)