1 parent
9aec3fbd78
commit
5483837769
16 files changed
+121
-1949
No files matched your search
+2
-3
@@ -8,10 +8,9 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
find_package(OpenCV REQUIRED COMPONENTS core imgproc videoio highgui imgcodecs)
|
||||
set(Eigen3_DIR /usr/share/eigen3/cmake)
|
||||
find_package(Eigen3 REQUIRED NO_MODULE)
|
||||
find_package(nlohmann_json REQUIRED)
|
||||
find_package(SQLite3 REQUIRED)
|
||||
|
||||
option(HAS_RKNN "Build with RKNN NPU support" ON)
|
||||
option(HAS_RKNN "Build with RKNN NPU support" OFF)
|
||||
|
||||
if(HAS_RKNN)
|
||||
add_definitions(-DHAS_RKNN)
|
||||
@@ -53,4 +52,4 @@ if(HAS_RKNN)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
install(TARGETS bytetrack-counter DESTINATION /opt/bytetrack-counter-cpp/build)
|
||||
install(TARGETS bytetrack-counter DESTINATION /opt/bytetrack-counter-cpp/bin)
|
||||
Reference in new issue
Block a user