Tab bending detection method and apparatus, electronic device, and storage medium
Abstract:
A tab bending detection method and apparatus, an electronic device, and a storage medium are provided. The method includes: performing skeleton extraction on a sectional image of multiple layers of tabs to obtain a skeleton image of the multiple layers of tabs; merging damaged connected components in the skeleton image to obtain a merged connected component, where the damaged connected components are connected components on which breaking occurs in a same tab section; calculating a target number of the multiple layers of tabs based on the merged connected component and an undamaged connected component; and detecting, based on the target number and a preset number, whether any tab in the multiple layers of tabs is in a bending state. The damaged connected components are merged to obtain the merged connected component.
Information query
Patent Agency Ranking
0/0