{"id":19081585,"url":"https://github.com/lc-soft/darknetlib","last_synced_at":"2025-04-18T11:31:04.899Z","repository":{"id":147032874,"uuid":"163416504","full_name":"lc-soft/darknetlib","owner":"lc-soft","description":"C library for wrapping darknet","archived":false,"fork":false,"pushed_at":"2019-10-17T14:58:51.000Z","size":1128,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T22:44:27.270Z","etag":null,"topics":["c-api","c-bindings","darknet","deep-learning","dnn","object-detection","yolo"],"latest_commit_sha":null,"homepage":"https://github.com/AlexeyAB/darknet","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lc-soft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-12-28T14:00:35.000Z","updated_at":"2021-07-21T17:38:38.000Z","dependencies_parsed_at":"2024-02-01T17:47:47.028Z","dependency_job_id":null,"html_url":"https://github.com/lc-soft/darknetlib","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc-soft%2Fdarknetlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc-soft%2Fdarknetlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc-soft%2Fdarknetlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc-soft%2Fdarknetlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lc-soft","download_url":"https://codeload.github.com/lc-soft/darknetlib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223780182,"owners_count":17201283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-api","c-bindings","darknet","deep-learning","dnn","object-detection","yolo"],"created_at":"2024-11-09T02:37:22.480Z","updated_at":"2024-11-09T02:37:23.584Z","avatar_url":"https://github.com/lc-soft.png","language":"C","readme":"# DarknetLib\n\n([中文](README.zh-cn.md)/**EN**)\n\n## Tab of contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Use](#use)\n    - [Use on Windows](#use-on-windows)\n    - [Use on Linux](#use-on-linux)\n- [Todo](#todo)\n- [Legal](#legal)\n\n## Introduction\n\nDarknetlib is a C library for wrapping [darknet](http://pjreddie.com/darknet/),\nIt mainly provides object detection support for [LC-Finder](https://github.com/lc-soft/LC-Finder), you can find the relevant code in the [src/lib/detector.c](https://github.com/lc-soft/LC-Finder/blob/develop/src/lib/detector.c) file.\n\n## Features\n\n- Provides simple exception handling\n- Redefining the interface with a new naming style\n- Suitable for compilation into a dynamic library to use\n\n## Use\n\n### Use on Windows\n\nInstall with [lcpkg](https://github.com/lc-soft/lcpkg):\n\n```bash\nlcpkg install github.com/lc-soft/darknetlib\n```\n\nDarknetlib installed in this way is the pure CPU computing version, If you need gpu-accelerated version, please go to [Release](https://github.com/lc-soft/darknetlib/releases) page to download.\n\nIf you want to build from source code:\n\n1. Download and install [CUDA](https://developer.nvidia.com/cuda-downloads)\n1. Download [cuDNN](https://developer.nvidia.com/cudnn) and unpack files to hte `3rdparty` directory\n1. Open `build/darknet.sln` whith Visual Studio 2017\n1. Set **Release** and **x64**\n1. build **darknet_gpu** and **test** project\n1. Download the [yolov3-tiny.weights](https://pjreddie.com/media/files/yolov3-tiny.weights) file to the `test` directory\n1. Run the test\n\n### Use on Linux\n\n```bash\ngit clone https://github.com/lc-soft/darknetlib.git\ngit submodule init\ngit submodule update\nmake\ncd test\nmake\n```\n\n## Todo\n\n- Let `darknet_detector_train()` work fine.\n- Friendly and standardized log output.\n- Remove command line interaction code, like: `getchar()`.\n- Remove the strange `system()` call, like: `system(\"echo ...\")`\n- Refactor source code of the darknet, make it more suitable for use as a library, not a command line program. (very low priority)\n\n## Legal\n\nCode released under the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flc-soft%2Fdarknetlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flc-soft%2Fdarknetlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flc-soft%2Fdarknetlib/lists"}