当前位置:网站首页>Actual combat | inductance element positioning -- detailed explanation of Halcon and opencv implementation (with source code)

Actual combat | inductance element positioning -- detailed explanation of Halcon and opencv implementation (with source code)

2022-06-12 23:31:00 Color Space

Reading guide

In this paper, we share an example of inductor positioning , Attached Halcon and OpenCV Implementation steps and code .( official account :OpenCV And AI Deep learning )

Background introduction

    This example comes from EmguCV Student exchange group , I have agreed to use pictures for demonstration .

As shown in the figure above, the coil inductance element , The goal is to locate the central position of the component and then grasp it with a manipulator , The accuracy requirement is not very high , However, due to the influence of coil lines , The matching effect is not very good , It's used for demonstration here Blob Analytical method to locate . The end result is as follows :

Implementation steps and demonstration

【1】 Turn to grayscale + Two valued :

【2】 Hole filling ( Refer to the following historical articles ):

原网站

版权声明
本文为[Color Space]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202280953146413.html