NVIDIA DeepStream SDK API Reference
6.4 Release
HeadPose.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
*
4
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
5
* property and proprietary rights in and to this material, related
6
* documentation and any modifications thereto. Any use, reproduction,
7
* disclosure or distribution of this material and related documentation
8
* without an express license agreement from NVIDIA CORPORATION or
9
* its affiliates is strictly prohibited.
10
*
11
* SPDX-FileCopyrightText: Copyright (c) 2021 NVIDIA CORPORATION & AFFILIATES
12
* SPDX-License-Identifier: LicenseRef-NvidiaProprietary
13
*/
14
15
#ifndef CVCORE_HEADPOSE_H_
16
#define CVCORE_HEADPOSE_H_
17
18
#include <memory>
19
#include <vector>
20
21
#include <
cv/core/Array.h
>
22
#include <
cv/core/CameraModel.h
>
23
#include <
cv/core/Core.h
>
24
#include <
cv/core/MathTypes.h
>
25
26
namespace
cvcore
{
namespace
headpose {
27
31
struct
HeadPoseParams
32
{
33
size_t
numLandmarks
;
34
std::vector<double>
facePoints3d
;
35
std::vector<int>
landmarks2dIndices
;
36
};
37
41
class
CVCORE_API
HeadPose
42
{
43
public
:
48
HeadPose
(
const
CameraIntrinsics
&cameraParams);
49
55
HeadPose
(
const
HeadPoseParams
¶ms,
const
CameraIntrinsics
&cameraParams);
56
60
~
HeadPose
();
61
67
void
execute(
Pose3d
&outputPose,
const
Array<Vector2d>
&inputLandmarks);
68
69
private
:
73
struct
HeadPoseImpl;
74
std::unique_ptr<HeadPoseImpl> m_pImpl;
75
};
76
77
}}
// namespace cvcore::headpose
78
79
#endif
cvcore
Definition:
PnP.h:20
cvcore::headpose::HeadPoseParams
Parameters for HeadPose.
Definition:
HeadPose.h:31
MathTypes.h
Array.h
cvcore::headpose::HeadPoseParams::landmarks2dIndices
std::vector< int > landmarks2dIndices
indices for relevant landmarks.
Definition:
HeadPose.h:35
cvcore::Array
Implementation of Array class.
Definition:
Array.h:133
cvcore::Pose3< double >
cvcore::CameraIntrinsics
Struct type used to store Camera Intrinsics.
Definition:
CameraModel.h:140
CVCORE_API
#define CVCORE_API
Definition:
Core.h:24
cvcore::headpose::HeadPoseParams::facePoints3d
std::vector< double > facePoints3d
3d points coordinates for face model.
Definition:
HeadPose.h:34
CameraModel.h
Core.h
cvcore::headpose::HeadPoseParams::numLandmarks
size_t numLandmarks
number of landmarks.
Definition:
HeadPose.h:33
cvcore::headpose::HeadPose
Interface for running HeadPose.
Definition:
HeadPose.h:41
Advance Information | Subject to Change | Generated by NVIDIA | Mon Dec 11 2023 17:51:24 | PR-09318-R32