Boarding Pass Positioning with Jointly Multi-channel Segmentation and Perspective Transformation Correction
Abstract: To solve the problem of boarding pass positioning with image tilt and sticking, we proposed a jointly boarding pass positioning and correction algorithm using multi-channel color components. First, a local threshold segmentation is performed on red and blue components in RGB color space to determine the general area of the boarding pass. Then, edge detection is performed on the blue component and pixel value standardization statistics on the three components to obtain partial edges and internal information of the boarding pass to refine the binary image. Next, the watershed algorithm is used to achieve precise positioning of the boarding pass. Finally, the segmentation and the boarding pass are completely rectified through perspective transformation. The results of segmentation and correction of boarding passes in actual scenarios show that the proposed algorithm can complete segmentation and correction under complex conditions such as boarding pass images sticking to each other, uneven illumination, and large-angle tilt. The average time spent on the test set is 0.049s, and the segmentation and correction success rate is 95.16 $$\%$$ . The proposed algorithm has high application value.
0 Replies
Loading