This repository was archived by the owner on Nov 6, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork3
C library for wrapping darknet
License
NotificationsYou must be signed in to change notification settings
lc-soft/darknetlib
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
(中文/EN)
Darknetlib is a C library for wrappingdarknet,It mainly provides object detection support forLC-Finder, you can find the relevant code in thesrc/lib/detector.c file.
- Provides simple exception handling
- Redefining the interface with a new naming style
- Suitable for compilation into a dynamic library to use
Install withlcpkg:
lcpkg install github.com/lc-soft/darknetlib
Darknetlib installed in this way is the pure CPU computing version, If you need gpu-accelerated version, please go toRelease page to download.
If you want to build from source code:
- Download and installCUDA
- DownloadcuDNN and unpack files to hte
3rdparty
directory - Open
build/darknet.sln
whith Visual Studio 2017 - SetRelease andx64
- builddarknet_gpu andtest project
- Download theyolov3-tiny.weights file to the
test
directory - Run the test
git clone https://github.com/lc-soft/darknetlib.gitgit submodule initgit submodule updatemakecdtestmake
- Let
darknet_detector_train()
work fine. - Friendly and standardized log output.
- Remove command line interaction code, like:
getchar()
. - Remove the strange
system()
call, like:system("echo ...")
- Refactor source code of the darknet, make it more suitable for use as a library, not a command line program. (very low priority)
Code released under theMIT License.
About
C library for wrapping darknet
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published