forked from stupel/Preprocessing
-
Notifications
You must be signed in to change notification settings - Fork 2
/
openfinger-preprocessor.pro
executable file
·112 lines (95 loc) · 3.34 KB
/
openfinger-preprocessor.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
110
111
QT += gui
TEMPLATE = lib
TARGET = ofpreproc
DEFINES += PREPROCESSING_LIBRARY
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += PRO_PWD=\\\"$$_PRO_FILE_PWD_\\\"
CONFIG += c++17
QMAKE_CFLAGS_ISYSTEM=
SOURCES += preprocessing.cpp \
orientationmap.cpp \
thinning.cpp \
binarization.cpp \
gaborfiltermultithread.cpp \
gaborthread.cpp \
contrastenhancement.cpp \
frequencymap.cpp \
mask.cpp \
qualitymap.cpp \
gaborfiltergpu.cpp \
preprocessing_caffenetwork.cpp
HEADERS += preprocessing.h\
preprocessing_global.h \
helper.h \
orientationmap.h \
thinning.h \
binarization.h \
gaborfiltermultithread.h \
gaborthread.h \
contrastenhancement.h \
frequencymap.h \
mask.h \
imagecontour.h \
qualitymap.h \
gaborfiltergpu.h \
preprocessing_config.h \
preprocessing_caffenetwork.h
# ********************************************************************
# DEPENDENCIES
# ********************************************************************
CONFIG += manjaro
#CONFIG += debian
manjaro {
# CUDA - Manjaro (as a package)
unix:!macx: LIBS += -L/usr/local/cuda-10.2/lib64/ -lcudart
INCLUDEPATH += /usr/local/cuda-10.2/include
DEPENDPATH += /usr/local/cuda-10.2/include
#ArrayFire - Manjaro (as a package)
unix:!macx: LIBS += -L/usr/lib/ -lafcuda
INCLUDEPATH += /usr/include
DEPENDPATH += /usr/include
#OpenCV - Manjaro (as a package)
unix:!macx: LIBS += -L/usr/lib/ -lopencv_core
unix:!macx: LIBS += -L/usr/lib/ -lopencv_imgproc
unix:!macx: LIBS += -L/usr/lib/ -lopencv_imgcodecs
unix:!macx: LIBS += -L/usr/lib/ -lopencv_highgui
INCLUDEPATH += /usr/include/opencv4
DEPENDPATH += /usr/include/opencv4
#Caffe - Manjaro (built from source)
unix:!macx: LIBS += -L/usr/local/lib/ -lcaffe
INCLUDEPATH += /usr/local/include
DEPENDPATH += /usr/local/include
#glog, protobuf, boost - Manjaro (as a package)
unix:!macx: LIBS += -L/usr/lib/ -lglog
unix:!macx: LIBS += -L/usr/lib/ -lprotobuf
unix:!macx: LIBS += -L/usr/lib/ -lboost_system
INCLUDEPATH += /usr/include
DEPENDPATH += /usr/include
}
debian {
#CUDA - Debian
unix:!macx: LIBS += -L/usr/local/cuda/lib64/ -lcudart
INCLUDEPATH += /usr/local/cuda/include
DEPENDPATH += /usr/local/cuda/include
#ArrayFire - Debian (built from source)
unix:!macx: LIBS += -L/usr/local/lib/ -lafcuda
INCLUDEPATH += /usr/local/include
DEPENDPATH += /usr/local/include
#OpenCV - Debian (as a package)
unix:!macx: LIBS += -L/usr/lib/x86_64-linux-gnu/ -lopencv_core
unix:!macx: LIBS += -L/usr/lib/x86_64-linux-gnu/ -lopencv_imgproc
unix:!macx: LIBS += -L/usr/lib/x86_64-linux-gnu/ -lopencv_imgcodecs
unix:!macx: LIBS += -L/usr/lib/x86_64-linux-gnu/ -lopencv_highgui
INCLUDEPATH += /usr/include/opencv4
DEPENDPATH += /usr/include/opencv4
#Caffe - Debian (built from source)
unix:!macx: LIBS += -L/usr/local/lib/ -lcaffe
INCLUDEPATH += /usr/local/include
DEPENDPATH += /usr/local/include
#glog, protobuf, boost - Debian (as a package)
unix:!macx: LIBS += -L/usr/lib/x86_64-linux-gnu/ -lglog
unix:!macx: LIBS += -L/usr/lib/x86_64-linux-gnu/ -lprotobuf
unix:!macx: LIBS += -L/usr/lib/x86_64-linux-gnu/ -lboost_system
INCLUDEPATH += /usr/include
DEPENDPATH += /usr/include
}