The Windows build uses vcpkg
to install the necessary 3rd-party libraries such as OpenCV.
See the files readme_windows.txt and build_windows.cmd on GitHub for details.
The Darknet/OpenCV portion is like this:
Once that completes, the DarkHelp portion is like this:
Make sure you update the path to the toolchain file if you used a different directory.
Extremely simple tutorial on how to build Darknet, DarkHelp, and DarkMark:
Building both Darknet and DarkHelp should not take more than 5 minutes combined. If you have not already done so, you must first build Darknet with the flag LIBSO=1
. This will ensure you build the "libdarknet.so"
dynamic library.
Once Darknet has built, remember to copy the library and header file to a location where DarkHelp and other applications can find them. For example:
For additional details on building Darknet, see this tutorial: https://www.ccoderun.ca/programming/2019-08-18_Installing_and_building_Darknet/.
Now that Darknet is built, download the source code to DarkHelp and build like this:
If desired, the doxygen documentation can be created with "make doc"
.
To install DarkHelp so the API can be used within your own C++ application, run "sudo dpkg -i darkhelp-*.deb"
after having run "make package"
.
Now from within your application, you must "#include <DarkHelp.hpp>"
and link against the following:
libdarkhelp.so
libdarknet.so