Open Haeryangkim opened 4 years ago
found self solution
set LIBSO=1 in Makefile
leaving this for other people.
https://github.com/AlexeyAB/darknet#how-to-use-yolo-as-dll-and-so-libraries
set LIBSO=1 in the Makefile and do make
@AlexeyAB I've rebuild to generate libdark.so after changed LiBSO =1 and rebuild with CMake('./build.ps1), libdark.so it did not generate anywhere, any thought on this? Any help would appreciate.
@MindSightTH I found libdarknet.so after setting LIBSO=1, and do make
.
After doing LIBSO=1, run command "make" not "cmake". you'll have libdarknet.so in darknet main directory.
I wanna utilize darknet.py to use yolov4 in my python project.
however after build the darknet and write down my script there is an error shown below.
OSError: ./libdarknet.so: cannot open shared object file: No such file or directory
Btw is the opencv python library supporting Yolov4?