A method and device for overlaying AR tags on live video

By calculating the position of the video picture on the drone in real time and generating AR tags, the problem of high-precision superposition of data in drone video live broadcast is solved, enabling fast and accurate video live broadcast with rich content and improving the value of live broadcast.

CN116033231BActive Publication Date: 2024-10-15HIWING AVIATION GENERAL EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111254400.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-27
Publication Date
2024-10-15
Estimated Expiration
2041-10-27

AI Technical Summary

Technical Problem

Drone video live broadcast cannot superimpose data information with high precision in real time, resulting in reduced value, and due to data transmission delays, the accuracy of superimposed data is low.

Method used

Preset map and POI data on the aircraft, obtain video images and aircraft attitude data in real time, calculate the position of the video images on the map, fuse geographical information and generate AR tags, which are directly superimposed on the video images.

Benefits of technology

It realizes rich video live content and high-precision tag overlay, solves the problem of being unable to add tags and low data accuracy during live broadcast, and improves processing speed and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116033231B_ABST
    Figure CN116033231B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for overlaying AR tags on live video, comprising the following steps: presetting a map of the aircraft's flight area in an aircraft, and setting POI data at specific points on the map; acquiring video images, aircraft attitude data, and video acquisition device status data in real time; calculating and obtaining the position of the video images acquired at this time on the preset map, and obtaining the geographic information of the corresponding position of the video images on the preset map; obtaining the geographic information contained in each frame of the video images; making corresponding AR tags, and overlaying them on the video images. The present invention enables the addition of AR tag information to the live broadcast of the aircraft, enriches the content of the live video broadcast, and has high speed and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of airborne video processing, and in particular relates to a method and device for overlaying AR tags on live video. Background Art

[0002] Drone video live broadcast is different from traditional network live broadcast. As a mobile live broadcast method, drone live broadcast is not only highly flexible, but also has a wider viewing angle than traditional video acquisition methods. In recent years, my country's drone industry has seen explosive growth, and drones have been widely used in various fields such as aerial photography and aerial surveying, agricultural plant protection, power inspections, commercial performances, and disaster relief. With the rise of network live broadcast in my country and the continuous enhancement of enterprises' awareness and ability to go to the cloud, drone video live broadcast has extremely broad application prospects.

[0003] However, at present, due to the high requirements of drone live broadcasting on network and data collection technology, it has not yet been widely popularized in China. At the same time, drone video live broadcasting has the defect that it can only play the original aerial video images, and cannot superimpose data information on the video images in real time with high precision, such as: buildings, urban roads, rescue landmarks, interest collections and other geographic information in the video images, which greatly reduces the value of drone video live broadcasting; in addition, sending drone aerial video and flight attitude data to the ground for secondary video processing, although it can realize superimposing data information on the ground video images, the real data loses precision due to transmission delay, which greatly reduces the accuracy of drone video superimposed data information. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a method and device for overlaying AR tags on live video. The solution of the present invention can solve the problems existing in the above-mentioned prior art.

[0005] The technical solution of the present invention:

[0006] According to a first aspect, a method for overlaying AR tags on a live video broadcast includes the following steps:

[0007] Preset a map of the aircraft's flight area in the aircraft and set POI data at specific points on the preset map;

[0008] After the aircraft takes off, real-time video images, aircraft attitude data, and video acquisition device status data are obtained;

[0009] The position of the video image acquired at this time on the preset map is calculated based on the aircraft attitude data and the video acquisition device status data, and the geographic information of the corresponding position of the video image on the preset map is obtained;

[0010] The acquired video images are solved in real time to obtain the geographic information contained in each frame of the video images;

[0011] The geographic information obtained by calculating the video screen is integrated with the geographic information of the corresponding position on the preset map, and the POI data contained in the position on the preset map is used to create corresponding AR tags and superimposed on the video screen.

[0012] Furthermore, the specific point may be any point that one wants to mark, and its attributes include: name, longitude, latitude and altitude.

[0013] Furthermore, the aircraft attitude data includes the longitude, latitude, altitude, heading angle, pitch angle and sideslip angle of the aircraft.

[0014] Furthermore, the video acquisition device status data includes the azimuth angle, pitch angle, horizontal field of view and vertical field of view of the video acquisition device.

