Skip to content
/ gandur Public

c++ wrapper for darknet (based upon prabindh's arapaho) and misc dataset tools

Notifications You must be signed in to change notification settings

voibit/gandur

Repository files navigation

Gandur

C++ wrapper class for darknet. based upon prabindhs "arapaho" [https://github.com/prabindh/darknet].

Build instructions

Tested with

  • opencv 3.3.0 (compiled with contrib and cuda)
  • boost 1.65
  • cuda 9 rc
  • cudnn 7

Make shure you have the right paths to cuda set in the makefile, and that you have made a shared lib out of darknet before building.

make videt
make imgdet
make gandur

Usage

#include "gandur.hpp"

Gandur *net= new Gandur();  
net->Detect(Mat,thersh);  
Mat detimg = drawDetections();  
vector<Rect> detRects = net->detections;  
delete net;

imgdet

Uses darknet to generate more training data from folder with images.

Usage

./imdet folder

Key effect
enter or space correct detection.
c manual classification
tab incomplete detection.
d delete image.
other keep for manual boxing.

videt

A tool to grab different cropped image frames from video.

Usage

./videt videofile.mp4

Key boxmode grabmode
a add boxes.
c finish adding boxes clear boxes
space select box save image

About

c++ wrapper for darknet (based upon prabindh's arapaho) and misc dataset tools

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published