Record video from webcam

2 ビュー (過去 30 日間)
Amir Azadeh Ranjbar
Amir Azadeh Ranjbar 2022 年 9 月 7 日
v = videoinput ( "winvideo" , "1" , "MJPG_640x480" ) ;
v.SelectedSourceName = "input1";
src_v = getselectedsource(v);
get(src_v)
preview(v)
frame = getsnapshot(v)
Error using imaqdevice/getsnapshot
A timeout occurred during GETSNAPSHOT.
  1 件のコメント
Amir Azadeh Ranjbar
Amir Azadeh Ranjbar 2022 年 9 月 7 日
I can not execute these commands
And I get the following error message

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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by