[0015] Furthermore, the method for calculating the position of the video image on the preset map is:

[0016] S3.1 performs angle correction on the azimuth and pitch angles fed back by the video acquisition device in real time according to the flight attitude, and calculates the real azimuth angle P and pitch angle T of the current video acquisition device in the real world;

[0017] S3.2 calculates the azimuth and pitch angles of the upper left corner and the azimuth and pitch angles of the lower right corner of the current video according to the azimuth angle P and the pitch angle T and the current field of view size;

[0018] S3.3 calculates the longitude and latitude of the upper left corner and the lower right corner of the video screen according to the longitude and latitude of the aircraft, the altitude of the aircraft, the azimuth and pitch angle of the upper left corner and the lower right corner of the video acquisition device. The longitude and latitude range defined by the upper left corner and the lower right corner of the video screen is the position of the video screen on the preset map.

[0019] Furthermore, the process of making AR tags is as follows:

[0020] Traverse the geographic information set of POI points contained in the current video screen;

[0021] Determine the number of tags;

[0022] Calculate the two-dimensional pixel coordinates of each tag in the video screen;

[0023] Make label shapes;

[0024] Create label text.

[0025] According to a second aspect, a video live broadcast AR tag overlay device is provided, comprising a video acquisition device, an aircraft, a preset map processing unit, an image position calculation unit, an AR tag generation unit and a video output unit; the video acquisition device, the preset map processing unit, the image position calculation unit, the AR tag generation unit and the video output unit are all installed on the aircraft, and all video and data processing are completed on the aircraft side; the video acquisition device transmits the acquired real-time video picture to the image position calculation unit; the preset map processing unit sets POI data of a specific point in the preset map and transmits it to the image position calculation unit; the aircraft transmits the aircraft posture data and the video acquisition device status data to the image position calculation unit; the image position calculation unit calculates the position of the real-time video picture in the preset map according to the acquired data, and merges the geographic information of the video picture with the geographic information of the corresponding position in the preset map, and transmits the merged POI information to the AR tag generation unit; the AR tag generation unit generates an AR tag according to the POI information, and merges the generated AR tag with the original video and transmits it to the video output unit, and the video output unit outputs the video processed by the AR tag.

[0026] The beneficial effects of the present invention compared with the prior art are as follows:

[0027] The present invention enriches the content of live video by processing the live video on an aircraft and adding labels, and has high speed and high accuracy, thereby solving the shortcomings of the prior art that live broadcast using an aircraft cannot add labels or that video processing is not timely and data accuracy is low due to adding labels. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The included drawings are used to provide a further understanding of the embodiments of the present invention, which constitute a part of the specification, are used to illustrate the embodiments of the present invention, and together with the text description, explain the principles of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0029] Figure 1 A schematic diagram of the steps of a method for overlaying AR tags on live video broadcasting provided by an embodiment of the present invention is shown;

[0030] Figure 2 A schematic structural diagram of a video live broadcast AR tag overlay device provided according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0031] It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0033] Unless otherwise specifically stated, the relative arrangement of the parts and steps described in these embodiments, numerical expressions and numerical values ​​do not limit the scope of the present invention. At the same time, it should be understood that, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to the actual proportional relationship. The technology, method and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the technology, method and equipment should be regarded as a part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as being merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once a certain item is defined in an accompanying drawing, it does not need to be further discussed in subsequent drawings.

[0034] like Figure 1 As shown, according to an embodiment of the present invention, a method for overlaying AR tags on live video is provided, comprising the following steps:

[0035] Step 1: Preset a map of the aircraft's flight area in the aircraft, and set POI data at specific points on the preset map;

[0036] In one embodiment, the specific point can be any point that you want to mark, and its attributes include: name, longitude, latitude and altitude. In the preset map, a POI can be a house, a store, a mailbox, a bus stop, etc., any point that you want to mark.

[0037] Step 2: After the aircraft takes off, real-time video images, aircraft attitude data, and image acquisition device status data are obtained;

[0038] In a further embodiment, the aircraft attitude data includes the longitude, latitude, altitude, heading angle, pitch angle and sideslip angle of the aircraft. In a specific embodiment, the aircraft includes manned aircraft, unmanned aircraft, gliders, hot air balloons and other flying objects that can be equipped with image acquisition equipment, map processing equipment and attitude acquisition equipment.

