| 160 | // ---------------------------------------------------------------------------------------- |
| 161 | |
| 162 | bool has_non_ignored_boxes (const image_dataset_metadata::image& img) |
| 163 | { |
| 164 | for (auto&& b : img.boxes) |
| 165 | { |
| 166 | if (!b.ignore) |
| 167 | return true; |
| 168 | } |
| 169 | return false; |
| 170 | } |
| 171 | |
| 172 | // ---------------------------------------------------------------------------------------- |
| 173 |