WO2023061356A1 - Advertisement serving method and apparatus, device, storage medium and computer program product - Google Patents

Advertisement serving method and apparatus, device, storage medium and computer program product Download PDF

Info

Publication number
WO2023061356A1
WO2023061356A1 PCT/CN2022/124578 CN2022124578W WO2023061356A1 WO 2023061356 A1 WO2023061356 A1 WO 2023061356A1 CN 2022124578 W CN2022124578 W CN 2022124578W WO 2023061356 A1 WO2023061356 A1 WO 2023061356A1
Authority
WO
WIPO (PCT)
Prior art keywords
video frame
ground
current video
track
moving target
Prior art date
Application number
PCT/CN2022/124578
Other languages
French (fr)
Chinese (zh)
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
Priority claimed from CN202111191382.7A external-priority patent/CN113988906B/en
Application filed by 咪咕视讯科技有限公司, 咪咕文化科技有限公司, 中国移动通信集团有限公司 filed Critical 咪咕视讯科技有限公司
Publication of WO2023061356A1 publication Critical patent/WO2023061356A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements

Definitions

  • a computer program product includes computer instructions, and when the computer instructions are run on a computer device, the computer device is made to perform the above advertisement placement The operation of the method.
  • DBR digital billboard replacement
  • placing the advertisement on the track on the ground in the current video frame includes: when the moving object is turning at a steep angle, Identifying the area ratio of the track in the current video frame; placing advertisements on the track on the ground in the current video frame according to the motion inclination and the area ratio.
  • the method further includes: when it is determined according to the motion inclination that the moving object is not turning at a steep angle, or when not When a race track is detected in the current video frame, or when the area ratio is smaller than a ratio threshold, the advertisement delivery is stopped.

Landscapes

  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Embodiments of the present disclosure relate to the field of video processing, and disclose an advertisement serving method and apparatus, a device, a storage medium and a computer program product. The method comprises: determining a motion inclination angle of a moving target relative to the ground in a current video frame; according to the motion inclination angle, determining whether the moving target is turning at a steep inclination angle; when the moving target is turning at a steep inclination angle, placing an advertisement on a track on the ground in the current video frame. By means of the described method, embodiments of the present disclosure achieve the effect of accurate positioning of an advertisement serving location.

Description

