1234567891011121314151617181920212223242526 |
- #ifndef __MAS_DETUTILS_H
- #define __MAS_DETUTILS_H
- #define NAMESPACE_DETUTILS_BEGIN namespace detutils {
- #define NAMESPACE_DETUTILS_END };
- #include "MAS_AlgoDef.h"
- NAMESPACE_MAS_BEGIN
- NAMESPACE_DETUTILS_BEGIN
- TZ_BOOL IsInRoi(const TZ_DOUBLE & ltx, const TZ_DOUBLE & lty, const TZ_DOUBLE & rbx, const TZ_DOUBLE & rby,
- const std::vector<AreaBox> & focusArea, const std::vector<AreaBox> & ignoreArea,
- const TZ_DOUBLE & roiThreshold);
- TZ_INT GetDetSample(TZ_INT freq);
- TZ_BOOL IsIoULeqThreshold(const AreaBox& boxA, const AreaBox& boxB, const TZ_DOUBLE& iouThreshold);
- NAMESPACE_DETUTILS_END
- NAMESPACE_MAS_END
- #endif
|