Active Hackathon

Guide To Darknet Installation On Windows 10 – CPU Version

Darknet is a framework for real-time object detection. Darknet is an open-source neural network framework and is written in C and CUDA. A major reason it is used widely is that it is highly accurate and very fast. The reason for Darknet to be fast is because it is written in C and CUDA. Darknet supports CPU and GPU computations so it integrates better with your system and works accordingly.

If you are reading this, it means you are facing issues, the same problem which many Windows 10 users have faced. Already complications of Deep Learning are not enough we windows users have to face this new problem. Installing Darknet on the Windows system. And if this is not enough you will not find any proper YouTube videos or website which will tell you what to do and how.


Sign up for your weekly dose of what's up in emerging technology.

After spending different tutorials, from different sources and failing several times, I finally succeeded. So here are the simple steps I followed to install Darknet in my windows 10 system.

Step 1: This is the most common step you will find in any tutorial. Clone Darknet git repo for windows by AlexeyAB.

If you have git installed you can open command prompt and run command:

git clone

If you don’t have git installed you can open above link and download zip and unzip (screenshot shared below)

Step 2: Open the Makefile in unzipped/downloaded folder darknet-master and change OPENCV=1 and save it.

Step 3:     Go to  and Download OpenCV

Create a folder named opencv_3.0 in C drive, double click the .exe file downloaded and unzip it in opencv_3.0 folder.


After this step add the following path to Environment  Variables (Just for sanity check, copy these paths from your system.)




Step 4: Download and Install Microsoft Visual Studio Community Edition 2019 from following link:

Select Python development and Desktop development with C++ package too.

Now this will take a while to finish Installing and it will take quite some Gigs on C Drive. To save some space in C Drive, go to Installation location and you can select different Drive for top two options: You can see in below I have changed path to G drive.

Step 5: Go to Darknet\build\darknet open darknet_no_gpu.sln file with Visual Studio

When you open, Visual Studio will ask you to download two more dependencies. This will take a little more time to complete. 

Change Debug option to Release

Then click the .sln file once in Solution Explorer window so that it is selected (make sure it is collapsed)

Next go to Build option and click Build darknet_no_gpu

Process will end showing following message: 

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Step 6: Now go to darknet\build\darknet\x64 folder and you will see darknet_no_gpu.exe has been created.


If you have successfully completed this point. Congratulations have successfully installed Darknet in your Windows 10 system.

More Great AIM Stories

Goldy Mazumdar
I am BE Mechanical. In the path of becoming a Data Science. Technology fascinates me. I am a Certified ML Engineer. Pursuing Deep Learning.

Our Upcoming Events

Conference, in-person (Bangalore)
Machine Learning Developers Summit (MLDS) 2023
19-20th Jan, 2023

Conference, in-person (Bangalore)
Rising 2023 | Women in Tech Conference
16-17th Mar, 2023

Conference, in-person (Bangalore)
Data Engineering Summit (DES) 2023
27-28th Apr, 2023

Conference, in-person (Bangalore)
MachineCon 2023
23rd Jun, 2023

3 Ways to Join our Community

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Telegram Channel

Discover special offers, top stories, upcoming events, and more.

Subscribe to our newsletter

Get the latest updates from AIM