Searched refs:goodcorners (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/modules/python/test/ |
D | camera_calibration.py | 232 def mk_image_points(goodcorners): argument 233 ipts = cv.CreateMat(len(goodcorners) * num_pts, 2, cv.CV_32FC1) 234 for (i, co) in enumerate(goodcorners): 265 goodcorners = [co for (im, (ok, co)) in zip(images, corners) if ok] variable 293 def silly(p, goodcorners): argument 299 xformed = [[xf(pt, poly) for pt in co] for co in goodcorners] 305 print "initial error", silly(x0, goodcorners) 306 xopt = fmin(silly, x0, args=(goodcorners,)) 308 print "final error", silly(xopt, goodcorners) 315 for co in goodcorners: [all …]
|