Rakesh Jasti
2017-04-26 c3b9e4453884f9e44761987fce3b9c6a3dae447b
Added support for custom data with png image files
1 files modified
1 ■■■■ changed files
src/detector.c 1 ●●●● patch | view | raw | blame | history
src/detector.c
@@ -407,6 +407,7 @@
        find_replace(labelpath, "JPEGImages", "labels", labelpath);
        find_replace(labelpath, ".jpg", ".txt", labelpath);
        find_replace(labelpath, ".JPEG", ".txt", labelpath);
    find_replace(labelpath, ".png", ".txt", labelpath);
        int num_labels = 0;
        box_label *truth = read_boxes(labelpath, &num_labels);