- kernelEventFilterYOLO.h:
* Darknet V3+ (hank-ai) declares load_network(), load_network_custom()
and free_network_ptr() only when DARKNET_INCLUDE_ORIGINAL_API is
defined before darknet.h ("was not declared in this scope"): define it.
* Darknet installs the header as <prefix>/include/darknet.h, not
darknet/darknet.h: include <darknet.h>, fall back to
<darknet/darknet.h>, clear #error if neither exists.
* m_pNET was DarknetNetworkPtr * (void **) although DarknetNetworkPtr is
already void *: "invalid conversion from void* to void**".
- makefile / la_mojo.vpj: -ldarknet was only linked in Release86; the
build script uses Debug86. Added to Debug86 and Debug (the .vpj too,
so a SlickEdit regeneration keeps it).
- kernelEventFilterYOLO::initFilter(): load the settings first
(validate()); m_sYOLOFilterData was still zero, so fileExist("") made
initFilter() always fail. Logs why it fails, frees a previously loaded
network, logs the network dimensions. Destructor stops the thread
before freeing the network.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16