广告投放方法、装置、设备、存储介质和计算机程序产品Advertising method, device, equipment, storage medium and computer program product
相关申请的交叉引用Cross References to Related Applications
本公开实施例基于申请号为202111191382.7、申请日为2021年10月13日、申请名称为“广告投放方法、装置及计算设备”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。The embodiment of the present disclosure is based on the Chinese patent application with the application number 202111191382.7, the application date is October 13, 2021, and the application name is "advertising delivery method, device and computing equipment", and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated by reference into this disclosure.
技术领域technical field
本公开实施例涉及但不限于图像处理技术领域,尤其涉及一种广告投放方法、装置、设备、存储介质和计算机程序产品。Embodiments of the present disclosure relate to, but are not limited to, the technical field of image processing, and in particular, relate to an advertisement placement method, device, equipment, storage medium, and computer program product.
背景技术Background technique
数字广告牌替换(Digital Billboard Replacement,DBR)技术针对特定机位和特定足球场景,系统可复用性和设备灵活性差。虚拟标识技术在冰雪项目中尤其是雪车和雪橇的赛道中缺少特定的解决方案并且在高速运动场景下对于主体和不规则赛场的解析能力不足,使得广告投放无法精准定位。Digital Billboard Replacement (DBR) technology is aimed at specific camera positions and specific football scenes, and the system reusability and device flexibility are poor. Virtual signage technology lacks specific solutions in ice and snow events, especially in bobsleigh and sled tracks, and in high-speed sports scenes, the ability to analyze the main body and irregular tracks is insufficient, making it difficult for accurate positioning of advertisements.
发明内容Contents of the invention
鉴于上述问题,本公开实施例提供了一种广告投放方法、装置、设备、存储介质和计算机程序产品,用于解决现有技术中存在的广告投放无法精准定位的问题。In view of the above problems, the embodiments of the present disclosure provide an advertisement placement method, device, device, storage medium and computer program product, which are used to solve the problem that advertisement placement cannot be accurately positioned in the prior art.
根据本公开实施例的一个方面,提供了一种广告投放方法,所述方法包括:According to an aspect of an embodiment of the present disclosure, an advertisement delivery method is provided, the method comprising:
确定当前视频帧中运动目标的相对于地面的运动倾角;Determine the motion inclination of the moving target relative to the ground in the current video frame;
根据所述运动倾角确定所述运动目标是否处于大倾角转弯;determining whether the moving target is turning at a steep angle according to the movement inclination;
当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中。When the moving target is turning at a steep angle, the advertisement is placed on the track on the ground in the current video frame.
根据本公开实施例的另一方面,提供了一种广告投放装置,包括:According to another aspect of the embodiments of the present disclosure, an advertisement delivery device is provided, including:
第一确定模块,被配置为确定当前视频帧中运动目标的相对于地面的运动倾角;The first determination module is configured to determine the inclination angle of motion of the moving target relative to the ground in the current video frame;
第二确定模块,被配置为根据所述运动倾角确定所述运动目标是否处于大倾角转弯;The second determination module is configured to determine whether the moving target is turning with a large inclination according to the movement inclination;
投放模块,被配置为当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中。The placement module is configured to place the advertisement on the track on the ground in the current video frame when the moving target is turning at a steep angle.
根据本公开实施例的另一方面,提供了一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;According to another aspect of the embodiments of the present disclosure, there is provided a computing device, including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface complete the communication through the communication bus. communication between
所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行上述的广告投放方法的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to execute the operation of the above advertisement delivery method.
根据本公开实施例的又一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令在计算设备上运行时,使得计算设备执行上述的广告投放方法的操作。According to yet another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein at least one executable instruction is stored in the storage medium, and when the executable instruction is run on a computing device, the computing device executes the above-mentioned The action of the ad serving method.
根据本公开实施例的又一方面,提供一种计算机程序产品,所述计算机程序产品包括计算机指令,在所述计算机指令在计算机设备上运行的情况下,使得所述计算机设备执行上述的广告投放方法的操作。According to still another aspect of the embodiments of the present disclosure, a computer program product is provided, the computer program product includes computer instructions, and when the computer instructions are run on a computer device, the computer device is made to perform the above advertisement placement The operation of the method.
本公开实施例通过确定当前视频帧中运动目标的相对于地面的运动倾角,根据所述运动倾角确定所述运动目标是否处于大倾角转弯,当所述运动目标处于大倾角转弯时,将广告投 放至所述当前视频帧中地面上的赛道中,能够对广告投放进行准确定位,提高了用户体验。In the embodiment of the present disclosure, by determining the inclination angle of the moving object relative to the ground in the current video frame, it is determined according to the inclination angle whether the moving object is turning at a steep angle, and when the moving object is turning at a steep angle, the advertisement is placed In the track on the ground in the current video frame, the advertisement placement can be accurately positioned, and the user experience is improved.
在一种实现方式中,通过实时提取当前视频帧中运动目标的三维信息及地面的三维信息,根据运动目标的三维信息及地面的三维信息,确定运动目标相对于地面的运动倾角,当根据运动倾角确定运动目标在大倾角转弯时,识别赛道在当前视频帧中的面积占比,根据运动倾角及面积占比,将广告投放至当前视频帧中地面上的赛道中,能够使得在雪橇和雪车比赛中,基于雪橇或雪车的实时倾角和赛道占比信息确定广告添加位置,以及广告开始投射和消失时机,从而实现了精准定位广告投放位置的效果。In one implementation, by extracting the 3D information of the moving target and the 3D information of the ground in the current video frame in real time, the inclination angle of the moving target relative to the ground is determined according to the 3D information of the moving target and the 3D information of the ground. Determine the inclination angle When the moving target is turning at a large inclination angle, identify the area ratio of the track in the current video frame, and place the advertisement on the track on the ground in the current video frame according to the motion inclination angle and area ratio, which can make the sled and In the bobsleigh race, based on the real-time inclination of the sled or bobsleigh and the proportion of the track, the location of the advertisement is determined, as well as the timing of when the advertisement starts to be projected and disappears, so as to achieve the effect of precisely positioning the advertisement placement.
上述说明是本公开实施例技术方案的概述,为了能够更清楚了解本公开实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本公开实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。The above description is an overview of the technical solutions of the embodiments of the present disclosure. In order to better understand the technical means of the embodiments of the present disclosure, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the embodiments of the present disclosure To make it more obvious and understandable, specific embodiments of the present disclosure are given below.
附图说明Description of drawings
附图仅用于示出实施方式,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:The drawings are only for illustrating the embodiments and are not to be considered as limiting the present disclosure. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:
图1为本公开实施例提供的一种广告投放方法的流程示意图;FIG. 1 is a schematic flowchart of an advertisement placement method provided by an embodiment of the present disclosure;
图2为本公开实施例提供的一种广告投放方法中确定三维信息的示意图;FIG. 2 is a schematic diagram of determining three-dimensional information in an advertisement placement method provided by an embodiment of the present disclosure;
图3为本公开实施例提供的一种广告投放方法中立体匹配的结果示意图;FIG. 3 is a schematic diagram of stereo matching results in an advertisement delivery method provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种广告投放方法中二维框架到三维框架的映射的示意图;FIG. 4 is a schematic diagram of mapping from a two-dimensional frame to a three-dimensional frame in an advertisement placement method provided by an embodiment of the present disclosure;
图5为本公开实施例提供的一种二维框架的视角信息的示意图;FIG. 5 is a schematic diagram of viewing angle information of a two-dimensional frame provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种广告投放装置的结构示意图;FIG. 6 is a schematic structural diagram of an advertisement delivery device provided by an embodiment of the present disclosure;
图7为本公开实施例提供的一种计算设备的结构示意图。FIG. 7 is a schematic structural diagram of a computing device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein.
目前,对于冬奥的雪橇和雪车这两项竞赛项目而言,其运动速度最快可达160km/h,被称为“冰上F1”。两项竞赛项目比赛赛道一致,仅比赛出发点不同。比赛赛道可以分为两个部分,分别是直道和弯道。其中弯道相对于直道两边没有明显的冰墙,且弯道赛段相较于直道赛段冰面更宽,弯道赛道平面与地面之间的夹角最大可达70-80度。雪橇和雪车高速过弯时非常考验比赛选手对于车辆和雪橇的控制能力,是这两项比赛中最具观赏性的部分之一。At present, for the two competitions of sled and snowmobile in the Winter Olympics, the fastest speed can reach 160km/h, which is called "F1 on ice". The competition tracks of the two competitions are the same, only the starting point of the competition is different. The race track can be divided into two parts, straight and curves. Compared with the straight road, there is no obvious ice wall on both sides of the curve, and the ice surface of the curve section is wider than that of the straight section, and the angle between the curve track plane and the ground can reach up to 70-80 degrees. The high-speed cornering of sleds and sleds is one of the most entertaining parts of these two competitions, which is a test of the contestants' ability to control the vehicles and sleds.
然而现有技术中,针对视频流AI自动投放广告有两种方案,分别为定制转播技术和虚拟标识(Virtual Signage)技术。其中,定制转播技术也可以称为数字广告牌替换(DBR)技术。DBR技术主要应用在足球场边广告牌的虚拟广告,可以在不同地区的转播信号中在广告牌上添加不同的广告内容,该技术需要针对足球场广告牌提前制作虚拟场景,同步实景相机和虚拟相机的数据;虚拟标识技术目前主要应用在足球和篮球,通过视觉处理算法定位球员位置以及球场特定区域比如禁区、三分线等,解析球员位置以及拍摄机位的位置信息等,在球场的特定区域植入广告。上述现有技术中,DBR技术针对特定机位和特定足球场景,系统可复用性和设备灵活性差;虚拟标识技术在冰雪项目中尤其是雪车和雪橇的赛道中缺少特定的解决方案并且在高速运动场景下对于主体和不规则赛场的解析能力不足。However, in the existing technology, there are two solutions for the automatic advertisement placement of video stream AI, which are customized rebroadcasting technology and virtual signage (Virtual Signage) technology. Among them, the customized broadcast technology may also be called digital billboard replacement (DBR) technology. DBR technology is mainly used in the virtual advertisement of the billboard beside the football field. It can add different advertising content on the billboard in the broadcast signal in different regions. Camera data; virtual identification technology is currently mainly used in football and basketball. It uses visual processing algorithms to locate player positions and specific areas of the court such as penalty areas and three-point lines, and analyze player positions and shooting camera position information. Regional placement of advertisements. In the above-mentioned existing technologies, DBR technology is aimed at specific camera positions and specific football scenes, and the system reusability and equipment flexibility are poor; virtual sign technology lacks specific solutions in ice and snow projects, especially in bobsleigh and sled tracks In the high-speed sports scene, the ability to analyze the main body and the irregular field is insufficient.
图1为本公开实施例提供的广告投放方法的流程图,该方法由计算设备执行。该计算设备可以是计算机设备、终端设备、服务器或其它具有数据处理能力的设备。如图1所示,该方法包括以下步骤:Fig. 1 is a flowchart of an advertisement placement method provided by an embodiment of the present disclosure, the method is executed by a computing device. The computing device may be a computer device, a terminal device, a server or other devices with data processing capabilities. As shown in Figure 1, the method includes the following steps:
步骤110:确定当前视频帧中运动目标的相对于地面的运动倾角。Step 110: Determine the inclination angle of the moving object relative to the ground in the current video frame.
其中,确定当前视频帧中运动目标的相对于地面的运动倾角,例如可包括以下步骤:Wherein, determining the motion inclination angle of the moving target in the current video frame relative to the ground, for example, may include the following steps:
步骤1101:实时提取当前视频帧中运动目标的三维信息及地面的三维信息。Step 1101: extracting the 3D information of the moving target and the 3D information of the ground in the current video frame in real time.
本公开实施例中,首先获取实时视频流,并提取实时视频流中的当前视频帧。其中,可通过双目摄像机,来获取实时视频流。因此,当前视频帧包括左目视频帧和右目视频帧。In the embodiment of the present disclosure, a real-time video stream is acquired first, and a current video frame in the real-time video stream is extracted. Among them, the real-time video stream can be obtained through the binocular camera. Therefore, the current video frame includes a left-eye video frame and a right-eye video frame.
其中,如图2所示,实时检测当前视频帧中运动目标的三维信息及地面的三维信息的过程为:Among them, as shown in Figure 2, the process of real-time detection of the 3D information of the moving target in the current video frame and the 3D information of the ground is as follows:
首先,将左目视频帧和右目视频帧输入目标检测模型,得到所述运动目标的特征及位置信息。其中,目标检测模型为基于运动目标的训练样本对卷积神经网络预先训练得到的。本公开实施例中,对于运动目标较小且背景复杂的场景,可在目标检测模型中加入特征金字塔网络,来获取浅层边缘信息及深层语义信息,使得目标检测模型在对运动目标进行检测时,提取的运动目标的特征融合了浅层边缘信息及深层语义信息。例如,对于雪橇和雪车,其目标较小,背景复杂,通过加入特征金字塔网络,使得对运动目标的检测更加准确。根据所述运动目标的特征及位置信息对左目视频帧和右目视频帧进行立体匹配,得到立体匹配后的深度图,如图3所示。该立体匹配的过程是在左右相机所获取的图像之间建立同一个像素点的对应关系,得到深度图。First, input the left-eye video frame and right-eye video frame into the object detection model to obtain the feature and position information of the moving object. Among them, the target detection model is obtained by pre-training the convolutional neural network based on the training samples of the moving target. In the embodiments of the present disclosure, for scenes with small moving objects and complex backgrounds, a feature pyramid network can be added to the object detection model to obtain shallow edge information and deep semantic information, so that when the object detection model detects moving objects , the features of the extracted moving target are combined with shallow edge information and deep semantic information. For example, for sleds and snowmobiles, the targets are small and the background is complex. By adding a feature pyramid network, the detection of moving targets is more accurate. Stereo matching is performed on the left-eye video frame and the right-eye video frame according to the characteristics and position information of the moving object, and a depth map after stereo matching is obtained, as shown in FIG. 3 . The process of stereo matching is to establish the corresponding relationship of the same pixel between the images acquired by the left and right cameras, and obtain the depth map.
然后,在得到深度图后,根据所述运动目标的特征及位置信息,确定所述运动目标的二维框架。例如在一些实施方式中,对左目视频帧和右目视频帧进行网格化回归,从而得到左目视频帧和右目视频帧中运动目标的二维框架。Then, after the depth map is obtained, the two-dimensional frame of the moving object is determined according to the feature and position information of the moving object. For example, in some implementations, grid regression is performed on the left-eye video frame and the right-eye video frame, so as to obtain the two-dimensional frame of the moving object in the left-eye video frame and the right-eye video frame.
最后,根据所述运动目标的二维框架及预设约束条件,得到所述运动目标的三维位置信息。该运动目标的三维位置信息包括所述运动目标的中心点位置坐标及所述运动目标的运动方向与相机光轴的夹角。其中,结合双目摄像机方位的拍摄视角信息以及运动目标的二维框架中的关键坐标信息,通过预设约束条件,得到运动目标的三维位置信息。该运动目标的三维位置信息可通过运动目标的三维框架表征,三维框架表征为:S=[x,y,z,λ]。如图4所示,示出了从二维框架映射到三维框架的映射过程,包含了运动目标的二维框架中关键坐标信息到三维框架的映射过程示例。例如在一些实施方式中,分别从左目视频帧和右目视频帧中运动目标的二维框架中提取7个关键点坐标信息z=u l,v t,u r,v b,u' l,u' r,u p。其中,u l表示左目视频帧中运动目标的二维框架的左边坐标,v t表示左目视频帧中运动目标的二维框架的顶边坐标,v b表示左目视频帧中运动目标的二维框架的右边坐标,v b表示左目视频帧中运动目标的二维框架的底边坐标,u' l表示右目视频帧中运动目标的二维框架的左边坐标,u' r表示右目视频帧中运动目标的二维框架的右边坐标,u p表示三维框架中xz底面中四个顶点中一点的坐标。其中,预设约束条件通过运动目标的二维框架到运动目标的三维框架的约束方程表示,可以表示为: Finally, the three-dimensional position information of the moving object is obtained according to the two-dimensional frame of the moving object and preset constraint conditions. The three-dimensional position information of the moving object includes the position coordinates of the center point of the moving object and the angle between the moving direction of the moving object and the optical axis of the camera. Among them, the three-dimensional position information of the moving object is obtained by combining the shooting angle information of the binocular camera orientation and the key coordinate information in the two-dimensional frame of the moving object through preset constraint conditions. The three-dimensional position information of the moving object can be represented by a three-dimensional frame of the moving object, and the three-dimensional frame is represented as: S=[x, y, z, λ]. As shown in FIG. 4 , it shows a mapping process from a two-dimensional frame to a three-dimensional frame, including an example of a mapping process from key coordinate information in a two-dimensional frame of a moving object to a three-dimensional frame. For example, in some implementations, seven key point coordinate information z=u l , v t , u r , v b , u' l , u are extracted from the two-dimensional frame of the moving object in the left-eye video frame and the right-eye video frame respectively ' r , up . Among them, u l represents the left coordinates of the two-dimensional frame of the moving object in the left-eye video frame, v t represents the top edge coordinates of the two-dimensional frame of the moving object in the left-eye video frame, and v b represents the two-dimensional frame of the moving object in the left-eye video frame v b represents the bottom coordinates of the two-dimensional frame of the moving target in the left-eye video frame, u' l represents the left coordinate of the two-dimensional frame of the moving target in the right-eye video frame, and u' r represents the moving target in the right-eye video frame The right coordinates of the two-dimensional frame of , u p represents the coordinates of one of the four vertices in the bottom surface of xz in the three-dimensional frame. Among them, the preset constraints are expressed by the constraint equation from the two-dimensional frame of the moving target to the three-dimensional frame of the moving target, which can be expressed as:
Figure PCTCN2022124578-appb-000001
Figure PCTCN2022124578-appb-000001
Figure PCTCN2022124578-appb-000002
Figure PCTCN2022124578-appb-000002
Figure PCTCN2022124578-appb-000003
Figure PCTCN2022124578-appb-000003
Figure PCTCN2022124578-appb-000004
Figure PCTCN2022124578-appb-000004
Figure PCTCN2022124578-appb-000005
Figure PCTCN2022124578-appb-000005
Figure PCTCN2022124578-appb-000006
Figure PCTCN2022124578-appb-000006
Figure PCTCN2022124578-appb-000007
Figure PCTCN2022124578-appb-000007
其中,b为双目摄像头两目光轴之间的举例;(x,y,z)为运动目标的三维框架的立方体中 间点坐标,也即,运动目标的中心点位置坐标;(l,w,h)为运动目标的三维框架的长宽高;λ表示运动目标的运动方向与相机光轴(双目摄像机的光轴)的夹角;β表示运动目标的三维框架的中点和相机中心的连线与相机光轴线的方位角;由左右目图像经特征提取和特征检测后的二维框架关键坐标点信息代入上述约束条件解得该运动目标的三维位置信息。如图5所示,二维框架的视角信息,其中运动目标的运动方向与相机光轴线的方位角为λ,运动目标的三维框架的中点和相机中心的连线与相机光轴线的方位角是β。Among them, b is an example between the two eye axes of the binocular camera; (x, y, z) is the coordinates of the middle point of the cube of the three-dimensional frame of the moving target, that is, the coordinates of the center point of the moving target; (l, w, h) is the length, width and height of the three-dimensional frame of the moving target; λ represents the angle between the direction of motion of the moving target and the optical axis of the camera (the optical axis of the binocular camera); β represents the midpoint of the three-dimensional frame of the moving target and the center of the camera The azimuth angle between the connection line and the optical axis of the camera; the key coordinate point information of the two-dimensional frame of the left and right eye images after feature extraction and feature detection is substituted into the above constraints to solve the three-dimensional position information of the moving target. As shown in Figure 5, the viewing angle information of the two-dimensional frame, in which the azimuth angle between the moving direction of the moving object and the optical axis of the camera is λ, and the azimuth angle between the midpoint of the three-dimensional frame of the moving object and the center of the camera and the optical axis of the camera is beta.
其中,地面的三维信息与上述运动目标的三维信息的分析计算过程一致,此处不再赘述。Wherein, the analysis and calculation process of the three-dimensional information of the ground is consistent with the above-mentioned three-dimensional information of the moving target, and will not be repeated here.
步骤1102:根据所述运动目标的三维信息及所述地面的三维信息,确定所述运动目标相对于所述地面的运动倾角。Step 1102: According to the three-dimensional information of the moving object and the three-dimensional information of the ground, determine the inclination angle of the moving object relative to the ground.
其中,根据运动目标的三维信息形成参考系为运动目标的第一法向量;根据所述地面的三维信息形成垂直于当前视频帧中地面的第二法向量;根据所述第一法向量及所述第二法向量,计算所述运动目标相对于所述地面的运动倾角。在一些实施方式中,运动目标的第一法向量的计算过程为:Wherein, according to the three-dimensional information of the moving object, the reference frame is formed as the first normal vector of the moving object; according to the three-dimensional information of the ground, a second normal vector perpendicular to the ground in the current video frame is formed; according to the first normal vector and the The second normal vector is used to calculate the inclination angle of the moving target relative to the ground. In some implementations, the calculation process of the first normal vector of the moving target is:
基于运动目标的三维框架的xz底面的坐标信息生成基于该xz面的第一法向量,作为参考系为运动目标的第一法向量。Based on the coordinate information of the xz bottom surface of the three-dimensional frame of the moving object, a first normal vector based on the xz surface is generated as the first normal vector of the moving object as a reference system.
Figure PCTCN2022124578-appb-000008
Figure PCTCN2022124578-appb-000008
其中,运动目标的三维框架的xz底面的中任意三点的坐标A(x 1,y 1,z 1),B(x 2,y 2,z 2),C(x 3,y 3,z 3),p 1p 2,p 1p 3为基于该任意三点的两个向量,i,j,k为单位向量,
Figure PCTCN2022124578-appb-000009
为该xz底面的第一法向量。
Among them, coordinates A(x 1 ,y 1 ,z 1 ), B(x 2 ,y 2 ,z 2 ), C(x 3 ,y 3 ,z 3 ), p 1 p 2 , p 1 p 3 are two vectors based on the arbitrary three points, i, j, k are unit vectors,
Figure PCTCN2022124578-appb-000009
is the first normal vector of the xz base.
本公开实施例中,双目摄像机结合现实场景,生成垂直于当前视频帧中地面的第二法向量。该垂直于当前视频帧中地面的第二法向量建立过程中,选择三个点为地面,生成垂直于当前视频帧中地面的第二法向量,该建立过程类似于第一法向量的计算过程,此处不再赘述。该第二法向量的方向以当前视频帧中地面为基准,不受赛道平面和雪车运动的影响。In the embodiment of the present disclosure, the binocular camera is combined with a real scene to generate a second normal vector perpendicular to the ground in the current video frame. In the establishment process of the second normal vector perpendicular to the ground in the current video frame, three points are selected as the ground to generate the second normal vector perpendicular to the ground in the current video frame. The establishment process is similar to the calculation process of the first normal vector , which will not be repeated here. The direction of the second normal vector is based on the ground in the current video frame, and is not affected by the track plane and the movement of the snowmobile.
其中,在得到第一法向量及第二法向量后,通过计算第一法向量和第二法向量之间的夹角生成运动目标相对于地面的运动倾角。Wherein, after the first normal vector and the second normal vector are obtained, the angle between the first normal vector and the second normal vector is calculated to generate a motion inclination angle of the moving target relative to the ground.
步骤120:根据所述运动倾角确定所述运动目标是否处于大倾角转弯。Step 120: Determine whether the moving target is turning with a steep angle according to the moving inclination.
其中,确定运动倾角是否大于等于倾角阈值,当大于等于倾角阈值时,确定运动目标处于大倾角转弯状态;当运动倾角小于倾角阈值时,确定运动目标不处于大倾角状态。其中,本公开实施例并不限定倾角阈值的具体数值,本领域技术人员可依据具体场景进行相应设置。Wherein, it is determined whether the motion inclination is greater than or equal to the inclination threshold, and when the inclination threshold is greater than or equal to the inclination threshold, it is determined that the moving target is in a high-inclination turning state; when the motion inclination is smaller than the inclination threshold, it is determined that the moving target is not in a high-inclination state. Wherein, the embodiment of the present disclosure does not limit the specific value of the inclination threshold, and those skilled in the art can set it according to specific scenarios.
步骤130:当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中。Step 130: When the moving target is turning at a steep angle, place the advertisement on the track on the ground in the current video frame.
其中,当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中,例如可包括以下步骤:Wherein, when the moving target is turning at a steep angle, placing the advertisement on the track on the ground in the current video frame may include, for example, the following steps:
步骤1301:当根据所述运动倾角确定所述运动目标在大倾角转弯时,识别所述赛道在所述当前视频帧中的面积占比。当所述运动目标在大倾角转弯时,识别所述当前视频帧中赛道的位置信息,根据所述位置信息,确定赛道的面积在当前视频帧中的面积占比。在一些实施方式中,可通过图像分割算法识别当前视频帧当中赛道的位置信息。其中,识别当前视频帧中赛道的位置信息时,确定是否在当前视频帧中检测到赛道的位置信息,当检测到赛道时,计算赛道的面积在当前视频帧中的面积占比。当未检测到赛道时,停止所述广告的投放的操作。当检测到赛道时,根据赛道的位置信息,确定赛道的面积在当前视频帧中的面积占比。其中,赛道的面积在当前视频帧中的面积占比,可以通过赛道面积与画面整体面积的比值确定,该比值计算过程基于像素数确定。Step 1301: Identify the area ratio of the track in the current video frame when it is determined according to the motion inclination that the moving object is turning at a large inclination. When the moving object turns at a large inclination angle, identify the position information of the track in the current video frame, and determine the area ratio of the area of the track in the current video frame according to the position information. In some implementations, the location information of the track in the current video frame can be identified through an image segmentation algorithm. Among them, when identifying the position information of the track in the current video frame, determine whether the position information of the track is detected in the current video frame, and when the track is detected, calculate the area ratio of the area of the track in the current video frame . When the race track is not detected, the operation of putting the advertisement is stopped. When the track is detected, the area ratio of the track area in the current video frame is determined according to the position information of the track. Wherein, the area ratio of the area of the track in the current video frame can be determined by the ratio of the area of the track to the overall area of the picture, and the calculation process of the ratio is determined based on the number of pixels.
步骤1302:根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上 的所述赛道中。Step 1302: According to the motion inclination and the area ratio, place the advertisement on the track on the ground in the current video frame.
其中,当根据运动倾角确定所述运动目标在大倾角转弯,且所述面积占比大于等于预设比例阈值时,确定所述当前视频帧中赛道的大小和位置;将广告按照赛道的大小和位置,插入当前视频帧中地面上的所述赛道中。其中,本公开实施例并不限定预设比例阈值的具体数值,本领域技术人员可依据具体场景进行相应设置,例如对于滑雪比赛中,该预设比例阈值可以是0.4。Wherein, when it is determined according to the motion inclination angle that the moving target is turning at a large inclination angle, and the area ratio is greater than or equal to a preset ratio threshold, determine the size and position of the track in the current video frame; Size and position to insert into said track on the ground in the current video frame. Wherein, the embodiment of the present disclosure does not limit the specific value of the preset ratio threshold, and those skilled in the art can set correspondingly according to specific scenarios, for example, for skiing competition, the preset ratio threshold can be 0.4.
其中,在进行广告投放时,可根据运动目标的三维框架,将广告投放至赛道中除运动目标之外的赛道区域。Wherein, when advertising is placed, the advertisement can be placed on the track area of the track except the moving target according to the three-dimensional frame of the moving target.
本公开实施例中,当根据所述运动倾角确定所述运动目标不处于大倾角转弯,或当未在所述当前视频帧中检测到赛道,或当所述面积占比小于比例阈值时,停止所述广告的投放。In the embodiment of the present disclosure, when it is determined according to the motion inclination that the moving target is not turning at a steep angle, or when a track is not detected in the current video frame, or when the area ratio is smaller than a ratio threshold, Stop serving of said ad.
本公开实施例通过确定当前视频帧中运动目标的相对于地面的运动倾角,根据所述运动倾角确定所述运动目标是否处于大倾角转弯,当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中,能够对广告投放进行准确定位,提高了用户体验。In the embodiment of the present disclosure, by determining the inclination angle of the moving object relative to the ground in the current video frame, it is determined according to the inclination angle whether the moving object is turning at a steep angle, and when the moving object is turning at a steep angle, the advertisement is placed In the track on the ground in the current video frame, the advertisement placement can be accurately positioned, and the user experience is improved.
在一种实现方式中,通过实时提取当前视频帧中运动目标的三维信息及地面的三维信息,根据运动目标的三维信息及地面的三维信息,确定运动目标相对于地面的运动倾角,当根据运动倾角确定运动目标在大倾角转弯时,识别赛道在当前视频帧中的面积占比,根据运动倾角及面积占比,将广告投放至当前视频帧中地面上的赛道中,能够使得能够对雪橇和雪车比赛,基于雪橇或雪车的实时倾角和赛道占比信息确定广告添加位置,以及广告开始投射和消失时机,从而实现了精准定位广告投放位置的效果。In one implementation, by extracting the 3D information of the moving target and the 3D information of the ground in the current video frame in real time, the inclination angle of the moving target relative to the ground is determined according to the 3D information of the moving target and the 3D information of the ground. Determine the inclination angle When the moving target turns at a large inclination angle, identify the area ratio of the track in the current video frame, and place the advertisement on the track on the ground in the current video frame according to the motion inclination angle and area ratio, which can make it possible to track the sled With the bobsleigh race, based on the real-time inclination of the sledge or bobsleigh and the proportion of the track, the location of the advertisement is determined, as well as the timing when the advertisement starts to be projected and disappears, thus achieving the effect of precisely positioning the placement of the advertisement.
图6为本公开实施例提供的广告投放装置的结构示意图。如图6所示,该装置300包括:FIG. 6 is a schematic structural diagram of an advertisement delivery device provided by an embodiment of the present disclosure. As shown in Figure 6, the device 300 includes:
第一确定模块,被配置为确定当前视频帧中运动目标的相对于地面的运动倾角;The first determination module is configured to determine the inclination angle of motion of the moving target relative to the ground in the current video frame;
第二确定模块,被配置为根据所述运动倾角确定所述运动目标是否处于大倾角转弯;The second determination module is configured to determine whether the moving target is turning with a large inclination according to the movement inclination;
投放模块,被配置为当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中。The placement module is configured to place the advertisement on the track on the ground in the current video frame when the moving target is turning at a steep angle.
在一些实施方式中,所述确定当前视频帧中运动目标的相对于地面的运动倾角,包括:实时提取当前视频帧中运动目标的三维信息及地面的三维信息;根据所述运动目标的三维信息及所述地面的三维信息,确定所述运动目标相对于所述地面的运动倾角。In some embodiments, the determining the inclination angle of the moving object in the current video frame relative to the ground includes: extracting the 3D information of the moving object in the current video frame and the 3D information of the ground in real time; according to the 3D information of the moving object and the three-dimensional information of the ground, and determine the motion inclination angle of the moving target relative to the ground.
在一些实施方式中,所述当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:当所述运动目标处于大倾角转弯时,识别所述赛道在所述当前视频帧中的面积占比;根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中。In some implementations, when the moving object is turning at a steep angle, placing the advertisement on the track on the ground in the current video frame includes: when the moving object is turning at a steep angle, Identifying the area ratio of the track in the current video frame; placing advertisements on the track on the ground in the current video frame according to the motion inclination and the area ratio.
在一些实施方式中,所述当前视频帧包括左目视频帧和右目视频帧;所述实时提取当前视频帧中运动目标的三维信息及地面的三维信息,包括:将所述左目视频帧和所述右目视频帧输入目标检测模型,得到所述运动目标的特征及位置信息;根据所述运动目标的特征及位置信息,确定所述运动目标的二维框架;根据所述二维框架及预设约束条件,得到所述运动目标的三维位置信息;所述三维位置信息包括所述运动目标的中心点位置坐标及所述运动目标的运动方向与相机光轴的夹角。In some implementations, the current video frame includes a left-eye video frame and a right-eye video frame; the real-time extraction of the three-dimensional information of the moving object and the three-dimensional information of the ground in the current video frame includes: combining the left-eye video frame and the Input the right-eye video frame into the target detection model to obtain the characteristics and position information of the moving target; determine the two-dimensional frame of the moving target according to the characteristics and position information of the moving target; according to the two-dimensional frame and preset constraints The condition is to obtain the three-dimensional position information of the moving object; the three-dimensional position information includes the position coordinates of the center point of the moving object and the angle between the moving direction of the moving object and the optical axis of the camera.
在一些实施方式中,所述根据所述运动目标的三维位置信息及所述地面的三维位置信息,确定所述运动目标相对于所述地面的运动倾角,包括:根据所述运动目标的三维信息形成参考系为运动目标的第一法向量;根据所述地面的三维信息形成垂直于当前视频帧中地面的第二法向量;根据所述第一法向量及所述第二法向量,计算所述运动目标相对于所述地面的运动倾角。In some embodiments, the determining the inclination of the moving object relative to the ground according to the three-dimensional position information of the moving object and the three-dimensional position information of the ground includes: according to the three-dimensional information of the moving object Forming the first normal vector whose reference frame is a moving target; forming a second normal vector perpendicular to the ground in the current video frame according to the three-dimensional information of the ground; calculating the first normal vector and the second normal vector according to the first normal vector The inclination angle of the moving target relative to the ground.
在一些实施方式中,所述当确定所述运动目标处于大倾角转弯时,识别所述赛道在所述当前视频帧中的面积占比,包括:当所述运动目标在大倾角转弯时,识别所述当前视频帧中赛道的位置信息;根据所述位置信息,确定所述赛道的面积在所述当前视频帧中的面积占比。In some implementations, when it is determined that the moving object is turning at a steep angle, identifying the area ratio of the track in the current video frame includes: when the moving object is turning at a steep angle, Identify the position information of the track in the current video frame; determine the area ratio of the track in the current video frame according to the position information.
在一些实施方式中,所述根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:当根据所述运动倾角确定所述运动目标在大倾角转弯, 且所述面积占比大于等于预设比例阈值时,确定所述当前视频帧中所述赛道的大小和位置;将所述广告按照所述赛道的大小和位置,插入所述当前视频帧中地面上的所述赛道中。In some implementations, the placing advertisements on the track on the ground in the current video frame according to the motion inclination and the area ratio includes: determining the motion according to the motion inclination When the target is turning at a large inclination angle, and the area ratio is greater than or equal to a preset ratio threshold, determine the size and position of the track in the current video frame; place the advertisement according to the size and position of the track, Insert into the track on the ground in the current video frame.
在一些实施方式中,所述确定当前视频帧中运动目标的相对于地面的运动倾角之后,所述方法还包括:当根据所述运动倾角确定所述运动目标不处于大倾角转弯,或当未在所述当前视频帧中检测到赛道,或当所述面积占比小于比例阈值时,停止所述广告的投放。In some implementations, after the determination of the motion inclination of the moving object relative to the ground in the current video frame, the method further includes: when it is determined according to the motion inclination that the moving object is not turning at a steep angle, or when not When a race track is detected in the current video frame, or when the area ratio is smaller than a ratio threshold, the advertisement delivery is stopped.
在一些实施方式中,所述根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:将所述广告投放至所述赛道中除所述运动目标之外的赛道区域。In some implementations, placing the advertisement on the track on the ground in the current video frame according to the motion inclination and the area ratio includes: placing the advertisement on the track Areas of the track other than the stated sporting objectives.
本公开实施例的广告投放装置的工作过程与上述广告投放方法实施例的实施步骤大体一致,此处不再赘述。The working process of the advertisement delivery device in the embodiment of the present disclosure is substantially the same as the implementation steps of the above-mentioned advertisement delivery method embodiment, and will not be repeated here.
本公开实施例通过确定当前视频帧中运动目标的相对于地面的运动倾角,根据所述运动倾角确定所述运动目标是否处于大倾角转弯,当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中,能够对广告投放进行准确定位,提高了用户体验。In the embodiment of the present disclosure, by determining the inclination angle of the moving object relative to the ground in the current video frame, it is determined according to the inclination angle whether the moving object is turning at a steep angle, and when the moving object is turning at a steep angle, the advertisement is placed In the track on the ground in the current video frame, the advertisement placement can be accurately positioned, and the user experience is improved.
在一种实现方式中,通过实时提取当前视频帧中运动目标的三维信息及地面的三维信息,根据运动目标的三维信息及地面的三维信息,确定运动目标相对于地面的运动倾角,当根据运动倾角确定运动目标在大倾角转弯时,识别赛道在当前视频帧中的面积占比,根据运动倾角及面积占比,将广告投放至当前视频帧中地面上的赛道中,能够使得能够对雪橇和雪车比赛,基于雪橇或雪车的实时倾角和赛道占比信息确定广告添加位置,以及广告开始投射和消失时机,提高了用户体验。In one implementation, by extracting the 3D information of the moving target and the 3D information of the ground in the current video frame in real time, the inclination angle of the moving target relative to the ground is determined according to the 3D information of the moving target and the 3D information of the ground. Determine the inclination angle When the moving target turns at a large inclination angle, identify the area ratio of the track in the current video frame, and place the advertisement on the track on the ground in the current video frame according to the motion inclination angle and area ratio, which can make it possible to track the sled With the bobsleigh race, based on the real-time inclination of the sledge or bobsleigh and the proportion of the track to determine where to add the ad, and when the ad starts to project and disappear, the user experience is improved.
图7为本公开实施例提供的计算设备的结构示意图,本公开具体实施例并不对该计算设备的具体实现做限定。FIG. 7 is a schematic structural diagram of a computing device provided by an embodiment of the present disclosure, and specific embodiments of the present disclosure do not limit the specific implementation of the computing device.
如图7所示,该计算设备可以包括:处理器(processor)402、通信接口(Communications Interface)404、存储器(memory)406、以及通信总线408。As shown in FIG. 7 , the computing device may include: a processor (processor) 402, a communication interface (Communications Interface) 404, a memory (memory) 406, and a communication bus 408.
其中:处理器402、通信接口404、以及存储器406通过通信总线408完成相互间的通信。通信接口404,用于与其它设备比如客户端或其它服务器等的网元通信。处理器402,用于执行程序410,具体可以执行上述用于广告投放方法实施例中的相关步骤。Wherein: the processor 402 , the communication interface 404 , and the memory 406 communicate with each other through the communication bus 408 . The communication interface 404 is used to communicate with network elements of other devices such as clients or other servers. The processor 402 is configured to execute the program 410, and specifically, may execute the relevant steps in the above-mentioned embodiment of the advertisement delivery method.
具体地,程序410可以包括程序代码,该程序代码包括计算机可执行指令。Specifically, the program 410 may include program codes including computer-executable instructions.
处理器402可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本公开实施例的一个或多个集成电路。计算设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 402 may be a central processing unit CPU, or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present disclosure. The one or more processors included in the computing device may be of the same type, such as one or more CPUs, or may be different types of processors, such as one or more CPUs and one or more ASICs.
存储器406,用于存放程序410。存储器406可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 406 is used to store the program 410 . The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
程序410具体可以被处理器402调用使计算设备执行以下操作:Specifically, the program 410 may be invoked by the processor 402 to cause the computing device to perform the following operations:
确定当前视频帧中运动目标的相对于地面的运动倾角;Determine the motion inclination of the moving target relative to the ground in the current video frame;
根据所述运动倾角确定所述运动目标是否处于大倾角转弯;determining whether the moving target is turning at a steep angle according to the movement inclination;
当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中。When the moving target is turning at a steep angle, the advertisement is placed on the track on the ground in the current video frame.
在一些实施方式中,所述确定当前视频帧中运动目标的相对于地面的运动倾角,包括:实时提取当前视频帧中运动目标的三维信息及地面的三维信息;根据所述运动目标的三维信息及所述地面的三维信息,确定所述运动目标相对于所述地面的运动倾角。In some embodiments, the determining the inclination angle of the moving object in the current video frame relative to the ground includes: extracting the 3D information of the moving object in the current video frame and the 3D information of the ground in real time; according to the 3D information of the moving object and the three-dimensional information of the ground, and determine the motion inclination angle of the moving target relative to the ground.
在一些实施方式中,所述当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:当所述运动目标处于大倾角转弯时,识别所述赛道在所述当前视频帧中的面积占比;根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中。In some implementations, when the moving object is turning at a steep angle, placing the advertisement on the track on the ground in the current video frame includes: when the moving object is turning at a steep angle, Identifying the area ratio of the track in the current video frame; placing advertisements on the track on the ground in the current video frame according to the motion inclination and the area ratio.
在一些实施方式中,所述当前视频帧包括左目视频帧和右目视频帧;所述实时提取当前视频帧中运动目标的三维信息及地面的三维信息,包括:将所述左目视频帧和所述右目视频帧输入目标检测模型,得到所述运动目标的特征及位置信息;根据所述运动目标的特征及位 置信息,确定所述运动目标的二维框架;根据所述二维框架及预设约束条件,得到所述运动目标的三维位置信息;所述三维位置信息包括所述运动目标的中心点位置坐标及所述运动目标的运动方向与相机光轴的夹角。In some implementations, the current video frame includes a left-eye video frame and a right-eye video frame; the real-time extraction of the three-dimensional information of the moving object and the three-dimensional information of the ground in the current video frame includes: combining the left-eye video frame and the Input the right-eye video frame into the target detection model to obtain the characteristics and position information of the moving target; determine the two-dimensional frame of the moving target according to the characteristics and position information of the moving target; according to the two-dimensional frame and preset constraints The condition is to obtain the three-dimensional position information of the moving object; the three-dimensional position information includes the position coordinates of the center point of the moving object and the angle between the moving direction of the moving object and the optical axis of the camera.
在一些实施方式中,所述根据所述运动目标的三维位置信息及所述地面的三维位置信息,确定所述运动目标相对于所述地面的运动倾角,包括:根据所述运动目标的三维信息形成参考系为运动目标的第一法向量;根据所述地面的三维信息形成垂直于当前视频帧中地面的第二法向量;根据所述第一法向量及所述第二法向量,计算所述运动目标相对于所述地面的运动倾角。In some embodiments, the determining the inclination of the moving object relative to the ground according to the three-dimensional position information of the moving object and the three-dimensional position information of the ground includes: according to the three-dimensional information of the moving object Forming the first normal vector whose reference frame is a moving target; forming a second normal vector perpendicular to the ground in the current video frame according to the three-dimensional information of the ground; calculating the first normal vector and the second normal vector according to the first normal vector The inclination angle of the moving target relative to the ground.
在一些实施方式中,所述当确定所述运动目标处于大倾角转弯时,识别所述赛道在所述当前视频帧中的面积占比,包括:当所述运动目标在大倾角转弯时,识别所述当前视频帧中赛道的位置信息;根据所述位置信息,确定所述赛道的面积在所述当前视频帧中的面积占比。In some implementations, when it is determined that the moving object is turning at a steep angle, identifying the area ratio of the track in the current video frame includes: when the moving object is turning at a steep angle, Identify the position information of the track in the current video frame; determine the area ratio of the track in the current video frame according to the position information.
在一些实施方式中,所述根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:当根据所述运动倾角确定所述运动目标在大倾角转弯,且所述面积占比大于等于预设比例阈值时,确定所述当前视频帧中所述赛道的大小和位置;将所述广告按照所述赛道的大小和位置,插入所述当前视频帧中地面上的所述赛道中。In some implementations, the placing advertisements on the track on the ground in the current video frame according to the motion inclination and the area ratio includes: determining the motion according to the motion inclination When the target is turning at a large inclination angle, and the area ratio is greater than or equal to a preset ratio threshold, determine the size and position of the track in the current video frame; place the advertisement according to the size and position of the track, Insert into the track on the ground in the current video frame.
在一些实施方式中,所述确定当前视频帧中运动目标的相对于地面的运动倾角之后,所述方法还包括:当根据所述运动倾角确定所述运动目标不处于大倾角转弯,或当未在所述当前视频帧中检测到赛道,或当所述面积占比小于比例阈值时,停止所述广告的投放。In some implementations, after the determination of the motion inclination of the moving object relative to the ground in the current video frame, the method further includes: when it is determined according to the motion inclination that the moving object is not turning at a steep angle, or when not When a race track is detected in the current video frame, or when the area ratio is smaller than a ratio threshold, the advertisement delivery is stopped.
在一些实施方式中,所述根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:将所述广告投放至所述赛道中除所述运动目标之外的赛道区域。In some implementations, placing the advertisement on the track on the ground in the current video frame according to the motion inclination and the area ratio includes: placing the advertisement on the track Areas of the track other than the stated sporting objectives.
本公开实施例的计算设备的具体工作过程与上述广告投放方法实施例的具体实施步骤大体一致,此处不再赘述。The specific working process of the computing device in the embodiment of the present disclosure is substantially the same as the specific implementation steps in the above embodiment of the advertisement delivery method, and will not be repeated here.
本公开实施例通过确定当前视频帧中运动目标的相对于地面的运动倾角,根据所述运动倾角确定所述运动目标是否处于大倾角转弯,当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中,能够对广告投放进行准确定位,提高了用户体验。In the embodiment of the present disclosure, by determining the inclination angle of the moving object relative to the ground in the current video frame, it is determined according to the inclination angle whether the moving object is turning at a steep angle, and when the moving object is turning at a steep angle, the advertisement is placed In the track on the ground in the current video frame, the advertisement placement can be accurately positioned, and the user experience is improved.
在一种实现方式中,通过实时提取当前视频帧中运动目标的三维信息及地面的三维信息,根据运动目标的三维信息及地面的三维信息,确定运动目标相对于地面的运动倾角,当根据运动倾角确定运动目标在大倾角转弯时,识别赛道在当前视频帧中的面积占比,根据运动倾角及面积占比,将广告投放至当前视频帧中地面上的赛道中,能够使得能够对雪橇和雪车比赛,基于雪橇或雪车的实时倾角和赛道占比信息确定广告添加位置,以及广告开始投射和消失时机。In one implementation, by extracting the 3D information of the moving target and the 3D information of the ground in the current video frame in real time, the inclination angle of the moving target relative to the ground is determined according to the 3D information of the moving target and the 3D information of the ground. Determine the inclination angle When the moving target turns at a large inclination angle, identify the area ratio of the track in the current video frame, and place the advertisement on the track on the ground in the current video frame according to the motion inclination angle and area ratio, which can make it possible to control the sled For a race with a bobsled, determine where to add the ad based on the real-time inclination and track ratio information of the sled or bobsleigh, as well as when the ad starts to project and disappears.
本公开实施例提供了一种计算机可读存储介质,所述存储介质存储有至少一可执行指令,该可执行指令在计算设备上运行时,使得所述计算设备执行上述任意方法实施例中的广告投放方法。An embodiment of the present disclosure provides a computer-readable storage medium, the storage medium stores at least one executable instruction, and when the executable instruction is run on a computing device, the computing device executes the method described in any of the above method embodiments. Ad delivery method.
可执行指令具体可以用于使得计算设备执行以下操作:Specifically, the executable instructions can be used to cause the computing device to perform the following operations:
确定当前视频帧中运动目标的相对于地面的运动倾角;Determine the motion inclination of the moving target relative to the ground in the current video frame;
根据所述运动倾角确定所述运动目标是否处于大倾角转弯;determining whether the moving target is turning at a steep angle according to the movement inclination;
当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中。When the moving target is turning at a steep angle, the advertisement is placed on the track on the ground in the current video frame.
在一些实施方式中,所述确定当前视频帧中运动目标的相对于地面的运动倾角,包括:实时提取当前视频帧中运动目标的三维信息及地面的三维信息;根据所述运动目标的三维信息及所述地面的三维信息,确定所述运动目标相对于所述地面的运动倾角。In some embodiments, the determining the inclination angle of the moving object in the current video frame relative to the ground includes: extracting the 3D information of the moving object in the current video frame and the 3D information of the ground in real time; according to the 3D information of the moving object and the three-dimensional information of the ground, and determine the motion inclination angle of the moving target relative to the ground.
在一些实施方式中,所述当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:当所述运动目标处于大倾角转弯时,识别所述赛道在所述当前视频帧中的面积占比;根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中。In some implementations, when the moving object is turning at a steep angle, placing the advertisement on the track on the ground in the current video frame includes: when the moving object is turning at a steep angle, Identifying the area ratio of the track in the current video frame; placing advertisements on the track on the ground in the current video frame according to the motion inclination and the area ratio.
在一些实施方式中,所述当前视频帧包括左目视频帧和右目视频帧;所述实时提取当前 视频帧中运动目标的三维信息及地面的三维信息,包括:将所述左目视频帧和所述右目视频帧输入目标检测模型,得到所述运动目标的特征及位置信息;根据所述运动目标的特征及位置信息,确定所述运动目标的二维框架;根据所述二维框架及预设约束条件,得到所述运动目标的三维位置信息;所述三维位置信息包括所述运动目标的中心点位置坐标及所述运动目标的运动方向与相机光轴的夹角。In some implementations, the current video frame includes a left-eye video frame and a right-eye video frame; the real-time extraction of the three-dimensional information of the moving object and the three-dimensional information of the ground in the current video frame includes: combining the left-eye video frame and the Input the right-eye video frame into the target detection model to obtain the characteristics and position information of the moving target; determine the two-dimensional frame of the moving target according to the characteristics and position information of the moving target; according to the two-dimensional frame and preset constraints The condition is to obtain the three-dimensional position information of the moving object; the three-dimensional position information includes the position coordinates of the center point of the moving object and the angle between the moving direction of the moving object and the optical axis of the camera.
在一些实施方式中,所述根据所述运动目标的三维位置信息及所述地面的三维位置信息,确定所述运动目标相对于所述地面的运动倾角,包括:根据所述运动目标的三维信息形成参考系为运动目标的第一法向量;根据所述地面的三维信息形成垂直于当前视频帧中地面的第二法向量;根据所述第一法向量及所述第二法向量,计算所述运动目标相对于所述地面的运动倾角。In some embodiments, the determining the inclination angle of the moving object relative to the ground according to the three-dimensional position information of the moving object and the three-dimensional position information of the ground includes: according to the three-dimensional information of the moving object Forming the first normal vector whose reference frame is the moving target; forming the second normal vector perpendicular to the ground in the current video frame according to the three-dimensional information of the ground; calculating the first normal vector according to the first normal vector and the second normal vector The inclination angle of the moving target relative to the ground.
在一些实施方式中,所述当确定所述运动目标处于大倾角转弯时,识别所述赛道在所述当前视频帧中的面积占比,包括:当所述运动目标在大倾角转弯时,识别所述当前视频帧中赛道的位置信息;根据所述位置信息,确定所述赛道的面积在所述当前视频帧中的面积占比。In some implementations, when it is determined that the moving object is turning at a steep angle, identifying the area ratio of the track in the current video frame includes: when the moving object is turning at a steep angle, Identify the position information of the track in the current video frame; determine the area ratio of the track in the current video frame according to the position information.
在一些实施方式中,所述根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:当根据所述运动倾角确定所述运动目标在大倾角转弯,且所述面积占比大于等于预设比例阈值时,确定所述当前视频帧中所述赛道的大小和位置;将所述广告按照所述赛道的大小和位置,插入所述当前视频帧中地面上的所述赛道中。In some implementations, the placing advertisements on the track on the ground in the current video frame according to the motion inclination and the area ratio includes: determining the motion according to the motion inclination When the target is turning at a large inclination angle, and the area ratio is greater than or equal to a preset ratio threshold, determine the size and position of the track in the current video frame; place the advertisement according to the size and position of the track, Insert into the track on the ground in the current video frame.
在一些实施方式中,所述确定当前视频帧中运动目标的相对于地面的运动倾角之后,所述方法还包括:当根据所述运动倾角确定所述运动目标不处于大倾角转弯,或当未在所述当前视频帧中检测到赛道,或当所述面积占比小于比例阈值时,停止所述广告的投放。In some implementations, after the determination of the motion inclination of the moving object relative to the ground in the current video frame, the method further includes: when it is determined according to the motion inclination that the moving object is not turning at a steep angle, or when not When a race track is detected in the current video frame, or when the area ratio is smaller than a ratio threshold, the advertisement delivery is stopped.
在一些实施方式中,所述根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:将所述广告投放至所述赛道中除所述运动目标之外的赛道区域。In some implementations, placing the advertisement on the track on the ground in the current video frame according to the motion inclination and the area ratio includes: placing the advertisement on the track Areas of the track other than the stated sporting objectives.
本公开实施例的计算机可读存储介质的可执行指令在计算设备上运行时具体工作过程与上述广告投放方法实施例的具体实施步骤大体一致,此处不再赘述。When the executable instructions of the computer-readable storage medium in the embodiment of the present disclosure are run on the computing device, the specific working process is roughly the same as the specific implementation steps of the above-mentioned advertisement delivery method embodiment, and will not be repeated here.
本公开实施例通过确定当前视频帧中运动目标的相对于地面的运动倾角,根据所述运动倾角确定所述运动目标是否处于大倾角转弯,当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中,能够对广告投放进行准确定位,提高了用户体验。In the embodiment of the present disclosure, by determining the inclination angle of the moving object relative to the ground in the current video frame, it is determined according to the inclination angle whether the moving object is turning at a steep angle, and when the moving object is turning at a steep angle, the advertisement is placed In the track on the ground in the current video frame, the advertisement placement can be accurately positioned, and the user experience is improved.
在一种实现方式中,通过实时提取当前视频帧中运动目标的三维信息及地面的三维信息,根据运动目标的三维信息及地面的三维信息,确定运动目标相对于地面的运动倾角,当根据运动倾角确定运动目标在大倾角转弯时,识别赛道在当前视频帧中的面积占比,根据运动倾角及面积占比,将广告投放至当前视频帧中地面上的赛道中,能够使得能够对雪橇和雪车比赛,基于雪橇或雪车的实时倾角和赛道占比信息确定广告添加位置,以及广告开始投射和消失时机,从而实现了精准定位广告投放位置的效果。In one implementation, by extracting the 3D information of the moving target and the 3D information of the ground in the current video frame in real time, the inclination angle of the moving target relative to the ground is determined according to the 3D information of the moving target and the 3D information of the ground. Determine the inclination angle When the moving target turns at a large inclination angle, identify the area ratio of the track in the current video frame, and place the advertisement on the track on the ground in the current video frame according to the motion inclination angle and area ratio, which can make it possible to track the sled With the bobsleigh race, based on the real-time inclination of the sledge or bobsleigh and the proportion of the track, the location of the advertisement is determined, as well as the timing when the advertisement starts to be projected and disappears, thus achieving the effect of precisely positioning the placement of the advertisement.
本公开实施例提供一种广告投放装置,用于执行上述广告投放方法。An embodiment of the present disclosure provides an advertisement placement device, configured to implement the above advertisement placement method.
本公开实施例提供了一种计算机程序,所述计算机程序可被处理器调用使计算设备执行上述任意方法实施例中的广告投放方法。An embodiment of the present disclosure provides a computer program, and the computer program can be called by a processor to cause a computing device to execute the advertisement delivery method in any of the above method embodiments.
本公开实施例提供了一种计算机程序产品,计算机程序产品包括存储在计算机可读存储介质上的计算机程序,计算机程序包括程序指令,当程序指令在计算机上运行时,使得所述计算机执行上述任意方法实施例中的广告投放方法。An embodiment of the present disclosure provides a computer program product. The computer program product includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. The advertisement delivery method in the method embodiment.
在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本公开实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本公开的内容,并且上面对特定语言所做的描述是为了披露本公开的最佳实施方式。The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, embodiments of the present disclosure are not directed to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present disclosure described herein, and the above description of specific languages is for disclosing the best mode of the present disclosure.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技 术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多的特征。Similarly, it should be appreciated that in the above description of exemplary embodiments of the disclosure, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of embodiments of the disclosure are sometimes grouped together into a single implementation examples, figures, or descriptions thereof. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed disclosure requires more features than are expressly recited in each claim.
本领域技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments can be combined into one module or unit or component, and they can be divided into a plurality of sub-modules or sub-units or sub-components. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
应该注意的是上述实施例对本公开进行说明而不是对本公开进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above-mentioned embodiments illustrate rather than limit the disclosure, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The disclosure can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the execution order.

