Better compiler optimizations.
This commit is contained in:
@ -22,7 +22,7 @@ public:
|
||||
* @param min_score Minimum score to consider a triangulated joint as valid.
|
||||
*/
|
||||
Triangulator(
|
||||
double min_score = 0.95);
|
||||
float min_score = 0.95);
|
||||
|
||||
/**
|
||||
* Calculate a triangulation.
|
||||
@ -35,10 +35,10 @@ public:
|
||||
*
|
||||
* @return List of shape [persons, joints, 4], containing the 3D poses.
|
||||
*/
|
||||
std::vector<std::vector<std::array<double, 4>>> triangulate_poses(
|
||||
const std::vector<std::vector<std::vector<std::array<double, 3>>>> &poses_2d,
|
||||
std::vector<std::vector<std::array<float, 4>>> triangulate_poses(
|
||||
const std::vector<std::vector<std::vector<std::array<float, 3>>>> &poses_2d,
|
||||
const std::vector<Camera> &cameras,
|
||||
const std::array<std::array<double, 3>, 2> &roomparams,
|
||||
const std::array<std::array<float, 3>, 2> &roomparams,
|
||||
const std::vector<std::string> &joint_names);
|
||||
|
||||
/** Reset the triangulator. */
|
||||
|
||||
Reference in New Issue
Block a user