OpenPose
1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
keypointSaver.hpp
Go to the documentation of this file.
1
#ifndef OPENPOSE_FILESTREAM_KEYPOINT_SAVER_HPP
2
#define OPENPOSE_FILESTREAM_KEYPOINT_SAVER_HPP
3
4
#include <
openpose/core/common.hpp
>
5
#include <
openpose/filestream/enumClasses.hpp
>
6
#include <
openpose/filestream/fileSaver.hpp
>
7
8
namespace
op
9
{
10
class
OP_API
KeypointSaver
:
public
FileSaver
11
{
12
public
:
13
KeypointSaver
(
const
std::string& directoryPath,
const
DataFormat
format);
14
15
virtual
~KeypointSaver
();
16
17
void
saveKeypoints
(
const
std::vector<
Array<float>
>& keypointVector,
const
std::string& fileName,
18
const
std::string& keypointName)
const
;
19
20
private
:
21
const
DataFormat
mFormat;
22
};
23
}
24
25
#endif
// OPENPOSE_FILESTREAM_KEYPOINT_SAVER_HPP
op::Array< float >
op::FileSaver
Definition:
fileSaver.hpp:10
op::KeypointSaver
Definition:
keypointSaver.hpp:11
op::KeypointSaver::~KeypointSaver
virtual ~KeypointSaver()
op::KeypointSaver::KeypointSaver
KeypointSaver(const std::string &directoryPath, const DataFormat format)
op::KeypointSaver::saveKeypoints
void saveKeypoints(const std::vector< Array< float >> &keypointVector, const std::string &fileName, const std::string &keypointName) const
common.hpp
fileSaver.hpp
enumClasses.hpp
OP_API
#define OP_API
Definition:
macros.hpp:18
op
Definition:
cameraParameterReader.hpp:7
op::DataFormat
DataFormat
Definition:
enumClasses.hpp:7
include
openpose
filestream
keypointSaver.hpp
Generated by
1.9.1