message("++++++++add profile test dir+++++++++") set(LIB_SRC_DIR ${CMAKE_SOURCE_DIR}/NeoTracker/src) include_directories(${LIB_SRC_DIR}) link_directories(${CMAKE_SOURCE_DIR}/Bin) set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/Bin) # 测试用例:性能分析,不需要传入跟踪视频,使用内部仿真数据进行测试。 add_executable(TestAPI_Profile TestAPI_Profile.cpp Profile_SOT_Ground_NV12.cpp Profile_SOT_Ground_Y16.cpp Profile_SOT_Ground_Y8.cpp Profile_SOT_Ground_RGB.cpp Profile_SOT_Sky_Y16.cpp utils.cpp ) target_include_directories(TestAPI_Profile PRIVATE ${OpenCV_INCLUDE_DIRS}) target_link_directories(TestAPI_Profile PUBLIC ${OpenCV_LIBS_DIR}) target_link_libraries(TestAPI_Profile PRIVATE ${LIB_TRACKER} ${LIB_DETECTOR} #红外检测算法 ${LIB_GDKCF} #KCF算法 ${LIB_GDTLD} #TLD算法 ${LIB_PIPE} ${OpenCV_LIBS})