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

Video stream processing method and device

A processing method and technology for video streams, applied in the computer field, can solve the problem of inability to accurately determine the contour of a preset rigid body of a video stream in real time.

Active Publication Date: 2021-10-22
刘斌
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a video stream processing method and device, which can solve the problem in the related art that the contour of the preset rigid body in the video stream cannot be determined in real time and accurately

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

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0097] Example 1 describes in detail how to replace a predetermined rigid body A image in one video stream with another predetermined rigid body B image. The application scenarios of the replacement processing are very wide. For example, during the live broadcast of a football game, the advertisement exhibit A in the arena is replaced with another advertisement exhibit B, so as to meet the needs of different people in different countries for advertisement display.

[0098] figure 2 is the flow chart of the video stream processing method according to the first example of the present invention, such as figure 2 shown, including the following steps.

[0099] Step S202, in a simple environment such as a solid color environment, extract the reference feature value group Ac and the reference contour A1 of the rigid body A. Wherein, each reference feature value group Ac may include four reference feature values, that is, the coordinates of the upper vertex, the lower vertex, the ...

example 2

[0131] Example 2 describes in detail how to replace a predetermined rigid body A image in one video stream with another predetermined rigid body B image. Compared with example 1, example 2 adopts a more cost-effective method in the process of determining the target contour of rigid body A, and increases the spatial attitude value group and attitude matching value during the replacement process of rigid body A and rigid body B.

[0132] image 3 is the flow chart of the video stream processing method according to the second example of the present invention, such as image 3 shown, including the following steps.

[0133] Step S302, in a simple environment such as a solid color environment, extract the reference feature value group Ac and the reference contour A1 of the rigid body A. Wherein, each reference feature value group Ac may include four reference feature values, that is, the coordinates of the upper vertex, the lower vertex, the left vertex and the right vertex of the...

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 video stream processing method and device. The method comprises the following steps: determining a target contour of a preset rigid body in an image frame in a video stream, and processing an image of the preset rigid body in the target contour, wherein the step of determining the target contour of the preset rigid body in the image frame in the video stream comprises the steps of determining a first upper vertex, a first lower vertex, a first left vertex and a first right vertex of the preset rigid body in the image frame, and matching a predetermined reference feature value set of the preset rigid body according to the first upper vertex, the first lower vertex, the first left vertex and the first right vertex, and determining a target contour of the preset rigid body in the image frame according to the matching result and a predetermined reference contour set of the preset rigid body. According to the invention, the contour of the preset rigid body in the video stream can be accurately determined in real time.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a video stream processing method and device. Background technique [0002] Video streaming generally refers to the continuous and stable transmission of video data over a network. Because the video stream is fluid, before the complete video data is transmitted, the video playback plug-in or browser on the computer can play it online, thereby improving user experience. [0003] The difference between a video stream and a specific video segment is that the specific video segment does not require real-time online playback, so that there is sufficient time for specific corrections or processing, or even manually. For a preset rigid body in a specific video segment, the usual processing methods are: (1) dividing the video segment into multiple image frames, (2) converting each image frame into a grayscale image and graying it according to the grayscale value Gradient processing, (3)...

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 Applications(China)
IPC IPC(8): G06T7/13G06T7/73G06K9/00G06K9/46G06K9/62
CPCG06T7/13G06T7/73G06T2207/10016G06F18/22
Inventor 刘斌
Owner 刘斌
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