You can use the MATLAB® Internet Protocol (IP) Camera support to bring live images into MATLAB. Images can be from any IP Camera that supports Motion JPEG stream over HTTP or RTSP with basic authentication support. IP cameras, also referred to as netcams or network cameras, are increasingly popular in live image processing applications.
With simple MATLAB functions you can preview your image,
acquire single snapshots from the camera, and optionally set up a
loop of acquired images. The
ipcam function creates
the IP Camera object that is used to acquire images, and the
returns a single image from the camera.
IP Camera support is available only through a hardware support
package. Download and install the necessary files using the Support
Package Installer, which you open by typing
supportPackageInstaller in MATLAB.
On the Select support package to install screen,
IP Cameras from the list.
You can use MATLAB IP Camera support on the following platforms:
Microsoft® Windows® 64-bit
Mac OS X 64-bit