-
Notifications
You must be signed in to change notification settings - Fork 22
/
Visual Studio configuration for OpenCV 2.4.6.txt
117 lines (89 loc) · 2.97 KB
/
Visual Studio configuration for OpenCV 2.4.6.txt
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
112
113
114
115
116
117
#######################################################################
############################ OpenCV setup ###########################
#######################################################################
http://opencv.org/downloads.html
Extract opencv to c:\
+ Add system environment variable
OPENCV_DIR
C:\opencv\build\
+ Add to path
C:\opencv\build\x86\vc11\bin;
#######################################################################
######################## OpenCV in Visual Studio ####################
#######################################################################
+ Project properties -> C/C++ -> General -> Aditional Include Directories
$(OPENCV_DIR)\include
+ Project properties -> Linker -> General -> Aditional Library Directories
$(OPENCV_DIR)\x86\vc11\lib
Project properties -> Linker -> Input -> Aditional Dependencies
Debug:
opencv_calib3d246d.lib
opencv_contrib246d.lib
opencv_core246d.lib
opencv_features2d246d.lib
opencv_flann246d.lib
opencv_gpu246d.lib
opencv_haartraining_engined.lib
opencv_highgui246d.lib
opencv_imgproc246d.lib
opencv_legacy246d.lib
opencv_ml246d.lib
opencv_nonfree246d.lib
opencv_objdetect246d.lib
opencv_photo246d.lib
opencv_stitching246d.lib
opencv_superres246d.lib
opencv_ts246d.lib
opencv_video246d.lib
opencv_videostab246d.lib
Release:
opencv_calib3d246.lib
opencv_contrib246.lib
opencv_core246.lib
opencv_features2d246.lib
opencv_flann246.lib
opencv_gpu246.lib
opencv_haartraining_engine.lib
opencv_highgui246.lib
opencv_imgproc246.lib
opencv_legacy246.lib
opencv_ml246.lib
opencv_nonfree246.lib
opencv_objdetect246.lib
opencv_photo246.lib
opencv_stitching246.lib
opencv_superres246.lib
opencv_ts246.lib
opencv_video246.lib
opencv_videostab246.lib
#######################################################################
######################### Tesseract OCR setup ########################
#######################################################################
https://code.google.com/p/tesseract-ocr/downloads/list
tesseract-ocr-setup-3.02.02.exe
tesseract-3.02.02-win32-lib-include-dirs.zip
http://tesseract-ocr.googlecode.com/svn/trunk/vs2008/doc/setup.html
+ Install Tesseract
+ Copy dev files to install dir
+ Add to path
C:\Program Files (x86)\Tesseract-OCR\lib
#######################################################################
###################### Tesseract in Visual Studio ##################
#######################################################################
+ Project properties -> C/C++ -> General -> Aditional Include Directories
C:\Program Files (x86)\Tesseract-OCR\include
+ Project properties -> Linker -> General -> Aditional Library Directories
C:\Program Files (x86)\Tesseract-OCR\lib
+ Project properties -> Linker -> Input -> Aditional Dependencies
Debug:
libtesseract302d.lib
liblept168d.lib
Release:
libtesseract302.lib
liblept168.lib
+ Project properties -> C/C++ -> General -> Preprocessor -> Preprocessor definitions
_CRT_SECURE_NO_WARNINGS
USE_STD_NAMESPACE
TESSDLL_IMPORTS
CCUTIL_IMPORTS
LIBLEPT_IMPORTS