Claims (13)

  1. 一种广告投放方法,所述方法包括:A method for advertising, the method comprising:
    确定当前视频帧中运动目标的相对于地面的运动倾角;Determine the motion inclination of the moving target relative to the ground in the current video frame;
    根据所述运动倾角确定所述运动目标是否处于大倾角转弯;determining whether the moving target is turning at a steep angle according to the movement inclination;
    当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中。When the moving target is turning at a steep angle, the advertisement is placed on the track on the ground in the current video frame.
  2. 根据权利要求1所述的方法,其中,所述确定当前视频帧中运动目标的相对于地面的运动倾角,包括:The method according to claim 1, wherein said determining the inclination angle of motion of the moving target in the current video frame relative to the ground comprises:
    实时提取当前视频帧中运动目标的三维信息及地面的三维信息;Real-time extraction of the 3D information of the moving target in the current video frame and the 3D information of the ground;
    根据所述运动目标的三维信息及所述地面的三维信息,确定所述运动目标相对于所述地面的运动倾角。According to the three-dimensional information of the moving object and the three-dimensional information of the ground, the inclination angle of the moving object relative to the ground is determined.
  3. 根据权利要求1所述的方法,其中,所述当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:The method according to claim 1, wherein when the moving target is turning at a steep angle, placing advertisements on the track on the ground in the current video frame includes:
    当所述运动目标处于大倾角转弯时,识别所述赛道在所述当前视频帧中的面积占比;When the moving target is turning at a steep angle, identify the area ratio of the track in the current video frame;
    根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中。Advertisements are placed on the track on the ground in the current video frame according to the motion inclination and the area ratio.
  4. 根据权利要求2所述的方法,其中,所述当前视频帧包括左目视频帧和右目视频帧;所述实时提取当前视频帧中运动目标的三维信息及地面的三维信息,包括:The method according to claim 2, wherein the current video frame includes a left-eye video frame and a right-eye video frame; the real-time extraction of the three-dimensional information of the moving target and the three-dimensional information of the ground in the current video frame includes:
    将所述左目视频帧和所述右目视频帧输入目标检测模型,得到所述运动目标的特征及位置信息;Inputting the left-eye video frame and the right-eye video frame into a target detection model to obtain the feature and position information of the moving target;
    根据所述运动目标的特征及位置信息,确定所述运动目标的二维框架;determining a two-dimensional frame of the moving object according to the characteristics and position information of the moving object;
    根据所述二维框架及预设约束条件,得到所述运动目标的三维位置信息;所述三维位置信息包括所述运动目标的中心点位置坐标及所述运动目标的运动方向与相机光轴的夹角。According to the two-dimensional frame and preset constraint conditions, the three-dimensional position information of the moving object is obtained; the three-dimensional position information includes the position coordinates of the center point of the moving object and the distance between the moving direction of the moving object and the optical axis of the camera angle.
  5. 根据权利要求2所述的方法,其中,所述根据所述运动目标的三维位置信息及所述地面的三维位置信息,确定所述运动目标相对于所述地面的运动倾角,包括:The method according to claim 2, wherein, according to the three-dimensional position information of the moving target and the three-dimensional position information of the ground, determining the inclination angle of the moving target relative to the ground includes:
    根据所述运动目标的三维信息形成参考系为运动目标的第一法向量;forming a reference frame as the first normal vector of the moving object according to the three-dimensional information of the moving object;
    根据所述地面的三维信息形成垂直于当前视频帧中地面的第二法向量;forming a second normal vector perpendicular to the ground in the current video frame according to the three-dimensional information of the ground;
    根据所述第一法向量及所述第二法向量,计算所述运动目标相对于所述地面的运动倾角。According to the first normal vector and the second normal vector, a motion inclination angle of the moving target relative to the ground is calculated.
  6. 根据权利要求3所述的方法,其中,所述当确定所述运动目标处于大倾角转弯时,识别所述赛道在所述当前视频帧中的面积占比,包括:The method according to claim 3, wherein when it is determined that the moving target is turning at a steep angle, identifying the area ratio of the track in the current video frame includes:
    当所述运动目标在大倾角转弯时,识别所述当前视频帧中赛道的位置信息;When the moving target is turning at a large inclination angle, identifying the position information of the track in the current video frame;
    根据所述位置信息,确定所述赛道的面积在所述当前视频帧中的面积占比。According to the position information, determine the area ratio of the track area in the current video frame.
  7. 根据权利要求3所述的方法,其中,所述根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:The method according to claim 3, wherein the placing advertisements on the track on the ground in the current video frame according to the motion inclination angle and the area ratio includes:
    当根据所述运动倾角确定所述运动目标在大倾角转弯,且所述面积占比大于等于预设比例阈值时,确定所述当前视频帧中所述赛道的大小和位置;When it is determined according to the motion inclination that the moving target is turning at a large inclination, and the area ratio is greater than or equal to a preset ratio threshold, determine the size and position of the track in the current video frame;
    将所述广告按照所述赛道的大小和位置,插入所述当前视频帧中地面上的所述赛道中。Inserting the advertisement into the race track on the ground in the current video frame according to the size and position of the race track.
  8. 根据权利要求3-7任一项所述的方法,其中,所述确定当前视频帧中运动目标的相对于地面的运动倾角之后,所述方法还包括:The method according to any one of claims 3-7, wherein, after determining the motion inclination of the moving target in the current video frame relative to the ground, the method further comprises:
    当根据所述运动倾角确定所述运动目标不处于大倾角转弯,或当未在所述当前视频帧中检测到赛道,或当所述面积占比小于比例阈值时,停止所述广告的投放。When it is determined according to the motion inclination that the moving target is not turning at a steep angle, or when a track is not detected in the current video frame, or when the area ratio is less than a ratio threshold, stop the advertisement delivery .
  9. 根据权利要求3所述的方法,其中,所述根据所述运动倾角及所述面积占比,将广告投放至所述当前视频帧中地面上的所述赛道中,包括:The method according to claim 3, wherein the placing advertisements on the track on the ground in the current video frame according to the motion inclination angle and the area ratio includes:
    将所述广告投放至所述赛道中除所述运动目标之外的赛道区域。Putting the advertisement on the race track area in the race track except the sports target.
  10. 一种广告投放装置,所述装置包括:An advertising delivery device, the device comprising:
    第一确定模块,被配置为确定当前视频帧中运动目标的相对于地面的运动倾角;The first determination module is configured to determine the inclination angle of motion of the moving target relative to the ground in the current video frame;
    第二确定模块,被配置为根据所述运动倾角确定所述运动目标是否处于大倾角转弯;The second determination module is configured to determine whether the moving target is turning with a large inclination according to the movement inclination;
    投放模块,被配置为当所述运动目标处于大倾角转弯时,将广告投放至所述当前视频帧中地面上的赛道中。The placement module is configured to place the advertisement on the track on the ground in the current video frame when the moving target is turning at a steep angle.
  11. 一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;A computing device, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface complete mutual communication through the communication bus;
    所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如权利要求1-9任意一项所述的广告投放方法的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to execute the operation of the advertisement delivery method according to any one of claims 1-9.
  12. 一种计算机可读存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令在计算设备上运行时,使得计算设备执行如权利要求1-9任意一项所述的广告投放方法的操作。A computer-readable storage medium, wherein at least one executable instruction is stored in the storage medium, and when the executable instruction is run on a computing device, the computing device executes the advertisement according to any one of claims 1-9 The action of the delivery method.
  13. 一种计算机程序产品,所述计算机程序产品包括计算机指令,在所述计算机指令在计算机设备上运行的情况下,使得所述计算机设备执行权利要求1-9任意一项所述的广告投放方法的操作。A computer program product, the computer program product including computer instructions, when the computer instructions are run on a computer device, the computer device is made to execute the advertisement delivery method described in any one of claims 1-9 operate.
