1 #ifndef OPENPOSE_GUI_GUI_HPP
2 #define OPENPOSE_GUI_GUI_HPP
18 const std::shared_ptr<std::atomic<bool>>& isRunningSharedPtr,
19 const std::shared_ptr<std::pair<std::atomic<bool>, std::atomic<int>>>& videoSeekSharedPtr =
nullptr,
20 const std::vector<std::shared_ptr<PoseExtractorNet>>& poseExtractorNets = {},
21 const std::vector<std::shared_ptr<FaceExtractorNet>>& faceExtractorNets = {},
22 const std::vector<std::shared_ptr<HandExtractorNet>>& handExtractorNets = {},
23 const std::vector<std::shared_ptr<Renderer>>& renderers = {},
32 void setImage(
const std::vector<Matrix>& cvMatOutputs);
45 std::vector<std::shared_ptr<PoseExtractorNet>> mPoseExtractorNets;
46 std::vector<std::shared_ptr<FaceExtractorNet>> mFaceExtractorNets;
47 std::vector<std::shared_ptr<HandExtractorNet>> mHandExtractorNets;
48 std::vector<std::shared_ptr<Renderer>> mRenderers;
49 std::shared_ptr<std::pair<std::atomic<bool>, std::atomic<int>>> spVideoSeek;
virtual void initializationOnThread()
std::shared_ptr< std::atomic< bool > > spIsRunning
Gui(const Point< int > &outputSize, const bool fullScreen, const std::shared_ptr< std::atomic< bool >> &isRunningSharedPtr, const std::shared_ptr< std::pair< std::atomic< bool >, std::atomic< int >>> &videoSeekSharedPtr=nullptr, const std::vector< std::shared_ptr< PoseExtractorNet >> &poseExtractorNets={}, const std::vector< std::shared_ptr< FaceExtractorNet >> &faceExtractorNets={}, const std::vector< std::shared_ptr< HandExtractorNet >> &handExtractorNets={}, const std::vector< std::shared_ptr< Renderer >> &renderers={}, const DisplayMode displayMode=DisplayMode::Display2D)
void setImage(const Matrix &cvMatOutput)
DisplayMode mDisplayModeOriginal
void setImage(const std::vector< Matrix > &cvMatOutputs)