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

Function serialize

dlib/image_processing/shape_predictor.h:411–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409 };
410
411 inline void serialize (const shape_predictor& item, std::ostream& out)
412 {
413 int version = 1;
414 dlib::serialize(version, out);
415 dlib::serialize(item.initial_shape, out);
416 dlib::serialize(item.forests, out);
417 dlib::serialize(item.anchor_idx, out);
418 dlib::serialize(item.deltas, out);
419 }
420
421 inline void deserialize (shape_predictor& item, std::istream& in)
422 {

Callers 2

serializeMethod · 0.70
serializeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected