AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.72k stars 7.96k forks source link

Darknet Classification in C++ API #3097

Open angeligareta opened 5 years ago

angeligareta commented 5 years ago

Hi!

I am developing a detection system for traffic signs. I have grouped them on 5 main categories: prohibitory, mandatory, danger, stop and yield. The next step would be to classify the speed limit signs, that are part of the prohibitory group. In order to do that, I tried using Tesseract in C++, but the process is very slow.

I am going to try to do a classifier in prohibitory signs. I am going to follow this tutorial: https://pjreddie.com/darknet/train-cifar/. However, I can not find any method in C++ Yolo API that allows me to use the darknet classifier operation. Could anyone tell me how to use it? And what do you think of my approach?

Thanks!

JamesChenChina commented 5 years ago

you can use "./darknet classifier predict" if you want to use it as dll, you can write it by yourself. you can refer to #2981