| 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 | { |