提交 100eb335 编写于 作者: G Gines Hidalgo

Fixed typo in examples

上级 3d11f48e
......@@ -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++)
// {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册