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

Function full_obj_det_parts

tools/python/src/shape_predictor.cpp:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62std::vector<point> full_obj_det_parts (const full_object_detection& detection)
63{
64 const unsigned long num_parts = detection.num_parts();
65 std::vector<point> parts(num_parts);
66 for (unsigned long j = 0; j < num_parts; ++j)
67 parts[j] = detection.part(j);
68 return parts;
69}
70
71std::shared_ptr<full_object_detection> full_obj_det_init(const rectangle& rect, const py::object& pyparts_)
72{

Callers

nothing calls this directly

Calls 1

num_partsMethod · 0.45

Tested by

no test coverage detected