Processing live video feed with Computer Vision Package

조회 수: 21 (최근 30일)
chucktehengineer
chucktehengineer 2015년 4월 6일
답변: Dima Lisin 2015년 4월 8일
Hi,
I am looking to process a live video stream using MATLAB's computer vision library. The program I am running is currently using the vison.VideoFileReader() function to read from a .avi file.
I am hoping to change the the program to read from a live video feed from a USB webcam. I was wondering if anyone has done anything similar or has any advice on how I might go about implementing this.
Thanks,
Chuck

채택된 답변

Sebastian Castro
Sebastian Castro 2015년 4월 6일
Absolutely. If you have Image Acquisition Toolbox, you can do this with imaq.VideoDevice. If you're on a Windows computer, the 'winvideo' adaptor name will let you do this.
Once you have your frame, the same code you had for your .avi file will hold.
- Sebastian

추가 답변 (1개)

Dima Lisin
Dima Lisin 2015년 4월 8일
Alternatively, if you have a recent version of MATLAB you can use the Webcam Support Package.

Community Treasure Hunt

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

Start Hunting!

Translated by