mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-23 01:26:34 +00:00
Chaneges to opi_rtsp test application
- refactoring - can use normal YOLOv8 files converted to ONNX format - does not work with azaion ONNX files!
This commit is contained in:
@@ -19,12 +19,12 @@ opi5 {
|
||||
HEADERS += $$PWD/src-opi5/*.h
|
||||
} else {
|
||||
message("ONNX build")
|
||||
message("You must use YOLOv10 ONNX files")
|
||||
message("You must use YOLOv8 ONNX files")
|
||||
QMAKE_CXXFLAGS += -DONNX_BUILD
|
||||
INCLUDEPATH += /opt/onnxruntime-linux-x64-1.18.0/include
|
||||
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
|
||||
QMAKE_LFLAGS += -Wl,-rpath,/usr/local/lib
|
||||
SOURCES += $$PWD/src-onnx/*.cpp
|
||||
HEADERS += $$PWD/src-onnx/*.h
|
||||
SOURCES += $$PWD/src-opencv-onnx/*.cpp
|
||||
HEADERS += $$PWD/src-opencv-onnx/*.h
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user