The fork is required because it contains a few important changes to the origin source code which allow using darknet with NodeJS:

Makefile is extended to build a static library (darknet.a).

Makefile is extended with install and uninstall commands which install the library globally so that this module can easily find and link it.

All darknet functions in header files are marked with extern "C" if they are included in a C++ program (such as a NodeJS module).

Installation

npm install @moovel/yolo --save

Usage

Either download your own cfg, data folders and .weight files from the darknet project or use the ones included in test folder (see also test/readme.md). You also can find there the examples from below.