All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
keypointSaver.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_FILESTREAM_KEYPOINT_SAVER_HPP
#define OPENPOSE_FILESTREAM_KEYPOINT_SAVER_HPP
#include <openpose/core/common.hpp>
#include <openpose/filestream/enumClasses.hpp>
#include <openpose/filestream/fileSaver.hpp>
namespace op
{
class OP_API KeypointSaver : public FileSaver
{
public:
KeypointSaver(const std::string& directoryPath, const DataFormat format);
virtual ~KeypointSaver();
void saveKeypoints(const std::vector<Array<float>>& keypointVector, const std::string& fileName,
const std::string& keypointName) const;
private:
const DataFormat mFormat;
};
}
#endif // OPENPOSE_FILESTREAM_KEYPOINT_SAVER_HPP
op::DataFormat
DataFormat
Definition: enumClasses.hpp:6
op::KeypointSaver
Definition: keypointSaver.hpp:10
common.hpp
op::FileSaver
Definition: fileSaver.hpp:9
fileSaver.hpp
enumClasses.hpp
op::Array< float >
cl::vector
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
OP_API
#define OP_API
Definition: macros.hpp:19
cl::string
std::string string
Definition: cl2.hpp:574