The invention relates to the technical field of image character
processing, in particular to a PaddleOCR-based complex
background image character detection and enhancement
system and method, and the method comprises the steps: reading image files in a specified
directory in batches, carrying out the preliminary character detection and recognition through a PaddleOCR model, extracting a character bounding box and the corresponding character content, and carrying out the recognition of the character bounding box; and calculating the central position of each character. Based on the preliminary recognition result, the
system further analyzes character features, including an average character width, an average character height, and a character
pitch, to speculate character region locations that may exist but are not preliminarily recognized in the image. And carrying out
image enhancement processing,
contrast enhancement and
histogram equalization on the predicted potential character region by the
system, carrying out
character recognition by applying the OCR model again, and continuously supplementing a new recognition result. The method significantly improves the recognition rate and
processing effect of OCR, and is suitable for component recognition of complex backgrounds, commodity packages, food detection mechanisms and the like.