add_tracking_image
Register an image for AR tracking. The system detects and returns its 3D position in camera feed.
Instructions
Adds an image to the image tracking database. The system will detect and track this image in the camera feed, returning its pose in 3D space.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageName | Yes | Unique name for this tracking image | |
| imagePath | Yes | Path to the image file (PNG or JPG) in the Assets folder | |
| movingImage | No | Whether the image may move (enables continuous tracking) | |
| physicalWidth | Yes | Physical width of the image in meters (required for accurate tracking) | |
| physicalHeight | No | Physical height of the image in meters (calculated from aspect ratio if not provided) | |
| enableAtRuntime | No | Whether to track this image immediately | |
| trackingQuality | No | Tracking quality vs performance trade-off | Medium |
| maxTrackingDistance | No | Maximum distance in meters for detection |