1 #ifndef OPENPOSE_HAND_HAND_DETECTOR_HPP
2 #define OPENPOSE_HAND_HAND_DETECTOR_HPP
26 enum class PosePart : unsigned int
37 const std::array<
unsigned int, (int)PosePart::Size> mPoseIndexes;
38 std::vector<std::array<Point<float>, (int)PosePart::Size>> mPoseTrack;
39 std::vector<Rectangle<float>> mHandLeftPrevious;
40 std::vector<Rectangle<float>> mHandRightPrevious;
41 unsigned long long mCurrentId;
44 std::array<
unsigned int, (int)PosePart::Size> getPoseKeypoints(
const PoseModel poseModel,
45 const std::array<std::string, (
int)PosePart::Size>& poseStrings)
const;
HandDetector(const PoseModel poseModel)
void updateTracker(const std::array< Array< float >, 2 > &handKeypoints, const unsigned long long id)
std::vector< std::array< Rectangle< float >, 2 > > detectHands(const Array< float > &poseKeypoints) const
std::vector< std::array< Rectangle< float >, 2 > > trackHands(const Array< float > &poseKeypoints)
#define DELETE_COPY(className)