Documentation

IP Camera Image Acquisition

Acquire images from IP cameras

你创建一个ipcamobject and then use thesnapshotfunction to acquire images from an IP camera. You can acquire a single image or set up a loop to acquire multiple images. Use thepreviewfunction to test the camera stream.

Functions

ipcam Create ipcam object to acquire images from an IP camera
preview Preview live video data from IP camera
snapshot Acquire single image frame from an IP camera
closePreview Close IP camera preview window

Examples and How To

Acquire Images from IP Cameras

This example shows how to use thesnapshotfunction to acquire one image frame from an IP camera and display it.

获得IP摄像机图像在一个循环中nd Create an AVI File

This example shows how to acquire multiple image frames from an IP camera, and log the images to an AVI file using MATLAB®VideoWriter.

Set Properties for IP Camera Acquisition

You can set the Timeout property during or after object creation. You can set device-specific properties using thewebreadfunction.

Acquire Images from an IP Camera Android App

This example shows how to use your Android phone as an IP camera and acquire images from it.

Detect Circles from IP Camera Using Image Processing Toolbox

This example shows how to detect circles from images acquired on the IP camera using Image Processing Toolbox functions.

Concepts

IP Camera Acquisition Overview

You can use the Internet Protocol (IP) Camera support to bring live images into MATLAB from any IP Camera that supports Motion JPEG stream over HTTP or RTSP with basic authentication support.