00001 import cv2 00002 import numpy as np 00003 00004 def projectPointToImage(pt, K, D): 00005 return cv2.projectPoints(np.float64(pt), np.zeros(3), np.zeros(3), K, D)[0][0]