[0039] Further in one embodiment, the video acquisition device status data includes the azimuth angle, pitch angle, horizontal field of view and vertical field of view of the video acquisition device.

[0040] Step 3: Calculate the position of the video image captured at this time on the preset map based on the aircraft attitude data and the video acquisition device status data, and obtain the geographic information of the corresponding position of the video image on the preset map;

[0041] Further in one embodiment, the method for calculating the position of the video screen on the preset map is:

[0042] S3.1 After the flight attitude changes, the azimuth and pitch angles fed back by the video acquisition device when it is stationary do not change, but in fact the picture has changed significantly with the flight attitude. Therefore, firstly, according to the change of flight attitude, the azimuth and pitch angles fed back by the video acquisition device are corrected in real time to calculate the actual azimuth P and pitch angle T of the current video acquisition device in the real world;

[0043] S3.2 calculates the azimuth and pitch angles of the upper left corner and the azimuth and pitch angles of the lower right corner of the current video according to the azimuth angle P and the pitch angle T, as well as the sizes of the current horizontal field of view and the vertical field of view;

[0044] S3.3 calculates the longitude and latitude of the upper left corner and the lower right corner of the video screen according to the longitude and latitude of the aircraft, the altitude of the aircraft, the azimuth and pitch angle of the upper left corner and the lower right corner of the video acquisition device. The longitude and latitude range defined by the upper left corner and the lower right corner of the video screen is the position of the video screen on the preset map.

[0045] Step 4: Decode the acquired video images in real time to obtain the geographic information contained in each frame of the video images;

[0046] In one embodiment, the geographic information contained in each frame of video refers to the geographic information within the latitude and longitude range of the real world contained in the current video.

[0047] Step 5: The geographic information obtained by solving the video image is integrated with the geographic information of the corresponding position on the preset map, and the POI data contained in the position on the preset map is used to create a corresponding AR tag and superimposed on the video image.

[0048] Further in one embodiment, the process of making an AR tag is:

[0049] S5.1 traverse the geographic information set of POI points contained in the current video screen;

[0050] S5.2 determine the number of tags;

[0051] S5.3 calculates the two-dimensional pixel coordinates of each tag in the video image;

[0052] S5.4 Make label shape;

[0053] S5.5 Create label text.

[0054] In a specific embodiment, during the flight of the drone, as the video screen changes, the POI point set contained in the corresponding real world in the video screen will also change, so the AR tag needs to be updated in real time, that is, steps 2 to 5 need to be cyclically executed according to a certain time period to obtain the AR tag in each continuous video screen.

[0055] In a specific embodiment,

[0056] Step 1: Preset a map of the aircraft's flight area in the aircraft, and set POI data at specific points on the preset map;

[0057] Confirm the take-off location of the drone. The geographic coordinates of the take-off point of the drone are longitude 108.851807 degrees, latitude 34.162233 degrees, and altitude 424 meters. Download the longitude, latitude and elevation information of the POI point within 10 kilometers and update the POI data in the onboard card.

[0058] Step 2: After the aircraft takes off, real-time video images, aircraft attitude data, and image acquisition device status data are obtained;

[0059] The onboard board obtains the flight attitude data and pod status data of the drone through the serial port. At a certain moment in the experiment, the longitude of the drone is 108.85165527, the latitude is 34.1618558, and the altitude is 485.21m. The heading angle of the drone is 10.0 degrees, the pitch angle is 0.02 degrees, the sideslip angle is 0.07 degrees, the azimuth angle of the pod is 5.10 degrees, the pitch angle is -15.25 degrees, and the field of view is 15.80 degrees.

[0060] Step 3: Calculate the position of the video image captured at this time on the preset map based on the aircraft attitude data and the video acquisition device status data, and obtain the geographic information of the corresponding position of the video image on the preset map;

[0061] Step 4: Decode the acquired video images in real time to obtain the geographic information contained in each frame of the video images;

[0062] Step 5: The geographic information obtained by solving the video image is integrated with the geographic information of the corresponding position on the preset map, and the POI data contained in the position on the preset map is used to create a corresponding AR tag and superimposed on the video image.

[0063] Step 6: Repeat steps 2 to 5 to create POI labels and overlay them on the video image.

