MCPcopy Create free account
hub / github.com/PaddlePaddle/PaddleYOLO / _get_3rd_point

Function _get_3rd_point

deploy/serving/python/preprocess_ops.py:274–293  ·  view source on GitHub ↗

To calculate the affine matrix, three pairs of points are required. This function is used to get the 3rd point, given 2D points a & b. The 3rd point is defined by rotating vector `a - b` by 90 degrees anticlockwise, using b as the rotation center. Args: a (np.ndarray): poin

(a, b)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_affine_transformFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected