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

Claim 7:
8. The method of claim 2, wherein determining the arrangement information of the text in the text region comprises:
determining a maximum abscissa and a maximum ordinate in the text region, and determining a minimum abscissa and a minimum ordinate in the text region;
according to the maximum abscissa, the maximum ordinate, the minimum abscissa and the minimum ordinate, determining a circumscribed rectangle of the text region; and
in response to determining that a length of the circumscribed rectangle is greater than a width of the circumscribed rectangle, determining that the arrangement of the text in the text region is horizontal arrangement, and in response to determining that the length of the circumscribed rectangle is smaller than the width of the circumscribed rectangle, determining that the arrangement of the text in the text region is longitudinal arrangement.