Skip to content

Commit da64b9b

Browse files
merge latest changes from v5.1 into v6-dev (nothing new, just cleanup up repos)
2 parents 8a73c05 + f684e1d commit da64b9b

17 files changed

Lines changed: 38 additions & 35 deletions

CM_package.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
# For example, set the generator to "DEB" or "RPM" depending on the platform you are using.
66
#
77
SET (CPACK_PACKAGE_NAME "darknet")
8-
SET (CPACK_PACKAGE_HOMEPAGE_URL "https://darknetcv.ai/")
8+
SET (CPACK_PACKAGE_HOMEPAGE_URL "https://www.ccoderun.ca/darknet/")
99
SET (CPACK_PACKAGE_DESCRIPTION "Darknet/YOLO Object Detection Framework")
1010
SET (CPACK_PACKAGE_CONTACT "Stephane Charette <stephanecharette@gmail.com>")
1111
SET (CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE)
1212

1313
IF (APPLE)
1414
SET (CPACK_GENERATOR "DragNDrop")
1515
SET (CPACK_DMG_FORMAT "UDZO")
16-
SET (CPACK_DMG_BACKGROUND_IMAGE "${CMAKE_CURRENT_SOURCE_DIR}/artwork/hankai_darknet.png")
16+
SET (CPACK_DMG_BACKGROUND_IMAGE "${CMAKE_CURRENT_SOURCE_DIR}/artwork/darknet_logo_banner.png")
1717

1818
ELSEIF (UNIX)
1919

CM_source.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,13 @@ SET (BUILD_SHARED_LIBS TRUE) # ADD_LIBRARY() will default to shared libs
145145
SET (CMAKE_ENABLE_EXPORTS TRUE) # equivalent to -rdynamic (to get the backtrace when something goes wrong)
146146
SET (CMAKE_OPTIMIZE_DEPENDENCIES TRUE) # some dependencies may be removed if they are not necessary to build the library
147147
SET (CMAKE_POSITION_INDEPENDENT_CODE TRUE) # equivalent to -fpic (position independent code)
148-
149148
INCLUDE_DIRECTORIES (src-cli)
150149
INCLUDE_DIRECTORIES (src-lib)
151150
INCLUDE_DIRECTORIES (src-other)
152151

153152
IF (Protobuf_FOUND)
154-
INCLUDE_DIRECTORIES (src-onnx)
155-
ADD_SUBDIRECTORY (src-onnx)
153+
INCLUDE_DIRECTORIES (src-onnx)
154+
ADD_SUBDIRECTORY (src-onnx)
156155
ENDIF ()
157156

158157
ADD_SUBDIRECTORY (doc)

README.md

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525

2626
# Darknet Object Detection Framework and YOLO
2727

28-
![darknet and hank.ai logos](artwork/darknet_and_hank_ai_logos.png)
28+
![darknet logo](artwork/darknet_logo_banner.png)
2929

3030
Darknet is an open source neural network framework written in C, C++, and CUDA.
3131

3232
YOLO (You Only Look Once) is a state-of-the-art, real-time, object detection system, which runs in the Darknet framework.
3333

