| 180 | } |
| 181 | |
| 182 | std::vector<std::vector<double> > get_interocular_distances ( |
| 183 | const std::vector<std::vector<full_object_detection> >& objects |
| 184 | ) |
| 185 | { |
| 186 | std::vector<std::vector<double> > temp(objects.size()); |
| 187 | for (unsigned long i = 0; i < objects.size(); ++i) |
| 188 | { |
| 189 | for (unsigned long j = 0; j < objects[i].size(); ++j) |
| 190 | { |
| 191 | temp[i].push_back(interocular_distance(objects[i][j])); |
| 192 | } |
| 193 | } |
| 194 | return temp; |
| 195 | } |
| 196 | |
| 197 | // ---------------------------------------------------------------------------------------- |
| 198 |
no test coverage detected