You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
message("++++++++add Console test dir+++++++++")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set(LIB_SRC_DIR ${CMAKE_SOURCE_DIR}/NeoTracker/src)
|
|
|
|
|
include_directories(${LIB_SRC_DIR})
|
|
|
|
|
|
|
|
|
|
include_directories(LIB_SRC_DIR/TLD)
|
|
|
|
|
|
|
|
|
|
file(GLOB libsrcs ${LIB_SRC_DIR}/*.cpp ${LIB_SRC_DIR}/*.c ${LIB_SRC_DIR}/*.h ${LIB_SRC_DIR}/*.hpp)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include_directories(${OpenCV_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
|
|
link_directories(${CMAKE_SOURCE_DIR}/Bin)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# AI Detect文件包含
|
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/AIDetector/x86_onnx/src)
|
|
|
|
|
|
|
|
|
|
# AI Tracker文件包含
|
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/AITracker/x86/src)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ##################################### 黑盒 :测试外部接口 ############################
|
|
|
|
|
# ##################################### 引用so ###########################
|
|
|
|
|
|
|
|
|
|
# 接口测试1:对地单目标跟踪rgb
|
|
|
|
|
add_executable(Console_SOT_Ground_RGB Console_SOT_Ground_extTLD_RGB.cpp "Console_SOT_Ground_extTLD_RGB.cpp")
|
|
|
|
|
target_link_libraries(Console_SOT_Ground_RGB PRIVATE
|
|
|
|
|
${LIB_TRACKER}
|
|
|
|
|
${LIB_DETECTOR} #红外检测算法
|
|
|
|
|
${LIB_GDKCF} #KCF算法
|
|
|
|
|
${LIB_GDTLD} #TLD算法
|
|
|
|
|
${LIB_PIPE}
|
|
|
|
|
${LIB_Arith_AIDET_NAME} #ai检测
|
|
|
|
|
${LIB_Arith_AITRK_NAME} #ai跟踪
|
|
|
|
|
${OpenCV_LIBS})
|
|
|
|
|
|
|
|
|
|
# 接口测试1:对地单目标跟踪rgb
|
|
|
|
|
add_executable(Console_SOT_Sky_YUV422 Console_SOT_Sky_YUV422.cpp "Console_SOT_Sky_YUV422.cpp")
|
|
|
|
|
target_link_libraries(Console_SOT_Sky_YUV422 PRIVATE
|
|
|
|
|
${LIB_TRACKER}
|
|
|
|
|
${LIB_DETECTOR} #红外检测算法
|
|
|
|
|
${LIB_GDKCF} #KCF算法
|
|
|
|
|
${LIB_GDTLD} #TLD算法
|
|
|
|
|
${LIB_PIPE}
|
|
|
|
|
${LIB_Arith_AIDET_NAME} #ai检测
|
|
|
|
|
${LIB_Arith_AITRK_NAME} #ai跟踪
|
|
|
|
|
${OpenCV_LIBS})
|
|
|
|
|
|
|
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/Bin)
|