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

Function deserialize

dlib/image_transforms/interpolation.h:1734–1744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1732 }
1733
1734 inline void deserialize(chip_details& item, std::istream& in)
1735 {
1736 int version = 0;
1737 deserialize(version, in);
1738 if (version != 1)
1739 throw serialization_error("Unexpected version found while deserializing dlib::chip_details");
1740 deserialize(item.rect, in);
1741 deserialize(item.angle, in);
1742 deserialize(item.rows, in);
1743 deserialize(item.cols, in);
1744 }
1745
1746// ----------------------------------------------------------------------------------------
1747

Callers

nothing calls this directly

Calls 1

serialization_errorClass · 0.85

Tested by

no test coverage detected