MCPcopy Create free account
hub / github.com/CMU-Perceptual-Computing-Lab/openpose / set

Method set

src/openpose/pose/poseExtractorNet.cpp:339–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 }
338
339 void PoseExtractorNet::set(const PoseProperty property, const double value)
340 {
341 try
342 {
343 auto& propertyElement = mProperties.at((int)property);
344 opLog("Property " + std::to_string((int)property)
345 + " set from " + std::to_string(propertyElement)
346 + " to " + std::to_string(value), Priority::High);
347 propertyElement = value;
348 }
349 catch (const std::exception& e)
350 {
351 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
352 }
353 }
354
355 void PoseExtractorNet::increase(const PoseProperty property, const double value)
356 {

Callers

nothing calls this directly

Calls 3

whatMethod · 0.80
opLogFunction · 0.50
errorFunction · 0.50

Tested by

no test coverage detected