I want to detect License Plate region by YOLO V3. I've used darknet to create Weights for this purpose. After training a weight file was created. The size of this file was 234 MB and I used darknet53.conv.74 file and 650 images for train.
The Config file (yolov3.cfg) is
# Testing
# batch=64
# subdivisions=8
# Training
batch=64
subdivisions=64
width=608
height=608
channels=3
momentum=0.9
decay=0.0005
angle=0
saturation = 1.5
exposure = 1.5
hue=.1
learning_rate=0.001
burn_in=1000
max_batches = 4000
policy=steps
steps=3200,3600
scales=.1,.1
....
After that I used Alturos.Yolo 2.6.2 NuGet in C#.NET
YoloWrapper yoloWrapper;
private void Form_Load(object sender, EventArgs e)
{
yoloWrapper = new YoloWrapper("yolov3.cfg", "yolov3.weights", "voc.names");
}
private void btnDetect_Click(object sender, EventArgs e)
{
var items = yoloWrapper.Detect(path);
...
}
The problem is speed. it takes about 3 seconds to detect License Plate region.