1 #ifndef OPENPOSE_CORE_DATUM_HPP
2 #define OPENPOSE_CORE_DATUM_HPP
4 #ifdef USE_3D_ADAM_MODEL
22 unsigned long long id;
253 #ifdef USE_3D_ADAM_MODEL
255 std::vector<double> adamPosePtr;
257 std::vector<double> adamTranslationPtr;
258 std::vector<double> vtVecPtr;
260 std::vector<double> j0VecPtr;
262 std::vector<double> adamFaceCoeffsExpPtr;
263 int adamFaceCoeffsExpRows;
266 Eigen::Matrix<double, 62, 3, Eigen::RowMajor> adamPose;
267 Eigen::Vector3d adamTranslation;
269 Eigen::Matrix<double, Eigen::Dynamic, 1> vtVec;
270 Eigen::Matrix<double, Eigen::Dynamic, 1> j0Vec;
271 Eigen::VectorXd adamFaceCoeffsExp;
348 return id < datum.
id || (
id == datum.
id && subId < datum.
subId);
358 return id > datum.
id || (
id == datum.
id && subId > datum.
subId);
368 return id < datum.
id || (
id == datum.
id && subId <= datum.
subId);
378 return id > datum.
id || (
id == datum.
id && subId >= datum.
subId);
388 return id == datum.
id && subId == datum.
subId;
398 return id != datum.
id || subId != datum.
subId;
403 #define BASE_DATUM Datum
404 #define BASE_DATUMS std::vector<std::shared_ptr<BASE_DATUM>>
405 #define BASE_DATUMS_SH std::shared_ptr<BASE_DATUMS>
406 #define DEFINE_TEMPLATE_DATUM(templateName) template class OP_API templateName<BASE_DATUMS_SH>
407 #define COMPILE_TEMPLATE_DATUM(templateName) extern template class templateName<BASE_DATUMS_SH>
std::vector< Rectangle< float > > faceRectangles
std::vector< double > scaleInputToNetInputs
Datum & operator=(Datum &&datum)
std::array< Array< float >, 2 > handKeypoints3D
bool operator<=(const Datum &datum) const
std::vector< Point< int > > netInputSizes
std::pair< int, std::string > elementRendered
Array< float > outputData
Datum(const Datum &datum)
std::vector< Array< float > > inputNetData
std::vector< std::array< Rectangle< float >, 2 > > handRectangles
Array< float > poseHeatMaps
std::vector< std::vector< std::array< float, 3 > > > poseCandidates
std::array< Array< float >, 2 > handKeypoints
Array< float > poseKeypoints3D
double scaleInputToOutput
Array< float > poseKeypoints
Datum & operator=(const Datum &datum)
bool operator>(const Datum &datum) const
bool operator!=(const Datum &datum) const
unsigned long long frameNumber
Array< float > poseNetOutput
Array< float > faceKeypoints3D
bool operator<(const Datum &datum) const
unsigned long long subIdMax
bool operator>=(const Datum &datum) const
Array< long long > poseIds
Point< int > netOutputSize
Array< float > faceHeatMaps
bool operator==(const Datum &datum) const
Array< float > faceKeypoints
std::array< Array< float >, 2 > handHeatMaps
Array< float > poseScores