PCT/CN2022/124578 2021-10-13 2022-10-11 Advertisement serving method and apparatus, device, storage medium and computer program product WO2023061356A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111191382.7A CN113988906B (en) 2021-10-13 Advertisement putting method and device and computing equipment
CN202111191382.7 2021-10-13

Publications (1)

Publication Number Publication Date
WO2023061356A1 true WO2023061356A1 (en) 2023-04-20

Family

ID=79738374

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/124578 WO2023061356A1 (en) 2021-10-13 2022-10-11 Advertisement serving method and apparatus, device, storage medium and computer program product

Country Status (1)

Country Link
WO (1) WO2023061356A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019019179A1 (en) * 2017-07-28 2019-01-31 广东兴达顺科技有限公司 Method for playing back advertisement and vehicle equipment
CN110225366A (en) * 2019-06-26 2019-09-10 腾讯科技(深圳)有限公司 Video data processing and advertisement position determine method, apparatus, medium and electronic equipment
CN112529611A (en) * 2020-11-25 2021-03-19 浙江大华技术股份有限公司 Outdoor advertisement putting method, device, electronic device and storage medium
CN113077293A (en) * 2021-04-20 2021-07-06 深圳市东信时代信息技术有限公司 Adaptive delivery method of mobile advertisement, server and storage medium
CN113988906A (en) * 2021-10-13 2022-01-28 咪咕视讯科技有限公司 Advertisement putting method and device and computing equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019019179A1 (en) * 2017-07-28 2019-01-31 广东兴达顺科技有限公司 Method for playing back advertisement and vehicle equipment
CN110225366A (en) * 2019-06-26 2019-09-10 腾讯科技(深圳)有限公司 Video data processing and advertisement position determine method, apparatus, medium and electronic equipment
CN112529611A (en) * 2020-11-25 2021-03-19 浙江大华技术股份有限公司 Outdoor advertisement putting method, device, electronic device and storage medium
CN113077293A (en) * 2021-04-20 2021-07-06 深圳市东信时代信息技术有限公司 Adaptive delivery method of mobile advertisement, server and storage medium
CN113988906A (en) * 2021-10-13 2022-01-28 咪咕视讯科技有限公司 Advertisement putting method and device and computing equipment

