Yolov4 extend MAX_DETECT_NUM

I try recgnize more than 10 objects, but i foud out that libnn_yolo_v4.so has limit 10 objects.

What i did:

  1. In nn_detect_utils.h set define: MAX_DETECT_NUM 15
  2. Rebuild libnnn_detect.so and libnn_yolov4.so
  3. Replace them in /usr/bin directory

After compile and run my application I get error: stack smashing detected

How can I improve it ?

VIM3 Pro

I found error.
There are in project files like nn_detect_utils.h
In there files i Changed MAX_DETECT now my app works well.