Patent ID: 11928872
Assignee: SHANGHAI GOLDWAY INTELLIGENT TRANSPORTATION SYSTEM CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. The method of claim 1, further comprising:
obtaining a sample set, wherein the sample set comprises a second preset number of images labeling the text region;
for a target text region in the sample set, determining a first boundary key point, a second boundary key point, a third boundary key point and a fourth boundary key point in the target text region;
obtaining a first boundary region, a second boundary region, a third boundary region, a fourth boundary region, a text-located region, and a background region of the target text region by performing segmentation for the target text region, and taking the first boundary region, the second boundary region, the third boundary region, the fourth boundary region, the text-located region, and the background region as segmentation true values;
determining offsets between each pixel point in the first boundary region and the first boundary key point and the third boundary key point, and offsets between each pixel point in the second boundary region and the second boundary key point and the fourth boundary key point as boundary key point true values;
determining minimum offsets between each pixel point in the text-located region in the target text region and the upper boundary, the lower boundary, the left boundary and the left boundary of the target text region as boundary offset true values; and
according to respective segmentation true value, respective boundary key point true value and respective boundary offset true value corresponding to each text region in the sample set, training a segmentation network training model to obtain a segmentation network.