diff --git a/html/wrapper_8hpp_source.html b/html/wrapper_8hpp_source.html
index 4d6e1e90..06517727 100644
--- a/html/wrapper_8hpp_source.html
+++ b/html/wrapper_8hpp_source.html
@@ -1165,114 +1165,115 @@ $(document).ready(function(){initNavTree('wrapper_8hpp_source.html','');});
- 1202 log(
"Multi-threading disabled, only 1 thread running. All GPUs have been disabled but the first"
- 1203 " one, which is defined by gpuNumberStart (in the demo, it is set with the `num_gpu_start`"
-
- 1205 mThreadManager.add(mThreadId, spWPoses.at(0), queueIn, queueOut);
-
-
-
-
-
- 1211 if (!mUserPostProcessingWs.empty() && mUserPostProcessingWsOnNewThread)
-
-
- 1214 if (!mPostProcessingWs.empty())
-
-
- 1217 mThreadManager.add(mThreadId, mPostProcessingWs, queueIn++, queueOut++);
-
-
-
-
- 1222 mThreadManager.add(mThreadId, mUserPostProcessingWs, queueIn++, queueOut++);
-
-
- 1225 if (!mOutputWs.empty())
-
-
- 1228 mThreadManager.add(mThreadId, mOutputWs, queueIn++, queueOut++);
-
-
-
-
-
-
-
- 1236 auto workersAux = mergeWorkers(mPostProcessingWs, mUserPostProcessingWs);
- 1237 workersAux = mergeWorkers(workersAux, mOutputWs);
- 1238 if (!workersAux.empty())
-
-
- 1241 mThreadManager.add(mThreadId, workersAux, queueIn++, queueOut++);
-
-
-
-
-
- 1247 if (!mUserOutputWs.empty())
-
- 1249 if (mUserOutputWsOnNewThread)
-
- 1251 mThreadManager.add(mThreadId, mUserOutputWs, queueIn++, queueOut++);
-
-
-
- 1255 mThreadManager.add(mThreadId-1, mUserOutputWs, queueIn++, queueOut++);
-
-
- 1258 if (spWGui !=
nullptr)
-
-
- 1261 mThreadManager.add(mThreadId, spWGui, queueIn++, queueOut++);
-
-
-
-
- 1266 catch (
const std::exception& e)
-
- 1268 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
-
-
-
- 1272 template<
typename TDatums,
typename TWorker,
typename TQueue>
- 1273 unsigned long long Wrapper<TDatums, TWorker, TQueue>::threadIdPP()
-
-
-
- 1277 if (mMultiThreadEnabled)
-
-
-
- 1281 catch (
const std::exception& e)
-
- 1283 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
-
-
-
-
- 1288 template<
typename TDatums,
typename TWorker,
typename TQueue>
- 1289 std::vector<TWorker> Wrapper<TDatums, TWorker, TQueue>::mergeWorkers(
const std::vector<TWorker>& workersA,
- 1290 const std::vector<TWorker>& workersB)
-
-
-
- 1294 auto workersToReturn(workersA);
- 1295 for (
auto& worker : workersB)
- 1296 workersToReturn.emplace_back(worker);
- 1297 return workersToReturn;
-
- 1299 catch (
const std::exception& e)
-
- 1301 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
- 1302 return std::vector<TWorker>{};
-
-
-
- 1306 extern template class Wrapper<DATUM_BASE_NO_PTR>;
-
-
- 1309 #endif // OPENPOSE_WRAPPER_WRAPPER_HPP
+ 1202 if (spWPoses.size() > 1)
+ 1203 log(
"Multi-threading disabled, only 1 thread running. All GPUs have been disabled but the"
+ 1204 " first one, which is defined by gpuNumberStart (e.g. in the OpenPose demo, it is set"
+ 1205 " with the `num_gpu_start` flag).");
+ 1206 mThreadManager.add(mThreadId, spWPoses.at(0), queueIn, queueOut);
+
+
+
+
+
+ 1212 if (!mUserPostProcessingWs.empty() && mUserPostProcessingWsOnNewThread)
+
+
+ 1215 if (!mPostProcessingWs.empty())
+
+
+ 1218 mThreadManager.add(mThreadId, mPostProcessingWs, queueIn++, queueOut++);
+
+
+
+
+ 1223 mThreadManager.add(mThreadId, mUserPostProcessingWs, queueIn++, queueOut++);
+
+
+ 1226 if (!mOutputWs.empty())
+
+
+ 1229 mThreadManager.add(mThreadId, mOutputWs, queueIn++, queueOut++);
+
+
+
+
+
+
+
+ 1237 auto workersAux = mergeWorkers(mPostProcessingWs, mUserPostProcessingWs);
+ 1238 workersAux = mergeWorkers(workersAux, mOutputWs);
+ 1239 if (!workersAux.empty())
+
+
+ 1242 mThreadManager.add(mThreadId, workersAux, queueIn++, queueOut++);
+
+
+
+
+
+ 1248 if (!mUserOutputWs.empty())
+
+ 1250 if (mUserOutputWsOnNewThread)
+
+ 1252 mThreadManager.add(mThreadId, mUserOutputWs, queueIn++, queueOut++);
+
+
+
+ 1256 mThreadManager.add(mThreadId-1, mUserOutputWs, queueIn++, queueOut++);
+
+
+ 1259 if (spWGui !=
nullptr)
+
+
+ 1262 mThreadManager.add(mThreadId, spWGui, queueIn++, queueOut++);
+
+
+
+
+ 1267 catch (
const std::exception& e)
+
+ 1269 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
+
+
+
+ 1273 template<
typename TDatums,
typename TWorker,
typename TQueue>
+ 1274 unsigned long long Wrapper<TDatums, TWorker, TQueue>::threadIdPP()
+
+
+
+ 1278 if (mMultiThreadEnabled)
+
+
+
+ 1282 catch (
const std::exception& e)
+
+ 1284 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
+
+
+
+
+ 1289 template<
typename TDatums,
typename TWorker,
typename TQueue>
+ 1290 std::vector<TWorker> Wrapper<TDatums, TWorker, TQueue>::mergeWorkers(
const std::vector<TWorker>& workersA,
+ 1291 const std::vector<TWorker>& workersB)
+
+
+
+ 1295 auto workersToReturn(workersA);
+ 1296 for (
auto& worker : workersB)
+ 1297 workersToReturn.emplace_back(worker);
+ 1298 return workersToReturn;
+
+ 1300 catch (
const std::exception& e)
+
+ 1302 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
+ 1303 return std::vector<TWorker>{};
+
+
+
+ 1307 extern template class Wrapper<DATUM_BASE_NO_PTR>;
+
+
+ 1310 #endif // OPENPOSE_WRAPPER_WRAPPER_HPP
PoseModel poseModel
Definition: wrapperStructPose.hpp:87
Point< int > netInputSize
Definition: wrapperStructPose.hpp:30
diff --git a/html/wrapper_struct_input_8hpp_source.html b/html/wrapper_struct_input_8hpp_source.html
index a19645dc..925e0bb0 100644
--- a/html/wrapper_struct_input_8hpp_source.html
+++ b/html/wrapper_struct_input_8hpp_source.html
@@ -131,13 +131,14 @@ $(document).ready(function(){initNavTree('wrapper_struct_input_8hpp_source.html'
- 59 WrapperStructInput(
const std::shared_ptr<Producer> producerSharedPtr =
nullptr,
const unsigned long long frameFirst = 0,
- 60 const unsigned long long frameLast = -1,
const bool realTimeProcessing =
false,
const bool frameFlip =
false,
- 61 const int frameRotate = 0,
const bool framesRepeat =
false);
-
-
-
- 65 #endif // OPENPOSE_WRAPPER_WRAPPER_STRUCT_INPUT_HPP
+
+ 60 const unsigned long long frameFirst = 0,
const unsigned long long frameLast = -1,
+ 61 const bool realTimeProcessing =
false,
const bool frameFlip =
false,
+ 62 const int frameRotate = 0,
const bool framesRepeat =
false);
+
+
+
+ 66 #endif // OPENPOSE_WRAPPER_WRAPPER_STRUCT_INPUT_HPP