DarkHelp  v1.5.10-1
C++ API for the neural network framework Darknet
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
Building DarkHelp


The most up-to-date build instructions are the ones in readme.md. You can find this easily on the github repo: https://github.com/stephanecharette/DarkHelp#building-darknet-windows

The Windows build uses a combination of winget, vcpkg, and cmake to get everything built and installed, including 3rd party dependencies like OpenCV.

Once all the dependencies are installed, the DarkHelp portion is like this:

cd c:\src
git clone https://github.com/stephanecharette/DarkHelp.git
cd darkhelp
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=C:/src/vcpkg/scripts/buildsystems/vcpkg.cmake ..
msbuild.exe /property:Platform=x64;Configuration=Release /target:Build -maxCpuCount -verbosity:normal -detailedSummary DarkHelp.sln
msbuild.exe /property:Platform=x64;Configuration=Release PACKAGE.vcxproj


Extremely simple tutorial on how to build Darknet, DarkHelp, and DarkMark:

Building both Darknet and DarkHelp on Linux should not take more than 5 minutes combined. See the instructions in readme.md: https://github.com/stephanecharette/DarkHelp#building-darknet-linux

Once Darknet is built and installed, download the source code to DarkHelp and build like this:

sudo apt-get install build-essential libtclap-dev libmagic-dev libopencv-dev
cd ~/src/
git clone https://github.com/stephanecharette/DarkHelp.git
cd DarkHelp
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make package
sudo dpkg -i darkhelp*.deb


If desired, the doxygen documentation can be created with "make doc". Of course, Doxygen must be installed.

Packages and the DarkHelp API

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 libdarkhelp.a, libdarknet.so, and the OpenCV libraries.

An example showing how to do this is available in the github repo: https://github.com/stephanecharette/DarkHelp/tree/master/example_project