-
Notifications
You must be signed in to change notification settings - Fork 0
/
Detect_3D.pro
109 lines (82 loc) · 4.17 KB
/
Detect_3D.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#-------------------------------------------------
#
# Project created by QtCreator 2018-06-24T15:10:42
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = Detect_3D
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
###REALSENSE###
INCLUDEPATH += $$quote(C:\Program Files (x86)\Intel RealSense SDK 2.0\include)
LIBS += $$quote(C:\Program Files (x86)\Intel RealSense SDK 2.0\lib\x64\realsense2.lib)
HEADERS += example_window.hpp \
cvhelpers.hpp \
feature_function.hpp \
offline_tracking.hpp \
detect_with_depth.hpp
#INCLUDEPATH += C:/intel_realsense_SDK2.0_2.10.4_modify/include
#INCLUDEPATH += F:/Qt_pro_include/G_drive/intel_reslsense_SDK2.16.5/include
#HEADERS += F:/Qt_pro_include/G_drive/intel_reslsense_SDK2.16.5/src/
#LIBS += F:/Qt_pro_include/G_drive/intel_reslsense_SDK2.16.5/lib/realsense2.lib
#HEADERS += C:/intel_realsense_SDK2.0_2.10.4_modify/src/ \
#HEADERS += F:/Qt_pro_include/G_drive/intel_reslsense_SDK2.16.5/src/ \
# example_window.hpp \
# cvhelpers.hpp \
# feature_function.hpp \
# offline_tracking.hpp \
# detect_with_depth.hpp
#LIBS += C:/intel_realsense_SDK2.0_2.10.4_modify/lib/realsense2.lib
LIBS += F:/Qt_pro_include/C_drive/intel_realsense_SDK2.0_2.10.4_modify/lib/glfw3dll.lib\
F:/Qt_pro_include/C_drive/intel_realsense_SDK2.0_2.10.4_modify/lib/glfw3dll.exp\
F:/Qt_pro_include/C_drive/intel_realsense_SDK2.0_2.10.4_modify/lib/glfw3.lib
#LIBS += -lglfw3
LIBS += -lopengl32
LIBS += -lglu32
#INCLUDEPATH += C:\\opencv3.2.0_x64_vc2015\\include \
# C:\\opencv3.2.0_x64_vc2015\\include\\opencv \
# C:\\opencv3.2.0_x64_vc2015\\include\\opencv2 \
#LIBS += C:\\opencv3.2.0_x64_vc2015\\lib\\opencv_world320.lib \
# C:\\opencv3.2.0_x64_vc2015\\lib\\opencv_world320d.lib \
## OPENCV CONTRIBUTE
#INCLUDEPATH += C:\\opencv3.2.0_x64_vc2015_contribute\\include \
# C:\\opencv3.2.0_x64_vc2015_contribute\\include\\opencv \
# C:\\opencv3.2.0_x64_vc2015_contribute\\include\\opencv2 \
#LIBS += C:\\opencv3.2.0_x64_vc2015_contribute\\lib\\opencv_world320.lib \
# C:\\opencv3.2.0_x64_vc2015_contribute\\lib\\opencv_world320d.lib \
# C:\\opencv3.2.0_x64_vc2015_contribute\\lib\\opencv_ximgproc320.lib \
# C:\\opencv3.2.0_x64_vc2015_contribute\\lib\\opencv_xfeatures2d320.lib \
# C:\\opencv3.2.0_x64_vc2015_contribute\\lib\\opencv_xfeatures2d320d.lib \
## CUDA OPENCV
#INCLUDEPATH += F:\\Qt_pro_include\\G_drive\\opencv3.2.0_x64_vc2015_contribute_cuda\\include \
# F:\\Qt_pro_include\\G_drive\\opencv3.2.0_x64_vc2015_contribute_cuda\\include\\opencv \
# F:\\Qt_pro_include\\G_drive\\opencv3.2.0_x64_vc2015_contribute_cuda\\include\\opencv2 \
#LIBS += F:\\Qt_pro_include\\G_drive\\opencv3.2.0_x64_vc2015_contribute_cuda\\lib\\*.lib
# cuda opencv 4.1
INCLUDEPATH += $$quote(D:\lib\opencv_4.1.1\include)\
$$quote(D:\lib\opencv_4.1.1\include\opencv2)
LIBS += D:\lib\opencv_4.1.1\x64\vc15\lib\opencv_world411.lib #D:\lib\opencv3.4.2\opencv\build\x64\vc14\lib\opencv_world342.lib\
INCLUDEPATH += $$quote(C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include)\
## YOLO
INCLUDEPATH += F:\\Qt_pro_include\\C_drive\\yolov2_x64_vc2015\\src\
LIBS += F:\\Qt_pro_include\\C_drive\\yolov2_x64_vc2015\lib_dll\\yolo_cpp_dll.lib \
QMAKE_CFLAGS += -std=c++11
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
CONFIG += link_pkgconfig
SOURCES += \
main.cpp \
detect_3d.cpp \
detect_with_depth.cpp
HEADERS += \
detect_3d.hpp
FORMS += \
detect_3d.ui