[0064] In another embodiment, a video live broadcast AR tag overlay device includes a video acquisition device, an aircraft, a preset map processing unit, an image position calculation unit, an AR tag generation unit and a video output unit; the video acquisition device, the preset map processing unit, the image position calculation unit, the AR tag generation unit and the video output unit are all installed on the aircraft, and all video and data processing are completed on the aircraft side; the video acquisition device transmits the acquired real-time video picture to the image position calculation unit; the preset map processing unit sets POI data of a specific point in a preset map and transmits it to the image position calculation unit; the aircraft transmits the aircraft posture data and the video acquisition device status data to the image position calculation unit; the image position calculation unit calculates the position of the real-time video picture in the preset map based on the acquired data, and merges the geographic information of the video picture with the geographic information of the corresponding position in the preset map, and transmits the merged POI information to the AR tag generation unit; the AR tag generation unit generates an AR tag based on the POI information, and merges the generated AR tag with the original video and transmits it to the video output unit, and the video output unit outputs the video processed by the AR tag.

[0065] Furthermore, in one embodiment, the video acquisition device is an optical payload hung on an aircraft, and can perform pitch and azimuth rotation relative to the aircraft.

[0066] In a further embodiment, the aircraft includes manned aircraft, unmanned aerial vehicles, gliders, hot air balloons and other flying objects that can be equipped with image acquisition equipment, map processing equipment and attitude acquisition equipment. The aircraft attitude data includes the longitude, latitude, altitude, heading angle, pitch angle and sideslip angle of the aircraft.

[0067] Furthermore, in one embodiment, the preset map processing unit, the AR tag generating unit, and the image position calculating unit are integrated on a board of the aircraft.

[0068] Further in one embodiment, the aircraft flight attitude data is transmitted to the onboard board via the serial port, and the transmission frequency is greater than the video frame rate, ensuring that the error of the UAV flight attitude data is less than the video frame interval.

[0069] Further in one embodiment, the video acquisition device status data includes the azimuth angle, pitch angle, horizontal field of view and vertical field of view of the video acquisition device.

[0070] Further in one embodiment, the method for calculating the position of the video screen on the preset map is:

[0071] S3.1 After the flight attitude changes, the azimuth and pitch angles fed back by the video acquisition device when it is stationary do not change, but in fact the picture has changed significantly with the flight attitude. Therefore, firstly, according to the change of flight attitude, the azimuth and pitch angles fed back by the video acquisition device are corrected in real time to calculate the actual azimuth P and pitch angle T of the current video acquisition device in the real world;

[0072] S3.2 calculates the azimuth and pitch angles of the upper left corner and the azimuth and pitch angles of the lower right corner of the current video according to the azimuth angle P and the pitch angle T, as well as the sizes of the current horizontal field of view and the vertical field of view;

[0073] S3.3 calculates the longitude and latitude of the upper left corner and the lower right corner of the video screen according to the longitude and latitude of the aircraft, the altitude of the aircraft, the azimuth and pitch angle of the upper left corner and the lower right corner of the video acquisition device. The longitude and latitude range defined by the upper left corner and the lower right corner of the video screen is the position of the video screen on the preset map.

[0074] Further in one embodiment, the process of making an AR tag is:

[0075] S5.1 traverse the geographic information set of POI points contained in the current video screen;

[0076] S5.2 determine the number of tags;

[0077] S5.3 calculates the two-dimensional pixel coordinates of each tag in the video image;

[0078] S5.4 Make label shape;

[0079] S5.5 Create label text.

[0080] In one embodiment, the specific point can be any point that you want to mark, and its attributes include: name, longitude, latitude and altitude. In the preset map, a POI can be a house, a store, a mailbox, a bus stop, etc., any point that you want to mark.

[0081] In one embodiment, a medium is provided, which stores the video live broadcast AR tag overlay method provided by the present invention.

[0082] In one embodiment, an aircraft is provided, on which the live video AR label overlay device provided by the present invention is installed.

[0083] In summary, the method and device for overlaying AR tags on live video provided by the present invention have at least the following advantages over the prior art:

[0084] The present invention enriches the content of live video by processing the live video on an aircraft and adding labels, and has high speed and high accuracy, thereby solving the shortcomings of the prior art that live broadcast using an aircraft cannot add labels or that video processing is not timely and data accuracy is low due to adding labels.

