1 #ifndef OPENPOSE_UTILITIES_KEYPOINT_HPP
2 #define OPENPOSE_UTILITIES_KEYPOINT_HPP
9 T
getDistance(
const Array<T>& keypoints,
const int person,
const int elementA,
const int elementB);
25 Array<T>& frameArray,
const Array<T>& keypoints,
const std::vector<unsigned int>& pairs,
26 const std::vector<T> colors,
const T thicknessCircleRatio,
const T thicknessLineRatioWRTCircle,
27 const std::vector<T>& poseScales,
const T threshold);
31 const Array<T>& keypoints,
const int person,
const T threshold,
const int firstIndex = 0,
32 const int lastIndex = -1);
51 const Array<T>& keypointsA,
const int personA,
const Array<T>& keypointsB,
const int personB,
74 const Array<T>& keypointsA,
const int personA,
const Array<T>& keypointsB,
const int personB,
T getAverageScore(const Array< T > &keypoints, const int person)
T getKeypointsArea(const Array< T > &keypoints, const int person, const T threshold)
void averageKeypoints(Array< T > &keypointsA, const Array< T > &keypointsB, const int personA)
float getKeypointsRoi(const Array< T > &keypoints, const int personA, const int personB, const T threshold)
Array< T > getKeypointsPerson(const Array< T > &keypoints, const int person, const bool noCopy=false)
void renderKeypointsCpu(Array< T > &frameArray, const Array< T > &keypoints, const std::vector< unsigned int > &pairs, const std::vector< T > colors, const T thicknessCircleRatio, const T thicknessLineRatioWRTCircle, const std::vector< T > &poseScales, const T threshold)
int getNonZeroKeypoints(const Array< T > &keypoints, const int person, const T threshold)
void scaleKeypoints2d(Array< T > &keypoints, const T scaleX, const T scaleY)
void scaleKeypoints(Array< T > &keypoints, const T scale)
Rectangle< T > getKeypointsRectangle(const Array< T > &keypoints, const int person, const T threshold, const int firstIndex=0, const int lastIndex=-1)
T getDistance(const Array< T > &keypoints, const int person, const int elementA, const int elementB)
int getBiggestPerson(const Array< T > &keypoints, const T threshold)
T getDistanceAverage(const Array< T > &keypoints, const int personA, const int personB, const T threshold)