| 220 | // ---------------------------------------------------------------------------------------- |
| 221 | |
| 222 | point_transform_projective py_find_projective_transform ( |
| 223 | const std::vector<dpoint>& from_points, |
| 224 | const std::vector<dpoint>& to_points |
| 225 | ) |
| 226 | { |
| 227 | DLIB_CASSERT(from_points.size() == to_points.size(), |
| 228 | "from_points and to_points must have the same number of points."); |
| 229 | DLIB_CASSERT(from_points.size() >= 4, |
| 230 | "You need at least 4 points to find a projective transform."); |
| 231 | return find_projective_transform(from_points, to_points); |
| 232 | } |
| 233 | |
| 234 | template <typename T> |
| 235 | point_transform_projective py_find_projective_transform2 ( |
nothing calls this directly
no test coverage detected