💥Installing Darknet on Windows💨
🍀YOLO with Darknet 🎃

Source
Original : https://github.com/pjreddie/darknet
Recommend : https://github.com/AlexeyAB/darknet
Tools
Git : https://git-scm.com/downloads
Anaconda : https://www.anaconda.com/products/individual#windows
Visual Studio : https://visualstudio.microsoft.com/downloads/
OpenCV : https://opencv.org
CMake : https://cmake.org
Vcpkg : https://github.com/Microsoft/vcpkg
CUDA : https://developer.nvidia.com/cuda-toolkit-archive
CuDNN : https://developer.nvidia.com/rdp/cudnn-download
Doc.
GPU : https://en.wikipedia.org/wiki/CUDA#GPUs_supported
Visual Studio
- Desktop development with C++
Config Darknet
Up to You!
OpenCV
- Build with CMake
- Installing with .EXE
Use CMake
- Build OpenCV
- Build Darknet
Use Vcpkg
- Command Prompt
bootstrap-vcpkg.bat
vcpkg integrate install
- Environment variables (System Variables)
VCPKG_ROOT : vcpkg folderVCPKG_DEFAULT_TRIPLET : x64-windows
- Powershell
PS \> cd $env:VCPKG_ROOT
PS \vcpkg> .\vcpkg install pthreads opencv[ffmpeg]
- Powershell (Administrator)
Get-ExecutionPolicy
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
A/Y
.\build.ps1Set-ExecutionPolicy -ExecutionPolicy Restricted
A
- Test
Download coco weights / Train model export weights
darknet.exe detector test cfg/coco.data cfg/yolov3.cfg yolov3.weights -thresh 0.25
Use Linux 😄
make