#pragma once #include #include "ui_YunDaISASImageRecognitionService.h" #include #include #include class YunDaISASImageRecognitionService : public QMainWindow { Q_OBJECT public: YunDaISASImageRecognitionService(QWidget *parent = nullptr); ~YunDaISASImageRecognitionService(); private: static QTextBrowser* GetQTextBrowser(); static QImage* GetImage(); public: static void SetImage(QString path); static void ConsoleLog(QString msg); static bool GetReconginzeStratgy(); static bool GetIsShowDectect(); private: Ui::YunDaISASImageRecognitionServiceClass ui; protected: void resizeEvent(QResizeEvent* event); protected slots: void appendText(QString msg); void changeImgShow(QString path); // signals: void valueTxtChanged(QString msg); void valueImgChanged(QString path); };