Algorithm for recognizing the contour of a honeycomb block
This is an incremental improvement for computer vision applications in manufacturing or quality control, specifically for honeycomb block inspection.
The authors tackled the problem of recognizing the contour of honeycomb block fragments, showing that standard OpenCV functions are inadequate, and proposed a sliding matrix algorithm that works correctly on products of any shape, unlike a direct scanning method that fails on concave areas.
The article discusses an algorithm for recognizing the contour of fragments of a honeycomb block. The inapplicability of ready-made functions of the OpenCV library is shown. Two proposed algorithms are considered. The direct scanning algorithm finds the extreme white pixels in the binarized image, it works adequately on convex shapes of products, but does not find a contour on concave areas and in cavities of products. To solve this problem, a scanning algorithm using a sliding matrix is proposed, which works correctly on products of any shape.