Fixed typo in examples

This commit is contained in:
Gines Hidalgo
2019-10-13 11:29:55 -04:00
parent 3d11f48e6d
commit 100eb3353c
@@ -52,14 +52,14 @@ void printKeypoints(const std::shared_ptr<std::vector<std::shared_ptr<op::Datum>
op::opLog("Body keypoints: " + datumsPtr->at(0)->poseKeypoints.toString(), op::Priority::High);
// // Alternative 2
// op::opLog(datumsPtr->at(0).poseKeypoints, op::Priority::High);
// op::opLog(datumsPtr->at(0)->poseKeypoints, op::Priority::High);
// // Alternative 3
// std::cout << datumsPtr->at(0).poseKeypoints << std::endl;
// std::cout << datumsPtr->at(0)->poseKeypoints << std::endl;
// // Alternative 4 - Accesing each element of the keypoints
// op::opLog("\nKeypoints:", op::Priority::High);
// const auto& poseKeypoints = datumsPtr->at(0).poseKeypoints;
// const auto& poseKeypoints = datumsPtr->at(0)->poseKeypoints;
// op::opLog("Person pose keypoints:", op::Priority::High);
// for (auto person = 0 ; person < poseKeypoints.getSize(0) ; person++)
// {