how to interface web cam with matlab?

I install webcam but in imaqtool it doesn't show. But if i use the command preview(cam), it will work but in imaqtool it doesn't work. What happen? kindly help me with this.

回答(3 个)

Image Analyst
Image Analyst 2016-10-16
编辑:Image Analyst 2016-10-16
What adapters show up in the hardware browser of imaqtool?
You can also use a webcam with the webcam hardware support package without having the Image Acquisition Toolbox at all. Do you want to try that instead?

2 个评论

Thanks for your answer. Yes I want to know hoe to use without imaqtool.
See Walter's link below. In my experience, if I can talk to the webcam from the hardware support package, it will show up in imaqtool also, so I can talk to it in both ways.

请先登录,再进行评论。

Madhura Suresh
Madhura Suresh 2016-10-19
Mallika,
webcam is not a part of the Image Acquisition Toolbox, and will not show up with IMAQTOOL.
If you want your webcam to show up with IMAQTOOL, install the OS Generic Support Package, and the webcam will show up under the winvideo adaptor.

2 个评论

I thought my webcam was showing up in imaqtool even before you had the webcam support package. Maybe not - that was a few years ago. Anyway my webcam shows up in imaqtool now, along with my regular machine vision camera.
The webcam will show up in IMAQTOOL if you have the OS Generic Support package(via the winvideo adaptor). And will also show up with webcamlist if its UVC Compliant.
OS Generic (winvideo) uses Windows Directshow drivers, and webcam uses Windows Media Foundation drivers.

请先登录,再进行评论。

提问:

2016-10-16

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by