Opencv-python 计算点的延长线 import numpy as np
import cv2 as cvdef yc_line(center, yc_point, dist):c_x, c_y = centert_x, t_y = yc_pointx_dst = np.sqrt((center[0] - yc_point[0]) ** 2)y_dst = np.sqrt((center[1] - yc_point[1]) ** 2)# print(x
时间:2023-09-11 | 阅读:24