Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for extracting key frame

A key frame and video frame technology, applied in the computer field, can solve the problems of not being able to reflect the video content, not being able to guarantee the video frame, etc.

Active Publication Date: 2020-05-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF14 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Obviously, the random extraction method does not guarantee that the extracted video frames are all key frames of the video, resulting in the extracted video frames not reflecting the content of the video

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.

[0030] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-know...

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 a device for extracting a key frame. The method for extracting the key frame comprises the following steps: acquiring a target video; and taking the target video as the input of a key frame extraction model, and obtaining the key frame of the target video through the prediction of the key frame extraction model, wherein the key frame extractionmodel is obtained by training a neural network model according to a first loss corresponding to a sample video and a second loss corresponding to the sample video, the first loss represents the difference between the annotation key frame of the sample video and a prediction key frame predicted by the neural network model for the sample video, and the second loss represents the difference betweenthe annotation type of the sample video and the prediction type predicted by the neural network model for the sample video. The extracted key frame is effectively ensured to be related to the contentof the target video.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a method and apparatus for extracting key frames. Background technique [0002] Generally, in order to facilitate the user to quickly understand the main content of the video, a personalized cover page of the video is presented to the user on the video recommendation page. The personalized cover is generated based on key frames in the video that reflect the main content of the video. [0003] For video, this includes repeated video frames, video frames that do not include the main body of the character. Then, correspondingly, not any video frame in the video can be used as the key frame of the video. [0004] In the prior art, a video frame is generally extracted randomly every second, so that the extracted video frame is used as a key frame of the video. Obviously, the random extraction method cannot guarantee that the extracted video frames are all key frame...

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): G06F16/735G06F16/75G06N3/04G06N3/08
CPCG06F16/735G06F16/75G06N3/08G06N3/045Y02T10/40
Inventor 梁涛张晗马连洋衡阵
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products