Also Published As

Publication number Publication date
CN113988906A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
US11019283B2 (en) Augmenting detected regions in image or video data
US11373354B2 (en) Techniques for rendering three-dimensional animated graphics from video
US8284238B2 (en) Image processing apparatus and method
US8965043B2 (en) Method, client device and server
US8477995B2 (en) Image processing device and method
US20190287310A1 (en) Generating three-dimensional content from two-dimensional images
WO2020037881A1 (en) Motion trajectory drawing method and apparatus, and device and storage medium
US10769810B2 (en) Apparatus, systems and methods for shadow assisted object recognition and tracking
JP2009077394A (en) Communication system and communication method
Ren et al. Multi-camera video surveillance for real-time analysis and reconstruction of soccer games
CN110335351B (en) Multi-modal AR processing method, device, system, equipment and readable storage medium
KR101733116B1 (en) System and method for measuring flight information of a spheric object with a high-speed stereo camera
JP2009505553A (en) System and method for managing the insertion of visual effects into a video stream
Ren et al. A general framework for 3D soccer ball estimation and tracking
US20150356748A1 (en) Method and apparatus for sensing moving ball
Hashimoto et al. Dynamic projection mapping with a single IR camera
Liu et al. A novel approach for tracking high speed skaters in sports using a panning camera
CN107092348B (en) Visual positioning identification layout method in immersive virtual reality roaming system
WO2023061356A1 (en) Advertisement serving method and apparatus, device, storage medium and computer program product
Abulwafa et al. A fog based ball tracking (FB 2 T) system using intelligent ball bees
Tamaki et al. Reconstruction of 3d trajectories for performance analysis in table tennis
CN113988906B (en) Advertisement putting method and device and computing equipment
Kasuya et al. Robust trajectory estimation of soccer players by using two cameras
US20240070971A1 (en) Sports Metaverse
US11928831B2 (en) Information processing apparatus, shape data generation method, and storage medium

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

Country of ref document: EP

Kind code of ref document: A1