| 36 | } |
| 37 | |
| 38 | void save_shape_predictor(const shape_predictor& predictor, const std::string& predictor_output_filename) |
| 39 | { |
| 40 | std::ofstream fout(predictor_output_filename.c_str(), std::ios::binary); |
| 41 | serialize(predictor, fout); |
| 42 | } |
| 43 | |
| 44 | // ---------------------------------------------------------------------------------------- |
| 45 |
nothing calls this directly
no test coverage detected