Webcam image capture

A simple example of how to capture image from webcam and slit it to basic color components and replace them between themselves.
1.4K Downloads
Updated 31 Jan 2019

View License

* Require webcam support package https://www.mathworks.com/matlabcentral/fileexchange/45182-matlab-support-package-for-usb-webcams

This script capturing a webcam image, splitting it for color components and replace them between themselves. Will be better to test with bright colored things.

Cite As

Andrey Kiselnikov (2026). Webcam image capture (https://nl.mathworks.com/matlabcentral/fileexchange/70132-webcam-image-capture), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.1

Automatic webcam selection added

1.0.0