1 #ifndef OPENPOSE_UTILITIES_OPEN_CV_HPP
2 #define OPENPOSE_UTILITIES_OPEN_CV_HPP
OP_API int getCvCapPropFrameCount()
OP_API void unrollArrayToUCharCvMat(Matrix &matResult, const Array< float > &array)
OP_API double resizeGetScaleFactor(const Point< int > &initialSize, const Point< int > &targetSize)
OP_API int getCvCapPropFrameHeight()
OP_API int getCvImwritePngCompression()
OP_API int getCvFourcc(const char c1, const char c2, const char c3, const char c4)
OP_API void uCharCvMatToFloatPtr(float *floatPtrImage, const Matrix &matImage, const int normalize)
OP_API void keepRoiInside(Rectangle< int > &roi, const int imageWidth, const int imageHeight)
OP_API int getCvCapPropFrameWidth()
OP_API void transpose(Matrix &matrix)
OP_API int getCvLoadImageAnydepth()
OP_API int getCvCapPropFrameFps()
OP_API int getCvLoadImageGrayScale()
OP_API int getCvImwriteJpegQuality()
OP_API void rotateAndFlipFrame(Matrix &frame, const double rotationAngle, const bool flipFrame=false)