Method TryAcquireLatestCpuImage
TryAcquireLatestCpuImage(out XRCpuImage)
Attempts to acquire the latest camera image. This provides direct access to the raw pixel data, as well as to utilities to convert to RGB and Grayscale formats.
Declaration
public bool TryAcquireLatestCpuImage(out XRCpuImage cpuImage)
Parameters
Type | Name | Description |
---|---|---|
XRCpuImage | cpuImage | A valid |
Returns
Type | Description |
---|---|
bool | Returns |
Remarks
The XRCpuImage
must be disposed to avoid resource leaks.