Javadoc link

The IP Camera service allows a video feed from a mjpeg source. At the moment, it also allows control of a Foscam pan / tilt camera using the Foscam API.

This can be used to get image data from an IPCamera to OpenCV, however, it is also possible to use OpenCV directly.  OpenCV has an IPCamera framegrabber which will decode the source of an mjpeg server on the internet.

References: