Method and device for extracting figure key frames from video file
A video file and video frame technology, applied in the field of image recognition, can solve the problems of difficult users, difficult to significantly improve the video click rate, unable to capture pictures, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] Embodiments of the present invention provide a method for extracting character key frames from video files, such as figure 1 As shown, the method includes:
[0059] Step S101, extract video frames in a video file at a preset period, and extract character tags in the title of the video file.
[0060] For the embodiment of the present invention, the video file is a video file whose cover or thumbnail is to be extracted with key frames of characters, which may be TV dramas, movies, entertainment information, trailers, etc. It is not limited in the embodiment of the present invention.
[0061] For the embodiment of the present invention, since the video is composed of a plurality of continuous picture groups, the image content of a group of continuous video frames does not change much, and only part of the video frames need to be extracted from the video file at a preset period to ensure The processing efficiency of extracting character key frames from video files.
[00...
Embodiment 2
[0078] Another possible implementation of the embodiment of the present invention, on the basis of the first embodiment, further includes the steps shown in the second embodiment, wherein,
[0079] Step S102 includes: performing face feature detection on each video frame through a preset face detection model, and extracting the detected face feature corresponding to at least one face from each video frame.
[0080] Wherein, the face detection model is a face detection model trained based on a convolutional neural network CNN or a deep neural network DNN.
[0081] For example, through 20 million material images, the convolutional neural network CNN or deep neural network DNN is trained with two categories including faces and excluding faces to obtain a face detection model.
[0082] For the embodiment of the present invention, face feature detection is performed on each video frame through the face detection model obtained based on convolutional neural network CNN or deep neura...
Embodiment 3
[0084] Another possible implementation of the embodiment of the present invention, on the basis of the first embodiment, also includes the steps shown in the third embodiment, wherein,
[0085] Also include before step S103:
[0086] Extracting sample data from a face database, the sample data being face images and corresponding person classifications;
[0087] The face classification model is obtained by training the sample data.
[0088] For the embodiment of the present invention, the sample data in the face database includes a preset number of person classifications and face images corresponding to each person classification.
[0089] For example, the sample data in the face database includes 1500 person categories, and each person category has 20 corresponding face images.
[0090] For the embodiment of the present invention, through the face images contained in the sample data in the face database, a preset number of person classifications are used to train the convolu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com