AlexeyAB
2018-03-15 371f21171a2606b4ad5f60651ed6f63cb8d08d99
src/data.c
@@ -269,7 +269,7 @@
        h =  boxes[i].h;
        id = boxes[i].id;
        if (w < .01 || h < .01) continue;
        if (w < .001 || h < .001) continue;
        int col = (int)(x*num_boxes);
        int row = (int)(y*num_boxes);
@@ -326,7 +326,7 @@
        id = boxes[i].id;
      // not detect small objects
      if ((w < 0.001 || h < 0.001)) { printf("small w = %f, h = %f \n", w, h); continue; }
      if ((w < 0.001 || h < 0.001)) continue;
        truth[i*5+0] = x;
        truth[i*5+1] = y;