基于双目视觉的复杂工件孔洞目标检测定位

Hole target detection and location of complex workpiece based on binocular vision

  • 摘要: 针对金属3D打印件孔洞部位支撑残留后处理问题,提出了一种双目视觉检测定位方法。测量系统基于弧段椭圆识别算法进行工件孔位检测,通过计算待加工孔位在双目模组主相机光心坐标系中的位姿、并将该位姿转换到加工现场机械臂基坐标系,为离线编程和自动加工提供坐标信息。首先标定双目相机并检验硬件系统对标定角点的测量精度;然后对复杂工件的待加工位置椭圆特征进行提取,基于极线校正后图像对左右图椭圆进行同行像素点采集和双目匹配;最终根据多视图原理进行匹配点对的坐标计算进而输出带有坐标信息的空间圆环。对双目相机模组进行了标定靶球测量验证实验,结果显示尺寸测量误差小于0.20 mm。对实际工件进行了测量定位实验,结果表明,该系统测量圆孔尺寸的最大误差小于0.84%,圆心空间位置误差小于0.50 mm,圆环姿态最大误差小于0.5°。

     

    Abstract: A binocular vision detection and positioning method is proposed to solve the problem of post-processing of hole support residue in metal 3D printing parts. In this paper, the measuring system detects the hole position of the workpiece based on the arc ellipse recognition algorithm, calculates the pose of the hole position to be machinized in the optical center coordinate system of the main camera of the binocular module, and converts the pose to the base coordinate system of the robot arm on the machining site, providing coordinate information for off-line programming and automatic machining. Firstly, the binocular camera is calibrated and the measurement accuracy of the hardware system is checked. Then, the position ellipse features of the complex workpiece to be processed are extracted, and the left and right image ellipses are collected and binocular matching based on the pole-corrected images. Finally, the coordinates of matching point pairs are calculated according to the principle of multi-view, and the spatial ring with coordinate information is output. The experimental results show that the measurement error is less than 0.20 mm. The results show that the maximum error of the system is less than 0.84%, the error of the center space is less than 0.50 mm, and the maximum error of the attitude of the ring is less than 0.5°.

     

/

返回文章
返回