Unlock instant, AI-driven research and patent intelligence for your innovation.

Text area position identification method and device, electronic equipment and storage medium

A text area and recognition method technology, applied in the computer field, to achieve the effect of narrowing the scope and reducing the amount of calculation

Pending Publication Date: 2022-03-04
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a method and device for identifying the position of a text area, as well as an electronic device and a computer-readable storage medium, which solve the problem of how to determine the range of the text

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text area position identification method and device, electronic equipment and storage medium
  • Text area position identification method and device, electronic equipment and storage medium
  • Text area position identification method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0029] The embodiment of the present invention proposes a text area position recognition scheme. First, extract the feature value of each pixel in the frame image containing the text area, then calculate the gradient of each pixel according to the feature value, and identify the gradient peak value from the frame image The corresponding frame image position, and then count the number of pixels corresponding to the gradient peak in the frame image, and finally, based on the comparison result between the number of pixels and the preset threshold, confirm that the frame image position is the position of the text area, which is the text in the subsequent text area Filter to provide the basis for filtering.

[0030] Such as figure 1 As shown in FIG. 1 , it shows a flow chart of the steps of a method for ide...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a method and device for recognizing the position of a text region, and the method comprises the steps: obtaining a to-be-recognized frame image which comprises the text region; extracting a characteristic value of each pixel point in the frame image; calculating the gradient of each pixel point according to the characteristic value, and identifying a frame image position corresponding to a gradient peak value in each gradient from the frame image; counting the number of pixel points corresponding to a gradient peak value in the position of the frame image; and determining that the position of the frame image is the position of the text area based on a comparison result of the number of the pixel points and a preset threshold value. According to the embodiment of the invention, the row position or the column position of the text area is preliminarily determined, and then the frame image position is finally determined to be the position of the text area based on the comparison result of the number of the pixel points corresponding to the row position or the column position and the preset threshold value, so that a filtering basis can be provided for filtering texts in the subsequent text area; the effects of narrowing the text filtering range, reducing the calculation amount of text filtering and optimizing text filtering are achieved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for identifying the position of a text area, an electronic device, and a computer-readable storage medium. Background technique [0002] With the rapid development of the Internet and computer technology, there is a large amount of video content on traditional TV stations and the Internet. In order to assist users in understanding video content, corresponding texts can generally be set for video content, for example, line texts and non-line texts are displayed in variety show videos. [0003] However, when there is a large amount of text in the video content, there may be interference among the texts. For example, non-line text in variety show videos will interfere with line text. Therefore, it is necessary to filter the text in the video content to display more valuable text. Before text filtering, the range of each text needs to be determined. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06V20/40G06V20/62G06V30/146
Inventor 王晨旭
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD