1 #ifndef OPENPOSE_UTILITIES_OPEN_CV_HPP
2 #define OPENPOSE_UTILITIES_OPEN_CV_HPP
4 #include <opencv2/core/core.hpp>
5 #include <opencv2/imgproc/imgproc.hpp>
11 const cv::Scalar& color,
const bool normalizeWidth,
const int imageWidth);
20 const int borderMode = cv::BORDER_CONSTANT,
21 const cv::Scalar& borderValue = cv::Scalar{0,0,0});
24 #endif // OPENPOSE_UTILITIES_OPEN_CV_HPP
std::array< T, N > array
Definition: cl2.hpp:594
OP_API void putTextOnCvMat(cv::Mat &cvMat, const std::string &textToDisplay, const Point< int > &position, const cv::Scalar &color, const bool normalizeWidth, const int imageWidth)
OP_API void uCharCvMatToFloatPtr(float *floatPtrImage, const cv::Mat &cvImage, const int normalize)
OP_API cv::Mat resizeFixedAspectRatio(const cv::Mat &cvMat, const double scaleFactor, const Point< int > &targetSize, const int borderMode=cv::BORDER_CONSTANT, const cv::Scalar &borderValue=cv::Scalar{0, 0, 0})
OP_API double resizeGetScaleFactor(const Point< int > &initialSize, const Point< int > &targetSize)
OP_API void unrollArrayToUCharCvMat(cv::Mat &cvMatResult, const Array< float > &array)
#define OP_API
Definition: macros.hpp:18
std::string string
Definition: cl2.hpp:574