OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
fileStream.hpp File Reference

Go to the source code of this file.

Namespaces

 op
 

Functions

OP_API std::string op::dataFormatToString (const DataFormat dataFormat)
 
OP_API DataFormat op::stringToDataFormat (const std::string &dataFormat)
 
OP_API void op::saveFloatArray (const Array< float > &array, const std::string &fullFilePath)
 
OP_API void op::saveData (const std::vector< Matrix > &opMats, const std::vector< std::string > &cvMatNames, const std::string &fileNameNoExtension, const DataFormat dataFormat)
 
OP_API void op::saveData (const Matrix &opMat, const std::string cvMatName, const std::string &fileNameNoExtension, const DataFormat dataFormat)
 
OP_API std::vector< Matrix > op::loadData (const std::vector< std::string > &cvMatNames, const std::string &fileNameNoExtension, const DataFormat dataFormat)
 
OP_API Matrix op::loadData (const std::string &cvMatName, const std::string &fileNameNoExtension, const DataFormat dataFormat)
 
OP_API void op::savePeopleJson (const Array< float > &keypoints, const std::vector< std::vector< std::array< float, 3 >>> &candidates, const std::string &keypointName, const std::string &fileName, const bool humanReadable)
 
OP_API void op::savePeopleJson (const std::vector< std::pair< Array< float >, std::string >> &keypointVector, const std::vector< std::vector< std::array< float, 3 >>> &candidates, const std::string &fileName, const bool humanReadable)
 
OP_API void op::saveImage (const Matrix &matrix, const std::string &fullFilePath, const std::vector< int > &openCvCompressionParams={getCvImwriteJpegQuality(), 100, getCvImwritePngCompression(), 9})
 
OP_API Matrix op::loadImage (const std::string &fullFilePath, const int openCvFlags=getCvLoadImageAnydepth())
 
OP_API std::vector< std::array< Rectangle< float >, 2 > > op::loadHandDetectorTxt (const std::string &txtFilePath)