The application provides an online quality sensing method for multiple types of battery pieces in a flower basket, mainly including the following three steps: S1, three-camera-based
image acquisition and splicing, S2, based on
Blob analysis and morphological principles, obtaining the multiple types of battery piece regions in the flower basket, and S3, matching the characteristic value parameters of the finished and semi-finished battery piece regions, for the obtained finished and semi-finished battery piece regions, the characteristic values such as the center of gravity, length and width are obtained through region
decomposition and other methods, and the characteristic values are screened to remove other interference regions, to obtain accurate finished and semi-finished battery piece regions, and then the threshold range of the related characteristic values set in the
algorithm is matched, to judge whether the selected finished and semi-finished battery piece regions meet the set standard, so that the online quality sensing of the multiple types of battery pieces in the flower basket is realized quickly and stably.