OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
frameDisplayer.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_GUI_FRAMES_DISPLAY_HPP
2 #define OPENPOSE_GUI_FRAMES_DISPLAY_HPP
3 
4 #include <opencv2/core/core.hpp> // cv::Mat
7 
8 namespace op
9 {
14  {
15  public:
25  const Point<int>& initialWindowedSize = Point<int>{}, const bool fullScreen = false);
26 
27  // Due to OpenCV visualization issues (all visualization functions must be in the same thread)
28  void initializationOnThread();
29 
34  void setFullScreenMode(const FullScreenMode fullScreenMode);
35 
40  void switchFullScreenMode();
41 
50  void displayFrame(const cv::Mat& frame, const int waitKeyValue = -1);
51 
55  void displayFrame(const std::vector<cv::Mat>& frames, const int waitKeyValue = -1);
56 
57  private:
58  const std::string mWindowName;
59  Point<int> mWindowedSize;
60  FullScreenMode mFullScreenMode;
61  };
62 }
63 
64 #endif // OPENPOSE_GUI_FRAMES_DISPLAY_HPP
FullScreenMode
Definition: enumClasses.hpp:23
const std::string OPEN_POSE_NAME_AND_VERSION
Definition: macros.hpp:12
Definition: frameDisplayer.hpp:13
#define OP_API
Definition: macros.hpp:16
std::string string
Definition: cl2.hpp:574