Level up with python version
This commit is contained in:
1 parent
fc172117cc
commit
9aec3fbd78
16 files changed
+1949
-121
No files matched your search
+3
-2
@@ -8,9 +8,10 @@ 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" OFF)
|
||||
option(HAS_RKNN "Build with RKNN NPU support" ON)
|
||||
|
||||
if(HAS_RKNN)
|
||||
add_definitions(-DHAS_RKNN)
|
||||
@@ -52,4 +53,4 @@ if(HAS_RKNN)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
install(TARGETS bytetrack-counter DESTINATION /opt/bytetrack-counter-cpp/bin)
|
||||
install(TARGETS bytetrack-counter DESTINATION /opt/bytetrack-counter-cpp/build)
|
||||
Reference in new issue
Block a user