The RemoteARSystem is an implementation of an Augmented Reality (AR) system that uses the images from a remote webcam.
Here you can see the available methods.
The AR system of EJS is based on ARToolkit, and requires markers that the system can recognize and (optionally) a calibration file for your particular camera.
Here is a collection of over a hundred markers in PDF format, and in GIF format.
Here are some calibration files for particular cameras. Though these files are not absolutely necessary if you don't need much accuracy.
Properties
Visibility and Interaction |
Name | Description | Values accepted | Default |
Enabled | Whether the element displays video from the web cam. | A boolean variable or one of the constants true or false. | false |
Markers | A comma-separated list of markers and sizes (EJS:76,UHU:80,MyMarker:120,...). | A constant or variable of type String. | |
Action | The action to invoke when the user interacts with the element. | The Java code to invoke for the action. | |
Graphical aspect |
Name | Description | Values accepted | Default |
URL | The URL of the remote WebCam. | A constant or variable of type String. | |
Resolution | The Resolution of the images (such as "640,480"). | A constant or variable of type String. | "640,480" |
FPS | The number of frames per second to process from the camera. | A constant or variable of type int. | 10 |
Configuration | An optional configuration file for the camera. | A constant or variable of type String. | |
Username | An optional user name to access a protected camera. | A constant or variable of type String. | |
Password | An optional password to access a protected camera. | A constant or variable of type String. | |