Patent attributes
Embodiments of the present disclosure relate to a method and apparatus for recognizing a table, a device, and a medium. An embodiment of the method can include: detecting a table on a target picture, to obtain a candidate table recognition result; extracting a merging feature of the candidate table recognition result, and determining a to-be-merged row in the candidate table recognition result based on the merging feature; extracting a direction feature of the to-be-merged row, and determining a merging direction of the to-be-merged row based on the direction feature; and adjusting the candidate table recognition result based on the to-be-merged row and the merging direction of the to-be-merged row, to obtain a target table recognition result.