Video processing method and device and electronic device

A video processing and video technology, applied in the field of video processing, can solve the problems of poor viewing, loss of important subjects, incomplete content expression, etc.

Active Publication Date: 2019-08-30
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF7 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above method of cropping video frames will cause loss of important subj...

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
  • Video processing method and device and electronic device
  • Video processing method and device and electronic device
  • Video processing method and device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0040] In order to solve the problems existing in the prior art, the embodiment of the present invention provides a video processing method, device and electronic equipment, so as to cut the video according to the content in the video frame when cutting the horizontal screen video, so as to ensure that after cutting Important images are reserved in the video frames.

[0041] Below, at first a kind of video processing method of the embodiment of the present invention is introduced, as figure 2 As shown, it is a flow chart of the first implementation mode of a video processing method according to an embodiment of the present invention, and the method may include:

[0042] S210. Extract video frames to be detected from the video to be processed, and perform object detection on the video frames to be dete...

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 video processing method and device and an electronic device, wherein the method comprises the steps of carrying out the target detection of a to-be-detectedvideo frame extracted from a to-be-processed video, and determining a main body frame in the to-be-detected video frame according to the detected detection frame information; determining the positioninformation and the size information of the cutting frame in the to-be-detected video frame according to the size information of the playing window of the client by taking the central pixel point of the main body frame as the central pixel point of the cutting frame and the height and width of the to-be-detected video frame; determining position information of the cutting frame in the video framebetween any two adjacent to-be-detected video frames according to the position information and the moving track of the cutting frame; and clipping each video frame according to the position information of the clipping frame in each video frame and the clipping frame size information to obtain the clipped video frame, so that cutting is carried out according to the video content in the horizontal screen video, and it can be guaranteed that the main content of the video is reserved in the cut video frame.

Description

technical field [0001] The present invention relates to the technical field of video processing, in particular to a video processing method, device and electronic equipment. Background technique [0002] With the widespread application of smart terminal devices, people can use various application software installed on smart terminal devices to perform various tasks. The video player app to play the video. [0003] Usually, the videos to be played include horizontal-screen videos and vertical-screen videos. When a smart terminal device uses a vertical screen to play a horizontal-screen video in full screen, the aspect ratio of the video playback window on the smart terminal device is the same as that of the smart terminal device. The aspect ratio of the screen is different. In order to better present the horizontal screen video on the vertical screen full screen, in related technologies, usually all video frames of the horizontal screen video are based on the same pixel poin...

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): G06T7/73G06T7/20G06T5/50H04N21/44H04N5/265
CPCG06T7/73G06T7/20G06T5/50H04N21/44008H04N5/265G06T2207/10016G06T2207/20224
Inventor 文为林佳月张桥松周阳
Owner BEIJING QIYI CENTURY SCI & TECH 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