The application relates to a
text detection method and device,
computer equipment, a computer readable storage medium and a
computer program product. The method comprises the following steps: performing a character shape restoration process on a text to be detected to obtain a restored text; performing keyword matching on the restored text based on a keyword
library; when the restored text matches a keyword group in the keyword
library, obtaining a detection result of the text to be detected according to a keyword segmentation result of the restored text and the matched keyword group; when the restored text does not match a keyword group in the keyword
library, performing keyword matching on the
pinyin of the restored text based on a
pinyin form keyword library, the
pinyin form keyword library being obtained by converting keywords in the keyword library into pinyin; and when the pinyin of the restored text matches a pinyin form keyword group in the pinyin form keyword library, obtaining the detection result of the text to be detected according to a pinyin matching restriction condition, thereby improving the
text detection accuracy.