Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how can be used a non Direct Show camera in Vision Assistant 8.5?

I have a non direct show camera like Canon Powershot S2 IS.  This camera has a USB cable. I want to use this camera in Vision Assistant but it is not recognize that? please help me.
thanks
0 Kudos
Message 1 of 12
(5,929 Views)
Hi,

NI does not officially support USB cameras. It is true that we have an NI IMAQ for USB driver on Developer Zone but its only meant to work with DirectShow compatible cameras. If your camera isnt Directshow compatible, I'm afraid theres no way you can directly acquire images in Vision Asst. However, if image analysis is all you need, you could always use your camera software to transfer images to your Hard Drive and then open them in Vision Assistant. Vision Assistant gives you the ability to process multiple images using the Image Browser and Batch Processes.

Please let me know if this helps.

Thank You,
Jaidev

Message Edited by Jaidev on 04-25-2008 08:32 AM
Senior Product Manager
National Instruments
0 Kudos
Message 2 of 12
(5,912 Views)
When we used a camera with DirectShow compatable, it's resolution is low. Do you know a camera with DirectShow compatable and 5MP resolution?
Thanks
0 Kudos
Message 3 of 12
(5,895 Views)
Hi,

The largest resolution USB directshow cameras I know are all about 1.3 MP. For a 5 MP camera, you'll have pretty high data rates and you would probably need to consider a firewire camera.

You should take a look at the NI Camera Advisor at www.ni.com/camera.

Its an online tool that lets you search for and compare cameras from many different manufacturers.

Thanks,
Jaidev
Senior Product Manager
National Instruments
0 Kudos
Message 4 of 12
(5,880 Views)

Hi Jaidev,

 

you are right. I am also facing the same problem.

 

I have 3.0 MP camera and I can only grab Picture upto 1.3 MP.

 

Is there any way to modify this Directshow Dll file to aquire 3.0 MP grabbing ?

 

Pl. suggest.

0 Kudos
Message 5 of 12
(5,437 Views)

Hi Sandess,

 

I am not entirely sure that Directshow imposes a hard limit on the pixel resolution of your camera. Directshow is just a Microsoft API that lets you access your USB hardware. Also, Directshow is from Microsoft and I dont think you can modify it. Even if you could, I am not sure that would address this issue.

 

Thank you,

Jaidev 

Message Edited by Jaidev on 11-13-2008 11:08 AM
Senior Product Manager
National Instruments
0 Kudos
Message 6 of 12
(5,401 Views)

Jaidev,

 

The problem is my camera is grabbing the image in YUY/2 in compressed format and Imaq USB initialisation VI doesnot recognise it.

 

Is there any way to add this property in property node VI and How to decompress the image?

 

Pl. help.

 

Sandesh

0 Kudos
Message 8 of 12
(5,373 Views)

Hi Sandess, 

 

To the extent of my knowledge, the USB driver exposes all the methods that your camera exposes to Directshow. So I am not sure how you can add a property that might not exist. I am going to try and find the answer to this. In the meantime, as Brad mentioned Lumenera makes high res USB cameras. I know that their driver can support call their cameras. You can give their driver a try. Obviously, no guarantees that this will work. Navigate to http://www.lumenera.com/support/download.php  and install National Instruments LabVIEW Plug-in. 

 

Thanks,

 Jaidev

Senior Product Manager
National Instruments
0 Kudos
Message 9 of 12
(5,350 Views)

Hi Sandess,

 

I dont know if you camera is Directshow compatible. If it isnt, it might be worth looking at the Lumenera cameras that Brad mentioned. While you are at it, you might also want to consider a firewire camera if the prices are comparable. Our Firewire driver IMAQdx is completely supported.

 

Thanks,

Jaidev 

Senior Product Manager
National Instruments
0 Kudos
Message 10 of 12
(5,346 Views)