File size: 683 Bytes
7fc5a59 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #ifndef OPENPOSE_HAND_HAND_DETECTOR_FROM_TXT_HPP
#define OPENPOSE_HAND_HAND_DETECTOR_FROM_TXT_HPP
#include <openpose/core/common.hpp>
#include <openpose/pose/enumClasses.hpp>
namespace op
{
class OP_API HandDetectorFromTxt
{
public:
explicit HandDetectorFromTxt(const std::string& txtDirectoryPath);
virtual ~HandDetectorFromTxt();
std::vector<std::array<Rectangle<float>, 2>> detectHands();
private:
const std::string mTxtDirectoryPath;
const std::vector<std::string> mFilePaths;
long long mFrameNameCounter;
DELETE_COPY(HandDetectorFromTxt);
};
}
#endif // OPENPOSE_HAND_HAND_DETECTOR_FROM_TXT_HPP
|