WO2020132828A1 - 一种数据处理方法、无人机、眼镜设备及存储介质 - Google Patents

一种数据处理方法、无人机、眼镜设备及存储介质 Download PDF

Info

Publication number
WO2020132828A1
WO2020132828A1 PCT/CN2018/123182 CN2018123182W WO2020132828A1 WO 2020132828 A1 WO2020132828 A1 WO 2020132828A1 CN 2018123182 W CN2018123182 W CN 2018123182W WO 2020132828 A1 WO2020132828 A1 WO 2020132828A1
Authority
WO
WIPO (PCT)
Prior art keywords
watermark
video data
image
target
frame
Prior art date
Application number
PCT/CN2018/123182
Other languages
English (en)
French (fr)
Inventor
吴一凡
陈古顺
马超
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201880065354.0A priority Critical patent/CN111247811A/zh
Priority to PCT/CN2018/123182 priority patent/WO2020132828A1/zh
Publication of WO2020132828A1 publication Critical patent/WO2020132828A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware

Definitions

  • the embodiments of the present invention relate to the field of electronic technology, and in particular, to a data processing method, a drone, glasses equipment, and a storage medium.
  • the participating traversing machines can capture the video data of the first person view (First Person View, FPV) and send the video data to the glasses device of the pilot or viewer and the live broadcast device set by the live broadcaster.
  • the glasses device can play video data through the display screen so that pilots and viewers can understand the flight situation of the flying machine, and the live broadcast device can distribute the video data for live broadcast on the network.
  • live broadcast content is protected by copyright, and only authorized live broadcasters and their devices can live broadcast video data.
  • a pirate usually connects a third-party device to the display interface of the glasses device.
  • the display interface may be a serial display interface (Display Serial) based on the Mobile Industry Processor Interface (MIPI) protocol.
  • MIPI Mobile Industry Processor Interface
  • DSI Serial Display Interface
  • the video data obtained by the glasses device is stolen through the display screen interface; the pirate uses a third-party device to play the stolen video data to obtain profits, which harms the interests of the video data owner. Therefore, how to protect the video data in live broadcast is an urgent problem to be solved.
  • Embodiments of the present invention provide a data processing method, an unmanned aerial vehicle, glasses equipment, and a storage medium, which can set a watermark on video data to affect the viewing experience of a pirate, thereby protecting video data in live broadcasting.
  • an embodiment of the present invention provides a data processing method.
  • the method includes:
  • the video data includes multiple frames of images
  • an embodiment of the present invention provides a drone, the drone includes a memory, a processor, an image capturing device, and an image transmission module,
  • the memory is used to store program instructions
  • the processor calls the program instructions stored in the memory and performs the following steps:
  • Video data is captured by the image capturing device, and the video data includes multiple frames of images
  • the image in the video data added with the watermark is sent through the image transmission module.
  • an embodiment of the present invention provides an eyewear device, where the eyewear device includes a memory, a processor, an image transmission module, and a display screen interface,
  • the memory is used to store program instructions
  • the processor calls the program instructions stored in the memory and performs the following steps:
  • the video data including multiple frames of images
  • the image in the video data added with the watermark is sent through the display screen interface.
  • the data processing device may acquire video data and acquire a target watermark adding mode, add a watermark to at least one frame of the video data according to the target watermark adding mode, and send the watermarked image in the video data ;
  • the pirate will see the watermark in the image, affecting the viewing experience of the pirate, thereby protecting the video data in the live broadcast, and protecting the rights of the video data owner.
  • this solution does not require the hardware structure of the data processing equipment to be modified, therefore, the cost and expenses are reduced, and human resources are saved.
  • FIG. 1 is a schematic diagram of a data processing network architecture provided by an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a data processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another data processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of adding a watermark to an image in video data according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of another data processing method according to an embodiment of the present invention.
  • FIG. 6 is another schematic diagram of adding a watermark to an image in video data according to an embodiment of the present invention.
  • FIG. 7 is another schematic diagram of adding a watermark to an image in video data according to an embodiment of the present invention.
  • FIG. 8 is another schematic diagram of adding a watermark to an image in video data according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a drone provided by an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an eyewear device according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a data processing network architecture provided by an embodiment of the present invention.
  • the network architecture includes at least a drone 10 and a plurality of eyewear devices.
  • FIG. 1 takes three eyewear devices as examples, respectively. These are the glasses device 11 for the pilot, the glasses device 12 for the audience, and the glasses device 13 for the audience.
  • the network architecture may further include a live broadcast device 14 and a third-party device 15.
  • the drone 10 may be a rotor-type drone, for example, a four-rotor drone, a six-rotor drone, an eight-rotor drone, or a fixed-wing drone.
  • the drone 10 may include a power system, a gimbal, and an image capturing device 101.
  • the power system is used to provide flying power for the drone, where the power system includes one or more of a propeller, a motor, and an electric ESC.
  • the image capturing device 101 is mounted on the main body of the drone 10 via a gimbal.
  • the image capturing device 101 is used to capture images or videos during the flight of the UAV 10, including but not limited to multi-spectral imagers, hyper-spectral imagers, visible light cameras, and infrared cameras.
  • the gimbal motor compensates the shooting angle of the image shooting device by adjusting the rotation angle of the rotation shaft, and prevents or reduces the shaking of the imaging device by setting an appropriate buffer mechanism.
  • the glasses device may refer to virtual reality (VirtualReality, VR) or augmented reality (AugmentedReality, AR) and other glasses devices that can broadcast video, and the glasses device can refer to the video data authorized by the owner of the video data (i.e. pilot) The device used to play video data.
  • the flying eyewear device 11 may refer to the eyeglass device controlled by the flying hand (ie, the contestant)
  • the audience eyeglass device 12 and the audience eyeglass device 13 may refer to the eyeglass device controlled by the audience.
  • the live broadcast device 14 may be a live broadcast device set by an official (ie, live broadcaster), that is, the live broadcast device 14 may refer to the video data authorized by the owner of the video data or the copyright owner (ie, pilot or official organizer) and used for live broadcast video
  • the live broadcast device 14 may refer to a device that can live broadcast video data such as a smart phone, tablet computer, laptop computer, ground station, and live broadcast platform.
  • the network architecture can be used for live broadcast events in a ride-through aircraft competition, and the drone 10 can be used for ride-through aircraft competition, that is, the drone 10 can refer to a ride-through aircraft.
  • the pilot ie the contestant
  • the drone 10 can control the drone 10 to shoot the video data of the first-person perspective through the image capturing device 101, and the drone 10 can send the video data to various eyewear equipment and live broadcast equipment 14
  • Each eyewear device and live broadcast device 14 can live broadcast the received video data, so that pilots and viewers can use the video data to understand the flight altitude and/or flight position of the drone in real time.
  • the third-party device 15 may refer to a device used to intercept video data without authorization of the video data owner or copyright owner (ie, flying pilot or official organizer); the third-party device 15 may pass through the viewer's glasses device The interface of the display screen is connected to the glasses device of the audience, stealing video data from the glasses device of the audience, and playing the video data and/or distributing the stolen video data to the network.
  • the third-party device may refer to at least one of a smart phone, a tablet computer, a laptop computer, or a television.
  • any one of the following two embodiments may be used to add a watermark to at least one frame of image in the video data.
  • the drone 10 may add a watermark to at least one frame of image in the video data, and send the image in the watermarked video data to each eyewear device and live broadcast device.
  • Each eyewear device and live broadcast device can play the image in the watermarked video data, and the viewer's eyewear device 12 can also send the image in the watermarked video data.
  • the drone 10 can send video data to various eyewear devices and live broadcast equipment, and the viewer's eyewear device 12 can add a watermark to at least one frame of image in the video data and display the watermarked video data Image.
  • the processor in the viewer's glasses device 12 can send the image in the watermarked video data to the display screen of the glasses device through the display screen interface, if the third-party device 15 and the viewer's glasses device 12 are connected by cracking the display screen interface , The third-party device 15 will receive the image in the watermarked video data. Generally, the third-party device 15 can play the stolen watermarked video data and/or distribute the stolen watermarked video data to the network.
  • the live broadcast line of pirate broadcast usually supports the pause function
  • the user when users watching the pirate live broadcast on the network pause playing the video data with the watermark added, the user has a possibility to see the watermark; when the number of viewing users is large, there is a high probability that some users Pausing to the watermark frame can destroy the effect of pirate live broadcast, thereby protecting the video data in the live broadcast.
  • the watermark will be added at a certain frame interval, so that the audience will hardly notice that the watermark is added and does not affect the normal live viewing effect. Therefore, the video Adding a watermark to the data will not destroy the effect of the video data played by the glasses device or live broadcast device.
  • FIG. 2 is a schematic flowchart of a data processing method according to an embodiment of the present invention.
  • the method may be executed by a data processing device, and the data processing device may refer to a drone or glasses device.
  • the data processing method may include the following steps.
  • the data processing device acquires video data, and the video data includes multiple frames of images.
  • the video data may be video data obtained by a drone (that is, a traversing machine) from a first-person perspective during a traversal competition, and a pilot or spectator may understand the flight of the drone in real time through the video data Flight conditions such as altitude and/or flight position.
  • the data processing device may be an unmanned aerial vehicle. In a traversing machine competition, the unmanned aerial vehicle may obtain video data by shooting with an image shooting device.
  • the data processing device may be a glasses device, and the glasses device may obtain video data from the drone. Specifically, in the process of shooting video data by the drone, each time the drone obtains a frame of image, the frame image can be sent to the glasses device, so that the glasses device can live broadcast the video data.
  • the data processing device acquires the target watermark adding mode.
  • the target watermark adding mode may be a watermark mode set by the user.
  • a plurality of watermark adding modes are included in the data processing device, and the plurality of watermark adding modes include a random adding mode and a fixed adding mode.
  • the user can click the function button of the data processing device to enter the watermark adding mode setting interface.
  • the data processing device may display a random addition mode option and a fixed addition mode option on the watermark addition mode setting interface. If the user selects the random addition mode, the data processing device determines the random addition mode as the target watermark addition mode. If the user selects the fixed addition mode, the data processing device determines the fixed addition mode as the target watermark addition mode.
  • the data processing device may display a watermark addition mode input box on the watermark addition mode setting interface, and the target watermark addition mode may refer to the watermark addition mode input by the user in the watermark addition mode input box.
  • the target watermark adding mode may refer to a watermark adding mode automatically acquired by the data processing device.
  • the data device processing device may use the random addition mode as the default watermark addition mode, and the target watermark addition mode may refer to the default watermark addition mode. That is to say, in this embodiment, the user does not need to manually set the target watermark adding mode, and the data processing device can automatically acquire a watermark adding mode as the target watermark adding mode according to a preset rule.
  • the target watermark adding mode is a fixed adding mode or a random adding mode.
  • the fixed adding mode may refer to regularly adding a watermark to the image in the video data, and the fixed adding mode may include at least one of adding according to a fixed period, adding a fixed color, adding a fixed position, and adding content of a fixed watermark.
  • the random addition mode may refer to randomly adding a watermark to the image in the video data, and the random addition mode includes at least one of adding according to a random period, adding a random color, and adding a random position.
  • the adding period refers to the frame number interval or time interval between two frames adjacent to the watermark.
  • the adding color refers to the color of the added content, which can be monochrome or multicolor
  • the adding position refers to adding the watermark in The location on the image.
  • the adding period, adding color and adding position will be described in detail later.
  • the content of the watermark may include at least one of patterns, text, and colored blocks.
  • the pattern of the watermark includes the personal mark or company logo of the video data owner
  • the text may include the name or company name of the video data owner
  • the colored block may refer to the shape filled with colors, such as a gray watermark block .
  • the data processing device adds a watermark to at least one frame image in the video data according to the target watermark adding mode.
  • the data processing device can add a watermark to at least one frame of video data according to the fixed adding mode, which can reduce the complexity of adding a watermark and increase the effectiveness.
  • the data processing device may add a watermark to at least one frame image in the video data according to a fixed period, and the fixed period may refer to a fixed time interval or a fixed frame number interval.
  • the data processing device may add a watermark to at least one frame of image in the video data according to the random adding mode, which can prevent the watermark in the video data from being erased and improve Security of video data.
  • the data processing device may add a watermark to at least one frame of image in the video data in a random cycle, and the random cycle includes a random time interval or a random frame number interval.
  • the data processing device sends the watermarked image in the video data.
  • the data processing device may be a drone, and the drone may send the watermarked image in the video data to the glasses device, so that the glasses device may send the watermarked image in the video data .
  • the data processing device may be a glasses device, and the glasses device may send the watermarked image in the video data. Specifically, the glasses device may send the watermarked image in the video data through the display screen interface. If the third-party device is connected to the display screen interface of the glasses device, the third-party device may receive the watermarked image from the display screen interface. The image in the video data. Since the image received by the third-party device has a watermark, the third-party device will affect the viewing experience when playing the watermarked video data. Or, after the third-party device distributes the watermarked video data to the network, other devices may also affect the viewing experience when playing the watermarked video data.
  • the data processing device may acquire video data and acquire a target watermark adding mode, add a watermark to at least one frame of the video data according to the target watermark adding mode, and send the watermarked image in the video data ;
  • the pirate will see the watermark in the image, affecting the viewing experience of the pirate, thereby protecting the video data in the live broadcast, and protecting the rights of the video data owner.
  • this solution does not require the hardware structure of the data processing equipment to be modified, therefore, the cost and expenses are reduced, and human resources are saved.
  • FIG. 3 is a schematic flowchart of another data processing method according to an embodiment of the present invention.
  • the method may be executed by a data processing device.
  • the difference between the embodiment of the present invention and the embodiment of FIG. 2 is that the embodiment of the present invention uses a fixed addition mode to add a watermark to at least one frame of image in video data.
  • An embodiment of the present invention is shown in FIG. 3, and the data processing method may include the following steps.
  • the data processing device acquires video data, and the video data includes multiple frames of images.
  • the data processing device adds a watermark to at least one frame image in the video data according to the fixed adding mode.
  • the data processing device may add a watermark to at least one frame of the video data in a fixed addition manner, which can reduce the complexity of adding the watermark and improve the efficiency of adding the watermark .
  • step S303 includes: the data processing device may add a watermark to at least one frame of the video data at fixed time intervals.
  • the fixed frame number interval may be 4s
  • the data processing device may start timing from the first frame of the video data acquired (that is, captured or received), and add a watermark to the image acquired at the 4s of the video data. Add a watermark to the image obtained at the 8s in the video data, and so on.
  • the fixed time interval may be set manually by the user, or may be set automatically by the drone.
  • the fixed time interval may be less than the maximum preset duration and greater than the minimum preset duration. For example, the maximum preset duration may be 6s, and the minimum preset duration may be 2s.
  • step S303 includes: the data processing device may add a watermark to at least one frame of image in the video data at fixed frame number intervals.
  • the fixed frame number interval may refer to 240, and the data processing device may start counting from the first frame image of the video data acquired (that is, captured or received), to the 240th of the video data. Add a watermark to the frame image, add a watermark to the 480th image in the video data, and so on.
  • the fixed frame number interval may be set manually by the user, or may be set automatically by the drone.
  • the fixed frame number interval may be an integer multiple of the group of pictures (GOP) of the video data.
  • the fixed frame number interval may be smaller than the maximum preset number of frames and greater than the minimum preset number of frames, for example, the maximum preset number of frames may be 300 frames, and the minimum preset number of frames may be 180 frames.
  • step S303 includes: the data processing device may add a watermark to the key frame image in the video data.
  • a watermark is added to the key frame (I frame) of the video data.
  • the operation of adding a watermark to a key frame before encoding or decoding is completed, or the operation of adding a watermark to a key frame after encoding or decoding is completed.
  • step S303 includes: the data processing device may add a watermark to a fixed position of at least one frame of image in the video data, that is, add a watermark at the same position of each image to be watermarked.
  • the fixed position may be any position in the target image; in another embodiment, the fixed position may be a central area, an upper left corner area, a lower left corner area, an upper right corner area of the target image And in any area in the lower right corner area, the target image is any image with a watermark added to the video data.
  • the fixed position may be set manually by the user, or may be set automatically by the drone.
  • step S303 includes: the data processing device may add a fixed color watermark to at least one frame of the video data, that is, add a watermark of the same color to each image to be watermarked.
  • the fixed color may be a lighter color, such as gray.
  • the data processing device sends the watermarked image in the video data.
  • the data processing device may acquire video data and acquire a target watermark adding mode, the target watermark adding mode is a fixed adding mode, add a watermark to at least one image in the video data according to the fixed adding mode, and send the added watermark
  • the target watermark adding mode is a fixed adding mode
  • add a watermark to at least one image in the video data according to the fixed adding mode and send the added watermark
  • the image in the video data after the video when playing the watermarked video data, the pirate will watch the watermark in the image, affecting the viewing experience of the pirate, thereby protecting the video data in the live broadcast, and maintaining the video data owner Rights and interests, and can reduce the complexity of adding watermarks and improve the efficiency of adding watermarks.
  • this solution does not require the hardware structure of the data processing equipment to be modified, therefore, the cost and expenses are reduced, and human resources are saved.
  • FIG. 5 is a schematic flowchart of yet another data processing method according to an embodiment of the present invention.
  • the method may be executed by a data processing device.
  • the difference between the embodiment of the present invention and the embodiment of FIG. 2 is that the embodiment of the present invention uses a random addition mode to add a watermark to at least one frame of image in video data.
  • An embodiment of the present invention is shown in FIG. 5.
  • the data processing method may include the following steps.
  • the data processing device acquires video data, and the video data includes multiple frames of images.
  • the data processing device adds a watermark to at least one frame of the video data according to a random addition mode.
  • the data processing device in order to prevent the video data from being stolen by a third-party device, adds a watermark to at least one frame of the video data according to a random addition mode, which can prevent the watermark from being erased in the video data and improve the security of the video data Sex.
  • step S503 includes that: the data processing device may add a watermark to at least one frame of the video data at random time intervals to prevent the pirate from erasing the watermark on the image.
  • the random time interval may include 3s, 4s, and 5s, etc.
  • the data processing device may add a watermark to the 3s image in the video data, add a watermark to the 7s image in the video data, and obtain the 12s Add watermarks and more to the image.
  • step S503 includes the data processing device adding a watermark to at least one frame of image in the video data at random time intervals and fixed time intervals.
  • the fixed time interval may be 4s
  • the random time interval may include 3s, 4s, and 5s.
  • the data processing device can add a watermark to the image acquired in the 3s and a watermark to the image acquired in the 4s; add a watermark to the image acquired in the 7s and add a watermark to the image acquired in the 8s. Add watermarks to images acquired in 12s and so on.
  • the data processing device may set the random time interval to be greater than the minimum preset duration and less than the maximum preset duration.
  • the minimum preset duration and the maximum preset duration may be determined according to the visual characteristics of the human eye, or the minimum preset duration and the maximum preset duration may be dynamically set.
  • the minimum preset duration may be 2s
  • the maximum preset duration may be 6s.
  • step S503 includes: the data processing device may add a watermark to at least one frame of the video data at random frame number intervals.
  • the random frame number interval may include 238, 239, and 242, etc.
  • the data processing device may start counting from the first frame of video data acquired (ie, captured or received), as shown in FIG. 6,
  • the 238th frame (that is, frame 238) in the image is watermarked, the 477th frame image in the video data is added a watermark, the 719th frame image in the video data is added a watermark, and so on.
  • step S503 includes: the data processing device may add a watermark to at least one frame image in the video data at random frame number intervals and fixed frame number intervals.
  • the fixed frame number interval may be 240
  • the random frame number interval may include 238, 239, 242, and so on.
  • the data processing device can start counting from the first frame of the video data acquired (that is, captured or received), add a watermark to the 238th frame of the video data (that is, frame 238), and add it to the 240th frame of the video data Add a watermark to the image; add a watermark to the 477th frame image in the video data, add a watermark to the 480th frame image in the video data; add a watermark to the 719th frame image obtained in the video data, and so on.
  • the random frame number interval if the random frame number interval is too large, watermarks can only be added to fewer images, reducing the probability of the pirate viewing the watermark, that is, the pirate’s viewing experience is less affected and cannot be achieved.
  • the effect of the pirate’s viewing experience if the random frame number interval is too small, you need to add a watermark to more images, which increases the probability of the pirate viewing the watermark, that is, it has a greater impact on the pirate’s viewing experience. It can achieve the effect of affecting the viewing experience of the pirate; at the same time, it will also affect the glasses device playback device, that is, it will affect the viewing experience of authorized users.
  • the data processing device may set the random frame number interval to be greater than the minimum preset number of frames and less than the maximum preset number of frames.
  • the minimum preset frame number and the maximum preset frame number may be determined according to the visual characteristics of the human eye, or the minimum preset frame number and the maximum preset frame number may be dynamically set according to the video code rate of the video data. For example, for 60 fps video data, the minimum preset number of frames may be 180 frames, and the maximum preset number of frames may be 300 frames.
  • step S503 includes: the data processing device may add a watermark to a random position of at least one frame of image in the video data.
  • the data processing device may add a watermark to the middle region of the 240th frame image acquired in the video data, and add a watermark to the lower left corner region of the 480th frame image acquired in the video data.
  • step S503 includes: the data processing device may add a watermark of a target color to the target image, the target color is set according to the content of the target image, and the target image is any image to which the watermark is added in the video data .
  • the data processing device can set the color of the watermark of the target image according to the content of the target image, and can complete the automatic setting.
  • the data processing device may analyze the image, obtain the distribution of its color space (for example, RGB color space), and adjust the color of the watermark according to the distribution.
  • the watermark may be a single color after adjustment, for example, the data processing device calculates a color with the lowest contrast with the entire image and adds it to the image as the watermark color.
  • the watermark color may also be multiple colors, the data processing device divides the color area of the image, and determines different watermark addition colors for different color areas. For example, as shown in FIG.
  • the dotted frame in FIG. 8 is the area where the watermark is added, and the watermark is located in the sky area and the tree area.
  • the data processing device can add the watermark
  • the color of the part located in the sky area is set to color 1, which is a color with a low contrast with the sky blue; and the color of the part of the watermark located in the tree area can be set to color 2, and the color 2 is compared with the green contrast of the tree Small colors. It is understandable that the watermark can also have more areas and more colors.
  • the data processing device sends the watermarked image in the video data.
  • the data processing device may acquire video data and acquire a target watermark adding mode, the target watermark adding mode is a random adding mode, add a watermark to at least one frame of the video data according to the random adding mode, and add the sending The image in the video data after the watermark; when playing the watermarked video data, the pirate will see the watermark in the image, affecting the viewing experience of the pirate, thereby protecting the video data in the live broadcast, and maintaining all the video data The rights of the person.
  • adding a watermark by randomly adding can prevent the pirate from erasing the watermark on the image and improve the security of the video data.
  • this solution does not require the hardware structure of the data processing equipment to be modified, therefore, the cost and expenses are reduced, and human resources are saved.
  • FIG. 9 is a schematic structural diagram of a drone provided by an embodiment of the present invention.
  • the UAV includes: a processor 901 and a memory 902, an image capturing device 903, and an image transmission module 904.
  • the memory 902 may include a volatile memory (volatile memory); the memory 902 may also include a non-volatile memory (non-volatile memory); the memory 902 may also include a combination of the foregoing types of memories.
  • the processor 901 may be a central processing unit (central processing unit, CPU).
  • the processor 801 may further include a hardware chip.
  • the above hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the PLD may be a complex programmable logic device (complex programmable logic device, CPLD), field programmable logic gate array (field-programmable gate array, FPGA), or any combination thereof.
  • the image capturing device 903 can be used to capture images or videos.
  • the image capturing device 903 mounted on the drone can capture images or videos of the surrounding environment of the drone during the flight of the drone.
  • the image transmission module 904 can be used to send video data or image data. After the drone acquires the image or video data through the image capturing device 903, it can send the image or video data to an external device through the image transmission module 904. For example, after the wireless communication connection between the drone and the glasses device is established, the drone can send the image or video data to the glasses device through the image transmission module 904 and display it.
  • the memory is used to store program instructions; the processor calls the program instructions stored in the memory and performs the following steps:
  • Video data is captured by the image capturing device 903, and the video data includes multiple frames of images;
  • the image in the video data added with the watermark is sent through the image transmission module 904.
  • the UAV segment adds a watermark to at least one frame of the video data, it may be completed in the encoding stage, that is, the UAV sends the video data after encoding and adding the watermark.
  • the target watermark addition mode is a watermark addition mode set by a user, or the target watermark addition mode is an automatically acquired watermark addition mode.
  • the target watermark adding mode is a fixed adding mode or a random adding mode.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add to at least one frame of image in the video data according to a fixed addition mode Watermark.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add to at least one frame of image in the video data at fixed time intervals Watermark.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: according to a fixed frame number interval, at least one frame image in the video data Add a watermark.
  • the fixed frame number interval is an integer multiple of the group of pictures GOP of the video data.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add a watermark to the key frame image in the video data.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add a watermark to a fixed position of at least one frame of image in the video data .
  • the fixed position is located in any one of the middle area, the upper left corner area, the lower left corner area, the upper right corner area, and the lower right corner area of the target image, and the target image is added to the video data Watermark any image.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add a fixed color watermark to at least one frame of image in the video data .
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add to at least one frame image in the video data according to a random addition mode Watermark.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add to at least one frame of image in the video data at random time intervals Watermark.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: according to random time intervals and fixed time intervals, at least Add watermark to a frame of image.
  • the random time interval is greater than the minimum preset duration and less than the maximum preset duration.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: at least one frame of image in the video data at random frame intervals Add a watermark.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: to the video data at random frame number intervals and fixed frame number intervals Add watermark to at least one frame of the image.
  • the random frame number interval is greater than the minimum preset number of frames and less than the maximum preset number of frames.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add a watermark to a random position of at least one frame image in the video data .
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add a watermark of a target color to a target image, the target color is based on the target The content of the image is set, and the target image is any image with a watermark added to the video data.
  • the color of the watermark includes at least two colors.
  • the watermark is composed of at least one of patterns, characters, and colored blocks.
  • the data processing device may acquire video data and acquire a target watermark adding mode, add a watermark to at least one frame of the video data according to the target watermark adding mode, and send the watermarked image in the video data ;
  • the pirate will see the watermark in the image, affecting the viewing experience of the pirate, thereby protecting the video data in the live broadcast, and protecting the rights of the video data owner.
  • this solution does not require the hardware structure of the data processing equipment to be modified, therefore, the cost and expenses are reduced, and human resources are saved.
  • FIG. 10 is a schematic structural diagram of a glasses device according to an embodiment of the present invention.
  • the glasses device includes: a processor 101, a memory 102, an image transmission module 103, and a display screen interface 104.
  • the memory 102 may include a volatile memory (volatile memory); the memory 102 may also include a non-volatile memory (non-volatile memory); the memory 102 may also include a combination of the foregoing types of memories.
  • the processor 101 may be a central processing unit (central processing unit, CPU).
  • the processor 101 may further include a hardware chip.
  • the above hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the PLD may be a complex programmable logic device (complex programmable logic device, CPLD), field programmable logic gate array (field-programmable gate array, FPGA), or any combination thereof.
  • the image transmission module 103 can be used to receive video data or image data sent by other devices. For example, when the eyewear device establishes a wireless communication connection with an external drone or ride-through machine, the image transmission module 103 of the eye device can receive the image or video data sent by the drone.
  • the display screen interface 104 may be a serial display interface (Display Serial Interface, DSI) based on the Mobile Industry Processor Interface (MIPI) protocol, and is used to send video data or image data to other devices.
  • the glasses device may further include a display screen, and the display screen is connected to the display screen interface 104, and the processor 101 sends the image or video data acquired from the image transmission module 103 to the display screen through the display screen interface 104, so as to display on the display screen.
  • the memory is used to store program instructions; the processor calls the program instructions stored in the memory and performs the following steps:
  • the video data including multiple frames of images
  • the watermarked image in the video data is sent through the display screen interface 104.
  • the video data acquired by the glasses device through the image transmission module 103 may be already encoded video data, and the processor 101 adds a watermark to at least one frame of the video data, which may be completed during the decoding stage, That is, the glasses device decodes the video data and adds a watermark to the display screen for display.
  • the video data acquired by the glasses device through the image transmission module 103 may be video data that has been watermarked, for example, the video data sent out after the drone completes the watermarking operation in the foregoing embodiment.
  • the glasses device may continue to acquire the target watermark adding mode and complete the subsequent watermarking operation, or may only perform decoding and playback without performing the watermarking operation.
  • the watermark can be set by the user to add the watermark, for example, the user can only choose to add it on the drone side or add it on the glasses device; or it can be the glasses device to obtain the watermark information, when the watermark information is available, it will not be added Watermark operation, for example, when the watermark is added by the drone, the video data is sent to the outside, and a message notification of whether the watermark has been added is also sent.
  • the glasses device receives the message notification and performs the corresponding operation.
  • the target watermark addition mode is a watermark addition mode set by a user, or the target watermark addition mode is an automatically acquired watermark addition mode.
  • the target watermark adding mode is a fixed adding mode or a random adding mode.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add to at least one frame of image in the video data according to a fixed addition mode Watermark.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add to at least one frame of image in the video data at fixed time intervals Watermark.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: according to a fixed frame number interval, at least one frame image in the video data Add a watermark.
  • the fixed frame number interval is an integer multiple of the group of pictures GOP of the video data.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add a watermark to the key frame image in the video data.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add a watermark to a fixed position of at least one frame of image in the video data .
  • the fixed position is located in any one of the middle area, the upper left corner area, the lower left corner area, the upper right corner area, and the lower right corner area of the target image, and the target image is added to the video data Watermark any image.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add a fixed color watermark to at least one frame of image in the video data .
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add to at least one frame image in the video data according to a random addition mode Watermark.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add to at least one frame of image in the video data at random time intervals Watermark.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: according to random time intervals and fixed time intervals, at least Add watermark to a frame of image.
  • the random time interval is greater than the minimum preset duration and less than the maximum preset duration.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: at least one frame of image in the video data at random frame intervals Add a watermark.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: to the video data at random frame number intervals and fixed frame number intervals Add watermark to at least one frame of the image.
  • the random frame number interval is greater than the minimum preset number of frames and less than the maximum preset number of frames.
  • the memory is used to store program instructions
  • the processor may call the program instructions stored in the memory to perform the following steps: add a watermark to a random position of at least one frame image in the video data .
  • the memory is used to store program instructions, and the processor may call the program instructions stored in the memory to perform the following steps: add a watermark of a target color to a target image, the target color is based on the target The content of the image is set, and the target image is any image with a watermark added to the video data.
  • the color of the watermark includes at least two colors.
  • the watermark is composed of at least one of patterns, characters, and colored blocks.
  • the data processing device may acquire video data and acquire a target watermark adding mode, add a watermark to at least one frame of the video data according to the target watermark adding mode, and send the watermarked image in the video data ;
  • the pirate will see the watermark in the image, affecting the viewing experience of the pirate, thereby protecting the video data in the live broadcast, and protecting the rights of the video data owner.
  • this solution does not require the hardware structure of the data processing equipment to be modified, therefore, the cost and expenses are reduced, and human resources are saved.
  • a computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the present invention.
  • FIGS. 2, 3, and 5 The data processing method described in the corresponding embodiment can also implement the drone of the embodiment of the invention described in FIG. 9 and the glasses device of the embodiment of the invention described in FIG. 10, and details are not described herein again.
  • the computer-readable storage medium may be an internal storage unit of the test device described in any of the foregoing embodiments, such as a hard disk or a memory of the device.
  • the computer-readable storage medium may also be an external storage device of the vehicle control device, such as a plug-in hard disk equipped on the device, a smart memory card (Smart, Media, Card, SMC), and secure digital (SD) ) Card, flash card (Flash Card), etc.
  • the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device.
  • the computer-readable storage medium is used to store the computer program and other programs and data required by the test device.
  • the computer-readable storage medium can also be used to temporarily store data that has been or will be output.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Image Processing (AREA)

