Subtitle displaying method and apparatus
First Claim
Patent Images
1. A method comprising:
- determining subtitle information of a video frame in a video, the subtitle information including a subtitle content;
identifying a key region in the video frame, wherein identifying the key region in the video frame comprises;
traversing the video frame with a window, an area of the window being less than that of the video frame;
determining a region where the window is located as a candidate region;
extracting features in the candidate region;
determining whether the candidate region comprises a target object according to the extracted features; and
determining the candidate region as the key region in response to determining that the candidate region comprises the target object;
determining a subtitle display region in a region in the video frame other than the key region; and
displaying the subtitle content in the subtitle display region.
1 Assignment
0 Petitions
Accused Products
Abstract
A subtitle displaying method including determining subtitle information of a video frame in a video when a play request for the video is received; identifying a key region in the video frame; determining a subtitle display region in a region in the video frame other than the key region; and displaying subtitle content in the subtitle information in the subtitle display region during playing the video. In the example embodiments of the present disclosure, the subtitle display region is determined to be placed in the region other than the key region, such that display content in the key region is prevented from being blocked by subtitles, thus improving viewing experience of viewers.
-
Citations
20 Claims
-
1. A method comprising:
-
determining subtitle information of a video frame in a video, the subtitle information including a subtitle content; identifying a key region in the video frame, wherein identifying the key region in the video frame comprises; traversing the video frame with a window, an area of the window being less than that of the video frame; determining a region where the window is located as a candidate region; extracting features in the candidate region; determining whether the candidate region comprises a target object according to the extracted features; and determining the candidate region as the key region in response to determining that the candidate region comprises the target object; determining a subtitle display region in a region in the video frame other than the key region; and displaying the subtitle content in the subtitle display region. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. An apparatus comprising:
-
one or more processors; and one or more memories stored thereon computer readable instructions that, when executed by the one or more processors, cause the one or more processors to perform acts comprising; determining subtitle information of a video frame in a video, the subtitle information including a subtitle content; identifying a key region in the video frame, wherein identifying the key region in the video frame comprises; traversing the video frame with a window, an area of the window being less than that of the video frame; determining a region where the window is located as a candidate region; extracting features in the candidate region; determining whether the candidate region comprises a target object according to the extracted features; and determining the candidate region as the key region in response to determining that the candidate region comprises the target object determining a subtitle display region in a region in the video frame other than the key region; and displaying the subtitle content in the subtitle display region. - View Dependent Claims (14, 15, 16)
-
-
17. One or more memories stored thereon computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:
-
determining subtitle information of a video frame in a video, the subtitle information including a subtitle content and an original subtitle display region in the video frame; identifying a key region in the video frame, wherein identifying the key region in the video frame comprises; traversing the video frame with a window, an area of the window being less than that of the video frame; determining a region where the window is located as a candidate region; extracting features in the candidate region; determining whether the candidate region comprises a target object according to the extracted features; and determining the candidate region as the key region in response to determining that the candidate region comprises the target object; determining that the original subtitle display region overlaps the key region; and adjusting the original subtitle display region to the region in the video frame other than the key region; and displaying the subtitle content in the subtitle display region. - View Dependent Claims (18, 19, 20)
-
Specification