| 103 | } |
| 104 | |
| 105 | inline bool contains_any_boxes ( |
| 106 | const std::vector<std::vector<rectangle> >& boxes |
| 107 | ) |
| 108 | { |
| 109 | for (unsigned long i = 0; i < boxes.size(); ++i) |
| 110 | { |
| 111 | if (boxes[i].size() != 0) |
| 112 | return true; |
| 113 | } |
| 114 | return false; |
| 115 | } |
| 116 | |
| 117 | inline void throw_invalid_box_error_message ( |
| 118 | const std::string& dataset_filename, |
no test coverage detected