| | #ifndef OPENPOSE_UTILITIES_OPEN_CV_HPP |
| | #define OPENPOSE_UTILITIES_OPEN_CV_HPP |
| |
|
| | #include <openpose/core/common.hpp> |
| |
|
| | namespace op |
| | { |
| | OP_API void unrollArrayToUCharCvMat(Matrix& matResult, const Array<float>& array); |
| |
|
| | OP_API void uCharCvMatToFloatPtr(float* floatPtrImage, const Matrix& matImage, const int normalize); |
| |
|
| | OP_API double resizeGetScaleFactor(const Point<int>& initialSize, const Point<int>& targetSize); |
| |
|
| | OP_API void keepRoiInside(Rectangle<int>& roi, const int imageWidth, const int imageHeight); |
| |
|
| | OP_API void transpose(Matrix& matrix); |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | OP_API void rotateAndFlipFrame(Matrix& frame, const double rotationAngle, const bool flipFrame = false); |
| |
|
| | |
| | |
| | |
| | OP_API int getCvCapPropFrameCount(); |
| |
|
| | |
| | |
| | |
| | OP_API int getCvCapPropFrameFps(); |
| |
|
| | |
| | |
| | |
| | OP_API int getCvCapPropFrameWidth(); |
| |
|
| | |
| | |
| | |
| | OP_API int getCvCapPropFrameHeight(); |
| |
|
| | |
| | |
| | |
| | OP_API int getCvFourcc(const char c1, const char c2, const char c3, const char c4); |
| |
|
| | |
| | |
| | |
| | OP_API int getCvImwriteJpegQuality(); |
| |
|
| | |
| | |
| | |
| | OP_API int getCvImwritePngCompression(); |
| |
|
| | |
| | |
| | |
| | OP_API int getCvLoadImageAnydepth(); |
| |
|
| | |
| | |
| | |
| | OP_API int getCvLoadImageGrayScale(); |
| | } |
| |
|
| | #endif |
| |
|