File size: 860 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
24
25
26
27
28
29
30
31
#ifndef OPENPOSE_3D_POSE_TRIANGULATION_HPP
#define OPENPOSE_3D_POSE_TRIANGULATION_HPP

#include <openpose/core/common.hpp>

namespace op
{
    class OP_API PoseTriangulation
    {
    public:
        PoseTriangulation(const int minViews3d);

        virtual ~PoseTriangulation();

        void initializationOnThread();

        Array<float> reconstructArray(
            const std::vector<Array<float>>& keypointsVector, const std::vector<Matrix>& cameraMatrices,
            const std::vector<Point<int>>& imageSizes) const;

        std::vector<Array<float>> reconstructArray(
            const std::vector<std::vector<Array<float>>>& keypointsVector, const std::vector<Matrix>& cameraMatrices,
            const std::vector<Point<int>>& imageSizes) const;

    private:
        const int mMinViews3d;
    };
}

#endif // OPENPOSE_3D_POSE_TRIANGULATION_HPP