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