-
-
Notifications
You must be signed in to change notification settings - Fork 742
Graphical User Interface: QT
Andrews Sobral edited this page Aug 20, 2018
·
10 revisions
-
Download binaries for Windows (x86/x64):
-
- Download bgslibrary2_qtgui_opencv320_x64.zip
-
Dependencies:
-
- OpenCV 2.x or 3.x (Tested with OpenCV 3.2.0)
-
- Qt 5 library (Tested with Qt 5.6.2)
-
Click on 'Qt 5.6 64-bit for Desktop (MSVC 2015)'
-
Go to bgslibrary/gui_qt/build folder.
-
Set your OpenCV PATH:
set OpenCV_DIR=C:\OpenCV3.2.0\build
- Launch CMAKE:
cmake -DOpenCV_DIR=%OpenCV_DIR% -G "Visual Studio 14 Win64" ..
- Include OpenCV binaries in the system path:
set PATH=%PATH%;%OpenCV_DIR%\x64\vc14\bin
-
Open the bgslibrary_gui.sln file in your Visual Studio and switch to 'RELEASE' mode
-
Click on 'ALL_BUILD' project and build!
-
Go to bgslibrary/gui_qt/build/Release and copy bgslibrary_gui.exe to bgslibrary/.
-
Run bgslibrary_gui.exe and enjoy! ;-)
- Installing dependencies on Mac OS X:
brew install opencv3 --with-ffmpeg --with-qt5 --HEAD
brew link --overwrite --dry-run opencv3
- Step-by-step Instructions
git clone https://github.com/andrewssobral/bgslibrary.git
cd bgslibrary/gui_qt/build
cmake ..
make
cp bgslibrary_gui ../../
./bgslibrary_gui