OpenPose
1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
peopleJsonSaver.hpp
Go to the documentation of this file.
1
#ifndef OPENPOSE_FILESTREAM_PEOPLE_JSON_SAVER_HPP
2
#define OPENPOSE_FILESTREAM_PEOPLE_JSON_SAVER_HPP
3
4
#include <
openpose/core/common.hpp
>
5
#include <
openpose/filestream/fileSaver.hpp
>
6
7
namespace
op
8
{
9
class
OP_API
PeopleJsonSaver
:
public
FileSaver
10
{
11
public
:
12
PeopleJsonSaver
(
const
std::string& directoryPath);
13
14
virtual
~PeopleJsonSaver
();
15
16
void
save
(
17
const
std::vector<std::pair<
Array<float>
, std::string>>& keypointVector,
18
const
std::vector<std::vector<std::array<float,3>>>& candidates,
const
std::string& fileName,
19
const
bool
humanReadable =
true
)
const
;
20
};
21
}
22
23
#endif
// OPENPOSE_FILESTREAM_PEOPLE_JSON_SAVER_HPP
op::Array< float >
op::FileSaver
Definition:
fileSaver.hpp:10
op::PeopleJsonSaver
Definition:
peopleJsonSaver.hpp:10
op::PeopleJsonSaver::~PeopleJsonSaver
virtual ~PeopleJsonSaver()
op::PeopleJsonSaver::PeopleJsonSaver
PeopleJsonSaver(const std::string &directoryPath)
op::PeopleJsonSaver::save
void save(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=true) const
common.hpp
fileSaver.hpp
OP_API
#define OP_API
Definition:
macros.hpp:18
op
Definition:
cameraParameterReader.hpp:7
include
openpose
filestream
peopleJsonSaver.hpp
Generated by
1.9.1