#ifndef ALL_Detect_H_ #define ALL_Detect_H_ #include "BaseInclude.h" #include "AI_Moudel.hpp" #include "BlobBase.h" #include "Top_Detect.hpp" #include "Side_Detect.hpp" #include "Down_Detect.hpp" #include "Down_Angle_Detect.h" class ALL_Detect : public ImgCheckBase { public: ALL_Detect(); ~ALL_Detect(); // 初始化参数 pconfig 参数指针 返回:0 成功 其他异常 int RunStart(void *pconfig1 = NULL); // 阻塞式检测 int CheckImg(std::shared_ptr p, std::shared_ptr &pResult); // 更新参数 pconfig 参数指针,nConfigType 需要更新的参数类型 返回:0 成功 其他异常 int UpdateConfig(void *pconfig, int nConfigType); public: private: Top_Detect top_1_detect; Top_Detect top_2_detect; Side_Detect side_1_detect; Side_Detect side_2_detect; Down_Detect down_detect; Down_Angle_Detect down_angle_detect; Cam_Param m_cam_param; private: }; #endif