#ifndef IMAGE_MANAGER_H #define IMAGE_MANAGER_H #include #include #include #define THROTTLE_AMOUNT 1 class ImageManager: public QObject { Q_OBJECT; public: ImageManager(QObject *parent); virtual ~ImageManager(); void ProcessImage(uint32_t width, uint32_t height, uint8_t *imgPointer); void SendImage(cv::Mat image); QUdpSocket *socket; private: int throttle_count = 1; }; #endif