real-time acquiring and displaying image via camera
2 次查看(过去 30 天)
显示 更早的评论
I am using a USB camera to acquire and display frames with some basic image processing (displaying a line on top).
when i write
preview(vid)
i can get a video preview of almost 10FPS dispalyed as video.
but when i code like:
loop start
start(vid);
trigger(vid);
f=getdata(vid,1);
%insertshape to add line to image
imshow(f)
loop ends
the dispaly rate is very slow almost 1 frame per 1.6 sec.
How can I code to acquire and display images faster from my cam?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!