12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- /*
- * @Author: lishengyin lishengyin@sz-sunwin.com
- * @Date: 2022-09-04 21:52:00
- * @LastEditors: lishengyin
- * @LastEditTime: 2022-10-20 11:33:43
- * @FilePath: /gsd_check/models/InfineFilter.hpp
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
- */
- #ifndef __InfineFilter_hpp_
- #define __InfineFilter_hpp_
- #include <iostream>
- #include "config.hpp"
- #include <opencv2/opencv.hpp>
- #include "CNStreamInferData.h"
- using namespace std;
- namespace gsd
- {
- class InfineFilter
- {
- private:
- InfineFilter(){}
- public:
- /**
- * @description: 获取单例
- * @return {*}
- */
- static std::shared_ptr<InfineFilter> getPtr();
-
- /**
- * @description: 比例过滤器
- * @param {Ptr} result
- * @return {*}
- */
- bool proportionalFilter(CNStreamInferData::Ptr result);
- /**
- * @description: AlienFilter
- * @param {Ptr} result
- * @return {*}
- */
- bool AlienFilter(CNStreamInferData::Ptr result);
-
- /**
- * @description: InfineFilter
- * @param {*}
- * @return {*}
- */
- ~InfineFilter(){}
- };
- } // namespace name
- #endif
|