Abstract

一种数据处理方法、眼镜设备(11,12,13)、无人机(10)及存储介质,其中,方法包括:获取视频数据,该视频数据包括多帧图像(S201),获取目标水印添加模式(S202),根据该目标水印添加模式向视频数据中的至少一帧图像添加水印(S203),发送添加水印后的视频数据中的图像(S204)。该方法可以对视频数据设置水印,影响盗用者的观看体验,从而保护直播中的视频数据。

Description

一种数据处理方法、无人机、眼镜设备及存储介质 技术领域
本发明实施例涉及电子技术领域,尤其涉及一种数据处理方法、无人机、眼镜设备及存储介质。
背景技术
随着数字图传技术的发展,穿越机赛事的直播需求日益旺盛,许多媒体开始在平台上直播此类赛事。例如,在穿越机竞赛中,参赛的穿越机可以拍摄第一人称视角(First Person View,FPV)的视频数据,并将该视频数据发送至飞手或观众的眼镜设备以及直播方设置的直播设备。眼镜设备可以通过显示屏播放视频数据以便飞手和观众能够了解穿越机的飞行情况,直播设备可以将视频数据再进行分发以在网络上进行直播。通常,直播内容受版权保护,仅有授权许可的直播方及其设备可以对视频数据进行直播,但是,存在盗用者通过改造眼镜设备以非法获取直播视频数据来进行非授权直播的情况。例如,通常盗用者通过将第三方设备连接至眼镜设备的显示屏接口,如显示屏接口可以为基于移动产业处理器接口(Mobile Industry Processor Interface,MIPI)协议的串行显示接口(Display Serial Interface,DSI),通过显示屏接口盗取眼镜设备所获取的视频数据;盗用者采用第三方设备播放盗取的视频数据以获取利润,损害了视频数据所有者的利益。因此,如何保护直播中的视频数据是当前亟待解决的问题。
发明内容
本发明实施例提供了一种数据处理方法、无人机、眼镜设备及存储介质,可以对视频数据设置水印,影响盗用者的观看体验,从而保护直播中的视频数据。
第一方面,本发明实施例提供了一种数据处理方法,所述方法包括:
获取视频数据,所述视频数据包括多帧图像;
获取目标水印添加模式;
根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印;
发送添加水印后的所述视频数据中的图像。
第二方面,本发明实施例提供了一种无人机,所述无人机包括存储器、处理器、图像拍摄装置和图传模块,
所述存储器,用于存储程序指令;
所述处理器,调用所述存储器存储的程序指令,执行以下步骤:
通过所述图像拍摄装置拍摄得到视频数据,所述视频数据包括多帧图像;
获取目标水印添加模式;
根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印;
通过所述图传模块发送添加水印后的所述视频数据中的图像。
第三方面,本发明实施例提供了一种眼镜设备,所述眼镜设备包括存储器、处理器、图传模块及显示屏接口,
所述存储器,用于存储程序指令;
所述处理器,调用所述存储器存储的程序指令,执行以下步骤:
通过所述图传模块获取视频数据,所述视频数据包括多帧图像;
获取目标水印添加模式;
根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印;
通过所述显示屏接口发送添加水印后的所述视频数据中的图像。
本发明实施例中,数据处理设备可以获取视频数据,并获取目标水印添加模式,按照目标水印添加模式向该视频数据中至少一帧图像添加水印,将发送添加水印后的该视频数据中的图像;在播放添加水印的该视频数据时,盗用者会观看到图像中的水印,影响盗用者的观看体验,从而保护直播中的视频数据,可维护视频数据所有者的权益。且该方案不需要对数据处理设备的硬件结构进行改造,因此,降低了成本开销,并节省了人力资源。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种数据处理的网络架构示意图;
图2是本发明实施例提供的一种数据处理方法的流程示意图;
图3是本发明实施例提供的另一种数据处理方法的流程示意图;
图4是本发明实施例提供的一种向视频数据中的图像添加水印的示意图;
图5是本发明实施例提供的又一种数据处理方法的流程示意图;
图6是本发明实施例提供的另一种向视频数据中的图像添加水印的示意图;
图7是本发明实施例提供的又一种向视频数据中的图像添加水印的示意图;
图8是本发明实施例提供的又一种向视频数据中的图像添加水印的示意图;
图9是本发明实施例提供的无人机的结构示意图;
图10是本发明实施例提供的一种眼镜设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
为了更好理解本发明实施例提供的一种数据处理方法、无人机及眼镜设备,下面先描述本发明实施例的网络构架。
请参见图1,图1是本发明实施例提供的一种数据处理的网络架构示意图,该网络架构至少包括无人机10及多个眼镜设备,图1以包括三个眼镜设备为例,分别为飞手的眼镜设备11、观众的眼镜设备12及观众的眼镜设备13。可选的,该网络架构还可包括直播设备14和第三方设备15。
其中,无人机10可以是旋翼型无人机,例如四旋翼无人机、六旋翼无人机、八旋翼无人机,也可以是固定翼无人机。无人机10可以包括动力系统、云台以及图像拍摄装置101,动力系统用于为无人机提供飞行动力,其中,动力系统包括螺旋桨、电机、电调中的一种或多种。图像拍摄装置101通过云台搭载于无人机10的主体上。图像拍摄装置101用于在无人机10的飞行过程中 进行图像或视频拍摄,包括但不限于多光谱成像仪、高光谱成像仪、可见光相机及红外相机等,云台为多轴传动及增稳系统,云台电机通过调整转动轴的转动角度来对图像拍摄装置的拍摄角度进行补偿,并通过设置适当的缓冲机构来防止或减小成像设备的抖动。
其中,眼镜设备可以是指虚拟现实(Virtual Reality,VR)或增强现实(Augmented Reality,AR)等可以直播视频的眼镜设备,眼镜设备可以是指经视频数据的所有者(即飞手)授权而用于播放视频数据的设备。在穿越机竞赛中,飞手的眼镜设备11可以是指由飞手(即参赛选手)控制的眼镜设备,观众的眼镜设备12及观众的眼镜设备13可以是指由观众控制的眼镜设备。
其中,直播设备14可以是官方(即直播方)设置的直播设备,即直播设备14可以指经视频数据的所有者或版权拥有者(即飞手或官方举办者)授权,而用于直播视频数据的设备,直播设备14可以是指智能手机、平板电脑、笔记本电脑、地面站及直播站台等可以直播视频数据的设备。
该网络架构可以用于穿越机竞赛中直播赛事,该无人机10可以用于穿越机竞赛,即该无人机10可以是指穿越机。在穿越机竞赛中,飞手(即参赛选手)可以控制无人机10通过图像拍摄装置101拍摄第一人称视角的视频数据,无人机10可以将该视频数据发送至各个眼镜设备以及直播设备14;各个眼镜设备以及直播设备14可以对接收到的视频数据进行直播,以便飞手和观众可以通过该视频数据实时了解无人机的飞行高度和/或飞行位置等飞行情况。
其中,第三方设备15可以是指未经视频数据的所有者或版权拥有者(即飞手或官方举办者)授权,而用于截取视频数据的设备;第三方设备15可以通过观众的眼镜设备的显示屏接口与观众的眼镜设备连接,从观众的眼镜设备中盗取视频数据,并播放视频数据和/或将盗取的视频数据分发至网络。第三方设备可以是指智能手机、平板电脑、笔记本电脑或电视机中至少一种。
为了防止第三方设备盗用视频数据,可以采用以下两种实施方式中的任一种方式向视频数据中的至少一帧图像添加水印。在一个实施例中,无人机10可以向视频数据中的至少一帧图像添加水印,并将添加水印的视频数据中的图像发送至各个眼镜设备及直播设备。各个眼镜设备及直播设备可以播放添加水印的视频数据中的图像,观众的眼镜设备12还可以发送添加水印的视频数据中的图像。在另一个实施例中,无人机10可以将视频数据发送至各个眼镜设 备及直播设备,观众的眼镜设备12可以对视频数据中的至少一帧图像添加水印,并显示添加水印的视频数据中的图像。具体的,观众的眼镜设备12内处理器可以通过显示屏接口发送添加水印的视频数据中的图像至眼镜设备的显示屏,如果第三方设备15与观众的眼镜设备12通过破解显示屏接口进行连接,该第三方设备15会接收到添加水印的视频数据中的图像。通常,第三方设备15可以播放盗取的添加水印的视频数据和/或将盗取的添加水印的视频数据分发至网络。由于通常盗播的直播线路支持暂停功能,当在网络上观看盗播直播的用户暂停播放添加水印的视频数据时,用户有概率看到水印;当观看用户数量大时,大概率会有部分用户暂停到水印帧这样可以破坏盗播直播效果,从而保护直播中的视频数据。并且,在现场观众眼镜设备播放该添加水印的视频数据的过程中,由于水印会间隔一定帧才添加,从而观众基本不会察觉到添加了水印,不影响正常直播的观看效果,因此,向视频数据中添加水印,不会破坏眼镜设备或直播设备播放视频数据的效果。
请参见图2,图2是本发明实施例提供的一种数据处理方法的流程示意图,所述方法可以由数据处理设备来执行,该数据处理设备可以是指无人机或眼镜设备。如图2所示,所述数据处理方法可以包括如下步骤。
S201、数据处理设备获取视频数据,该视频数据包括多帧图像。
本发明实施例中,该视频数据可以是在穿越机竞赛中无人机(即穿越机)以第一人称视角拍摄得到的视频数据,飞手或观众可以通过该视频数据实时了解无人机的飞行高度和/或飞行位置等飞行情况。在一个实施例中,该数据处理设备可以为无人机,在穿越机竞赛中,无人机可以通过图像拍摄装置进行拍摄得到视频数据。在另一个实施例中,该数据处理设备可以为眼镜设备,该眼镜设备可以从无人机中获取视频数据。具体的,无人机在拍摄视频数据的过程中,无人机每拍摄得到一帧图像,可以将该帧图像发送至眼镜设备,以便眼镜设备可以直播视频数据。
S202、数据处理设备获取目标水印添加模式。
在一个实施例中,目标水印添加模式可以是用户设定的水印模式。例如,数据处理设备中包括多个水印添加模式,该多个水印添加模式包括随机添加模式和固定添加模式。用户可以点击数据处理设备的功能按钮进入水印添加模式 设定界面。该数据处理设备可以在水印添加模式设定界面显示随机添加模式选项和固定添加模式选项。如果用户选择随机添加模式,则数据处理设备将随机添加模式确定为目标水印添加模式。如果用户选择固定添加模式,则数据处理设备将固定添加模式确定为目标水印添加模式。或者,该数据处理设备可以在水印添加模式设定界面显示水印添加模式输入框,目标水印添加模式可以是指用户在水印添加模式输入框中输入的水印添加模式。
在另外一个实施例中,目标水印添加模式可以是指数据处理设备自动获取的水印添加模式。例如,为了防止视频数据被盗,数据设备处理设备可以将随机添加模式作为默认的水印添加模式,目标水印添加模式可以是指该默认的水印添加模式。也就是说,在该实施方式中,不需要用户手动设置目标水印添加模式,数据处理设备可按照预设的规则自动获取一个水印添加模式作为目标水印添加模式。
可选的,该目标水印添加模式为固定添加模式或随机添加模式。固定添加模式可以是指有规律地向视频数据中的图像添加水印,固定添加模式可以包括按照固定周期添加、固定颜色添加、固定位置添加及固定水印的内容添加中的至少一种。随机添加模式可以是指没有规律地向视频数据中的图像添加水印,随机添加模式包括按照随机周期添加、随机颜色添加及随机位置添加中的至少一种。添加周期指的是相邻添加水印的两帧之间的帧数间隔或者时间间隔,添加颜色指的是添加内容的颜色,可以为单色也可以为多色,添加位置指的是添加水印在图像上的位置。添加周期、添加颜色和添加位置将在后面作具体说明。水印的内容可以包括图案、文字及有色色块中的至少一种。例如,该水印的图案包括视频数据所有者的个人标记或公司logo,文字可以包括视频数据所有者的名字或公司名称等,有色色块可以是指被填充颜色的形状,如一个灰色的水印块。
S203、数据处理设备根据该目标水印添加模式向该视频数据中的至少一帧图像添加水印。
在一个实施例中,当该目标水印添加模式为固定添加模式时,数据处理设备可以按照固定添加模式向视频数据中的至少一帧图像添加水印,可以降低添加水印的复杂度,提高添加水印的效率。例如,数据处理设备可以按照固定周期向视频数据中的至少一帧图像添加水印,固定周期可以是指固定时间间隔或 固定帧数间隔。
在另一个实施例中,当该目标水印添加模式为随机添加模式时,数据处理设备可以按照随机添加模式向视频数据中的至少一帧图像添加水印,可以防止视频数据中水印被抹除,提高视频数据的安全性。例如,数据处理设备可以随机周期向视频数据中的至少一帧图像添加水印,随机周期包括随机时间间隔或随机帧数间隔。
S204、数据处理设备发送添加水印后的该视频数据中的图像。
在一个实施例中,该数据处理设备可以为无人机,无人机可以发送添加水印后的该视频数据中的图像至眼镜设备,以便眼镜设备可以发送添加水印后的该视频数据中的图像。在另一个实施例中,该数据处理设备可以为眼镜设备,该眼镜设备可以发送添加水印后的该视频数据中的图像。具体的,该眼镜设备可以通过显示屏接口发送添加水印后的该视频数据中的图像,如果第三方设备与眼镜设备的显示屏接口连接,则第三方设备可以从显示屏接口接收到添加水印后的该视频数据中的图像。由于第三方设备接收的图像中具有水印,该第三方设备播放该添加水印的视频数据时会影响观看体验。或者,第三方设备将添加水印的视频数据分发至网络后,其他设备播放该添加水印的视频数据时也会影响观看体验。
本发明实施例中,数据处理设备可以获取视频数据,并获取目标水印添加模式,按照目标水印添加模式向该视频数据中至少一帧图像添加水印,将发送添加水印后的该视频数据中的图像;在播放添加水印的该视频数据时,盗用者会观看到图像中的水印,影响盗用者的观看体验,从而保护直播中的视频数据,可维护视频数据所有者的权益。且该方案不需要对数据处理设备的硬件结构进行改造,因此,降低了成本开销,并节省了人力资源。
请参见图3,图3是本发明实施例提供的另一种数据处理方法的流程示意图,所述方法可以由数据处理设备执行。本发明实施例与图2实施例的区别在于,本发明实施例采用固定添加模式向视频数据中的至少一帧图像添加水印。本发明实施例如图3所示,所述数据处理方法可以包括如下步骤。
S301、数据处理设备获取视频数据,该视频数据包括多帧图像。
本发明实例中,数据处理设备如何获取视频数据请参见S201对应的说明, 在此不赘述。
S302、获取目标水印添加模式,该目标水印添加模式为固定添加模式。
本发明实例中,数据处理设备如何获取目标水印添加模式请参见S202对应的说明,在此不赘述。
S303、数据处理设备按照固定添加模式向该视频数据中的至少一帧图像添加水印。
本发明实例中,为了防止视频数据被第三方设备盗用,数据处理设备可以按照固定添加的方式向该视频数据中的至少一帧图像添加水印,可以降低添加水印的复杂度,提高添加水印的效率。
在一个实施例中,步骤S303包括:数据处理设备可以按照固定时间间隔向该视频数据中的至少一帧图像添加水印。例如,该固定帧数间隔可以为4s,数据处理设备可以从获取到(即拍摄得到或接收到)视频数据中的第一帧图像开始计时,向视频数据中第4s获取到的图像添加水印,向视频数据中第8s获取到的图像添加水印,以此类推。其中,该固定时间间隔可以是用户手动设置,也可以是指无人机自动设置的。其中,该固定时间间隔可以小于最大预设时长,且大于最小预设时长,例如,该最大预设时长可以为6s,最小预设时长可以为2s。
在另一个实施例中,步骤S303包括:数据处理设备可以按照固定帧数间隔向该视频数据中的至少一帧图像添加水印。例如,如图4所示,该固定帧数间隔可以是指240,数据处理设备可以从获取到(即拍摄得到或接收到)视频数据的第一帧图像开始计数,向视频数据中的第240帧图像添加水印,向视频数据中的第480帧图像添加水印,以此类推。其中,该固定帧数间隔可以是用户手动设置,也可以是指无人机自动设置的。例如,该固定帧数间隔可以是该视频数据的画面组(Group of Pictures,GOP)的整数倍。该固定帧数间隔可以小于最大预设帧数,且大于最小预设帧数,例如,该最大预设帧数可以为300帧,最小预设帧数可以为180帧。
在又一个实施例中,步骤S303包括:数据处理设备可以向该视频数据中的关键帧图像添加水印。例如,在视频的编码或解码过程中,对于视频数据的关键帧(I帧)进行添加水印的操作。其中,可以在编码或解码完成前对关键帧完成添加水印的操作,也可以在编码或解码完成后对关键帧完成添加水印的 操作。
在又一个实施例中,步骤S303包括:数据处理设备可以向该视频数据中的至少一帧图像的固定位置添加水印,即在各个待添加水印的图像的同一个位置处添加水印。在一个实施例中,该固定位置可以为目标图像中的任一位置处;在另一个实施例中,该固定位置可以是位于目标图像的中部区域、左上角区域、左下角区域、右上角区域以及右下角区域中的任一区域中,该目标图像为该视频数据中添加水印的任一图像。其中,该固定位置可以是用户手动设置,也可以是指无人机自动设置的。
在又一个实施例中,步骤S303包括:数据处理设备可以向该视频数据中的至少一帧图像添加固定颜色的水印,即在各个待添加水印的图像中添加同样颜色的水印。为了避免水印影响眼镜设备的效果,该固定颜色可以为比较浅的颜色,如灰色。
S304、数据处理设备发送添加水印后的该视频数据中的图像。
本发明实例中,数据处理设备如何发送添加水印后的该视频数据中的图像请参见S204对应的说明,在此不赘述。
本发明实施例中,数据处理设备可以获取视频数据,获取目标水印添加模式,该目标水印添加模式为固定添加模式,按照固定添加模式向该视频数据中至少一帧图像添加水印,将发送添加水印后的该视频数据中的图像;在播放添加水印的该视频数据时,盗用者会观看到图像中的水印,影响盗用者的观看体验,从而保护直播中的视频数据,可维护视频数据所有者的权益,并可以降低添加水印的复杂度,提高添加水印的效率。且该方案不需要对数据处理设备的硬件结构进行改造,因此,降低了成本开销,并节省了人力资源。
请参见图5,图5是本发明实施例提供的又一种数据处理方法的流程示意图,所述方法可以由数据处理设备执行。本发明实施例与图2实施例的区别在于,本发明实施例采用随机添加模式向视频数据中的至少一帧图像添加水印。本发明实施例如图5所示,所述数据处理方法可以包括如下步骤。
S501、数据处理设备获取视频数据,该视频数据包括多帧图像。
本发明实例中,数据处理设备如何获取视频数据请参见S201对应的说明,在此不赘述。
S502、获取目标水印添加模式,该目标水印添加模式为随机添加模式。
本发明实例中,数据处理设备如何获取目标水印添加模式请参见S202对应的说明,在此不赘述。
S503、数据处理设备按照随机添加模式向该视频数据中的至少一帧图像添加水印。
本发明实例中,为了防止视频数据被第三方设备盗用,数据处理设备按照随机添加模式向该视频数据中的至少一帧图像添加水印,可以防止视频数据中水印被抹除,提高视频数据的安全性。
在一个实施例中,步骤S503包括:数据处理设备可以按照随机时间间隔向该视频数据中的至少一帧图像添加水印,可避免盗用者抹除图像上的水印。例如,随机时间间隔可以包括3s、4s及5s等等,数据处理设备可以向视频数据中的第3s图像中添加水印,向视频数据中的第7s的图像中添加水印,向第12s获取到的图像中添加水印等等。
在另一个实施例中,步骤S503包括:数据处理设备按照随机时间间隔和固定时间间隔向该视频数据中的至少一帧图像添加水印。例如,固定时间间隔可以为4s,随机时间间隔可以包括3s、4s及5s等。数据处理设备可以向第3s获取到的图像中添加水印,向第4s获取到的图像中添加水印;向第7s获取到的图像中添加水印,向第8s获取到的图像中添加水印,向第12s获取到的图像中添加水印等等。在一个实施例中,若该随机时间间隔过大,则只能在较少的图像中添加水印,降低了盗用者观看到水印的概率,即对盗用者的观看体验影响较小,不能达到影响盗用者的观看体验的效果;若该随机时间间隔过小,则需要在较多的图像中添加水印,增加了盗用者观看到水印的概率,即对盗用者的观看体验影响较大,能够达到影响盗用者的观看体验的效果;同时,也会影响眼镜设备播放设备,即可能影响授权用户的观看体验。因此,数据处理设备可以设置该随机时间间隔大于最小预设时长,且小于最大预设时长。该最小预设时长及最大预设时长可以是根据人眼的视觉特征确定的,或者,该最小预设时长及最大预设时长可以是动态设置的。例如,该最小预设时长可以为2s,及最大预设时长可以为6s。
在又一个实施例中,步骤S503包括:数据处理设备可以按照随机帧数间隔向该视频数据中的至少一帧图像添加水印。例如,随机帧数间隔可以包括 238、239及242等等,数据处理设备可以从获取到(即拍摄得到或接收到)视频数据的第一帧图像开始计数,如图6所示,向视频数据中的第238帧(即帧238)图像添加水印,向视频数据中的第477帧图像添加水印,向视频数据中的第719帧图像添加水印等等。
在又一个实施例中,步骤S503包括:数据处理设备可以按照随机帧数间隔和固定帧数间隔向该视频数据中的至少一帧图像添加水印。例如,如图7所示,该固定帧数间隔可以240,随机帧数间隔可以包括238、239及242等等。数据处理设备可以从获取到(即拍摄得到或接收到)视频数据的第一帧图像开始计数,向视频数据中的第238帧图像(即帧238)添加水印,向视频数据中的第240帧图像添加水印;向视频数据中的第477帧图像添加水印,向视频数据中的第480帧图像添加水印;向视频数据中获取到的第719帧图像添加水印等等。
在一个实施例中,若该随机帧数间隔过大,则只能在较少的图像中添加水印,降低了盗用者观看到水印的概率,即对盗用者的观看体验影响较小,不能达到影响盗用者的观看体验的效果;若该随机帧数间隔过小,则需要在较多的图像中添加水印,增加了盗用者观看到水印的概率,即对盗用者的观看体验影响较大,能够达到影响盗用者的观看体验的效果;同时,也会影响眼镜设备播放设备,即会影响授权用户的观看体验。因此,数据处理设备可以设置该随机帧数间隔大于最小预设帧数,且小于最大预设帧数。该最小预设帧数及最大预设帧数可以是根据人眼的视觉特征确定的,或者,该最小预设帧数及最大预设帧数可以是根据视频数据的视频码率动态设置。例如针对60fps的视频数据,该最小预设帧数可以为180帧,最大预设帧数可以为300帧。
在又一个实施例中,步骤S503包括:数据处理设备可以向该视频数据中的至少一帧图像的随机位置添加水印。例如,数据处理设备可以向视频数据中获取到的第240帧图像的中部区域添加水印,向视频数据中获取到的第480帧图像的左下角区域添加水印。
在又一个实施例中,步骤S503包括:数据处理设备可以向目标图像添加目标颜色的水印,该目标颜色是根据目标图像的内容设置的,该目标图像为该视频数据中添加水印的任一图像。
为了避免水印的颜色太明显影响眼镜设备的播放效果,数据处理设备可以 根据目标图像的内容设置目标图像的水印的颜色,并且可以完成自动设置。例如,数据处理设备可以对该图像进行分析,获取其颜色空间(例如RGB颜色空间)的分布,并且根据该分布调整水印的颜色。在一个实施例中,水印可以是调整后的单一颜色,例如数据处理设备计算得出与整幅图像对比度最小的一种颜色并将其作为水印颜色添加至图像中。在另一个实施例中,水印颜色还可以是多种颜色,数据处理设备对图像进行颜色区域分割,并且针对不同的颜色区域确定不同的水印添加颜色。例如,如图8所示,当无人机获取的图像包括天空和树木时,图8中的虚线框为添加水印的区域,该水印位于天空区域和树木区域,此时数据处理设备可以将水印位于天空区域的部分的颜色设置为颜色1,该颜色1为与天空蓝色对比度较小的颜色;并且可以将水印位于树木区域的部分的颜色设置为颜色2,颜色2为与树木绿色对比度较小的颜色。可以理解的是,水印也可以具有更多的区域与更多的颜色。
S504、数据处理设备发送添加水印后的该视频数据中的图像。
本发明实例中,如何数据处理设备发送添加水印后的该视频数据中的图像请参见S204对应的说明,在此不赘述。
本发明实施例中,数据处理设备可以获取视频数据,并获取目标水印添加模式,该目标水印添加模式为随机添加模式,按照随机添加模式向该视频数据中至少一帧图像添加水印,将发送添加水印后的该视频数据中的图像;在播放添加水印的该视频数据时,盗用者会观看到图像中的水印,影响盗用者的观看体验,从而保护直播中的视频数据,可维护视频数据所有者的权益。并且通过随机添加的方式添加水印可以防止盗用者抹除图像上的水印,提高视频数据的安全性。且该方案不需要对数据处理设备的硬件结构进行改造,因此,降低了成本开销,并节省了人力资源。
请参见图9,图9是本发明实施例提供的无人机的结构示意图。具体的,所述无人机包括:处理器901及存储器902、图像拍摄装置903和图传模块904。
所述存储器902可以包括易失性存储器(volatile memory);存储器902也可以包括非易失性存储器(non-volatile memory);存储器902还可以包括上述种类的存储器的组合。所述处理器901可以是中央处理器(central processing unit,CPU)。所述处理器801还可以进一步包括硬件芯片。上述硬件芯片可以 是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA)或其任意组合。
图像拍摄装置903可以用于拍摄图像或视频。例如,无人机上搭载的图像拍摄装置903可以在无人机飞行过程中拍摄无人机周围环境的图像或者视频。
图传模块904可以用于发送视频数据或图像数据等。当无人机通过图像拍摄装置903获取到图像或视频数据后,可以通过图传模块904将该图像或视频数据发送至外部设备。例如,当无人机与眼镜设备建立无线通信连接后,无人机可以通过图传模块904将该图像或视频数据发送至眼镜设备并显示。
在一个实施例中,所述存储器,用于存储程序指令;所述处理器,调用所述存储器存储的程序指令,执行以下步骤:
通过所述图像拍摄装置903拍摄得到视频数据,所述视频数据包括多帧图像;
获取目标水印添加模式;
根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印;
通过所述图传模块904发送添加水印后的所述视频数据中的图像。
可以理解的是,在无人机段对所述视频数据中的至少一帧图像添加水印时,可以是在编码阶段完成,即无人机将视频数据编码添加完水印后向外发送。
在一个实施例中,所述目标水印添加模式为用户设定的水印添加模式,或者,所述目标水印添加模式为自动获取的水印添加模式。
在一个实施例中,所述目标水印添加模式为固定添加模式或随机添加模式。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照固定添加模式向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照固定时间间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存 储器中存储的程序指令,用于执行如下步骤:按照固定帧数间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述固定帧数间隔是所述视频数据的画面组GOP的整数倍。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:向所述视频数据中的关键帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:向所述视频数据中的至少一帧图像的固定位置添加水印。
在一个实施例中,所述固定位置位于目标图像的中部区域、左上角区域、左下角区域、右上角区域以及右下角区域中的任一区域中,所述目标图像为所述视频数据中添加水印的任一图像。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:向所述视频数据中的至少一帧图像添加固定颜色的水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照随机添加模式向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照随机时间间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照随机时间间隔和固定时间间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述随机时间间隔大于最小预设时长,且小于最大预设时长。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照随机帧数间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照随机帧数间隔和固定帧数间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述随机帧数间隔大于最小预设帧数,且小于最大预设帧数。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:向所述视频数据中的至少一帧图像的随机位置添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:向目标图像添加目标颜色的水印,所述目标颜色是根据目标图像的内容设置的,所述目标图像为所述视频数据中添加水印的任一图像。
在一个实施例中,所述水印的颜色包括至少两种颜色。
在一个实施例中,所述水印是由图案、文字和有色色块中的至少一种组成。
上述实施例中的步骤与前述数据处理设备中的步骤类似,此处不再赘述。
本发明实施例中,数据处理设备可以获取视频数据,并获取目标水印添加模式,按照目标水印添加模式向该视频数据中至少一帧图像添加水印,将发送添加水印后的该视频数据中的图像;在播放添加水印的该视频数据时,盗用者会观看到图像中的水印,影响盗用者的观看体验,从而保护直播中的视频数据,可维护视频数据所有者的权益。且该方案不需要对数据处理设备的硬件结构进行改造,因此,降低了成本开销,并节省了人力资源。
请参见图10,图10是本发明实施例提供的眼镜设备的结构示意图。具体的,所述眼镜设备包括:处理器101、存储器102、图传模块103及显示屏接口104。
所述存储器102可以包括易失性存储器(volatile memory);存储器102也可以包括非易失性存储器(non-volatile memory);存储器102还可以包括上述种类的存储器的组合。所述处理器101可以是中央处理器(central processing unit,CPU)。所述处理器101还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器 件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA)或其任意组合。
图传模块103可以用于接收其他设备所发送的视频数据或图像数据等。例如,当眼镜设备与外部的无人机或穿越机建立无线通信连接后,眼睛设备的图传模块103可以接收到无人机发送的图像或视频数据。
显示屏接口104可以为基于移动产业处理器接口(Mobile Industry Processor Interface,MIPI)协议的串行显示接口(Display Serial Interface,DSI),用于向其他设备发送视频数据或图像数据。眼镜设备还可以包括显示屏,显示屏与显示屏接口104相连,处理器101通过显示屏接口104将从图传模块103获取的图像或视频数据发送至显示屏,从而在显示屏上显示。
在一个实施例中,所述存储器,用于存储程序指令;所述处理器,调用所述存储器存储的程序指令,执行以下步骤:
通过所述图传模块103获取视频数据,所述视频数据包括多帧图像;
获取目标水印添加模式;
根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印;
通过所述显示屏接口104发送添加水印后的所述视频数据中的图像。
可以理解的是,眼镜设备通过图传模块103获取的视频数据,可以是已经编码完成的视频数据,处理器101向所述视频数据中的至少一帧图像添加水印,可以是在解码阶段完成,即眼镜设备将视频数据解码完添加水印后发送至显示屏进行显示。在一些实施例中,眼镜设备通过图传模块103获取的视频数据,可以是已经添加过水印的视频数据,例如前述实施例中无人机完成添加水印操作后向外发送的视频数据。在这种情况下,眼镜设备可以继续获取目标水印添加模式并且完成后续添加水印操作,也可以仅进行解码播放而不再进行添加水印操作。具体的,可以是用户设置添加水印位置,例如用户只能选择在无人机端添加或者在眼镜设备端添加;也可以是眼镜设备获取水印信息,当水印信息为有的时候,不再进行添加水印操作,例如无人机添加水印完成后将视频数据对外发送的同时,也发送一个是否已添加水印的消息通知,眼镜设备端接收到该消息通知后进行相应的操作。
在一个实施例中,所述目标水印添加模式为用户设定的水印添加模式,或 者,所述目标水印添加模式为自动获取的水印添加模式。
在一个实施例中,所述目标水印添加模式为固定添加模式或随机添加模式。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照固定添加模式向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照固定时间间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照固定帧数间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述固定帧数间隔是所述视频数据的画面组GOP的整数倍。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:向所述视频数据中的关键帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:向所述视频数据中的至少一帧图像的固定位置添加水印。
在一个实施例中,所述固定位置位于目标图像的中部区域、左上角区域、左下角区域、右上角区域以及右下角区域中的任一区域中,所述目标图像为所述视频数据中添加水印的任一图像。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:向所述视频数据中的至少一帧图像添加固定颜色的水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照随机添加模式向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存 储器中存储的程序指令,用于执行如下步骤:按照随机时间间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照随机时间间隔和固定时间间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述随机时间间隔大于最小预设时长,且小于最大预设时长。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照随机帧数间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:按照随机帧数间隔和固定帧数间隔向所述视频数据中的至少一帧图像添加水印。
在一个实施例中,所述随机帧数间隔大于最小预设帧数,且小于最大预设帧数。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:向所述视频数据中的至少一帧图像的随机位置添加水印。
在一个实施例中,所述存储器用于存储程序指令,所述处理器可以调用存储器中存储的程序指令,用于执行如下步骤:向目标图像添加目标颜色的水印,所述目标颜色是根据目标图像的内容设置的,所述目标图像为所述视频数据中添加水印的任一图像。在一个实施例中,所述水印的颜色包括至少两种颜色。在一个实施例中,所述水印是由图案、文字和有色色块中的至少一种组成。
上述实施例中的步骤与前述数据处理设备中的步骤类似,此处不再赘述。
本发明实施例中,数据处理设备可以获取视频数据,并获取目标水印添加模式,按照目标水印添加模式向该视频数据中至少一帧图像添加水印,将发送添加水印后的该视频数据中的图像;在播放添加水印的该视频数据时,盗用者会观看到图像中的水印,影响盗用者的观看体验,从而保护直播中的视频数据,可维护视频数据所有者的权益。且该方案不需要对数据处理设备的硬件结构进行改造,因此,降低了成本开销,并节省了人力资源。
在本发明的实施例中还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本发明图2、图3和图5所对应实施例中描述的数据处理方法,也可实现图9所述发明实施例的无人机和实现图10所述发明实施例的眼镜设备,在此不再赘述。
所述计算机可读存储介质可以是前述任一实施例所述的测试设备的内部存储单元,例如设备的硬盘或内存。所述计算机可读存储介质也可以是所述车辆控制装置的外部存储设备,例如所述设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述设备的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述测试设备所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,所述程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (61)

  1. 一种眼镜设备,其特征在于,所述眼镜设备包括存储器、处理器、图传模块及显示屏接口,
    所述存储器,用于存储程序指令;
    所述处理器,调用所述存储器存储的程序指令,执行以下步骤:
    通过所述图传模块获取视频数据,所述视频数据包括多帧图像;
    获取目标水印添加模式;
    根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印;
    通过所述显示屏接口发送添加水印后的所述视频数据中的图像。
  2. 根据权利要求1所述的眼镜设备,其特征在于,所述目标水印添加模式为用户设定的水印添加模式,或者,所述目标水印添加模式为自动获取的水印添加模式。
  3. 根据权利要求1所述的眼镜设备,其特征在于,所述目标水印添加模式为固定添加模式或随机添加模式。
  4. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模式为固定添加模式,所述处理器具体用于执行如下步骤:
    按照固定时间间隔向所述视频数据中的至少一帧图像添加水印。
  5. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模式为固定添加模式,所述处理器具体用于执行如下步骤:
    按照固定帧数间隔向所述视频数据中的至少一帧图像添加水印。
  6. 根据权利要求5所述的眼镜设备,其特征在于,所述固定帧数间隔是所述视频数据的画面组GOP的整数倍。
  7. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模式为固定添加模式,所述处理器具体用于执行如下步骤:
    向所述视频数据中的关键帧图像添加水印。
  8. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模式为固定添加模式,所述处理器具体用于执行如下步骤:
    向所述视频数据中的至少一帧图像的固定位置添加水印。
  9. 根据权利要求8所述的眼镜设备,其特征在于,所述固定位置位于目标图像的中部区域、左上角区域、左下角区域、右上角区域以及右下角区域中的任一区域中,所述目标图像为所述视频数据中添加水印的任一图像。
  10. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模式为固定添加模式,所述处理器具体用于执行如下步骤:向所述视频数据中的至少一帧图像添加固定颜色的水印。
  11. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:
    按照随机时间间隔向所述视频数据中的至少一帧图像添加水印。
  12. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:按照随机时间间隔和固定时间间隔向所述视频数据中的至少一帧图像添加水印。
  13. 根据权利要求11或12所述的眼镜设备,其特征在于,所述随机时间间隔大于最小预设时长,且小于最大预设时长。
  14. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:
    按照随机帧数间隔向所述视频数据中的至少一帧图像添加水印。
  15. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模 式为随机添加模式,所述处理器具体用于执行如下步骤:按照随机帧数间隔和固定帧数间隔向所述视频数据中的至少一帧图像添加水印。
  16. 根据权利要求14或15所述的眼镜设备,其特征在于,所述随机帧数间隔大于最小预设帧数,且小于最大预设帧数。
  17. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:向所述视频数据中的至少一帧图像的随机位置添加水印。
  18. 根据权利要求3所述的眼镜设备,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:向目标图像添加目标颜色的水印,所述目标颜色是根据目标图像的内容设置的,所述目标图像为所述视频数据中添加水印的任一图像。
  19. 根据权利要求18所述的眼镜设备,其特征在于,所述水印的颜色包括至少两种颜色。
  20. 根据权利要求1所述的眼镜设备,其特征在于,所述水印是由图案、文字和有色色块中的至少一种组成。
  21. 一种无人机,其特征在于,所述无人机包括存储器、处理器、图像拍摄装置和图传模块,
    所述存储器,用于存储程序指令;
    所述处理器,调用所述存储器存储的程序指令,执行以下步骤:
    通过所述图像拍摄装置拍摄得到视频数据,所述视频数据包括多帧图像;
    获取目标水印添加模式;
    根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印;
    通过所述图传模块发送添加水印后的所述视频数据中的图像。
  22. 根据权利要求21所述的无人机,其特征在于,所述目标水印添加模式为用户设定的水印添加模式,或者,所述目标水印添加模式为自动获取的水印添加模式。
  23. 根据权利要求21所述的无人机,其特征在于,所述目标水印添加模式为固定添加模式或随机添加模式。
  24. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为固定添加模式,所述处理器具体用于执行如下步骤:
    按照固定时间间隔向所述视频数据中的至少一帧图像添加水印。
  25. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为固定添加模式,所述处理器具体用于执行如下步骤:
    按照固定帧数间隔向所述视频数据中的至少一帧图像添加水印。
  26. 根据权利要求25所述的无人机,其特征在于,所述固定帧数间隔是所述视频数据的画面组GOP的整数倍。
  27. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为固定添加模式,所述处理器具体用于执行如下步骤:
    向所述视频数据中的关键帧图像添加水印。
  28. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为固定添加模式,所述处理器具体用于执行如下步骤:
    向所述视频数据中的至少一帧图像的固定位置添加水印。
  29. 根据权利要求28所述的无人机,其特征在于,所述固定位置位于目标图像的中部区域、左上角区域、左下角区域、右上角区域以及右下角区域中的任一区域中,所述目标图像为所述视频数据中添加水印的任一图像。
  30. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为固定添加模式,所述处理器具体用于执行如下步骤:向所述视频数据中的至少一帧图像添加固定颜色的水印。
  31. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:
    按照随机时间间隔向所述视频数据中的至少一帧图像添加水印。
  32. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:按照随机时间间隔和固定时间间隔向所述视频数据中的至少一帧图像添加水印。
  33. 根据权利要求31或32所述的无人机,其特征在于,所述随机时间间隔大于最小预设时长,且小于最大预设时长。
  34. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:
    按照随机帧数间隔向所述视频数据中的至少一帧图像添加水印。
  35. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:按照随机帧数间隔和固定帧数间隔向所述视频数据中的至少一帧图像添加水印。
  36. 根据权利要求34或35所述的无人机,其特征在于,所述随机帧数间隔大于最小预设帧数,且小于最大预设帧数。
  37. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:向所述视频数据中的至少一帧图像的随机位置添加水印。
  38. 根据权利要求23所述的无人机,其特征在于,所述目标水印添加模式为随机添加模式,所述处理器具体用于执行如下步骤:向目标图像添加目标颜色的水印,所述目标颜色是根据目标图像的内容设置的,所述目标图像为所述视频数据中添加水印的任一图像。
  39. 根据权利要求38所述的无人机,其特征在于,所述水印的颜色包括至少两种颜色。
  40. 根据权利要求21所述的无人机,其特征在于,所述水印是由图案、文字和有色色块中的至少一种组成。
  41. 一种数据处理方法,其特征在于,应用于数据处理设备,所述方法包括:
    获取视频数据,所述视频数据包括多帧图像;
    获取目标水印添加模式;
    根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印;
    发送添加水印后的所述视频数据中的图像。
  42. 根据权利要求41所述的方法,其特征在于,所述目标水印添加模式为用户设定的水印添加模式,或者,所述目标水印添加模式为自动获取的水印添加模式。
  43. 根据权利要求41所述的方法,其特征在于,所述目标水印添加模式为固定添加模式或随机添加模式。
  44. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为固定添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印,包括:
    按照固定时间间隔向所述视频数据中的至少一帧图像添加水印。
  45. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为固定添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印,包括:
    按照固定帧数间隔向所述视频数据中的至少一帧图像添加水印。
  46. 根据权利要求45所述的方法,其特征在于,所述固定帧数间隔是所述视频数据的画面组GOP的整数倍。
  47. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为固定添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印,包括:
    向所述视频数据中的关键帧图像添加水印。
  48. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为固定添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印,包括:
    向所述视频数据中的至少一帧图像的固定位置添加水印。
  49. 根据权利要求48所述的方法,其特征在于,所述固定位置位于目标图像的中部区域、左上角区域、左下角区域、右上角区域以及右下角区域中的任一区域中,所述目标图像为所述视频数据中添加水印的任一图像。
  50. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为固定添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印,包括:
    向所述视频数据中的至少一帧图像添加固定颜色的水印。
  51. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为随机添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一 帧图像添加水印,包括:
    按照随机时间间隔向所述视频数据中的至少一帧图像添加水印。
  52. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为随机添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印,包括:
    按照随机时间间隔和固定时间间隔向所述视频数据中的至少一帧图像添加水印。
  53. 根据权利要求51或52所述的方法,其特征在于,所述随机时间间隔大于最小预设时长,且小于最大预设时长。
  54. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为随机添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印,包括:
    按照随机帧数间隔向所述视频数据中的至少一帧图像添加水印。
  55. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为随机添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印,包括:
    按照随机帧数间隔和固定帧数间隔向所述视频数据中的至少一帧图像添加水印。
  56. 根据权利要求54或55所述的方法,其特征在于,所述随机帧数间隔大于最小预设帧数,且小于最大预设帧数。
  57. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为随机添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印,包括:
    向所述视频数据中的至少一帧图像的随机位置添加水印。
  58. 根据权利要求43所述的方法,其特征在于,所述目标水印添加模式为随机添加模式,所述根据所述目标水印添加模式向所述视频数据中的至少一帧图像添加水印,包括:
    向目标图像添加目标颜色的水印,所述目标颜色是根据目标图像的内容设置的,所述目标图像为所述视频数据中添加水印的任一图像。
  59. 根据权利要求58所述的方法,其特征在于,所述水印的颜色包括至少两种颜色。
  60. 根据权利要求41所述的方法,其特征在于,所述水印是由图案、文字和有色色块中的至少一种组成。
  61. 一种计算机可读存储介质,其特征在于,包括:所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时用于执行如权利要求1至20任一项所述数据处理方法。
