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

Function serialize

tools/python/src/serialize_object_detector.h:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace dlib
9{
10 inline void serialize (const dlib::simple_object_detector_py& item, std::ostream& out)
11 {
12 int version = 1;
13 serialize(item.detector, out);
14 serialize(version, out);
15 serialize(item.upsampling_amount, out);
16 }
17
18 inline void deserialize (dlib::simple_object_detector_py& item, std::istream& in)
19 {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected