Ask Your Question

dimensional1's profile - activity

2016-08-03 12:47:50 -0600 received badge  Enthusiast
2016-08-02 10:33:56 -0600 commented answer Measuring Planar Objects with a Calibrated Camera

Thanks, i'm still struggling to get the correct equation. My python to go from object points to image points looks like this:

object_points = np.array([[0, 0, .4], [.3, .2, .4]])

image_points, jacobian = cv2.projectPoints(object_points, rvec, tvec, camera_matrix, dist_coefs)

cv2.line(img, tuple(image_points[0].astype(int).ravel()), tuple(image_points[1].astype(int).ravel()),(0, 255, 0), 1)

image_points = np.array([[100, 100], [200, 200]])

object_points_on_plane = ????

but i'm unsure how to go back to object points on a plane from image points.

2016-07-09 05:46:36 -0600 commented question Measuring Planar Objects with a Calibrated Camera

thanks but I don't see anything in those links directly relating to the question. Am I missing something?

2016-07-08 23:00:58 -0600 asked a question Measuring Planar Objects with a Calibrated Camera

I would like to measure some coins placed on top of a calibration plate, as per this matlab example http://mathworks.com/help/vision/exam... .

Does OpenCV have an equivalent to the pointsToWorld function that lets you pass in pixel X,Y's and get world X,Y's on a plane?