get_camera_frame
Capture a frame from the XREAL RGB camera for computer vision and AR development, with options to save to file and include metadata.
Instructions
Captures a frame from the XREAL RGB camera for computer vision or AR development. Returns image data or saves to a file. Useful for debugging image tracking and mixed reality features.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Image format for saved file | PNG |
| filePath | No | Custom file path to save the image. If not provided, saves to Assets/CapturedFrames/ | |
| cameraType | No | Type of camera data to capture | RGB |
| resolution | No | Resolution of captured frame | Full |
| saveToFile | No | Save the captured frame to a file | |
| includeMetadata | No | Include camera intrinsics and pose in response |