Method and device for extracting subtitles

An extraction method and subtitle technology, applied in character and pattern recognition, image enhancement, image analysis, etc., can solve problems such as difficult subtitle extraction and recognition, unable to extract subtitle sharing or recording in text form, and improve efficiency and accuracy. good separation effect

Active Publication Date: 2020-02-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The video player of the terminal supports various forms of subtitles, but it is difficult to extract and recognize all forms of subtitles. In this way, users cannot extract subtitles in text form for sharing or recording during the process of watching videos

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
  • Method and device for extracting subtitles
  • Method and device for extracting subtitles
  • Method and device for extracting subtitles

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be further described in detail below in conjunction with the drawings and embodiments. It should be understood that the embodiments provided here are only used to explain the present invention, but not to limit the present invention. In addition, the embodiments provided below are part of the embodiments for implementing the present invention, rather than providing all the embodiments for implementing the present invention. On the premise that those skilled in the art do not pay creative work, the technical solutions of the following embodiments The embodiments obtained by reorganization and other embodiments based on the implementation of the invention belong to the protection scope of the present invention.

[0040] It should be noted that in the embodiments of the present invention, the terms "including", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that the method or device including a series o...

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 invention discloses a subtitle extraction method and device; the method includes: decoding a video to obtain a video frame, performing a connection operation on pixels in the video frame in the subtitle arrangement direction to obtain a connected domain in the video frame; The connected domain determines the video frame that includes the same subtitle, and based on the distribution position of the connected domain in the video frame that includes the same subtitle, determines the subtitle area in the video frame that includes the same subtitle; correspondingly constructs a component tree for a plurality of channels in the subtitle area, utilizes The constructed component tree extracts the contrast extreme value area corresponding to each channel; performs color enhancement processing on the contrast extreme value areas of multiple channels to form a color enhanced contrast extreme value area; fuses the color enhanced contrast extreme value areas of multiple channels. The implementation of the present invention can effectively filter out the strong interference background of light and clothing in the image of the subtitle area, so as to better separate the background from the subtitle, and is beneficial to improve the efficiency and accuracy of subsequent character recognition.

Description

Technical field [0001] The communication video technology of the present invention particularly relates to a method and device for extracting subtitles. Background technique [0002] Currently, there are various recording methods for subtitles in video files, such as embedded subtitles, embedded subtitles, and external subtitles. Among them, the embedded subtitle is when the subtitle is overlaid on the video frame of the video, it is integrated with the video frame of the video. No matter how the video format changes, the size, position, and effect of the subtitle remain unchanged. Built-in subtitles encapsulate video files and subtitle files into multiple audio tracks and multiple subtitle tracks, and dubbing and subtitles can be selected during playback. The subtitle file corresponding to the external subtitle is independent of the video file. When the video needs to be played, the standby subtitle file is loaded on the video by the video player. [0003] The video player of th...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04N21/434H04N21/44H04N21/4402H04N21/488
CPCH04N21/4345H04N21/44008H04N21/4402H04N21/488H04N21/4884H04N21/4828G06V20/46G06V20/635H04N21/44G06T5/008G06T5/30G06T5/50G06T2207/10016G06T2207/20224
Inventor 王星星
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products