MCPcopy Create free account
hub / github.com/davisking/dlib / save_shape_predictor

Function save_shape_predictor

tools/python/src/shape_predictor.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void 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

Callers

nothing calls this directly

Calls 1

serializeFunction · 0.70

Tested by

no test coverage detected