Skip to content

Commit 4364b49

Browse files
Update CMakeLists.txt
test detector
1 parent 7246778 commit 4364b49

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

CMakeLists.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ add_executable(DeepSORT
4444
tracker/bytetrack/src/STrack.cpp
4545
tracker/bytetrack/src/utils.cpp
4646

47-
4847
main.cpp)
4948
target_link_libraries(DeepSORT PRIVATE "${ONNXRUNTIME_DIR}/lib/libonnxruntime.so" ${OpenCV_LIBS} Eigen3::Eigen)
49+
50+
51+
52+
53+
add_executable(test_detector
54+
detector/YOLOv5/src/YOLOv5Detector.cpp
55+
56+
test_detector.cpp)
57+
target_link_libraries(test_detector PRIVATE ${OpenCV_LIBS} Eigen3::Eigen)

0 commit comments

Comments
 (0)