CameraPoseFinder.FindCameraPose Method
Retrieves the poses in the camera pose finder database that are most similar to the current camera input.
public:
MatchCandidates^ FindCameraPose(
DepthFloatFrame^ depthFloatFrame,
ColorImageFrame^ colorFrame
)
Parameters
- depthFloatFrame
- Type: DepthFloatFrame
The depth float frame to be processed. This frame must have valid camera parameters. Also, this frame must be the same size and have been captured at the same time as the colorFrame parameter. - colorFrame
- Type: ColorImageFrame
The color frame to be processed. This frame must have valid camera parameters. Also, this frame must be the same size and have been captured at the same time as the depthFloatFrame parameter.
Return value
Type: MatchCandidates
Returns a MatchCandidates object that contains a set of matched frames and poses. These poses and similarity measurements are ordered in terms of decreasing similarity.
Returns a MatchCandidates object that contains a set of matched frames and poses. These poses and similarity measurements are ordered in terms of decreasing similarity.
| Exception type | Condition |
|---|---|
| ArgumentException |
One of the following occurred:
|
| ArgumentNullException | The depthFloatFrame or colorFrame parameter is null. |
| InvalidOperationException |
One of the following occurred:
|
Community Additions
ADD
Show: