OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
keypoint.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_UTILITIES_KEYPOINT_HPP
2 #define OPENPOSE_UTILITIES_KEYPOINT_HPP
3 
5 
6 namespace op
7 {
8  OP_API float getDistance(const Array<float>& keypoints, const int person, const int elementA, const int elementB);
9 
10  OP_API void averageKeypoints(Array<float>& keypointsA, const Array<float>& keypointsB, const int personA);
11 
12  OP_API void scaleKeypoints(Array<float>& keypoints, const float scale);
13 
14  OP_API void scaleKeypoints(Array<float>& keypoints, const float scaleX, const float scaleY);
15 
16  OP_API void scaleKeypoints(Array<float>& keypoints, const float scaleX, const float scaleY, const float offsetX,
17  const float offsetY);
18 
19  OP_API void renderKeypointsCpu(Array<float>& frameArray, const Array<float>& keypoints,
20  const std::vector<unsigned int>& pairs, const std::vector<float> colors,
21  const float thicknessCircleRatio, const float thicknessLineRatioWRTCircle,
22  const std::vector<float>& poseScales, const float threshold);
23 
24  OP_API Rectangle<float> getKeypointsRectangle(const Array<float>& keypoints, const int person,
25  const float threshold);
26 
27  OP_API float getAverageScore(const Array<float>& keypoints, const int person);
28 
29  OP_API float getKeypointsArea(const Array<float>& keypoints, const int person, const float threshold);
30 
31  OP_API int getBiggestPerson(const Array<float>& keypoints, const float threshold);
32 }
33 
34 #endif // OPENPOSE_UTILITIES_KEYPOINT_HPP
OP_API float getKeypointsArea(const Array< float > &keypoints, const int person, const float threshold)
OP_API float getDistance(const Array< float > &keypoints, const int person, const int elementA, const int elementB)
OP_API float getAverageScore(const Array< float > &keypoints, const int person)
OP_API Rectangle< float > getKeypointsRectangle(const Array< float > &keypoints, const int person, const float threshold)
OP_API void renderKeypointsCpu(Array< float > &frameArray, const Array< float > &keypoints, const std::vector< unsigned int > &pairs, const std::vector< float > colors, const float thicknessCircleRatio, const float thicknessLineRatioWRTCircle, const std::vector< float > &poseScales, const float threshold)
OP_API void averageKeypoints(Array< float > &keypointsA, const Array< float > &keypointsB, const int personA)
OP_API void scaleKeypoints(Array< float > &keypoints, const float scale)
OP_API int getBiggestPerson(const Array< float > &keypoints, const float threshold)
#define OP_API
Definition: macros.hpp:15