派生自 Algorithm/baseDetector

bug
Scheaven
2021-08-10 6b626a69cc7fa64590a0ca0d3539f2d1a862d2cf
bug
3个文件已修改
6 ■■■■ 已修改文件
src/h_interface.cpp 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/h_interface.h 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/timer_utils.hpp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/h_interface.cpp
@@ -83,3 +83,4 @@
    t->count = 0;
    t->targets = nullptr;
}
src/h_interface.h
@@ -11,7 +11,6 @@
#endif
#define API extern "C" __attribute__((visibility ("default")))
API void* create(const char *conf, int *max_chan);
API void release(void* handle);
API void* get_result(void *handle, const void *img, const int chan);
src/utils/timer_utils.hpp
@@ -21,8 +21,8 @@
        void out(std::string message="")
        {
            double t = elapsed();
            // std::cout << message << " elasped time:" << t << "ms" << std::endl;
            DEBUG((boost::format("%e lasped time:%f ms")%message %t).str());
            std::cout << message << " elasped time:" << t << "ms" << std::endl;
            // DEBUG((boost::format("%e lasped time:%f ms")%message %t).str());
            reset();
        }
        // DEBUG((boost::format("nhao%d")%1).str());