OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
openCv.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_UTILITIES_OPEN_CV_HPP
2 #define OPENPOSE_UTILITIES_OPEN_CV_HPP
3 
5 
6 namespace op
7 {
8  OP_API void unrollArrayToUCharCvMat(Matrix& matResult, const Array<float>& array);
9 
10  OP_API void uCharCvMatToFloatPtr(float* floatPtrImage, const Matrix& matImage, const int normalize);
11 
12  OP_API double resizeGetScaleFactor(const Point<int>& initialSize, const Point<int>& targetSize);
13 
14  OP_API void keepRoiInside(Rectangle<int>& roi, const int imageWidth, const int imageHeight);
15 
16  OP_API void transpose(Matrix& matrix);
17 
24  OP_API void rotateAndFlipFrame(Matrix& frame, const double rotationAngle, const bool flipFrame = false);
25 
30 
35 
40 
45 
49  OP_API int getCvFourcc(const char c1, const char c2, const char c3, const char c4);
50 
55 
60 
65 
70 }
71 
72 #endif // OPENPOSE_UTILITIES_OPEN_CV_HPP
#define OP_API
Definition: macros.hpp:18
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)