Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Nov 6, 2024. It is now read-only.
/darknetlibPublic archive

C library for wrapping darknet

License

NotificationsYou must be signed in to change notification settings

lc-soft/darknetlib

Repository files navigation

(中文/EN)

Tab of contents

Introduction

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.

Features

  • Provides simple exception handling
  • Redefining the interface with a new naming style
  • Suitable for compilation into a dynamic library to use

Use

Use on Windows

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:

  1. Download and installCUDA
  2. DownloadcuDNN and unpack files to hte3rdparty directory
  3. Openbuild/darknet.sln whith Visual Studio 2017
  4. SetRelease andx64
  5. builddarknet_gpu andtest project
  6. Download theyolov3-tiny.weights file to thetest directory
  7. Run the test

Use on Linux

git clone https://github.com/lc-soft/darknetlib.gitgit submodule initgit submodule updatemakecdtestmake

Todo

  • Letdarknet_detector_train() work fine.
  • Friendly and standardized log output.
  • Remove command line interaction code, like:getchar().
  • Remove the strangesystem() 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)

Legal

Code released under theMIT License.


[8]ページ先頭

©2009-2025 Movatter.jp