我将cv2.warpPerspective应用于imageA
result = cv2.warpPerspective(imageA, Ht.dot(H), (xmax-xmin, ymax-ymin))
也许有人知道如何计算?
答案 0 :(得分:0)
old_points = [[[3.27589822,-24.28251266]],[[8.85595226,270.21176147]],[[408.69842529,258.427948]],[[398.14550781,-36.64953613]]]
new_points = cv2.perspectiveTransform(old_points,H)