Online documentation for Camera

Generated 2006-03-17

Captures individual frames from a camera.

Description

When triggered, this component captures images using a camera, and publishes these images using an embedded web-server. For each captured image which has been published to the web-server, the component publishes the URL at which the image can be found.

The component is compatible with any camera that can be registered with the Java Media Framework (JMF). This includes both web-cams and camera which may be sampled by some capture devices.

Installation

The camera component is dependent upon the installation of the Java Media Framework (JMF) which is downloadable from http://java.sun.com . Before using the component, you should

Configuration

Create an instance of the camera component, and specify the JMF id of your camera using the configCaptureDevice property (though the default value in this property may be sufficient)

Usage

Every time a new value is supplied to the triggerImageCapture property, then your camera should take a picture. The URL of this picture will then appear on the imageLocation property. If available, you may be able to use the SimpleMediaViewer component to view this image.