OpenPose
1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Macros
net.hpp
Go to the documentation of this file.
1
#ifndef OPENPOSE_CORE_NET_HPP
2
#define OPENPOSE_CORE_NET_HPP
3
4
#include <
openpose/core/common.hpp
>
5
6
namespace
op
7
{
8
class
OP_API
Net
9
{
10
public
:
11
virtual
void
initializationOnThread() = 0;
12
13
// Alternative a) getInputDataCpuPtr or getInputDataGpuPtr + forwardPass()
14
virtual
float
* getInputDataCpuPtr()
const
= 0;
15
16
virtual
float
* getInputDataGpuPtr()
const
= 0;
17
18
// Alternative b)
19
virtual
void
forwardPass(
const
float
*
const
inputData =
nullptr
)
const
= 0;
20
};
21
}
22
23
#endif // OPENPOSE_CORE_NET_HPP
common.hpp
op::Net
Definition:
net.hpp:8
OP_API
#define OP_API
Definition:
macros.hpp:5
include
openpose
core
net.hpp
Generated by
1.8.6