Skip to content

Commit

Permalink
add some exe
Browse files Browse the repository at this point in the history
  • Loading branch information
huihut committed Mar 2, 2018
1 parent 94a66a7 commit 853cbcd
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,17 @@

MinGW version of OpenCV compiled on Windows.

* [OpenCV 3.3.1](https://github.com/huihut/OpenCV-MinGW-Build/tree/OpenCV-3.3.1)
* OpenCV 3.4.1
## [OpenCV 3.4.1](https://github.com/huihut/OpenCV-MinGW-Build/tree/OpenCV-3.4.1)

```
git clone -b OpenCV-3.4.1 [email protected]:huihut/OpenCV-MinGW-Build.git
```

## [OpenCV 3.3.1](https://github.com/huihut/OpenCV-MinGW-Build/tree/OpenCV-3.3.1)

```
git clone -b OpenCV-3.3.1 [email protected]:huihut/OpenCV-MinGW-Build.git
```

## Compiling Environment

Expand All @@ -20,21 +29,24 @@ MinGW version of OpenCV compiled on Windows.

Add OpenCV library file and include path to Qt `.pro` file.

My OpenCV file is located in `E:\OpenCV-MinGW-Build`, So the configuration is as follows:
* My version of OpenCV : `OpenCV 3.3.1`
* My OpenCV path : `E:\OpenCV_3.3.1\OpenCV-MinGW-Build`

So the configuration is as follows (**You need to modify it according to your OpenCV.**) :

```
win32 {
INCLUDEPATH += E:\OpenCV-MinGW-Build\include
LIBS += E:\OpenCV-MinGW-Build\bin\libopencv_*.dll
INCLUDEPATH += E:\OpenCV_3.3.1\OpenCV-MinGW-Build\include
LIBS += E:\OpenCV_3.3.1\OpenCV-MinGW-Build\bin\libopencv_*.dll
}
```

or

```
win32 {
INCLUDEPATH += E:\OpenCV-MinGW-Build\include
LIBS += -LE:\OpenCV-MinGW-Build\bin \
INCLUDEPATH += E:\OpenCV_3.3.1\OpenCV-MinGW-Build\include
LIBS += -LE:\OpenCV_3.3.1\OpenCV-MinGW-Build\bin \
-llibopencv_calib3d331 \
-llibopencv_core331 \
-llibopencv_dnn331 \
Expand All @@ -53,5 +65,4 @@ LIBS += -LE:\OpenCV-MinGW-Build\bin \
-llibopencv_videoio331 \
-llibopencv_videostab331
}
```

```
Binary file added bin/opencv_annotation.exe
Binary file not shown.
Binary file added bin/opencv_createsamples.exe
Binary file not shown.
Binary file added bin/opencv_interactive-calibration.exe
Binary file not shown.
Binary file added bin/opencv_traincascade.exe
Binary file not shown.
Binary file added bin/opencv_version.exe
Binary file not shown.
Binary file added bin/opencv_visualisation.exe
Binary file not shown.

0 comments on commit 853cbcd

Please sign in to comment.