op::COMPILE_TEMPLATE_DATUM |
( |
- WPoseTriangulation |
+ WGui3D |
| ) |
|
diff --git a/html/w_gui3_d_8hpp_source.html b/html/w_gui3_d_8hpp_source.html
index d5cfdb7aaedf34b2bc2a2bac73a7922bcf13637b..24101b11ac547e03883fc0f8fa7a21c7164dcfb3 100644
--- a/html/w_gui3_d_8hpp_source.html
+++ b/html/w_gui3_d_8hpp_source.html
@@ -172,39 +172,42 @@ $(document).ready(function(){initNavTree('w_gui3_d_8hpp_source.html','');});
- 66 if (!tDatums->empty())
-
-
- 69 auto& tDatum = (*tDatums)[0];
-
- 71 std::vector<cv::Mat> cvOutputDatas;
- 72 for (
auto& tDatum : *tDatums)
- 73 cvOutputDatas.emplace_back(tDatum.cvOutputData);
- 74 spGui3D->setImage(cvOutputDatas);
-
+
+ 67 if (!tDatums->empty())
+
+
+ 70 std::vector<cv::Mat> cvOutputDatas;
+ 71 for (
auto& tDatum : *tDatums)
+ 72 cvOutputDatas.emplace_back(tDatum.cvOutputData);
+ 73 spGui3D->setImage(cvOutputDatas);
+
+ 75 auto& tDatum = (*tDatums)[0];
76 spGui3D->setKeypoints(tDatum.poseKeypoints3D, tDatum.faceKeypoints3D, tDatum.handKeypoints3D[0],
77 tDatum.handKeypoints3D[1]);
-
-
-
-
-
-
-
-
-
-
- 88 catch (
const std::exception& e)
-
-
- 91 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
-
-
-
-
-
+
+
+
+
+ 82 if (!tDatums->empty())
+
+
+
+
+
+
+
+
+ 91 catch (
const std::exception& e)
+
+
+ 94 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
+
+
- 98 #endif // OPENPOSE_GUI_W_GUI_3D_HPP
+
+
+
+ 101 #endif // OPENPOSE_GUI_W_GUI_3D_HPP
Definition: workerConsumer.hpp:10
void workConsumer(const TDatums &tDatums)
Definition: wGui3D.hpp:55
diff --git a/html/w_gui_8hpp_source.html b/html/w_gui_8hpp_source.html
index a6e3d9891057686e6be6f9aed7be36d34f385db0..797242c13c75a00c335a41a8d7ee38c8e67c1d3b 100644
--- a/html/w_gui_8hpp_source.html
+++ b/html/w_gui_8hpp_source.html
@@ -168,22 +168,22 @@ $(document).ready(function(){initNavTree('w_gui_8hpp_source.html','');});
60 if (tDatums !=
nullptr)
-
- 63 if (tDatums->size() > 1)
- 64 error(
"Only implemented for tDatums->size() == 1", __LINE__, __FUNCTION__, __FILE__);
-
-
-
-
-
- 70 auto& tDatumsNoPtr = *tDatums;
-
- 72 const auto cvOutputData = (!tDatumsNoPtr.empty() ? tDatumsNoPtr[0].cvOutputData : cv::Mat());
- 73 spGui->setImage(cvOutputData);
+
+
+
+
+
+ 67 if (!tDatums->empty())
+
+ 69 std::vector<cv::Mat> cvOutputDatas;
+ 70 for (
auto& tDatum : *tDatums)
+ 71 cvOutputDatas.emplace_back(tDatum.cvOutputData);
+ 72 spGui->setImage(cvOutputDatas);
+
- 77 if (!tDatumsNoPtr.empty())
+ 77 if (!tDatums->empty())
diff --git a/html/w_people_json_saver_8hpp_source.html b/html/w_people_json_saver_8hpp_source.html
index 8f89dafb1e462b69b9fc50eabb5c7051ad03438c..4ce1f12fbfd1ba922e21848a7d3d0cbe351dcfbe 100644
--- a/html/w_people_json_saver_8hpp_source.html
+++ b/html/w_people_json_saver_8hpp_source.html
@@ -175,32 +175,38 @@ $(document).ready(function(){initNavTree('w_people_json_saver_8hpp_source.html',
66 const auto fileName = baseFileName + (i != 0 ?
"_" + std::to_string(i) :
"");
68 const std::vector<std::pair<Array<float>, std::string>> keypointVector{
- 69 std::make_pair(tDatum.poseKeypoints,
"pose_keypoints"),
- 70 std::make_pair(tDatum.faceKeypoints,
"face_keypoints"),
- 71 std::make_pair(tDatum.handKeypoints[0],
"hand_left_keypoints"),
- 72 std::make_pair(tDatum.handKeypoints[1],
"hand_right_keypoints")
-
-
- 75 spPeopleJsonSaver->save(keypointVector, tDatum.poseCandidates, fileName, humanReadable);
-
-
-
-
-
-
-
-
- 84 catch (
const std::exception& e)
-
-
- 87 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
-
-
-
-
-
-
- 94 #endif // OPENPOSE_FILESTREAM_W_PEOPLE_JSON_SAVER_HPP
+
+ 70 std::make_pair(tDatum.poseKeypoints,
"pose_keypoints"),
+ 71 std::make_pair(tDatum.faceKeypoints,
"face_keypoints"),
+ 72 std::make_pair(tDatum.handKeypoints[0],
"hand_left_keypoints"),
+ 73 std::make_pair(tDatum.handKeypoints[1],
"hand_right_keypoints"),
+
+ 75 std::make_pair(tDatum.poseKeypoints3D,
"pose_keypoints_3d"),
+ 76 std::make_pair(tDatum.faceKeypoints3D,
"face_keypoints_3d"),
+ 77 std::make_pair(tDatum.handKeypoints3D[0],
"hand_left_keypoints_3d"),
+ 78 std::make_pair(tDatum.handKeypoints3D[1],
"hand_right_keypoints_3d")
+
+
+ 81 spPeopleJsonSaver->save(keypointVector, tDatum.poseCandidates, fileName, humanReadable);
+
+
+
+
+
+
+
+
+ 90 catch (
const std::exception& e)
+
+
+ 93 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
+
+
+
+
+
+
+ 100 #endif // OPENPOSE_FILESTREAM_W_PEOPLE_JSON_SAVER_HPP
Definition: workerConsumer.hpp:10
void initializationOnThread()
Definition: wPeopleJsonSaver.hpp:42