举个系统的例子:
- * Read calibration image.
- read_image(Image, 'calib/calib_distorted_01')
- * Find calibration pattern.
- find_caltab(Image,CalPlate, 'caltab_100mm.descr', 3, 112, 5)
- * Find calibration marks and start pose.
- find_marks_and_pose(Image, CalPlate, 'caltab_100mm.descr' , \
- ['area_scan_division', 0.008, 0.0, \
- 0.000011, 0.000011, 384, 288, 640, 512], \
- 128, 10, 18, 0.9, 15.0, 100.0, RCoord, CCoord, StartPose)
复制代码
find_caltab这个算子可以查找到标定区域,没有找到的话区域就是空的,你可以基于此判断。
|