Coder Social home page Coder Social logo

chuanenlin / drone-net Goto Github PK

View Code? Open in Web Editor NEW
147.0 6.0 65.0 92.08 MB

https://towardsdatascience.com/tutorial-build-an-object-detection-system-using-yolo-9a930513643a

Python 100.00%
object-detection yolov3 darknet pretrained-weights drones dataset

drone-net's Introduction

DroneNet

DroneNet is Joseph Redmon's YOLO real-time object detection system retrained on 2664 images of DJI drones, labeled.
The original and labeled images used for retraining can be found under the image and label folders respectively.


Setting up

  1. Install the Ubuntu Linux distribution.

  2. Open terminal and enter the following lines to build Darknet:

git clone https://github.com/pjreddie/darknet.git
cd darknet
make

Note: if you are using another variant of Darknet (e.g AlexeyAB fork), the labels are in a different format. Original Yolo uses absolute coordinates to indicate the target box in the image, whereas AlexeyAB (and others) adopts relative coordinates. Depending on your version, the appropriate labels can be found in the directory labels (absolute coords) or normalized-labels (relative). Of course, images remain the same. |

  1. Move drone.data, drone.names, and yolo-drone.cfg under the cfg folder, create a weights directory and move yolo-drone.weights into the folder, move drone.jpg under the data folder, and move test.txt and train.txt in the root directory of your cloned darknet.

  2. Change lines 2 and 3 to your path in drone.data.


Running

Open terminal in the root directory of the darknet executable and enter:

./darknet detector test cfg/drone.data cfg/yolo-drone.cfg weights/yolo-drone.weights data/drone.jpg

Updates

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.