#ifndef LP_VALVE_DETECTOR_H #define LP_VALVE_DETECTOR_H #include "Luffy.h" #include "lpbengine.h" using namespace luffy_base; struct InputParam { LP_DETECTOR_ROI_DATA roi; }; struct OutputParam { Point2f ptCenter; Mat centerRoi; }; class CaliCenter { public: CaliCenter(); ~CaliCenter(); bool detect(Mat & imgSrc, InputParam ¶mIn, OutputParam ¶mOut, Mat &imgDst = Mat()); }; #endif //LP_VALVE_DETECTOR_H