Counting 3,222 Big Data & Machine Learning Frameworks, Toolsets, and Examples...
Suggestion? Feedback? Tweet @stkim1

Author
Last Commit
Oct. 20, 2018
Created
Jul. 1, 2018

The repo makes yolov3(tiny/standard version) net more fast and simple on Android, Raspberry Pi, other lightweight devices. The size of core limited to 200kb and you can modify and customize easily. And anything unrelated was dropped, including cuda computing, trainning period and some layers.

Build

~ make
➜  ~ mv libdarknet.so /lib/

Demo1

Check object detection demo in detector.py. You will get a C struct containing object names, probability and bounding boxs' axis as API. It works if you got predicition images like this,

pred_giraffe

Restful Server Demo

#launch restful_server.py and testing rest api using curl 
#upload dog.jpg, and we got the detail of detection 
curl -X POST -F image=@dog.jpg 'http://localhost:5000/detect'
{
  "predictions:": [
    {
      "h": 56.46, 
      "label": "dog", 
      "prob": 73.18, 
      "w": 44.56, 
      "x": 47.93, 
      "y": 36.55
    }
  ]
}

Acknowledgement

Darknet is fantastic.