PCT/CN2018/123182 2018-12-24 2018-12-24 一种数据处理方法、无人机、眼镜设备及存储介质 WO2020132828A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880065354.0A CN111247811A (zh) 2018-12-24 2018-12-24 一种数据处理方法、无人机、眼镜设备及存储介质
PCT/CN2018/123182 WO2020132828A1 (zh) 2018-12-24 2018-12-24 一种数据处理方法、无人机、眼镜设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/123182 WO2020132828A1 (zh) 2018-12-24 2018-12-24 一种数据处理方法、无人机、眼镜设备及存储介质

Publications (1)

Publication Number Publication Date
WO2020132828A1 true WO2020132828A1 (zh) 2020-07-02

Family

ID=70873836

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/123182 WO2020132828A1 (zh) 2018-12-24 2018-12-24 一种数据处理方法、无人机、眼镜设备及存储介质

Country Status (2)

Country Link
CN (1) CN111247811A (zh)
WO (1) WO2020132828A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669476B (zh) * 2020-06-23 2022-09-27 北京字节跳动网络技术有限公司 水印处理方法、装置、电子设备和介质
CN116132084A (zh) * 2022-09-20 2023-05-16 马上消费金融股份有限公司 视频流处理方法、装置及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070121997A1 (en) * 2005-11-30 2007-05-31 Microsoft Corporation Digital fingerprinting using synchronization marks and watermarks
CN203012241U (zh) * 2012-12-28 2013-06-19 福建师范大学 带收看移动数字电视功能的视频眼镜
CN103955228A (zh) * 2014-04-29 2014-07-30 西安交通大学 一种航拍成像及控制装置
CN106527478A (zh) * 2016-11-24 2017-03-22 深圳市道通智能航空技术有限公司 无人机现场声音获取方法与有声视频实现方法及相关装置
CN206542523U (zh) * 2017-02-27 2017-10-03 普宙飞行器科技(深圳)有限公司 基于无人机的眼镜视觉系统
CN108289254A (zh) * 2018-01-30 2018-07-17 北京小米移动软件有限公司 网络会议信息处理方法及装置
CN108712614A (zh) * 2018-05-31 2018-10-26 智飞智能装备科技东台有限公司 一种用于无人机控制及回传的智能眼镜

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657576A (zh) * 2015-04-30 2016-06-08 宇龙计算机通信科技(深圳)有限公司 一种水印嵌入方法和装置
CN105848009A (zh) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 一种视频直播方法及装置
CN106453056A (zh) * 2016-10-28 2017-02-22 努比亚技术有限公司 一种移动终端及安全分享图片的方法
CN106657733A (zh) * 2016-11-25 2017-05-10 深圳市元征科技股份有限公司 一种基于无人机的全景直播方法及终端
CN106933467A (zh) * 2017-02-25 2017-07-07 杭州领娱科技有限公司 智能水印移动方法
CN107229288A (zh) * 2017-07-05 2017-10-03 江苏首控制造技术有限公司 一种无人机无线vr空中观景系统和实现方法
CN108055567B (zh) * 2017-10-25 2020-11-06 北京密境和风科技有限公司 一种视频处理方法、装置、终端设备及存储介质
CN107911753B (zh) * 2017-11-28 2021-01-22 百度在线网络技术(北京)有限公司 用于在视频中添加数字水印的方法和装置
CN108882055B (zh) * 2018-06-28 2022-09-30 广州虎牙信息科技有限公司 视频直播方法及系统、合成视频流的方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070121997A1 (en) * 2005-11-30 2007-05-31 Microsoft Corporation Digital fingerprinting using synchronization marks and watermarks
CN203012241U (zh) * 2012-12-28 2013-06-19 福建师范大学 带收看移动数字电视功能的视频眼镜
CN103955228A (zh) * 2014-04-29 2014-07-30 西安交通大学 一种航拍成像及控制装置
CN106527478A (zh) * 2016-11-24 2017-03-22 深圳市道通智能航空技术有限公司 无人机现场声音获取方法与有声视频实现方法及相关装置
CN206542523U (zh) * 2017-02-27 2017-10-03 普宙飞行器科技(深圳)有限公司 基于无人机的眼镜视觉系统
CN108289254A (zh) * 2018-01-30 2018-07-17 北京小米移动软件有限公司 网络会议信息处理方法及装置
CN108712614A (zh) * 2018-05-31 2018-10-26 智飞智能装备科技东台有限公司 一种用于无人机控制及回传的智能眼镜

