Model training method, watermark text recognition method, and related device
AssigneeBeijing Volcano Engine Technology Co., Ltd.
InventorsWeidi SUN, Feng GUO, Xiaodong SU
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Volcano Engine Technology Co., Ltd.
InventorsWeidi SUN, Feng GUO, Xiaodong SU
Estimating the term…
Provided in the present application are a model training method, a watermark text recognition method, and a related device. The training method comprises: acquiring watermark style information and background style information, wherein the watermark style information is used for indicating a content style of a visible-watermark character, and the background style information is used for indicating a content style of a background image; generating a watermark image set according to a combination of the watermark style information and the background style information, wherein the watermark image set comprises a plurality of images with visible watermarks; pixelating the watermark images in the watermark image set, extracting pixel values in pixel blocks as training samples, using visible watermarks, which correspond to the watermark images, as sample labels, and combining the training samples with sample labels corresponding thereto, so as to generate a training data set; and constructing a bidirectional recurrent neural network model, and calling the training data set to train the bidirectional recurrent neural network model, so as to obtain a model, which meets a training termination condition, as a watermark restoration model, wherein the watermark restoration model is used for restoring visible-watermark characters in the images.
A training method for a watermark restoration model, comprising:
A watermark restoration method, comprising:
(canceled)
(canceled)
An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, the processor, when executing the program, implements a training method for a watermark restoration model, comprising:
(canceled)
An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, the processor, when executing the program, implements the method according to 6.
An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, the processor, when executing the program, implements the method according to 7.
An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, the processor, when executing the program, implements the method according to 8.
Dependencies are inferred from the claim text.