WO2020252976A1 - Procédé, appareil et dispositif d'insertion de vidéo, support et système - Google Patents
Procédé, appareil et dispositif d'insertion de vidéo, support et système Download PDFInfo
- Publication number
- WO2020252976A1 WO2020252976A1 PCT/CN2019/108435 CN2019108435W WO2020252976A1 WO 2020252976 A1 WO2020252976 A1 WO 2020252976A1 CN 2019108435 W CN2019108435 W CN 2019108435W WO 2020252976 A1 WO2020252976 A1 WO 2020252976A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- implanted
- implantation
- preset
- relationship
- Prior art date
Links
- 238000012966 insertion method Methods 0.000 title abstract 4
- 230000009466 transformation Effects 0.000 claims abstract description 84
- 238000002513 implantation Methods 0.000 claims description 133
- 238000000034 method Methods 0.000 claims description 73
- 239000007943 implant Substances 0.000 claims description 21
- 230000008859 change Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 13
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000003780 insertion Methods 0.000 abstract 6
- 230000037431 insertion Effects 0.000 abstract 6
- 238000010586 diagram Methods 0.000 description 30
- 239000000203 mixture Substances 0.000 description 17
- 230000000694 effects Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000015572 biosynthetic process Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000003786 synthesis reaction Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 239000003086 colorant Substances 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000001308 synthesis method Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23424—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2668—Creating a channel for a dedicated end-user group, e.g. insertion of targeted commercials based on end-user profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/812—Monomedia components thereof involving advertisement data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
Definitions
- the embodiments of the application relate to the technical field of video processing, and in particular to a video implantation method, device, device, medium, and system.
- the embodiments of the present application provide a video implantation method and device, equipment, medium, and system, which can easily and conveniently implant and replace advertisements in videos, realize more abundant video implantation methods, and facilitate various The video of the changed scene is embedded in the scene.
- this application provides a video implantation method, including:
- the video to be implanted is implanted into the position to be implanted.
- the comparing the preset identifier with the standard identifier to determine the corresponding pose transformation relationship includes:
- the change angle is determined as the pose transformation relationship.
- the comparing the preset identifier with the standard identifier to determine the corresponding pose transformation relationship includes:
- the size transformation relationship is determined as a pose transformation relationship.
- the comparing the preset identifier with the standard identifier to determine the corresponding pose transformation relationship includes:
- the perspective relationship is determined as a pose transformation relationship.
- the implanting the video to be implanted into the position to be implanted according to the pose transformation relationship includes:
- the acquiring the video to be implanted and the preset identifier set at the position to be implanted includes:
- a video corresponding to the location to be implanted corresponding to the identification code is selected in the video library as the video to be implanted corresponding to the preset mark.
- the method further includes:
- the implantation method corresponding to the implantation method code is selected, so that the implantation method is used when the video to be implanted is implanted in the position to be implanted.
- the implantation method includes: implantation mask type and/or video synthesis method.
- this application provides a video implantation device, including:
- the video identifier acquisition module is used to acquire the video to be implanted and the preset identifier set at the position to be implanted;
- the pose relationship determination module is used to compare the preset identification with the standard identification to determine the corresponding pose transformation relationship
- the video implantation module is used to implant the video to be implanted into the position to be implanted according to the pose transformation relationship.
- the pose relationship determination module includes:
- An orientation acquiring unit configured to acquire the first orientation of the preset identifier and the second orientation of the standard identifier
- An orientation comparing unit configured to compare the first orientation with the second orientation to obtain a change angle of the second orientation from the first orientation
- the orientation pose relationship determination unit is used to determine the change angle as a pose transformation relationship.
- the pose relationship determination module includes:
- a size obtaining unit configured to obtain the first size of the preset logo and the second size of the standard logo
- a size relationship comparing unit configured to compare the first size and the second size to obtain a size transformation relationship
- the size and pose determination unit is used to determine the size transformation relationship as a pose transformation relationship.
- the pose relationship determination module includes:
- a perspective relationship acquiring unit configured to acquire the perspective relationship of the standard preset identifier with respect to the standard identifier
- the perspective pose determination unit is used to determine the perspective relationship as a pose transformation relationship.
- the video implantation module includes:
- the video adjustment unit is configured to adjust the video to be implanted according to the pose transformation relationship
- the video implantation unit is used to implant the adjusted video to be implanted into the position.
- the video identification acquisition module includes:
- the preset identification identity obtaining unit is used to obtain the identification code of the preset identification of the position to be implanted
- the video selection unit to be implanted is used to select the video corresponding to the position to be implanted corresponding to the identity identification code in the video library according to the identification code, as the video to be implanted corresponding to the preset mark .
- the implantation mode identification module is used to identify the implantation mode code of the preset identifier
- the implantation mode selection module is used to select the implantation mode corresponding to the implantation mode code, so that the implantation mode is used when the video to be implanted is implanted into the implantation position.
- this application provides a video implantation device, including:
- Memory used to store computer programs
- the processor is configured to implement the steps of any of the video implantation methods described in the first aspect when executing the computer program.
- the present application provides a video implantation system, including: a video library device to be implanted, a target video library device, and the video implantation device according to any one of the above second aspects;
- the video library device to be implanted is used to store videos to be implanted
- the target video library device is used to store a target video, and the target video's position to be implanted is provided with a preset identifier;
- the video implantation device is used for:
- the video to be implanted is implanted into the position to be implanted of the target video.
- this application provides a preset identifier, which is applied to the video implantation method according to any one of the above-mentioned first aspects, including:
- the rectangular identification frame includes an adjacent black outer frame and a red inner frame.
- the orientation marks are three rectangular dot marks arranged at isosceles right angles and three fixed points located inside the rectangular identification frame;
- the identification code flag bit sets three color identification combinations inside the rectangular dot identification.
- This application provides a video implantation method, including: obtaining a video to be implanted and a preset identifier set at the position to be implanted; comparing the preset identifier with a standard identifier to determine the corresponding pose transformation relationship; The posture transformation relationship is described, and the video to be implanted is implanted into the position to be implanted.
- the video implantation method provided in this application can determine how the video to be implanted will be implanted in the implantation position by using the pose transformation relationship between the preset mark set at the position to be implanted and the standard mark. Ads are implanted and replaced to achieve a richer video implantation method, which is conducive to video implantation scenes of various scenes.
- FIG. 1 is a flowchart of a video implantation method provided by a specific implementation of this application
- FIG. 2 is a flow chart of determining the orientation relationship of a video implantation method according to a specific implementation of this application;
- FIG. 3 is a flow chart of determining the size relationship of a video implantation method according to a specific implementation of this application;
- FIG. 4 is a flow chart of determining the perspective relationship of a video implantation method provided by a specific implementation of this application;
- FIG. 5 is a flowchart of obtaining a video to be implanted in a video implantation method provided by a specific implementation of this application;
- FIG. 6 is a flowchart of selecting an implantation method of a video implantation method provided by a specific implementation of this application;
- FIG. 7 is a schematic diagram of the composition of a video implantation device provided by another specific embodiment of this application.
- FIG. 8 is a schematic diagram of the composition of a pose relationship determination module of a video implant device provided by another specific embodiment of this application.
- FIG. 9 is a schematic diagram of the composition of a pose relationship determination module of a video implant device provided by another specific embodiment of this application.
- FIG. 10 is a schematic diagram of the composition of another pose relationship determination module of a video implant device provided by another specific embodiment of this application.
- FIG. 11 is a schematic diagram of the composition of a video implantation device provided by another specific embodiment of this application.
- FIG. 12 is a schematic diagram of the composition of a video implantation device provided by another specific embodiment of this application.
- FIG. 13 is a schematic diagram of the composition of a video implantation device provided by another specific embodiment of this application.
- FIG. 14 is a schematic structural diagram of a video implantation device provided in a specific embodiment of this application.
- 15 is a schematic structural diagram of a computer-readable storage medium provided in a specific implementation manner of this application.
- 16 is a schematic diagram of the composition of a video implantation system provided by a specific implementation of this application.
- FIG. 17 is a schematic diagram of a preset identifier provided by another specific implementation manner of this application.
- FIG. 18 is a diagram of the corresponding relationship between the orientation of the preset mark and the orientation of the image in a specific embodiment
- FIG. 19 is a diagram of the corresponding relationship between the size of the preset logo and the image in a specific embodiment
- Fig. 20 is a perspective correspondence diagram of a preset mark and an image in a specific embodiment.
- Figure 1 is a flowchart of a video implantation method provided by a specific implementation of this application
- Figure 2 is a specific implementation of this application
- the embodiment provides a flow chart for determining the orientation relationship of a video implantation method
- FIG. 3 is a flow chart for determining the size relationship of a video implantation method provided by a specific embodiment of this application
- Embodiments provide a flow chart for determining the perspective relationship of a video implantation method
- FIG. 5 is a flow chart of obtaining a video to be implanted in a video implantation method provided by a specific embodiment of this application
- FIG. 6 is the first application
- a specific implementation manner provides a flowchart for selecting an implantation method of a video implantation method.
- an embodiment of this application provides a video implantation method, including:
- Step S11 Obtain the video to be implanted and the preset identifier set at the position to be implanted;
- Step S12 compare the preset identifier with the standard identifier to determine the corresponding pose transformation relationship
- Step S13 implant the video to be implanted into the position to be implanted according to the pose transformation relationship.
- the position to be implanted can also be a specific position of a picture, where the position to be implanted is located in the video or picture There are no restrictions on other advertising screens.
- the preset logo can be compared with the standard logo to obtain the pose transformation relationship. That is to say, for an original standard logo, the preset logo may be displayed for the effect of setting.
- a series of adjustments have been made to the preset logo in terms of direction, size, perspective relationship, etc.
- the specific adjustment can be determined by comparing the preset logo and the standard logo, and a pose transformation relationship can be obtained in time.
- the pose here refers to a series of factors such as position and posture that can cause visual effects.
- the video to be implanted can be adjusted corresponding to the position transformation relationship. For example, if the size in the pose transformation relationship is increased by a factor of 2, then you can adjust the size accordingly
- the size of the video to be implanted is increased by the same ratio, or, in order to adapt to a specific viewing angle of the video, the pose transformation relationship includes a change in orientation, then the video can also be changed in the same orientation, which is simple and convenient Place and replace the advertisements in the video to achieve a richer video implantation method, which is conducive to various video implantation scenes that change scenes.
- the pose transformation relationship may include a change angle.
- the following steps may be specifically implemented:
- Step S21 Acquire the first orientation of the preset identifier and the second orientation of the standard identifier
- Step S22 comparing the first orientation with the second orientation to obtain the angle of change from the second orientation to the first orientation
- Step S23 Determine the change angle as a pose transformation relationship.
- the first orientation that recognizes the preset mark can be obtained according to the orientation mark in the preset mark, and the second orientation of the standard mark is generally determined and can be specified as vertical downward or other directions, as A benchmark reference. If it is recognized that the second orientation is rotated by 90° counterclockwise to obtain the first orientation, then the changed angle is obtained, which can be determined as the pose change relationship.
- the pose transformation relationship may also include a size transformation relationship, that is, the size of the standard logo is different from the logo of the preset size. Specifically, in order to compare the preset logo with the standard logo, determine the corresponding position For the attitude transformation relationship, the following steps can be performed:
- Step S31 Obtain the first size of the preset logo and the second size of the standard logo
- Step S32 compare the first size and the second size to obtain a size transformation relationship
- Step S33 Determine the size transformation relationship as a pose transformation relationship.
- the size transformation relationship can be increased by a preset ratio, for example, it can be increased by 3%, 5%, etc. proportion.
- the perspective relationship may also be regarded as a kind of pose transformation relationship. Specifically, in order to compare the preset identifier with the standard identifier and determine the corresponding pose transformation relationship, the following steps may be specifically performed:
- Step S41 Obtain the perspective relationship between the standard preset identifier and the standard identifier
- Step S41 Determine the perspective relationship as a pose transformation relationship.
- Step S51 Obtain the identification code of the preset identifier of the position to be implanted
- Step S51 According to the identification code, a video corresponding to the location to be implanted corresponding to the identification code is selected in the video library as the video to be implanted corresponding to the preset mark.
- the following steps may be performed after the obtaining the to-be implanted video and the preset identifier set at the implanted position:
- Step S61 Identify the code of the implantation mode of the preset identifier
- Step S62 Select an implantation method corresponding to the implantation method code, so that the implantation method is used when the video to be implanted is implanted into the implantation position.
- the preset identifier includes the encoding information of the implantation method. After the encoding of the implantation method is obtained, the corresponding implantation method can be used to implant the video to be implanted into the location to be implanted. .
- the specific implantation method may include: implantation mask type and/or video synthesis method, etc.
- Figure 7 is a schematic diagram of the composition of a video implantation device provided by another specific embodiment of this application
- Figure 8 is A schematic diagram of the composition of a pose relationship determination module of a video implant device provided in another specific embodiment of the application
- FIG. 9 is a pose of a video implant device provided in another specific embodiment of this application
- a schematic diagram of the composition of the relationship determination module is a schematic diagram of the composition of the relationship determination module
- FIG. 10 is a schematic diagram of the composition of another pose relationship determination module of a video implant device provided by another specific embodiment of the application
- FIG. 11 is a schematic diagram of another specific embodiment of the application.
- FIG. 12 is a schematic diagram of the composition of a video implantation device provided by another embodiment of the application
- FIG. 13 is a schematic diagram of a video implantation provided by another embodiment of the application Schematic diagram of the composition of the input device.
- an embodiment of the present application provides a video implant device 700, including:
- the video identifier acquisition module 710 is used to acquire the video to be implanted and the preset identifier set at the position to be implanted;
- the pose relationship determination module 720 is configured to compare the preset identifier with the standard identifier to determine the corresponding pose transformation relationship
- the video implant module 730 is configured to implant the video to be implanted into the position to be implanted according to the pose transformation relationship.
- the pose relationship determination module 720 includes:
- An orientation acquiring unit 721, configured to acquire the first orientation of the preset identifier and the second orientation of the standard identifier
- the orientation pose relationship determination unit 723 is used to determine the change angle as the pose transformation relationship.
- the pose relationship determination module 720 includes:
- the size obtaining unit 724 is configured to obtain the first size of the preset logo and the second size of the standard logo;
- a size relationship comparison unit 725 configured to compare the first size and the second size to obtain a size transformation relationship
- the size and pose determination unit 726 is configured to determine the size transformation relationship as a pose transformation relationship.
- the pose relationship determination module 720 includes:
- the perspective relationship obtaining unit 727 is configured to obtain the perspective relationship between the standard preset identifier and the standard identifier
- the perspective pose determination unit 728 is configured to determine the perspective relationship as a pose transformation relationship.
- the video implantation module 730 includes:
- the video adjustment unit 731 is configured to adjust the video to be implanted according to the pose transformation relationship
- the video implantation unit 732 is used to implant the adjusted video to be implanted into the position to be implanted.
- the video identification acquiring module 710 includes:
- the preset identification identity obtaining unit 711 is configured to obtain the identification code of the preset identification of the location to be implanted;
- the to-be-implanted video selection unit 712 is configured to select, in the video library, the video corresponding to the position to be implanted corresponding to the identity identification code as the to-be-implanted video corresponding to the preset mark according to the identity identification code video.
- the video implant device 700 also includes:
- the implantation method identification module 740 is used to identify the implantation method code of the preset identifier
- the implantation mode selection module 750 is configured to select the implantation mode corresponding to the implantation mode code, so that the implantation mode is used when the video to be implanted is implanted in the position to be implanted.
- Figure 14 is a schematic structural diagram of a video implantation device provided in a specific embodiment of this application
- Figure 15 is a computer keyboard provided in a specific embodiment of this application. Read the structure diagram of the storage medium.
- the embodiment of the present application provides a video implantation device 1400, including:
- the memory 1410 is used to store computer programs
- the processor 1420 is configured to implement the steps of any video implantation method described in the first aspect when executing the computer program.
- the computer program is stored in the space for program code storage in the memory 1410, and when the computer program is executed by the processor 1420, any one of the methods in the embodiments of the present application is implemented.
- the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any one of the above-mentioned specific implementation modes is implemented.
- the steps of the video implantation method are not limited to:
- the disclosed apparatus, equipment, and method may be implemented in other ways.
- the device embodiments described above are only illustrative, for example, the division of units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another device, or some features can be ignored, or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
- FIG. 16 is a schematic diagram of the composition of a video implantation system provided by a specific implementation of this application.
- the present application provides a video implantation system, including: a video library device 1610 to be implanted, a target video library device 1620, and the video implant device 1630 described in any of the above-mentioned specific embodiments;
- the video library device 1610 to be implanted is used to store videos to be implanted;
- the target video library device 1620 is configured to store target videos, and the target video's position to be implanted is provided with a preset identifier;
- the video implantation device 1630 is used for:
- the video to be implanted is implanted into the position to be implanted of the target video.
- FIG. 17 is a schematic diagram of a preset logo provided by another specific embodiment of this application
- FIG. 18 is the orientation of the preset logo in a specific embodiment Correspondence diagram with the orientation of the image
- FIG. 19 is a diagram of the corresponding relationship between the preset mark and the size of the image in a specific embodiment
- FIG. 20 is a diagram of the perspective correspondence between the preset mark and the image in a specific embodiment.
- an embodiment of the present application provides a preset identifier, which is applied to the video implantation method in any of the foregoing specific implementation manners, including:
- the rectangular identification frame 1710 includes a black outer frame 1711 and a red inner frame 1712 that are adjacent to each other.
- the orientation mark 1720 is three rectangular dot marks arranged at isosceles right angles and three fixed points located inside the rectangular identification frame;
- the 1730 bits of the identification code mark are set with three color mark combinations inside the rectangular dot marks.
- the right-angled vertex in the orientation mark 1720 can be set as the middle point, and the acute-angled vertices on both sides are the first side point and the second side point respectively.
- the middle point and the first side The direction of the angle bisector of the middle point of the triangle formed by the point and the second side point is set to the direction that the orientation sign points to as a whole.
- the orientation sign 1720 Point to the four-thirty direction, which can be used as the standard direction in practice.
- the first picture is in the 4:30 direction, that is, the direction of this picture does not need to be adjusted; the second picture is in the 7:30 direction, therefore,
- the image and video need to be rotated 90° clockwise;
- the third image is in the ten-thirty direction. Therefore, when the image and video are implanted, the image and video must be rotated clockwise. Rotate the image and video by 180°;
- the fourth picture shows the direction at one and a half hours. When the image and video are implanted, the image and video need to be rotated clockwise by 270°.
- the size can be adjusted after the orientation of the preset logo is adjusted to the orientation of the standard logo.
- the rectangular identification frame 1710 is a rectangle, the rectangle of the preset logo can be identified
- the length and width are compared with the standard logo, and the length ratio and width ratio are obtained.
- the video and image sizes are adjusted according to the length ratio and the width ratio.
- the command information can be given, and the command information directly determines the implantation action, such as the type of product, the type of mask implanted, Synthesis method, etc.
- the above three rectangular dots indicate that the internal glyph space can be set to fill the color, which is easy to be recognized. Specifically, the permutation and combination of 4 colors can be used, (in the case of non-monochrome combination), it can produce about thousands of groups.
- the command line is used for implantation. When a large number of implantation requirements are accessed, the 4-color combination command can be easily handled!
- Non-monochrome combinations such as: blue-red-green combinations: can also be blue-green-red, blue-green-green, blue-red-blue, blue-red-blue, blue-green-blue, blue-blue, blue-red, blue-green
- you can also use more Color combination when the color is recognized and permuted and combined, command information is given, and the command information directly determines the implantation action.
- the combination of colors corresponds to the type of product, the type of mask implanted, and the way of synthesis.
- the red part is the recognized rectangular border, and the implanted image is filled with the rectangular border.
- the black border outside the red is to give a clearer recognition effect to the rectangular border.
- the preset identification mark in this application may also adopt other mark shapes, or a conceptual painting, which mainly uses a programming language to explain the execution.
- the design of the preset logo and the standard logo strives to be simple and clear. The simpler the symbol, the farther the distance and the lower the pixel, the easier the shape will be recognized by the computer, such as a square and an eagle. When the pixels are small, the eagle may not be able to see clearly, but the square can still be recognized by the computer and used for calculations to ensure recognition accuracy.
- track_core.py includes all tracking functions, track_test07.
- py is the main program, using a simple player written by pyqt, opencv reads the video frame, uses the function in track_core to convert it to a frame filled with the picture, and then displays it on the ui; if there is no problem in the python environment, run python track_test07.py can be executed.
- gray cv2.cvtColor(image,cv2.COLOR_BGR2GRAY) to achieve;
- blurred cv2.blur(gray,(blur_size,blur_size)) to achieve;
- the following code can be used to realize the contour search of the preset mark:
- the picture used for tracking is a black frame with three tracking points in the middle.
- the black frame is used to eliminate the effect of changing background colors.
- the 129-144 line in track_core code finds the tracking points in the contour
- the tracking point can be seen as a black rectangle with a white rectangle in the middle and a black rectangle in the middle. According to this specific relationship, a specific contour is found from all the contours, this is the tracking point;
- the parent contour of each tracking point is the contour of the area to be replaced, so all the tracking points can be grouped according to the parent contour, so that the contour of each area to be replaced and the tracking points inside are obtained;
- the color of the center point of the original frame is recorded, as well as the center point coordinates of the three tracking points.
- the coordinates of the fourth point can be calculated, and the four points can be sorted according to the angles of the previous three points, referring to the sort_points function.
- the final result is an ordered list of four points.
- the final correspondence is that the first point corresponds to the lower left corner of the filled picture, and so on in a clockwise direction.
- the center of the picture used for tracking is the color filled area. According to the ratio of the three channels of color RGB to determine which picture to use for filling (currently, one picture is used for filling, of course, you can also use video or multiple pictures for filling) .
- the color code in the recognition picture is used as the identity recognition code of the preset logo, and then the picture corresponding to the identity recognition code is selected for filling.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Image Analysis (AREA)
Abstract
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910528675.6 | 2019-06-18 | ||
CN201910528675.6A CN110225377A (zh) | 2019-06-18 | 2019-06-18 | 一种视频植入方法及装置、设备、介质、系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020252976A1 true WO2020252976A1 (fr) | 2020-12-24 |
Family
ID=67817620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/108435 WO2020252976A1 (fr) | 2019-06-18 | 2019-09-27 | Procédé, appareil et dispositif d'insertion de vidéo, support et système |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110225377A (fr) |
WO (1) | WO2020252976A1 (fr) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110225377A (zh) * | 2019-06-18 | 2019-09-10 | 北京影谱科技股份有限公司 | 一种视频植入方法及装置、设备、介质、系统 |
CN116939294B (zh) * | 2023-09-17 | 2024-03-05 | 世优(北京)科技有限公司 | 视频植入方法、装置、存储介质及电子设备 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060111970A1 (en) * | 2004-11-24 | 2006-05-25 | Microsoft Corporation | System and method for selling on-line and off-line advertising in content delivered to a display screen |
CN103974126A (zh) * | 2014-05-15 | 2014-08-06 | 北京奇艺世纪科技有限公司 | 一种在视频中植入广告的方法及装置 |
CN105141987A (zh) * | 2015-08-14 | 2015-12-09 | 京东方科技集团股份有限公司 | 广告植入方法和广告植入系统 |
CN106982380A (zh) * | 2017-04-20 | 2017-07-25 | 上海极链网络科技有限公司 | 互联网视频内虚拟互动广告的植入方法 |
CN109168034A (zh) * | 2018-08-28 | 2019-01-08 | 百度在线网络技术(北京)有限公司 | 商品信息显示方法、装置、电子设备和可读存储介质 |
CN110225377A (zh) * | 2019-06-18 | 2019-09-10 | 北京影谱科技股份有限公司 | 一种视频植入方法及装置、设备、介质、系统 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104170392B (zh) * | 2013-11-21 | 2018-08-21 | 华为技术有限公司 | 一种文件中植入广告的方法、装置、系统及终端 |
US11322248B2 (en) * | 2015-03-26 | 2022-05-03 | Surgical Safety Technologies Inc. | Operating room black-box device, system, method and computer readable medium for event and error prediction |
CN104735465B (zh) * | 2015-03-31 | 2019-04-12 | 北京奇艺世纪科技有限公司 | 在视频画面中植入平面图案广告的方法及装置 |
US20170084231A1 (en) * | 2015-09-23 | 2017-03-23 | Intel Corporation | Imaging system management for camera mounted behind transparent display |
CN109033795B (zh) * | 2018-07-24 | 2022-04-22 | 青岛海信移动通信技术股份有限公司 | 一种对含有摄像头的终端进行解锁的方法和终端 |
-
2019
- 2019-06-18 CN CN201910528675.6A patent/CN110225377A/zh active Pending
- 2019-09-27 WO PCT/CN2019/108435 patent/WO2020252976A1/fr active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060111970A1 (en) * | 2004-11-24 | 2006-05-25 | Microsoft Corporation | System and method for selling on-line and off-line advertising in content delivered to a display screen |
CN103974126A (zh) * | 2014-05-15 | 2014-08-06 | 北京奇艺世纪科技有限公司 | 一种在视频中植入广告的方法及装置 |
CN105141987A (zh) * | 2015-08-14 | 2015-12-09 | 京东方科技集团股份有限公司 | 广告植入方法和广告植入系统 |
CN106982380A (zh) * | 2017-04-20 | 2017-07-25 | 上海极链网络科技有限公司 | 互联网视频内虚拟互动广告的植入方法 |
CN109168034A (zh) * | 2018-08-28 | 2019-01-08 | 百度在线网络技术(北京)有限公司 | 商品信息显示方法、装置、电子设备和可读存储介质 |
CN110225377A (zh) * | 2019-06-18 | 2019-09-10 | 北京影谱科技股份有限公司 | 一种视频植入方法及装置、设备、介质、系统 |
Also Published As
Publication number | Publication date |
---|---|
CN110225377A (zh) | 2019-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7564962B2 (ja) | 画像処理方法、画像処理装置及び非一時的な記憶媒体 | |
US20230075270A1 (en) | Image processing method and apparatus, electronic device, and computer-readable storage medium | |
WO2019154035A1 (fr) | Procédé d'implantation de publicités dans une vidéo et dispositif informatique | |
JP6483221B2 (ja) | 三次元コードの生成方法 | |
US8582952B2 (en) | Method and apparatus for identifying video transitions | |
CN109803172B (zh) | 一种直播视频的处理方法、装置及电子设备 | |
US8351689B2 (en) | Apparatus and method for removing ink lines and segmentation of color regions of a 2-D image for converting 2-D images into stereoscopic 3-D images | |
CN109313793A (zh) | 评估并降低电子显示器的近视源性效应 | |
US11908107B2 (en) | Method and apparatus for presenting image for virtual reality device, device and non-transitory computer-readable storage medium | |
WO2020252976A1 (fr) | Procédé, appareil et dispositif d'insertion de vidéo, support et système | |
CN111639527A (zh) | 英文手写文本识别方法、装置、电子设备及存储介质 | |
US20200302579A1 (en) | Environment map generation and hole filling | |
CN114025219A (zh) | 增强现实特效的渲染方法、装置、介质及设备 | |
US8830251B2 (en) | Method and system for creating an image | |
US20230368489A1 (en) | Enhancing image data for different types of displays | |
US20180330211A1 (en) | Billboard containing encoded information | |
CN107534763B (zh) | 自适应色彩等级插值方法和设备 | |
CN107408024A (zh) | 十字形显示装置 | |
US20230353702A1 (en) | Processing device, system and method for board writing display | |
CN111815733A (zh) | 一种视频着色的方法及系统 | |
US20220319062A1 (en) | Image processing method, apparatus, electronic device and computer readable storage medium | |
CN109859303B (zh) | 图像的渲染方法、装置、终端设备及可读存储介质 | |
US20110221775A1 (en) | Method for transforming displaying images | |
CN103686029B (zh) | 一种用于大屏幕多投影系统的视频像素对角插值方法 | |
WO2023272495A1 (fr) | Procédé et appareil de badgeage, procédé et système de mise à jour de modèle de détection de badge et support de stockage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19933743 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19933743 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28.03.2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19933743 Country of ref document: EP Kind code of ref document: A1 |