| | |
| | | random_paths[i] = paths[index]; |
| | | //if(i == 0) printf("%s\n", paths[index]); |
| | | //printf("grp: %s\n", paths[index]); |
| | | if (strlen(random_paths[i]) <= 4) printf(" Very small path to the image: %s \n", random_paths[i]); |
| | | } while (strlen(random_paths[i]) == 0); |
| | | } |
| | | pthread_mutex_unlock(&mutex); |
| | |
| | | system(buff); |
| | | continue; |
| | | } |
| | | if (x < 0 || x > 1 || y < 0 || y > 1) { |
| | | if (x <= 0 || x > 1 || y <= 0 || y > 1) { |
| | | printf("\n Wrong annotation: x = %f, y = %f \n", x, y); |
| | | sprintf(buff, "echo %s \"Wrong annotation: x = %f, y = %f\" >> bad_label.list", labelpath, x, y); |
| | | system(buff); |