Also Published As

Publication number Publication date
CN111247811A (zh) 2020-06-05

Similar Documents

Publication Publication Date Title
US11163897B2 (en) Method and apparatus for image display using privacy masking
JP7029562B2 (ja) コンテンツを提供及び表示するための装置及び方法
US10567733B2 (en) Methods and apparatus for communicating and/or using frames including a captured image and/or including additional image content
US11245939B2 (en) Generating and transmitting metadata for virtual reality
US11516521B2 (en) Generating composite video stream for display in VR
US7752648B2 (en) Apparatus and methods for handling interactive applications in broadcast networks
WO2005053301A2 (en) Macro-block based content replacement by pid mapping
CN109698952B (zh) 全景视频图像的播放方法、装置、存储介质及电子装置
US10623636B2 (en) Generating objects in real time panoramic video
US10958950B2 (en) Method, apparatus and stream of formatting an immersive video for legacy and immersive rendering devices
US20190377188A1 (en) Image generation device, image extraction device, image generation method, and image extraction method
WO2020132828A1 (zh) 一种数据处理方法、无人机、眼镜设备及存储介质
US20190228804A1 (en) Device, method, storage medium, and terminal for controlling video stream data playing
US10142664B2 (en) Method and device for determining properties of a graphical overlay for a video stream
US20180307806A1 (en) Viewport decryption
CN105915972A (zh) 一种虚拟现实中4k视频优化方法和装置
CN110768964B (zh) 视频图像的编码处理方法、系统及存储介质
US20200225467A1 (en) Method for projecting immersive audiovisual content
CN116208833A (zh) 摄像头的隐私保护方法、装置及存储介质
US11930290B2 (en) Panoramic picture in picture video
US20220329886A1 (en) Methods and devices for handling media data streams
WO2020107406A1 (zh) 一种拍摄图像处理方法及相关设备
CN114762353A (zh) 实时播放由多个摄像头输入的虚拟现实影像的装置及方法
US10757401B2 (en) Display system and method for display control of a video based on different view positions
US20240179327A1 (en) Virtual reality streaming system and method

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: 18945028

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: 18945028

Country of ref document: EP

Kind code of ref document: A1