CPC G06V 30/414 (2022.01) [G06F 18/214 (2023.01); G06F 18/2178 (2023.01); G06V 30/2504 (2022.01); G06V 2201/02 (2022.01)] | 17 Claims |
1. A method for recognizing a text content, applied to an electronic device, comprising:
acquiring a dial picture;
detecting at least one text centerline and a bounding box corresponding to each text centerline in the dial picture; and
recognizing a text content in each line of text in the dial picture based on the at least one text centerline and the bounding box corresponding to each text centerline;
wherein before the detection of the at least one text centerline and the bounding box corresponding to each text centerline in the dial picture, the method further comprises:
pre-processing the dial picture, which comprises cropping the dial picture to a preset size, and performing mean subtraction processing on the dial picture.
|