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

Function ht_get_line_angle_in_degrees

tools/python/src/image4.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27template <typename T>
28double ht_get_line_angle_in_degrees (
29 const hough_transform& ht,
30 const dlib::vector<T,2>& p
31)
32{
33 DLIB_CASSERT(get_rect(ht).contains(p));
34 return ht.get_line_angle_in_degrees(p);
35}
36
37template <typename T>
38py::tuple ht_get_line_properties (

Callers

nothing calls this directly

Calls 3

get_rectFunction · 0.85
containsMethod · 0.45

Tested by

no test coverage detected