Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancing USB Camera Image Resolution in LabVIEW

Solved!
Go to solution

I used imaqdx on another computer today running labview 2011, and the webcam works! I was able to acquire an image at 2.0M pixel; the only problem is the webcam is cheap and doesn't have auto focus, now I need to find another usb webcam, any suggestions ??

0 Kudos
Message 11 of 23
(2,325 Views)

Hi 7ayoriader,

 

I'm glad you got it working! You can go to our Industrial Camera Advisor page and see a list of supported cameras. Hope this helps!

 

Mychal F

Applications Engineer
National Instruments
0 Kudos
Message 12 of 23
(2,311 Views)

On the subject of camera focus, I was wondering if it is possible to adjust this from within Labview? Preferably, I would like to have a focus slider bar that I can adjust from the front panel of my VI. Can this happen?

0 Kudos
Message 13 of 23
(2,286 Views)

Dear brjohns

 

However this is not programmability possible with normal lenses of the camera, there are certain lenses available in the market with motorized zoom and focus. You can do with this.

---
Silver_Shaper | CLD
0 Kudos
Message 14 of 23
(2,277 Views)

Hi Sazi,

 

Thank you for the response. I do believe my camera has motorized focus, because there is a focus slider bar included within the software that came with the camera. This is what makes me believe that I could potentially program this into Labview. The problem is that I have no idea how to go about this.

 

If this cannot be achieved, I guess I will have to try and "trick" the camera into focusing how I want it to.

0 Kudos
Message 15 of 23
(2,258 Views)

Many USB webcameras with internal lenses have a built-in focus that can be accessed programatically. Moreover, DirectShow has a specific interface for this that IMAQdx supports. It would be up to the camera vendor to ensure that they have implemented the proper DirectShow interface for this to be accessible via IMAQdx.

 

Eric

0 Kudos
Message 16 of 23
(2,251 Views)

Thanks Eric! I will look into this and post what I find out.

0 Kudos
Message 17 of 23
(2,242 Views)

hi brjohns,

 

I got the same problem as yours. My USB camera has a resolution of 1024x768. I tried with NI-IMAQdx (Labview 2010) but I could not get the full resolution.

 

Could you show your solution in detail?

 

Thanks in advance!

 

nhoang.

0 Kudos
Message 18 of 23
(2,233 Views)

I have attached my camera VI file. Hope this helps.

0 Kudos
Message 19 of 23
(2,217 Views)

thank brjohns,

 

I have tried your program with my USB camera, but the problem still exists.

 

the reason may be the camera driver. It is not fully compliant with Direct Show.

0 Kudos
Message 20 of 23
(2,207 Views)