#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); private: std::shared_ptr m_checkBase = nullptr; std::shared_ptr m_down_angle_detect = nullptr; Cam_Param m_cam_param; }; #endif