Clear Filters
Clear Filters

how to interface web cam with matlab?

3 views (last 30 days)
Rijo
Rijo on 16 Oct 2016
Commented: Madhura Suresh on 15 Nov 2016
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.

Answers (3)

Image Analyst
Image Analyst on 16 Oct 2016
Edited: Image Analyst on 16 Oct 2016
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 Comments
Rijo
Rijo on 16 Oct 2016
Thanks for your answer. Yes I want to know hoe to use without imaqtool.
Image Analyst
Image Analyst on 16 Oct 2016
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.

Sign in to comment.


Walter Roberson
Walter Roberson on 16 Oct 2016

Madhura Suresh
Madhura Suresh on 19 Oct 2016
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 Comments
Image Analyst
Image Analyst on 19 Oct 2016
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.
Madhura Suresh
Madhura Suresh on 15 Nov 2016
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!