[0085] For ease of description, spatially relative terms such as "above", "above", "on the upper surface of", "above", etc. may be used here to describe the spatial positional relationship between a device or feature and other devices or features as shown in the figure. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figure. For example, if the device in the accompanying drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "below other devices or structures". Thus, the exemplary term "above" can include both "above" and "below". The device can also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatially relative descriptions used here are interpreted accordingly.

[0086] In addition, it should be noted that the use of terms such as "first" and "second" to limit components is only for the convenience of distinguishing the corresponding components. If not otherwise stated, the above terms have no special meaning and therefore cannot be understood as limiting the scope of protection of the present invention.

[0087] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for overlaying AR tags on live video. It is characterized in that The following steps are involved: Preset a map of the aircraft's flight area in the aircraft and set POI data at specific points on the preset map; After the aircraft takes off, real-time acquisition of video images, aircraft attitude data, and video acquisition device status data; the video acquisition device status data includes the azimuth angle, pitch angle, horizontal field of view, and vertical field of view of the video acquisition device; The position of the video image acquired at this time on the preset map is calculated based on the aircraft attitude data and the video acquisition device status data, and the geographic information of the corresponding position of the video image on the preset map is obtained; The acquired video images are solved in real time to obtain the geographic information contained in each frame of the video images; The method for calculating the position of the video screen on the preset map is: S3.1 performs angle correction on the azimuth and pitch angles fed back by the video acquisition device in real time according to the flight attitude, and calculates the real azimuth angle P and pitch angle T of the current video acquisition device in the real world; S3.2 calculates the azimuth and pitch angles of the upper left corner and the azimuth and pitch angles of the lower right corner of the current video according to the azimuth angle P and the pitch angle T and the current field of view size; S3.3 Calculate the longitude and latitude of the upper left corner and the lower right corner of the video screen according to the longitude and latitude of the aircraft, the altitude of the aircraft, the azimuth and pitch angle of the upper left corner and the lower right corner of the video acquisition device. The longitude and latitude range defined by the upper left corner and the lower right corner of the video screen is the position of the video screen on the preset map; The geographic information obtained by calculating the video screen is integrated with the geographic information of the corresponding position on the preset map, and the POI data contained in the position on the preset map is used to create corresponding AR tags and superimposed on the video screen.

2. According to the method for overlaying AR tags on live video broadcasting according to claim 1, It is characterized in that The specific point can be any point that you want to mark, and its attributes include: name, longitude, latitude and altitude.

3. According to the method for overlaying AR tags on live video broadcasting according to claim 1, It is characterized in that The aircraft attitude data includes the longitude, latitude, altitude, heading angle, pitch angle and sideslip angle of the aircraft.

4. According to claim 3, a method for overlaying AR tags on live video broadcast, It is characterized in that The process of making AR tags is as follows: Traverse the geographic information set of POI points contained in the current video screen; Determine the number of tags; Calculate the two-dimensional pixel coordinates of each tag in the video screen; Make label shapes; Create label text.

5. A video live broadcast AR tag superimposition device implementing a video live broadcast AR tag superimposition method as described in any one of claims 1 to 4, It is characterized in that The system comprises a video acquisition device, an aircraft, a preset map processing unit, an image position calculation unit, an AR tag generation unit and a video output unit; the video acquisition device, the preset map processing unit, the image position calculation unit, the AR tag generation unit and the video output unit are all installed on the aircraft, and all video and data processing are completed on the aircraft side; the video acquisition device transmits the acquired real-time video picture to the image position calculation unit; the preset map processing unit sets the POI data of a specific point in the preset map and transmits it to the image position calculation unit; the aircraft transmits the aircraft posture data and the video acquisition device status data to the image position calculation unit; the image position calculation unit calculates the position of the real-time video picture in the preset map according to the acquired data, and fuses the geographic information of the video picture with the geographic information of the corresponding position in the preset map, and transmits the fused POI information to the AR tag generation unit; the AR tag generation unit generates an AR tag according to the POI information, and fuses the generated AR tag with the original video and transmits it to the video output unit, and the video output unit outputs the video processed by the AR tag.

6. An aircraft, It is characterized in that The aircraft is installed with the live video AR tag overlay device described in claim 5.