1 #ifndef OPENPOSE_CORE_OP_OUTPUT_TO_CV_MAT_HPP
2 #define OPENPOSE_CORE_OP_OUTPUT_TO_CV_MAT_HPP
16 const std::tuple<std::shared_ptr<float*>, std::shared_ptr<bool>, std::shared_ptr<unsigned long long>>& tuple);
21 const bool mGpuResize;
23 std::shared_ptr<float*> spOutputImageFloatCuda;
24 std::shared_ptr<unsigned long long> spOutputMaxSize;
25 std::shared_ptr<bool> spGpuMemoryAllocated;
27 unsigned char* pOutputImageUCharCuda;
28 unsigned long long mOutputMaxSizeUChar;
OpOutputToCvMat(const bool gpuResize=false)
Matrix formatToCvMat(const Array< float > &outputData)
void setSharedParameters(const std::tuple< std::shared_ptr< float * >, std::shared_ptr< bool >, std::shared_ptr< unsigned long long >> &tuple)
virtual ~OpOutputToCvMat()