How to take a capture with the webcam?

1 回表示 (過去 30 日間)
Juan Pablo Restrepo Uribe
Juan Pablo Restrepo Uribe 2017 年 11 月 6 日
hello
I'm trying to capture a video that I get directly from the web, but at the moment of checking the capture I realize that this is not in the real colors, if not in green or blue, I want to know how to correct this error The code I use is the following:
vid=videoinput('winvideo');
start(vid);
picture=getdata(vid,1);
preview(vid)
imaqmontage(picture);
the stored image is
Thanks

採用された回答

Walter Roberson
Walter Roberson 2017 年 11 月 7 日
  1 件のコメント
Juan Pablo Restrepo Uribe
Juan Pablo Restrepo Uribe 2017 年 11 月 7 日
thanks, that was the inconvenience

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by