Caption extraction method and device

An extraction method and subtitle technology, which is applied in character and pattern recognition, image data processing, instruments, etc., can solve problems such as difficult subtitle extraction and recognition, and inability to extract subtitle sharing or recording in text form, so as to improve efficiency and accuracy, good separation effect

Active Publication Date: 2016-12-21
TENCENT TECH (SHENZHEN) CO LTD
View PDF1 Cites 23 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

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
  • Caption extraction method and device
  • Caption extraction method and device
  • Caption extraction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

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 caption extraction method and device. The method comprises the following steps: a video is decoded, video frames are obtained, pixels in the video frames are subjected to connection operation in a caption arrangement direction, connected domains in the video frames are obtained, video frames containing the same caption are determined based on the connected domains in the video frames, caption zones in the video frames containing the same caption are determined based on distribution positions of the connected domains in the video frames containing the same caption, an assembly tree is correspondingly constructed according to a plurality of channels in the caption zones, a contrast ratio extremum area corresponding to each channel is extracted via use of the constructed assembly tree, contrast ratio extremum areas of the plurality of channels are subjected to color enhancement processing operation, color enhancement contrast ratio extremum areas are formed, and the color enhancement contrast ratio extremum areas of the plurality of channels are integrated. Via implementation of the caption extraction method and device, strong interference backgrounds such as light illumination, clothing and the like in images of the caption zones can be effectively eliminated, the backgrounds can be well separated from the caption, and improvement of subsequent character identification efficiency and precision can be facilitated.

Description

technical field [0001] The communication video technology of the present invention particularly relates to a subtitle extraction method and device. Background technique [0002] Currently, subtitles are recorded in various ways in video files, for example, embedded subtitles, built-in subtitles, and external subtitles. Among them, the embedded subtitle is when the subtitle is overlaid on the video frame of the video, and integrated with the video frame of the video. No matter how the video format changes, the size, position and effect of the subtitle are unchanged. Embedded subtitles are to 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 subtitle file to be used by the video player is loaded on the video. [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
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