File size: 502 Bytes
7fc5a59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef OPENPOSE_CORE_KEEP_TOP_N_PEOPLE_HPP
#define OPENPOSE_CORE_KEEP_TOP_N_PEOPLE_HPP

#include <openpose/core/common.hpp>

namespace op
{
    class OP_API KeepTopNPeople
    {
    public:
        explicit KeepTopNPeople(const int numberPeopleMax);

        virtual ~KeepTopNPeople();

        Array<float> keepTopPeople(const Array<float>& peopleArrays, const Array<float>& poseScores) const;

    private:
        const int mNumberPeopleMax;
    };
}

#endif // OPENPOSE_CORE_KEEP_TOP_N_PEOPLE_HPP