forked from stephanecharette/DarkHelp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
24 lines (16 loc) · 794 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
This is an example of how to create a CMake-based C++ project that uses the
DarkHelp library.
The CMakeLists.txt file will pull in darknet, OpenCV, and DarkHelp.
The example.cpp file loads a neural network, sets several example options,
annotates a single image file, and displays the results.
To build on Linux:
mkdir build
cd build
cmake ..
make
To build on Windows (you may need to adjust, similar commands as the ones you used to build Darknet and DarkHelp):
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=C:/src/vcpkg/scripts/buildsystems/vcpkg.cmake -DDARKNET="C:/Program Files/Darknet/lib/darknet.lib" -DDARKHELP="C:/Program Files/DarkHelp/lib/darkhelp.lib" ..
msbuild.exe ...etc... or use Visual Studio
IMPORTANT! See the other source code examples in ../src-apps/.