Python: module telemetry.internal.image_processing.cv_util

telemetry.internal.image_processing.cv_util | index telemetry/internal/image_processing/cv_util.py

`This module provides implementations of common computer Vision operations.`

Modules
`` |  |
telemetry.internal.util.external_modules | numpy |  |

Functions
`` |  | AreLinesOrthogonal(line1, line2, tolerance) `Returns true if lines are within tolerance radians of being orthogonal.` ExtendLines(lines, length) `Extends lines in an array to a given length, maintaining the center point. Does not necessarily maintain point order.` FindLineIntersection(line1, line2) `If the line segments intersect, returns True and their intersection. Otherwise, returns False and the intersection of the line segments if they were to be extended.` IsPointApproxOnLine(point, line, tolerance=1) `Approximates distance between point and line for small distances using the determinant and checks whether it's within the tolerance. Tolerance is an approximate distance in pixels, precision decreases with distance.` SqDistance(point1, point2) `Computes the square of the distance between two points.` SqDistances(points1, points2) `Computes the square of the distance between two sets of points, or a set of points and a point.`

Data
`` |  | division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)