Video processing method, video processing device and electronic equipment
By segmenting the target object from the video and generating special effects videos, the problem that existing video advertising forms are difficult to improve exposure and attraction is solved, and the effect of efficiently paying attention to the target object within the video is achieved without affecting the user's viewing experience.
Patent Information
- Application Number
- CN202010081336.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-06
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2040-08-27
AI Technical Summary
Existing video advertising forms, including hard advertising and soft implanted advertising, are difficult to effectively increase exposure and attract attention, and are unwilling to affect users' viewing experience.
By segmenting the target object from the target video and generating special effects videos based on the target object and specific display effects, the target object is emphasized in the video, increasing exposure attention, and avoiding excessive disturbance to users' viewing.
It achieves the improvement of the exposure and attraction of the target object in the video, enhances the attention and delivery value of the advertisement, and does not affect the user's viewing experience.
Smart Images

Figure CN113222995B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of video processing technology, and more specifically, to a video processing method, a video processing device and an electronic device. Background Art
[0002] Currently, there are two common forms of video ads. The first is to place ads around the video, for example, on the left and right sides of the video. This form of video ads is monotonous and boring and lacks appeal to users. The other is to insert hard ads at the beginning, middle, or end of the video. This form of video ads will pause the original video, which is very disturbing to users and provides a poor experience.
[0003] In order to avoid hard ads from interfering with users' viewing, more and more soft-implanted ads are used in combination with videos. Since soft-implanted ads do not exist independently of the video content and do not affect the normal playback of the video content, they can also give users a better experience. However, although soft-implanted ads reduce the interruption of users' video viewing, they themselves are less likely to attract users' attention, thus reducing their exposure and attractiveness.
[0004] Therefore, it is desirable to provide improved video processing schemes. Summary of the invention
[0005] In order to solve the above technical problems, the present application is proposed. The embodiments of the present application provide a video processing method, a video processing device and an electronic device, which can segment a target object from a target video and generate a special effect video based on the target object and a specific display effect, thereby ensuring the exposure attractiveness of the target object in the video without causing excessive disturbance to the user watching the video.
[0006] According to one aspect of the present application, a video processing method is provided, comprising: acquiring a target video containing a target object; segmenting the target object from the target video through image segmentation; determining a specific display effect based on the target object; and generating a special effects video based on the target object and the specific display effect.
[0007] In the above-mentioned video processing method, obtaining a target video containing a target object includes: obtaining a source video; determining the target object in the source video; determining the existence time of the target object in the source video; and intercepting a segment of the source video corresponding to the existence time to obtain the target video.
[0008] In the above-mentioned video processing method, determining the target object in the source video includes: detecting the target object in the source video by image recognition; or determining the target object in the source video by manual designation.
[0009] In the above-mentioned video processing method, determining the specific display effect based on the target object includes: determining the specific display effect corresponding to the content based on the content of the target video.
[0010] In the above-mentioned video processing method, generating a special effects video based on the target object and the specific display effect includes: adding additional content to the generated special effects video.
[0011] In the above video processing method, after generating a special effect video based on the target object and the specific display effect, the method further includes: playing the special effect video synchronously with the source video based on the existence time.
[0012] In the above video processing method, after generating the special effect video based on the target object and the specific display effect, the method further includes: superimposing the special effect video on the source video based on the existence time for playback.
[0013] In the above-mentioned video processing method, the target object is an implanted object that is implanted into the target video for advertising purposes.
[0014] According to another aspect of the present application, a video processing device is provided, including: an acquisition unit, used to acquire a target video containing a target object; a segmentation unit, used to segment the target object from the target video acquired by the acquisition unit through image segmentation; a determination unit, used to determine a specific display effect based on the target object segmented by the segmentation unit; and a generation unit, used to generate a special effect video based on the target object segmented by the segmentation unit and the specific display effect determined by the determination unit.
[0015] In the above-mentioned video processing device, the acquisition unit includes: a video acquisition subunit, used to acquire a source video; an object determination subunit, used to determine the target object in the source video acquired by the video acquisition subunit; a time determination subunit, used to determine the existence time of the target object determined by the object determination subunit in the source video acquired by the video acquisition subunit; and a video interception subunit, used to intercept a segment of the source video acquired by the video acquisition subunit corresponding to the existence time determined by the time determination subunit to obtain the target video.
[0016] In the above-mentioned video processing device, the object determination subunit is used to: detect the target object in the source video through image recognition; or determine the target object in the source video through manual designation.
[0017] In the above-mentioned video processing device, the determining unit is used to: determine a specific display effect corresponding to the content based on the content of the target video.
[0018] In the above video processing device, the generating unit is used to add additional content to the generated special effect video.
[0019] The above-mentioned video processing device further includes: a playback unit, which is used to synchronously play the special effect video with the source video based on the existence time after the generation unit generates the special effect video based on the target object and the specific display effect.
[0020] The above-mentioned video processing device further includes: a playback unit, which is used to compress the special effect video and superimpose it on the source video based on the existence time for playback after the generation unit generates the special effect video based on the target object and the specific display effect.
[0021] In the above-mentioned video processing device, the target object is an implanted object that is implanted into the target video for advertising purposes.
[0022] According to another aspect of the present application, an electronic device is provided, comprising: a processor; and a memory, wherein computer program instructions are stored in the memory, and when the computer program instructions are executed by the processor, the processor executes the video processing method as described above.
[0023] According to another aspect of the present application, a computer-readable medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor is caused to perform the video processing method as described above.
[0024] The video processing method, video processing device and electronic device provided in the present application can segment the target object from the target video and generate a special effects video based on the target object and a specific display effect, thereby ensuring the exposure and attractiveness of the target object in the video without causing excessive disturbance to the user watching the video. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0026] Figure 1 The figure illustrates a flow chart of a video processing method according to an embodiment of the present application.
[0027] Figure 2 The flowchart illustrates an example of a process of acquiring a target video in a video processing method according to an embodiment of the present application.
[0028] Figure 3 A schematic diagram illustrating an application example of a video processing method according to an embodiment of the present application is illustrated.
[0029] Figure 4 A schematic diagram illustrating a display example of a video processing method according to an embodiment of the present application is illustrated.
[0030] Figure 5 The figure shows a block diagram of a video processing device according to an embodiment of the present application.
[0031] Figure 6 The figure illustrates a block diagram of an example of an acquisition unit of a video processing device according to an embodiment of the present application.
[0032] Figure 7 A block diagram of an electronic device according to an embodiment of the present application is illustrated. DETAILED DESCRIPTION
[0033] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0034] Application Overview
[0035] As mentioned above, soft-implanted advertising has the problem of insufficient exposure and attraction because the soft-implanted objects in the video are not easy to attract users' attention.
[0036] If, when soft implants appear in a video, patch ads are directly superimposed around the video, such as on the left and right sides of the video, the advertising effect can be improved. However, since users focus on the main part of the screen when watching a video, it is easy to ignore the patch ads. In addition, since soft implants are displayed separately from patch ads, it is difficult for users to associate soft implants with patch ads, which reduces the value of advertising.
[0037] In view of the above technical problems, the basic concept of the present application is to segment the soft implant from the video, and generate a special effects video based on the soft implant and a specific display effect, so as to emphasize the soft implant itself in the video.
[0038] Specifically, the video processing method, video processing device and electronic device provided in the present application first obtain a target video containing a target object, then segment the target object from the target video through image segmentation, then determine a specific display effect based on the target object, and finally generate a special effects video based on the target object and the specific display effect.
[0039] In this way, when a target object, such as a soft implant, exists in a target video, the video processing method, video processing device, and electronic device provided by the present application can emphasize the soft implant with a specific display effect, thereby enhancing the exposure and attention of the soft implant. In addition, since the video playback will not be stopped due to the introduction of the soft implant when the user is watching the video, excessive disturbance to the user's video viewing is avoided.
[0040] It is worth noting that in the video processing method, video processing device and electronic device provided in the present application, the target object can be any implanted object implanted in the target video for advertising purposes, and is not limited to soft implants, but can also be other implanted objects in specific scenes in the video, such as implanted pictures, implanted characters, etc.
[0041] In addition, in the video processing method, video processing device and electronic device provided by the present application, the target object is not limited to the implanted object implanted in the target video for advertising purposes, but may also be other objects in the target video that are desired to be emphasized with a specific display effect, for example, it may be a person, object or line that is desired to be emphasized in the video.
[0042] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be described in detail with reference to the accompanying drawings.
[0043] Exemplary Methods
[0044] Figure 1 The figure illustrates a flow chart of a video processing method according to an embodiment of the present application.
[0045] like Figure 1 As shown, the video processing method according to the embodiment of the present application includes the following steps.
[0046] Step S110, obtaining a target video containing a target object. As described above, the target object may be a soft implant in the target video, or may be another object that is desired to be emphasized, such as a specific logo.
[0047] In an embodiment of the present application, the target video may be a video watched by a user, such as a movie, TV series, video clip, etc., or it may be a video clip further intercepted based on the video watched by the user, which will be further described in detail below.
[0048] Step S120, segmenting the target object from the target video by image segmentation. Here, by image segmentation, information of the target object can be obtained from the target video, for example, area information, coordinate information, mask information, etc. of the target object, so as to segment the target object from the target video. That is, those skilled in the art can understand that in the embodiment of the present application, segmenting the target object from the target video can refer to obtaining the above-mentioned area information, coordinate information, mask information, etc. representing the target object, and is not limited to segmenting the image of the target object from the target video.
[0049] Here, the region information of the target object is used to indicate the specific region of the target object in the target video, for example, the region of the target object can be circled in the form of a region candidate frame. The coordinate information of the target object is used to indicate the specific coordinates of the target object in a specific frame of the target video, and can be represented by a coordinate set of xy coordinates in a two-dimensional rectangular coordinate system. The mask information of the target object is usually used for image segmentation. For example, for a specific frame of the target video, the target object is represented by 1, and the rest of the image is represented by 0, so that the target object can be segmented from the image.
[0050] Step S130, determining a specific display effect based on the target object. For the segmented target object, a corresponding specific display effect can be determined based on the shape, color, etc. of the target object. In an embodiment of the present application, the specific display effect can be associated with the content of the target video when the target object appears. For example, when the target video appears with cheerful content, the specific display effect can further enhance the cheerful effect, for example, displaying a flashing effect of bright colors, etc.
[0051] Therefore, in the video processing method according to the embodiment of the present application, determining the specific display effect based on the target object includes: determining the specific display effect corresponding to the content based on the content of the target video.
[0052] Furthermore, in the video processing method according to the embodiment of the present application, the specific display effect may include, in addition to the flickering effect, an expansion effect, a blurring effect, a stroke effect, etc. Here, the expansion effect refers to the increase in the volume of the target object, thereby making the target object more obvious, the blurring effect refers to the increase in the transparency of the target object, thereby attracting the viewer's attention, and the stroke effect refers to the emphasis on the edge of the target object, such as thickening the line or expressing it in a striking color, thereby also making the target object more obvious. Furthermore, in the embodiment of the present application, one or more specific display effects may also be used simultaneously for the target object.
[0053] Step S140, generating a special effects video based on the target object and the specific display effect. That is, the target object and the specific display effect determined based on the target object can be combined into the special effects video. For example, the target object can be combined with a flickering effect to generate a special effects video of the flickering target object.
[0054] Therefore, since the target object is emphasized through the specific display effects, for example, the expansion effect, blurring effect, flickering effect, stroking effect, etc. that are easy to attract the audience's attention, the audience will easily notice the target object when watching the video, thereby increasing the exposure and attention of the target object.
[0055] In addition, in the video processing method according to the embodiment of the present application, since the target object is emphasized by the specific display effect, the audience will easily notice the target object when watching the video, and other content that the audience wants to notice can be further introduced through the generated special effect video. For example, an advertising animation can be added after the display of the target object, such as a native implant, in the special effect video, or advertising content can be added while the target object is displayed. In this way, by linking the target object, such as a native implant, with the advertising content in the form of an introduction animation, the associative memory of the advertisement to the user is enhanced.
[0056] Therefore, in the video processing method according to the embodiment of the present application, generating a special effect video based on the target object and the specific display effect includes: adding additional content to the generated special effect video. That is, an additional video containing additional content can be added after the generated special effect video, or advertising content, such as an advertising picture of a corresponding brand, advertising text, etc., can be directly superimposed on the screen of the generated special effect video.
[0057] Of course, those skilled in the art will appreciate that in the embodiments of the present application, the additional content added is not limited to advertisements, but may also be other content that the audience is expected to notice, such as specific notification content that the audience is expected to know.
[0058] Figure 2 The flowchart illustrates an example of a process of acquiring a target video in a video processing method according to an embodiment of the present application.
[0059] like Figure 2 As shown, in Figure 1 Based on the illustrated embodiment, step S110 further includes the following steps.
[0060] Step S1101, obtaining source video. As mentioned above, the source video refers to the video provided by the video service provider to the user, such as a movie, TV, etc.
[0061] Step S1102, determining the target object in the source video. In the embodiment of the present application, the target object in the source video can be automatically detected by image recognition, for example, by automatically identifying a specific object to detect a native implant in the source video. Alternatively, the target object in the source video can be manually specified by a user, that is, the target object in the source video can be determined by manual specification.
[0062] Therefore, in the video processing method according to the embodiment of the present application, determining the target object in the source video includes: detecting the target object in the source video through image recognition; or determining the target object in the source video through manual designation.
[0063] Step S1103, determining the existence time of the target object in the source video. After determining the target object, the target object may be tracked in the source video to determine the existence time of the target object in the source video.
[0064] Step S1104, intercepting a segment of the source video corresponding to the existence time to obtain the target video. In this way, the video segment in which the target object exists in the source video can be obtained, so that the target object can be further emphasized based on the video processing method as described above. Figure 2 In the example shown, only the target video containing the target object as a video segment can be processed, while avoiding processing the entire source video, thereby saving resources required for video processing.
[0065] Moreover, after determining the existence time of the target object in the source video, the special effects video and the source video can be further superimposed and played to the user based on the existence time, so that the user can see the special effects video that emphasizes the target object through a specific display effect when watching the source video.
[0066] In the video processing method according to the embodiment of the present application, in one example, the special effects video and the source video can be played synchronously through different video streams based on the existence time. In another example, the special effects video and the source video can also be compressed and superimposed into the same video stream for playback based on the existence time.
[0067] That is, in the video processing method according to the embodiment of the present application, after generating the special effect video based on the target object and the specific display effect, it further includes: playing the special effect video synchronously with the source video based on the existence time.
[0068] Alternatively, in the video processing method according to the embodiment of the present application, after generating the special effect video based on the target object and the specific display effect, it further includes: based on the existence time, superimposing the special effect video on the source video for playback.
[0069] As described above, in the video processing method according to the embodiment of the present application, the target object is an implanted object that is implanted into the target video for advertising purposes.
[0070] Since it is difficult for general patch ads to attract user attention and it is also difficult to link native implants with patch ads, the value of advertising is reduced. The video processing method according to the embodiment of the present application can arouse users' attention to the implanted object in the main picture of the video by emphasizing special effects, thereby improving the value of advertising.
[0071] Application Examples
[0072] Figure 3 The flowchart of an application example of the video processing method according to an embodiment of the present application is illustrated.
[0073] like Figure 3 As shown, in S201, the video content that the user wants to watch is obtained. In S202, the soft implant is detected by image recognition, and in S203, it is determined whether the soft implant exists. Alternatively, in S204, the soft implant is specified by the user through manual input. In S205, in response to determining that the soft implant exists in S203 or specifying the soft implant in S204, the appearance time of the soft implant is calculated. In addition, if it is determined that the soft implant does not exist in S203, return to S201.
[0074] At S206, a video clip is captured based on the appearance time. At S207, the soft implant is segmented by image segmentation. At S208, an emphasis effect is superimposed, for example, expansion, blurring, flickering, strobing or other effects.
[0075] Figure 4 FIG. 1 is a schematic diagram showing an example of displaying a video processing method according to an embodiment of the present application. Figure 4 As shown in (A), the soft implant in the video is a mobile phone, the image frame containing the mobile phone in the video is intercepted, and the image of the mobile phone is segmented from the image frame by image segmentation. Figure 4As shown in (B), in order to emphasize the mobile phone, an expansion effect is used, that is, the display volume of the mobile phone is increased, so that users watching the video can easily notice it. Figure 4 (C) shows the blurring effect. Figure 4 (D) shows a flickering effect, and Figure 4 (E) shows the stroke effect. Figure 4 As can be seen in Figure 2, by superimposing special effects on soft implants, the possibility of soft implants being noticed can be significantly increased.
[0076] In S209, special effect materials are generated. In S210, advertising animation and brand advertising content are further introduced. In S211, special effect advertisements are synchronously superimposed and delivered based on the appearance time of S205.
[0077] In this way, by emphasizing special effects in the main picture of the video, users' attention is aroused to the implanted objects, and animation and advertising content are further superimposed to link the advertising content and native implants together, thereby enhancing the sensory impact and memorability of the advertisement on users.
[0078] Exemplary Devices
[0079] Figure 5 The figure shows a block diagram of a video processing device according to an embodiment of the present application.
[0080] like Figure 5 As shown, the video processing device 300 according to the embodiment of the present application includes: an acquisition unit 310, used to acquire a target video containing a target object; a segmentation unit 320, used to segment the target object from the target video acquired by the acquisition unit 310 through image segmentation; a determination unit 330, used to determine a specific display effect based on the target object segmented by the segmentation unit 320; and a generation unit 340, used to generate a special effect video based on the target object segmented by the segmentation unit 320 and the specific display effect determined by the determination unit 330.
[0081] Figure 6 The figure illustrates a block diagram of an example of an acquisition unit of a video processing device according to an embodiment of the present application.
[0082] like Figure 6 As shown, in Figure 5Based on the shown embodiment, the acquisition unit 310 includes: a video acquisition subunit 311, used to acquire a source video; an object determination subunit 312, used to determine the target object in the source video acquired by the video acquisition subunit 311; a time determination subunit 313, used to determine the existence time of the target object determined by the object determination subunit 312 in the source video acquired by the video acquisition subunit 311; and a video interception subunit 314, used to intercept a segment of the source video acquired by the video acquisition subunit 311 corresponding to the existence time determined by the time determination subunit 313 to obtain the target video.
[0083] In one example, in the video processing device 300 according to an embodiment of the present application, the object determination subunit 312 is used to: detect the target object in the source video through image recognition; or determine the target object in the source video through manual designation.
[0084] In one example, in the video processing device 300 according to an embodiment of the present application, the determination unit 330 is used to: determine a specific display effect corresponding to the content based on the content of the target video.
[0085] In one example, in the video processing device 300 according to an embodiment of the present application, the specific display effect includes at least one of an expansion effect, a blurring effect, a flickering effect, and a stroke effect.
[0086] In one example, in the video processing device 300 according to an embodiment of the present application, the generating unit 340 is used to add additional content to the generated special effect video.
[0087] In one example, in the video processing device 300 according to an embodiment of the present application, it further includes: a playback unit, which is used to synchronously play the special effects video with the source video based on the existence time after the generation unit 340 generates the special effects video based on the target object and the specific display effect.
[0088] In one example, in the video processing device 300 according to an embodiment of the present application, it further includes: a playback unit, which is used to superimpose the special effects video on the source video based on the existence time for playback after the generation unit 340 generates the special effects video based on the target object and the specific display effect.
[0089] In one example, in the video processing device 300 according to the embodiment of the present application, the target object is an implanted object that is implanted into the target video for advertising purposes.
[0090] Here, those skilled in the art can understand that the specific functions and operations of the various units and modules in the above-mentioned video processing device 300 have been described in detail above. Figure 1 and Figure 2 The video processing method has been described in detail in the description of the video processing method, and therefore, its repeated description will be omitted.
[0091] As described above, the video processing device 300 according to the embodiment of the present application can be implemented in various terminal devices, such as a production system for advertisement placement. In one example, the video processing device 300 according to the embodiment of the present application can be integrated into the terminal device as a software module and / or a hardware module. For example, the video processing device 300 can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the video processing device 300 can also be one of the many hardware modules of the terminal device.
[0092] Alternatively, in another example, the video processing apparatus 300 and the terminal device may also be separate devices, and the video processing apparatus 300 may be connected to the terminal device via a wired and / or wireless network, and transmit interactive information in accordance with an agreed data format.
[0093] Exemplary Electronic Devices
[0094] Below, reference Figure 7 To describe an electronic device according to an embodiment of the present application.
[0095] Figure 7 A block diagram of an electronic device according to an embodiment of the present application is illustrated.
[0096] like Figure 7 As shown, the electronic device 10 includes one or more processors 11 and a memory 12 .
[0097] The processor 11 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.
[0098] The memory 12 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may run the program instructions to implement the video processing methods of the various embodiments of the present application described above and / or other desired functions. Various contents such as target video, special effect video, etc. may also be stored in the computer-readable storage medium.
[0099] In one example, the electronic device 10 may further include: an input device 13 and an output device 14, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0100] The input device 13 may include, for example, a keyboard, a mouse, etc.
[0101] The output device 14 can output various information to the outside, including generated special effect videos, etc. The output device 14 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0102] Of course, to simplify, Figure 7 Only some of the components related to the present application in the electronic device 10 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 10 may also include any other appropriate components.
[0103] Exemplary computer program products and computer-readable storage media
[0104] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the video processing method according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
[0105] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the first user computing device, partially on the first user computing device, as an independent software package, partially on the first user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0106] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the video processing method according to various embodiments of the present application described in the above "Exemplary Method" section of this specification.
[0107] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0108] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.
[0109] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.
[0110] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0111] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0112] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A video processing method, characterized in that: include: Get the source video; Determining a target object in the source video; Determine the existence time of the target object in the source video; as well as intercepting a segment of the source video corresponding to the existence time to obtain a target video; Segmenting the target object from the target video by image segmentation; determining a specific display effect based on the target object; as well as Generate a special effects video based on the target object and the specific display effect; The special effect video compression stream is superimposed on the source video based on the existence time for playback.
2. The video processing method according to claim 1, characterized in that: Determining the target object in the source video includes: Detecting the target object in the source video by image recognition; or The target object in the source video is determined by manual designation.
3. The video processing method according to claim 1, characterized in that: Determining a specific display effect based on the target object includes: A specific display effect corresponding to the content is determined based on the content of the target video.
4. The video processing method according to claim 1, characterized in that: Generating a special effect video based on the target object and the specific display effect includes: Add additional content to the generated special effects video.
5. The video processing method according to claim 1, characterized in that: After generating the special effect video based on the target object and the specific display effect, the method further includes: The special effect video is played synchronously with the source video based on the existence time.
6. The video processing method according to any one of claims 1 to 5, characterized in that: The target object is an implanted object that is implanted into the target video for advertising purposes.
7. A video processing device, characterized in that: include: An acquisition unit, used for acquiring a source video; Determining a target object in the source video; Determine the existence time of the target object in the source video; and intercepting a segment of the source video corresponding to the existence time to obtain a target video; a segmentation unit, configured to segment the target object from the target video acquired by the acquisition unit through image segmentation; a determining unit, configured to determine a specific display effect based on the target object segmented by the segmenting unit; as well as A generating unit, configured to generate a special effect video based on the target object segmented by the segmenting unit and the specific display effect determined by the determining unit; A playback unit is used to superimpose the special effect video compression stream on the source video for playback based on the existence time.
8. An electronic device comprising: processor; as well as A memory, wherein computer program instructions are stored in the memory, and when the computer program instructions are executed by the processor, the processor executes the video processing method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Video image processing method and device, and electronic equipment
CN108076373A
Video data processing method and device, advertisement position determining method, medium and electronic equipment
CN110225366A