The application discloses a battery
welding mark defect detection method and device based on 3D
point cloud segmentation and a medium, relates to the technical field of
welding mark defect detection, and establishes quick indexing to realize batch data reading and quick regional segmentation by organizing original
point cloud data in a
matrix form; after any rectangular region is segmented by columns, each column sub-
point cloud retains trajectory continuity along a scanning direction, direct
line fitting can be performed to construct a local
reference line, and calculation amount is reduced; by calculating distance deviation of point clouds in each segmented region to the corresponding
reference line, abnormal points deviating from the
reference line can be quickly located, the application only needs once matrix indexing conversion, once regional segmentation and once
line fitting operation, avoids time-consuming
nearest neighbor search,
surface reconstruction or voxelization process in traditional
point cloud processing, can accurately identify typical defect types such as broken
welding, cracks and welding tumors, and effectively improves detection precision and efficiency.