Giter Club home page Giter Club logo

box_detection_yolov3_darknet's Introduction

Box_detection_Yolov3_Darknet

Yolo v3 Darknet for box detection in gazebo. This package provides dataset and training notebooks. As well as trained weights

Reference : Here

Note : For unknown reasons , yolo v3 tiny weights don't show any predictions when used with darknet ( AlexeyAB ) but Yolo v3 weights work fine.

Darknet ROS Installation

darknet_ros

cd ~/catkin_ws/src
git clone --recursive https://github.com/leggedrobotics/darknet_ros.git
cd ~/catkin_ws
catkin_make -DCMAKE_BUILD_TYPE=Release

For testing performance of trained weights :

Yolo v3 Darknet ( AlexeyAB )

  • Download weights : Here
  • Download sample test images : Here
cd ~
git clone https://github.com/AlexeyAB/darknet.git
cd darknet

( Make sure you have downloaded necessary libraries , please refer to these guides 1 and 2 )

Make changes in Makefile and save them using gedit or code (vs code)

code Makefile

For CPU build , set following parameters in Makefile :

CUDNN=0
CUDNN_HALF=0
OPENCV=1
AVX=1
OPENMP=1
LIBSO=1  
ZED_CAMERA=0
ZED_CAMERA_v2_8=0

Save the edited Makefile

make

Now copy obj.data , obj.names and yolov3_training.cfg files from ~/Object_follower_UR5/src/yolov3/cfg folder to cfg folder of darknet directory. Also place weights file in darknet directory Now place any test image ( for example here it is two_boxes.png ) in darknet directory and run following command :

cd ~/darknet
./darknet detector test cfg/obj.data cfg/yolov3_training.cfg yolov3_training.weights two_boxes.png

Watch the predictions of model! (Task 3 - Object Detection)

predictions

box_detection_yolov3_darknet's People

Contributors

vamsi-iiti avatar

Stargazers

Nick Imanzi avatar

Watchers

 avatar

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.