OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
keepTopNPeople.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_CORE_KEEP_TOP_N_PEOPLE_HPP
2 #define OPENPOSE_CORE_KEEP_TOP_N_PEOPLE_HPP
3 
5 
6 namespace op
7 {
9  {
10  public:
11  explicit KeepTopNPeople(const int numberPeopleMax);
12 
13  virtual ~KeepTopNPeople();
14 
15  Array<float> keepTopPeople(const Array<float>& peopleArrays, const Array<float>& poseScores) const;
16 
17  private:
18  const int mNumberPeopleMax;
19  };
20 }
21 
22 #endif // OPENPOSE_CORE_KEEP_TOP_N_PEOPLE_HPP
Array< float > keepTopPeople(const Array< float > &peopleArrays, const Array< float > &poseScores) const
virtual ~KeepTopNPeople()
KeepTopNPeople(const int numberPeopleMax)
#define OP_API
Definition: macros.hpp:18