Alturos.Yolo
Alturos.Yolo copied to clipboard
How do I do yolo wrapper for classification task?
@tinohager Thank you so much to you and your team. So sorry but I don't have much experience in C# and C++.
I try to do images classification on Alturos YOLO by command: ./darknet classifier predict cfg/imagenet1k.data cfg/darknet19.cfg darknet19.weights data/dog.jpg by this tutorial https://pjreddie.com/darknet/imagenet/
I have done load weights, .cfg files but no result shows up. Then I read YoloWrapper.cs I saw that no Classification there, just Detector only.
Now I would like to create the YoloWrapperClassification.cs like as you did: https://github.com/AlturosDestinations/Alturos.Yolo/blob/master/src/Alturos.Yolo/YoloWrapper.cs and https://github.com/AlturosDestinations/Alturos.Yolo/blob/master/src/Alturos.Yolo/YoloTracking.cs
I think the way is read from .dll files from darknet alexAB but I really don't where to get that code on the darknet.c file. Can you tell me how to do it? Thank you so much.
The same to me. I can use System.Diagnostics.Process to call command "./darknet classifier predict cfg/imagenet1k.data cfg/darknet19.cfg darknet19.weights data/dog.jpg" And read the standard output. But I think it is not the good way to do.