The invention relates to the field of
multimedia information processing, and specifically to a video
subtitle thinning method based on
template matching and
curve fitting. According to the video
subtitle thinning method, taking structural features of
Chinese characters into consideration, strokes of
Chinese characters are extracted and redrawn, thereby achieving an effect of
thinning the
Chinese characters, and solving the problems of
stroke distortion and loss and low recognition rate which are generated when other thinning algorithms are used to perform thinning on the objects of the class. The technical points of the video
subtitle thinning method in the invention includes: obtaining Chinese character images in video subtitles; determining connected regions of the Chinese character images; proposing a
template matching method to extract strokes of Chinese characters in the same connected region; and proposing a method of redrawing horizontal strokes and vertical strokes with
horizontal and vertical line segments, redrawing left-falling strokes and right-falling strokes with secondary Bezier curves, and redrawing dot strokes with
oblique line segments, thereby realizing a thinning effect of the Chinese character images. The video subtitle thinning method based on
template matching and
curve fitting in the invention keeps the shapes and the
stroke structures of the Chinese characters, thereby preventing a
distortion phenomenon; ensures flatness of horizontal strokes, straightness of vertical strokes and bending of left-falling and right-falling strokes, thereby better redrawing the shapes of the Chinese characters; and improves a recognition effect of the video subtitles.