随着我国工业生产行业的快速发展,人工上料越来越难以适应,为解决工业生产线生产效率不高,人工成本过大,智能化不足等问题;基于国内外现有工件定位方法的研究,采用机器视觉对工件定位进行研究,利用工业相机采集图像信息,上传到PC端中NI Vision软件进行图像预处理、边缘检测,并基于边缘检测结果提取质心点,然后利用坐标转换算法,获得对应世界坐标系下的坐标值,通过通信单元传送给机器人控制系统,控制机器手移动;经验证,算法不仅稳定可靠,而且易于修改,所得结果精度相对较高。
With the rapid development of industrial production in China, it is becoming more and more difficult to adapt to the artificial feeding, in order to solve the problem of industrial production line efficiency is not high, labor cost is too large, the problem of intelligent and so on. Based on the research of the existing methods, this method uses machine vision to study the workpiece positioning, industrial cameras capture image information, uploaded to the NI Vision software in the PC for image preprocessing, edge detection, and based on the edge de- tection results, the centroid points will he extracted, then the coordinate transformation algorithm is used to obtain the coordinates of the world coordinate system, transmitted via the communication unit to the robot control system, to control machine hand movement. The re- sults show that the algorithm is stable and reliable, and is easy to be modified, the results obtained are relatively high accuracy.