#ifndef EASYLOCATEINFERENCEWIDGET_H #define EASYLOCATEINFERENCEWIDGET_H #include #include #include #include #include // #include #include #include #include using namespace cv; // #include "EasyDeepLearning_22_12.h" using namespace Euresys::Open_eVision_22_12; using namespace Euresys::Open_eVision_22_12::EasyDeepLearning; class EasyLocateInferenceWidget : public QWidget { Q_OBJECT public: explicit EasyLocateInferenceWidget(QWidget *parent = nullptr); ~EasyLocateInferenceWidget(); public slots: void loadLocator(const QString &filename); //void loadInterestPointLocator(const QString &filename); //void loadImage(const QString &filename); signals: void click(); protected: void paintEvent(QPaintEvent*) override; void mousePressEvent(QMouseEvent* e) override; private slots: void printMessageInformation(const QString &title, const QString &message); private: void ComputeResult(); // Inference data //EImageC24 src_; ELocatorBase* locator_; ELocatorResult result_; // Inference time int timing_; }; #endif // EASYLOCATEINFERENCEWIDGET_H