语句:
//在图像中找到形状模型的最佳匹配在图像中找到形状模型的最佳匹配
HOperatorSet.FindShapeModel(returnPic, hv_Tuple, (new HTuple(-180)).TupleRad()
, (new HTuple(180)).TupleRad(), 0.5, 1, 0, "least_squares", 4, 0.4, out hv_Row1,
out hv_Column1, out hv_Angle, out hv_Score);
错误:System.ExceSystem.Exception:“Exception caught: HALCON error #1402: Wrong number of values of control parameter: 2 in operator set_tposition”ption:“Exception cau
我创建的模板是存储到shm文件的,我重新创建模板后就可以了。
解决方法:检查模板