#ifndef OPENPOSE_GUI_ADD_GUI_INFO_HPP #define OPENPOSE_GUI_ADD_GUI_INFO_HPP #include #include namespace op { class OP_API GuiInfoAdder { public: GuiInfoAdder(const int numberGpus, const bool guiEnabled = false); virtual ~GuiInfoAdder(); void addInfo(Matrix& outputData, const int numberPeople, const unsigned long long id, const std::string& elementRenderedName, const unsigned long long frameNumber, const Array& poseIds = Array{}, const Array& poseKeypoints = Array{}); private: // Const variables const int mNumberGpus; const bool mGuiEnabled; // Other variables std::queue mFpsQueue; double mFps; unsigned int mFpsCounter; std::string mLastElementRenderedName; int mLastElementRenderedCounter; unsigned long long mLastId; }; } #endif // OPENPOSE_GUI_ADD_GUI_INFO_HPP