| 190 | } |
| 191 | |
| 192 | void NeuralNetworkDetector::cherry_pick() |
| 193 | { |
| 194 | sort_(all_results_); |
| 195 | sort_(filtered_results_); |
| 196 | |
| 197 | if (auto index_opt = pythonic_index(filtered_results_.size(), param_.result_index)) { |
| 198 | best_result_ = filtered_results_.at(*index_opt); |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | cv::Mat NeuralNetworkDetector::draw_result(const ResultsVec& results) const |
| 203 | { |
nothing calls this directly
no test coverage detected