Obtain images from a webcam or similar device in a (relatively) fast manner
This script provides a basic framework for working with streaming video data in a relatively fast loop. It uses basic functionality from the video acquisition toolbox, specifically the peekdata() function. A timer is provided to estimate loop frequency.
NOTE: This script does not work well in R2014b due to changes to the graphics system. I'm working on this issue...
Cite As
Dennis (2024). Obtain images from a webcam or similar device in a (relatively) fast manner (https://www.mathworks.com/matlabcentral/fileexchange/47117-obtain-images-from-a-webcam-or-similar-device-in-a-relatively-fast-manner), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Image Acquisition Toolbox > Image Data Acquisition >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Data Acquisition >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.