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

Function print_rgb_pixel_repr

tools/python/src/image.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25string print_rgb_pixel_repr(const rgb_pixel& p)
26{
27 std::ostringstream sout;
28 sout << "rgb_pixel(" << (int)p.red << "," << (int)p.green << "," << (int)p.blue << ")";
29 return sout.str();
30}
31
32// ----------------------------------------------------------------------------------------
33

Callers

nothing calls this directly

Calls 1

strMethod · 0.45

Tested by

no test coverage detected