diff --git a/doc/release_notes.md b/doc/release_notes.md index f3c105f89f9763703fbcdfbd262679930025d387..aa6df6f9503e04dfcbd0463cc7ce956865e306a1 100644 --- a/doc/release_notes.md +++ b/doc/release_notes.md @@ -416,11 +416,12 @@ OpenPose Library - Release Notes ## Current version - Future OpenPose 1.6.1 1. Main improvements: + 1. Some parts of the documentation have been explained better. 2. Functions or parameters renamed: 3. Main bugs fixed: 1. 90 and 270-degree rotations working again. 2. C++ tutorial API demos only try to cv::imshow the image if it is not empty (avoding the assert that it would trigger otherwise). -4. Changes/additions that affect the compatibility with the OpenPose Unity Plugin: + 3. Several typos fixed in the documentation. diff --git a/src/openpose/net/netCaffe.cpp b/src/openpose/net/netCaffe.cpp index e8505154930a7c91f1c89859473b1fd3c33739eb..986ca11f329fb8e9d36d6aeade823ac8bcb22b05 100644 --- a/src/openpose/net/netCaffe.cpp +++ b/src/openpose/net/netCaffe.cpp @@ -51,9 +51,12 @@ namespace op { try { - const std::string message{".\nPossible causes:\n\t1. Not downloading the OpenPose trained models." - "\n\t2. Not running OpenPose from the same directory where the `model`" - " folder is located.\n\t3. Using paths with spaces."}; + const std::string message{".\nPossible causes:\n" + "\t1. Not downloading the OpenPose trained models.\n" + "\t2. Not running OpenPose from the root directory (i.e., where the `model` folder is located, but do not move the `model` folder!). E.g.,\n" + "\t\tRight example for the Windows portable binary: `cd {OpenPose_root_path}; bin/openpose.exe`\n" + "\t\tWrong example for the Windows portable binary: `cd {OpenPose_root_path}/bin; openpose.exe`\n" + "\t3. Using paths with spaces."}; if (!existFile(mCaffeProto)) error("Prototxt file not found: " + mCaffeProto + message, __LINE__, __FUNCTION__, __FILE__); if (!existFile(mCaffeTrainedModel)) diff --git a/src/openpose/net/netOpenCv.cpp b/src/openpose/net/netOpenCv.cpp index ac48be826034623567c4d4b1014eac1a679a61b9..d2378fad5617ee5ea3959d7c3f5bb4ba84c8e71d 100644 --- a/src/openpose/net/netOpenCv.cpp +++ b/src/openpose/net/netOpenCv.cpp @@ -40,9 +40,12 @@ namespace op mNet{cv::dnn::readNetFromCaffe(caffeProto, caffeTrainedModel)}, spOutputBlob{new caffe::Blob(1,1,1,1)} { - const std::string message{".\nPossible causes:\n\t1. Not downloading the OpenPose trained models." - "\n\t2. Not running OpenPose from the same directory where the `model`" - " folder is located.\n\t3. Using paths with spaces."}; + const std::string message{".\nPossible causes:\n" + "\t1. Not downloading the OpenPose trained models.\n" + "\t2. Not running OpenPose from the root directory (i.e., where the `model` folder is located, but do not move the `model` folder!). E.g.,\n" + "\t\tRight example for the Windows portable binary: `cd {OpenPose_root_path}; bin/openpose.exe`\n" + "\t\tWrong example for the Windows portable binary: `cd {OpenPose_root_path}/bin; openpose.exe`\n" + "\t3. Using paths with spaces."}; if (!existFile(mCaffeProto)) error("Prototxt file not found: " + mCaffeProto + message, __LINE__, __FUNCTION__, __FILE__); if (!existFile(mCaffeTrainedModel))