3434
* 2025-08: Darknet/YOLO repo has moved to **[Codeberg.org/CCodeRun/darknet/](https://codeberg.org/CCodeRun/darknet/)**
3535
* All commits are automatically mirrored from Codeberg to the older Hank.ai GitHub repo.
36-
* See the **[Darknet/YOLO web site](https://darknetcv.ai/)**
36+
* See the **[Darknet/YOLO web site](https://www.ccoderun.ca/darknet/)**
3737
* Please read through the **[Darknet/YOLO FAQ](https://www.ccoderun.ca/programming/darknet_faq/)**
3838
* Join the **[Darknet/YOLO discord server](https://discord.gg/MQw32W9Cqr)**
3939

@@ -79,9 +79,9 @@ Darknet/YOLO is known to work on Linux, Windows, and Mac. See the [building ins
7979
* Removed many old and unmaintained commands.
8080
* You can always do a checkout of the previous `v2` branch if you need to run one of these commands. Let us know so we can investigate adding back any missing commands.
8181
* Many performance optimizations, both when training and during inference.
82-
* Legacy C API was modified; applications that use the original Darknet API will need minor modifications: https://darknetcv.ai/api/api.html
83-
* New Darknet V3 C and C++ API to make it easier for developers to write applications that use Darknet/YOLO: https://darknetcv.ai/api/api.html
84-
* New apps and sample code in `src-examples`: https://darknetcv.ai/api/files.html
82+
* Legacy C API was modified; applications that use the original Darknet API will need minor modifications: https://www.ccoderun.ca/darknet/api.html
83+
* New Darknet V3 C and C++ API to make it easier for developers to write applications that use Darknet/YOLO: https://www.ccoderun.ca/darknet/api.html
84+
* New apps and sample code in `src-examples`: https://www.ccoderun.ca/darknet/files.html
8585
* The next release was in early 2025. The `version` command now returns 4.x "SLATE".
8686
* Added support for AMD GPUs using ROCm.
8787
* Still need to add support for MIOpen.
@@ -164,7 +164,7 @@ Select one of the following build types:
164164
> [!CAUTION]
165165
> Beware if you are following old tutorials with more complicated build steps, or build steps that don't seem to match what is in this readme. The new build steps started in August 2023.
166166
167-
Software developers are encouraged to visit https://darknetcv.ai/ to get information on the internals of the Darknet/YOLO object detection framework.
167+
Software developers are encouraged to visit https://www.ccoderun.ca/darknet/ to get information on the internals of the Darknet/YOLO object detection framework.
168168

169169
> [!IMPORTANT]
170170
> An important change was made in Darknet v5.1 to one of the prediction structures. If you have software that includes `darknet.h` or `darknet.hpp` you'll want to recompile your application to prevent segfaults.
@@ -265,21 +265,11 @@ You are now done! Darknet has been built and installed into `/usr/bin/`. Run t
265265
> [!IMPORTANT]
266266
> Apple GPU acceleration (MPS) is recommended on Apple Silicon. Intel Macs may work depending on GPU, but are untested. Currently, only inference is supported, training is still disabled.
267267
268-
Install Xcode Command Line Tools, then install Homebrew (recommended):
268+
Install Xcode Command Line Tools, then install Homebrew:
269269

270270
```sh
271271
xcode-select --install
272-
```
273-
274-
Install Homebrew:
275-
276-
```sh
277272
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
278-
```
279-
280-
Install the required tools and dependencies:
281-
282-
```sh
283273
brew install cmake opencv
284274
```
285275

@@ -628,18 +618,32 @@ darknet detector -gpus 0 -verbose -log output.log -map -dont_show train animals.
628618
* For a robust alternative CLI to Darknet, to use image tiling, for object tracking in your videos, or for a robust C++ API that can easily be used in commercial applications, [see DarkHelp](https://codeberg.org/CCodeRun/DarkHelp#what-is-the-darkhelp-c-api).
629619
* See if [the Darknet/YOLO FAQ](https://www.ccoderun.ca/programming/darknet_faq/) can help answer your questions.
630620
* See the many tutorial and example videos on [Stéphane's YouTube channel](https://www.youtube.com/c/StephaneCharette/videos)
631-
* [C++ bindings for Darknet/YOLO](https://darknetcv.ai/api/api.html#apiv3_cpp) (in the Darknet/YOLO repo)
632-
* [C bindings for Darknet/YOLO](https://darknetcv.ai/api/api.html#apiv3_c) (in the Darknet/YOLO repo)
621+
* [C++ bindings for Darknet/YOLO](https://www.ccoderun.ca/darknet/api.html#apiv3_cpp) (in the Darknet/YOLO repo)
622+
* [C bindings for Darknet/YOLO](https://www.ccoderun.ca/darknet/api.html#apiv3_c) (in the Darknet/YOLO repo)
633623
* [Python bindings for Darknet/YOLO](src-python/) (in the Darknet/YOLO repo)
634624
* [Java bindings for Darknet/YOLO](https://github.com/stephanecharette/DarknetJava) [incomplete, in-progress]
635625
* [Delphi bindings for Darknet/YOLO](https://github.com/hansvas/Darknet4Delphi)
636626
* [C# bindings for Darknet/YOLO](https://github.com/libormasek/DarknetCSharp)
637627
* [Darknet2Any](https://github.com/jredmondson/darknet2any/)
638628
* If you have a support question or want to chat with other Darknet/YOLO users, [join the Darknet/YOLO discord server](https://discord.gg/MQw32W9Cqr).
639629

630+
631+
# Sponsors
632+
633+
Thank you to both individual and corporate sponsors. A special thanks to past corporate sponsors who helped fund the continued development of Darknet/YOLO.
634+
635+
In alphabetical order, this includes:
636+
637+
* [Detect-It](https://www.detect-it.ai/)
638+
* [Hank AI](https://hank.ai/)
639+
* [Koshee](https://koshee.ai/)
640+
* [Medius](https://www.medius.com/)
641+
* [Upplevelseinstitutet](https://upplevelseinstitutet.se/)
642+
643+
640644
# Roadmap
641645

642-
Last updated 2026-01-07:
646+
Last updated 2026-06-27:
643647

644648
## Completed
645649

@@ -689,7 +693,7 @@ Last updated 2026-01-07:
689693

690694
## Short-term goals
691695

692-
* [ ] Java bindings **(in progress)**
696+
* [ ] Java bindings **(incomplete)**
693697
* [ ] look into old zed camera support
694698
* [ ] better and more consistent command line parsing **(in progress)**
695699
* [ ] add support for MIOpen
@@ -703,7 +707,7 @@ Last updated 2026-01-07:
703707
* [ ] fix support for 1-channel greyscale images
704708
* [ ] add support for N-channel images where N > 3 (e.g., images with an additional depth or thermal channel)
705709
* [ ] on-going code cleanup **(in progress)**
706-
* [X] add support for 8-bit quantization in the ONNX export tool **(in progress)**
710+
* [ ] add support for 8-bit quantization in the ONNX export tool
707711

708712
## Long-term goals
709713

artwork/darknet.png

1.16 MB
Loading

artwork/darknet.xcf

817 KB
Binary file not shown.
-277 KB
Binary file not shown.

artwork/darknet_logo_75x75.png

676 Bytes
Loading

artwork/darknet_logo_banner.png

371 KB
Loading

artwork/darknet_logo_banner.xcf

376 KB
Binary file not shown.

artwork/hankai_darknet.png

-1.15 MB
Binary file not shown.

0 commit comments

Comments
 (0)