| 36 | |
| 37 | template <typename T> |
| 38 | py::tuple ht_get_line_properties ( |
| 39 | const hough_transform& ht, |
| 40 | const dlib::vector<T,2>& p |
| 41 | ) |
| 42 | { |
| 43 | DLIB_CASSERT(get_rect(ht).contains(p)); |
| 44 | double angle_in_degrees; |
| 45 | double radius; |
| 46 | ht.get_line_properties(p, angle_in_degrees, radius); |
| 47 | return py::make_tuple(angle_in_degrees, radius); |
| 48 | } |
| 49 | |
| 50 | point ht_get_best_hough_point ( |
| 51 | hough_transform& ht, |
nothing calls this directly
no test coverage detected