Skip to content

Commit 2178768

Browse files
committed
FruitClassification added to the repository.
1 parent 52f166a commit 2178768

33 files changed

+1560
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
## OpenCV 3.0 settings for Windows
2+
win32 {
3+
message("* Using settings for Windows.")
4+
5+
INCLUDEPATH += "C:\\opencv\\build\\include" \
6+
"C:\\opencv\\build\\include\\opencv" \
7+
"C:\\opencv\\build\\include\\opencv2"
8+
9+
CONFIG(debug, debug | release) {
10+
LIBS += -L"C:\\opencv\\build\\x86\\vc12\\lib" -lopencv_world300d
11+
}
12+
13+
CONFIG(release, debug | release) {
14+
LIBS += -L"C:\\opencv\\build\\x86\\vc12\\lib" -lopencv_world300
15+
}
16+
17+
QMAKE_CXXFLAGS += -O2
18+
QMAKE_CXXFLAGS += /MP
19+
}
20+
21+
## OpenCV settings for Unix/Linux
22+
unix:!mac {
23+
message("* Using settings for Unix/Linux.")
24+
INCLUDEPATH += /usr/local/include/opencv
25+
26+
LIBS += -L/usr/local/lib/ \
27+
-lopencv_core \
28+
-lopencv_highgui \
29+
-lopencv_imgproc
30+
}
31+
32+
## OpenCV settings for Mac OS X
33+
macx {
34+
message("* Using settings for Mac OS X.")
35+
INCLUDEPATH += /usr/local/include/opencv
36+
37+
LIBS += -L/usr/local/lib/ \
38+
-lopencv_core \
39+
-lopencv_highgui \
40+
-lopencv_imgproc
41+
}
42+
43+
SOURCES += \
44+
main.cpp
45+
46+
HEADERS += \
47+
toolbox.h \
48+
dirent.h

FruitClassification/FruitClassification.pro.user

Lines changed: 318 additions & 0 deletions
Large diffs are not rendered by default.

FruitClassification/apples/1.png

50.8 KB
Loading

FruitClassification/apples/10.png

326 KB
Loading

FruitClassification/apples/2.png

58.6 KB
Loading

FruitClassification/apples/3.png

67.5 KB
Loading

FruitClassification/apples/4.png

960 KB
Loading

FruitClassification/apples/5.png

45.7 KB
Loading

FruitClassification/apples/6.png

191 KB
Loading

FruitClassification/apples/7.png

1.03 MB
Loading

FruitClassification/apples/8.png

97.1 KB
Loading

FruitClassification/apples/9.png

275 KB
Loading

0 commit comments

Comments
 (0)