mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-23 01:26:34 +00:00
Fully working OPI5 and Azaion AI object recognition
This commit is contained in:
@@ -2,8 +2,10 @@ QT += core
|
||||
CONFIG += c++11 link_pkgconfig concurrent
|
||||
PKGCONFIG += opencv4
|
||||
|
||||
SOURCES += *.cpp
|
||||
HEADERS += *.h
|
||||
SOURCES += $$PWD/*.cpp
|
||||
HEADERS += $$PWD/*.h
|
||||
|
||||
MOC_DIR = moc
|
||||
|
||||
opi5 {
|
||||
message("OPI5 build")
|
||||
@@ -12,10 +14,9 @@ opi5 {
|
||||
QMAKE_CXXFLAGS += -DOPI5_BUILD
|
||||
LIBS += /usr/local/lib/librknnrt.so
|
||||
OBJECTS_DIR = objs-opi5
|
||||
SOURCES += src-opi5/*.c src-opi5/*.cc
|
||||
HEADERS += src-opi5/*.h
|
||||
}
|
||||
else {
|
||||
SOURCES += $$PWD/src-opi5/*.c $$PWD/src-opi5/*.cpp $$PWD/src-opi5/*.cc
|
||||
HEADERS += $$PWD/src-opi5/*.h
|
||||
} else {
|
||||
message("ONNX build")
|
||||
message("You must use YOLOv10 ONNX files")
|
||||
QMAKE_CXXFLAGS += -DONNX_BUILD
|
||||
@@ -23,6 +24,6 @@ else {
|
||||
LIBS += /opt/onnxruntime-linux-x64-1.18.0/lib/libonnxruntime.so.1.18.0
|
||||
QMAKE_LFLAGS += -Wl,-rpath,/opt/onnxruntime-linux-x64-1.18.0/lib
|
||||
OBJECTS_DIR = objs-onnx
|
||||
SOURCES += src-onnx/*.cpp
|
||||
HEADERS += src-onnx/*.h
|
||||
SOURCES += $$PWD/src-onnx/*.cpp
|
||||
HEADERS += $$PWD/src-onnx/*.h
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user