OpenCV (so all 3rdparty deps) removed from headers

This commit is contained in:
Gines Hidalgo
2019-10-06 20:46:48 -04:00
parent b3aceed8e0
commit d5d3427414
185 changed files with 3175 additions and 2003 deletions
@@ -3,7 +3,9 @@
// In this function, the user can implement its own way to create frames (e.g., reading his own folder of images)
// and emplaces/pushes the frames to OpenPose.
// Command-line user intraface
// Third-party dependencies
#include <opencv2/opencv.hpp>
// Command-line user interface
#define OPENPOSE_FLAGS_DISABLE_PRODUCER
#include <openpose/flags.hpp>
// OpenPose dependencies
@@ -49,7 +51,8 @@ public:
datumPtr = std::make_shared<op::Datum>();
// Fill datum
datumPtr->cvInputData = cv::imread(mImageFiles.at(mCounter++));
const cv::Mat cvInputData = cv::imread(mImageFiles.at(mCounter++));
datumPtr->cvInputData = OP_CV2OPCONSTMAT(cvInputData);
// If empty frame -> return nullptr
if (datumPtr->cvInputData.empty())