





技术领域technical field
本申请涉及数据处理领域,具体涉及云计算、深度学习、增强现实技术领域,尤其涉及用于处理数据的方法、装置、设备以及存储介质。The present application relates to the field of data processing, specifically to the technical fields of cloud computing, deep learning, and augmented reality, and especially to methods, devices, equipment, and storage media for processing data.
背景技术Background technique
场景信息可以使用2D信息或者3D信息进行表示。关于2D信息的采集主要有图像采集设备进行获取。3D场景信息的表示形式为点云,一般通过SFM(structure from motion)技术或点云采集设备,人们已经可以高效获取室内以及室外场景的点云信息。在一些现实生活场景中,一些突发事件即使发生了,该场景图像采集的视频中,很难被人们发现以及捕捉到相应的事件。Scene information may be represented by 2D information or 3D information. The collection of 2D information is mainly obtained by an image collection device. The representation of 3D scene information is point cloud. Generally, through SFM (structure from motion) technology or point cloud acquisition equipment, people can already efficiently obtain point cloud information of indoor and outdoor scenes. In some real-life scenarios, even if some emergencies happen, it is difficult for people to find and capture the corresponding events in the video of the scene image collection.
发明内容Contents of the invention
提供了一种用于处理数据的方法、装置、设备以及存储介质。Provided are a method, device, device and storage medium for processing data.
根据第一方面,提供了一种用于处理数据的方法,包括:获取目标区域的视频数据和点云数据;根据所述视频数据中的至少一个视频帧,确定状态发生变化的对象;确定所述对象的目标点云数据;根据所述目标点云数据,确定预设预警事件是否发生;响应于确定所述预设预警事件发生,在所述视频数据中生成特效动画用于突出展示所述预设预警事件。According to the first aspect, there is provided a method for processing data, including: acquiring video data and point cloud data of a target area; determining an object whose state has changed according to at least one video frame in the video data; determining the The target point cloud data of the object; according to the target point cloud data, determine whether a preset early warning event occurs; in response to determining that the preset early warning event occurs, generate a special effect animation in the video data for highlighting the Pre-set early warning events.
根据第二方面,提供了一种用于处理数据的装置,包括:数据获取单元,被配置成获取目标区域的视频数据和点云数据;对象确定单元,被配置成根据所述视频数据中的至少一个视频帧,确定状态发生变化的对象;点云确定单元,被配置成确定所述对象的目标点云数据;判断单元,被配置成根据所述目标点云数据,确定预设预警事件是否发生;事件预警单元,被配置成响应于确定所述预设预警事件发生,在所述视频数据中生成特效动画用于突出展示所述预设预警事件。According to a second aspect, there is provided an apparatus for processing data, comprising: a data acquisition unit configured to acquire video data and point cloud data of a target area; an object determination unit configured to At least one video frame is used to determine the object whose state has changed; the point cloud determination unit is configured to determine the target point cloud data of the object; the judging unit is configured to determine whether the preset early warning event is based on the target point cloud data Occurrence: the event early warning unit is configured to, in response to determining that the preset early warning event occurs, generate a special effect animation in the video data for highlighting the preset early warning event.
根据第三方面,提供了一种用于处理数据的电子设备,包括:至少一个计算单元;以及与上述至少一个计算单元通信连接的存储单元;其中,存储单元存储有可被至少一个计算单元执行的指令,上述指令被至少一个计算单元执行,以使至少一个计算单元能够执行如第一方面所描述的方法。According to a third aspect, there is provided an electronic device for processing data, including: at least one computing unit; and a storage unit communicatively connected to the at least one computing unit; wherein, the storage unit stores data that can be executed by at least one computing unit instructions, the above instructions are executed by at least one computing unit, so that at least one computing unit can execute the method as described in the first aspect.
根据第四方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,上述计算机指令用于使计算机执行如第一方面所描述的方法。According to a fourth aspect, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method described in the first aspect.
根据第五方面,一种计算机程序产品,包括计算机程序,上述计算机程序在被计算单元执行时实现如第一方面所描述的方法。According to a fifth aspect, a computer program product comprises a computer program which, when executed by a computing unit, implements the method as described in the first aspect.
根据本申请的技术提供了一种更高效更醒目的事件提醒方式,帮助人理解分析现实场景中人感觉不到但视频或点云可以感知到的事件的发生,提高人们对场景理解感知。The technology according to the present application provides a more efficient and eye-catching event reminder method to help people understand and analyze the occurrence of events that people cannot feel in real scenes but can be perceived by videos or point clouds, and improve people's understanding of the scene.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following description.
附图说明Description of drawings
附图用于更好地理解本方案,不构成对本申请的限定。其中:The accompanying drawings are used to better understand the solution, and do not constitute a limitation to the application. in:
图1是本申请的一个实施例可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which an embodiment of the present application can be applied;
图2是根据本申请的用于处理数据的方法的一个实施例的流程图;FIG. 2 is a flowchart of one embodiment of a method for processing data according to the present application;
图3是根据本申请的用于处理数据的方法的一个应用场景的示意图;FIG. 3 is a schematic diagram of an application scenario of a method for processing data according to the present application;
图4是根据本申请的用于处理数据的方法的另一个实施例的流程图;FIG. 4 is a flowchart of another embodiment of a method for processing data according to the present application;
图5是根据本申请的用于处理数据的装置的一个实施例的结构示意图;Fig. 5 is a schematic structural diagram of an embodiment of a device for processing data according to the present application;
图6是用来实现本申请实施例的用于处理数据的方法的电子设备的框图。Fig. 6 is a block diagram of an electronic device used to implement the method for processing data according to the embodiment of the present application.
具体实施方式Detailed ways
以下结合附图对本申请的示范性实施例做出说明,其中包括本申请实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本申请的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.
图1示出了可以应用本申请的用于处理数据的方法或用于处理数据的装置的实施例的示例性系统架构100。FIG. 1 shows an
如图1所示,系统架构100可以包括点云采集设备101、视频采集设备102、终端设备103、网络104和服务器105。网络104用以在各电子设备之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the
用户可以使用点云采集设备101采集场景中的点云数据,使用视频采集设备102采集场景中的视频数据。点云采集设备101以及视频采集设备102可以通过网络104将采集到的数据上传给终端设备103或服务器105。点云采集设备101可以是各种能够采集点云数据的电子设备,如激光雷达传感器、毫米波雷达传感器、深度摄像机等等。视频采集设备102可以是能够采集视频数据的各种电子设备,如监控摄像头、摄像机等。The user can use the point
终端设备103中可以安装有各种通讯客户端应用,例如视频播放类应用、点云可视化类应用、数据处理类应用等。终端设备103可以通过视频播放类应用播放视频采集设备102采集到的视频数据,可以通过点云可视化类应用显示点云采集设备101采集到的点云数据,还可以通过数据处理类应用对视频数据和点云数据进行处理,以判断预设事件是否发生。Various communication client applications may be installed in the
终端设备103可以是硬件,也可以是软件。当终端设备103为硬件时,可以是各种电子设备,包括但不限于智能手机、平板电脑、车载电脑、膝上型便携计算机和台式计算机等等。当终端设备103为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。The
服务器105可以是提供各种服务的服务器,例如对点云采集设备101采集到的点云数据和视频采集设备102采集到的视频数据进行处理的后台服务器。后台服务器可以对点云数据和视频数据进行各种分析处理,得到处理结果(例如是否发生突发事件),并将处理结果反馈给终端设备103。The
需要说明的是,服务器105可以是硬件,也可以是软件。当服务器105为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器105为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。It should be noted that the
需要说明的是,本申请实施例所提供的用于处理数据的方法可以由终端设备103执行,也可以由服务器105执行。相应地,用于处理数据的装置可以设置于终端设备103中,也可以设置于服务器105中。It should be noted that the method for processing data provided by the embodiment of the present application may be executed by the
应该理解,图1中的点云采集设备、视频采集设备、终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的点云采集设备、视频采集设备、终端设备、网络和服务器。It should be understood that the numbers of point cloud acquisition devices, video acquisition devices, terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation requirements, there can be any number of point cloud collection devices, video collection devices, terminal devices, networks and servers.
继续参考图2,示出了根据本申请的用于处理数据的方法的一个实施例的流程200。本实施例的用于处理数据的方法,包括以下步骤:Continuing to refer to FIG. 2 , a
步骤201,获取目标区域的视频数据和点云数据。
本实施例中,用于处理数据的方法的执行主体(例如图1中所示的终端设备103或服务器105)可以通过各种方式获取目标区域的视频数据和点云数据。例如,执行主体可以通过网络从视频采集设备(例如图1中所示的视频采集设备102)处获取视频数据,从点云采集设备(例如图1中所示的点云采集设备101)处获取点云数据。这里,目标区域是指任意用于监测的区域,例如可以是施工区域、易发生故障的道路区域等。In this embodiment, the executing body of the method for processing data (for example, the
步骤202,根据视频数据中的至少一个视频帧,确定状态发生变化的对象。
执行主体在获取到视频数据后,可以对视频数据中的至少一个视频帧进行分析,确定状态变化的对象。例如,执行主体可以分别比较相邻(例如第N帧和第N+1帧)或间隔预设数量视频帧(例如第N帧和第N+m帧)的两个视频帧,确定二者的差异,将差异指示的对象作为状态发生变化的对象。这里的状态发生变化可以是位置发生变化、体积发生变化、颜色发生变化等等。对象可以是任意需要监控的对象,例如可以包括落石、行人、文物等等。After the execution subject acquires the video data, it can analyze at least one video frame in the video data to determine the object whose state changes. For example, the execution subject can respectively compare two adjacent video frames (such as the Nth frame and the N+1th frame) or two video frames separated by a preset number of video frames (such as the Nth frame and the N+mth frame), and determine the difference between the two video frames. A diff that treats the object indicated by the diff as the object whose state changed. The change of state here may be a change of position, a change of volume, a change of color, and so on. The object can be any object that needs to be monitored, for example, it can include falling rocks, pedestrians, cultural relics, and so on.
步骤203,确定对象的目标点云数据。
在通过视频数据确定状态发生变化的对象后,可以确定对象的目标点云数据。具体的,执行主体可以结合点云数据和视频数据之间的转换关系,确定对象的目标点云数据。或者,执行主体可以直接对点云数据进行识别,确定出其中与上述对象对应的目标点云数据。After the object whose state has changed is determined from the video data, the target point cloud data of the object can be determined. Specifically, the execution subject can determine the target point cloud data of the object by combining the conversion relationship between point cloud data and video data. Alternatively, the execution subject may directly identify the point cloud data, and determine the target point cloud data corresponding to the above objects.
步骤204,根据目标点云数据,确定预设预警事件是否发生。
执行主体在确定各对象的目标点云数据后,可以判断预设预警事件是否发生。这里的预设预警事件可以包括但不限于:对象的移动距离超过了预设距离阈值、对象的颜色变成了预设颜色、对象经过了预设区域。After the execution subject determines the target point cloud data of each object, it can judge whether the preset early warning event occurs. The preset warning events here may include but are not limited to: the moving distance of the object exceeds a preset distance threshold, the color of the object changes to a preset color, and the object passes through a preset area.
步骤205,响应于确定预设预警事件发生,在视频数据中生成特效动画用于突出展示预设预警事件。
如果执行主体确定预设预警事件发生,则可以在视频数据中生成特效动画用于突出展示预设预警事件。这里的特效动画可以是带有某种显示效果的动画,通过展示上述特效动画,用户可以直观地看出预设预警事件的发生。具体的,执行主体可以在视频数据的中心生成特效动画,并且特效动画的显示层级位于最上层。或者,执行主体可以在视频数据中对象的位置处生成特效动画,这样方便用户观察对象的位置。If the executive body determines that the preset early warning event occurs, a special effect animation can be generated in the video data to highlight the preset early warning event. The special effect animation here may be an animation with a certain display effect. By displaying the above special effect animation, the user can intuitively see the occurrence of the preset early warning event. Specifically, the execution subject may generate the special effect animation at the center of the video data, and the display level of the special effect animation is at the top. Alternatively, the execution subject may generate a special effect animation at the position of the object in the video data, which is convenient for the user to observe the position of the object.
继续参见图3,其示出了根据本申请的用于处理数据的方法的一个应用场景的示意图。在图3的应用场景中,通过在易发生落石的道路周围设置监控摄像头采集视频数据以及雷达传感器采集点云数据。通过对视频数据进行分析,确定出巨石的位置发生变化。通过点云数据,确定了巨石的目标点云数据。并根据目标点云数据,确定了巨石的移动距离为5cm,确定发生落石的可能性较大,则在视频数据中生成石头下落的特效动画。Continue referring to FIG. 3 , which shows a schematic diagram of an application scenario of the method for processing data according to the present application. In the application scenario shown in Figure 3, video data is collected by surveillance cameras and point cloud data is collected by radar sensors by setting surveillance cameras around roads prone to rockfall. By analyzing the video data, it was determined that the position of the boulder had changed. Through the point cloud data, the target point cloud data of the boulder is determined. And according to the target point cloud data, it is determined that the moving distance of the boulder is 5cm, and it is determined that the possibility of rockfall is high, and then a special effect animation of the falling stone is generated in the video data.
本申请的上述实施例提供的用于处理数据的方法,帮助人理解分析现实场景中人感觉不到但视频或点云可以感知到的事件的发生,提高人们对场景理解感知。The method for processing data provided by the above embodiments of the present application helps people to understand and analyze the occurrence of events in real scenes that people cannot perceive but can be perceived by video or point cloud, and improve people's understanding of the scene.
继续参见图4,其示出了根据本申请的用于处理数据的方法的另一个实施例的流程400。如图4所示,本实施例的方法可以包括以下步骤:Continue referring to FIG. 4 , which shows a
步骤401,获取目标区域的视频数据和点云数据。
步骤402,根据视频数据中的至少一个视频帧,确定状态发生变化的对象。Step 402: Determine an object whose state has changed according to at least one video frame in the video data.
步骤403,确定对象的目标点云数据。
步骤404,根据目标点云数据,识别对象的类型、移动方向以及移动距离;响应于确定对象的类型、移动方向以及移动距离满足预设条件,确定预设预警事件发生。
本实施例中,执行主体在确定对象的目标点云数据后,可以对其进行点云识别,确定对象的类型、移动方向以及移动距离。可以理解的是,在确定对象的移动方向以及移动距离时,需要比较至少两个点云帧。具体的,执行主体可以首先从目标点云数据中,确定出对象的位置发生变化前的一个点云帧。将该点云帧作为参考。然后将之后的至少一个点云帧与参考进行比较,确定出对象的移动方向以及移动距离。In this embodiment, after the execution subject determines the target point cloud data of the object, it can perform point cloud recognition to determine the type, moving direction and moving distance of the object. It can be understood that at least two point cloud frames need to be compared when determining the moving direction and moving distance of the object. Specifically, the execution subject may first determine a point cloud frame before the position of the object changes from the target point cloud data. Use this point cloud frame as a reference. Then at least one subsequent point cloud frame is compared with the reference to determine the moving direction and moving distance of the object.
执行主体可以判断对象的类型、移动方向以及移动距离是否满足预设条件,如果满足,则认定预设预警事件发生。上述预设条件可以包括但不限于:行人向施工区域方向移动了50米、巨石下落了50厘米。The execution subject can judge whether the object type, moving direction, and moving distance meet the preset conditions, and if so, it is determined that the preset early warning event has occurred. The aforementioned preset conditions may include but are not limited to: pedestrians move 50 meters toward the construction area, and boulders fall 50 centimeters.
步骤405,根据目标点云数据,确定对象的三维位置信息;将三维位置信息投影到视频数据中的图像平面,确定对象的二维位置信息;根据二维位置信息,在视频数据中生成特效动画用于突出展示预设预警事件。
本实施例中,执行主体可以首先根据目标点云数据,确定对象的三维位置信息。上述三维位置信息可以是三维坐标。然后,执行主体可以结合点云采集设备与视频采集设备之间的投影关系或坐标转换矩阵,将三维位置信息投影到视频数据中的图像平面,确定对象的二维位置信息。这里,二维位置信息即为对象在视频数据中的平面位置。执行主体可以在此平面位置处生成特效动画用于突出展示预设预警事件。In this embodiment, the execution subject may first determine the three-dimensional position information of the object according to the target point cloud data. The above three-dimensional position information may be three-dimensional coordinates. Then, the execution subject can combine the projection relationship or the coordinate transformation matrix between the point cloud acquisition device and the video acquisition device to project the three-dimensional position information onto the image plane in the video data to determine the two-dimensional position information of the object. Here, the two-dimensional position information is the plane position of the object in the video data. The executive body can generate a special effect animation at this plane position to highlight preset early warning events.
在本实施例的一些可选的实现方式中,执行主体具体可以通过图4中未示出的以下步骤来实现上述步骤405:响应于确定预设预警事件发生,根据对象的类型,确定对象的目标特效类型;根据目标特效类型,在视频数据中生成特效动画用于突出展示预设预警事件。In some optional implementations of this embodiment, the executive body may implement the
本实现方式中,如果预设预警事件发生,执行主体可以首先根据对象的类型,确定对象的目标特效类型。具体的,执行主体可以查询预先设定的对象类型与特效类型的对应关系,确定对象的目标特效类型。特效类型可以包括不同的显示颜色、不同的显现类型。例如,特效类型1是用于表示巨石落下的特效,其用红色表示巨石的颜色,用“飞出”这一显现方式来表示巨石的落下,同时用“哐当”声来表示巨石落地后发出的声音。执行主体可以在视频数据中生成上述目标特效类型的特效动画来突出展示预设预警事件。可以理解的是,执行主体可以在视频数据中对象的平面位置处生成上述特效动画。In this implementation, if a preset early warning event occurs, the execution subject may first determine the target special effect type of the object according to the type of the object. Specifically, the execution subject can query the preset correspondence between object types and special effect types to determine the target special effect type of the object. Special effect types may include different display colors and different presentation types. For example, special effect type 1 is a special effect used to represent a boulder falling. It uses red to represent the color of the boulder, uses the display method of "flying out" to represent the falling of the boulder, and uses "clang" to represent the sound of the boulder after it hits the ground. sound. The execution subject can generate the above-mentioned special effect animation of the target special effect type in the video data to highlight the preset early warning events. It can be understood that the execution subject may generate the above special effect animation at the plane position of the object in the video data.
在本实施例的一些可选的实现方式中,执行主体具体可以通过图4中未示出的以下步骤来实现上述步骤405:响应于确定预设预警事件发生,在视频数据中生成增强现实特效动画用于突出展示预设预警事件。In some optional implementations of this embodiment, the executive body may specifically implement the
本实现方式中,执行主体还可以在预设预警事件发生时,在视频数据中生成增强现实特效动画用于突出展示预设预警事件。执行主体可以采用现有的增强现实技术来生成增强现实特效动画。In this implementation, the executive body can also generate an augmented reality special effect animation in the video data to highlight the preset early warning event when the preset early warning event occurs. The executive body can use existing augmented reality technology to generate augmented reality animation with special effects.
本申请的上述实施例提供的用于处理数据的方法,可以对对象的类型、移动方向和移动距离进行监测,并在预警事件发生时以多种形式的醒目特效动画展示,从而方便用户观察和监管场景。The method for processing data provided by the above-mentioned embodiments of the present application can monitor the type, moving direction and moving distance of the object, and when an early warning event occurs, it will be displayed in various forms of eye-catching special effect animations, so as to facilitate users to observe and Regulatory scene.
进一步参考图5,作为对上述各图所示方法的实现,本申请提供了一种用于处理数据的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 5 , as an implementation of the methods shown in the above figures, the present application provides an embodiment of a device for processing data, which corresponds to the method embodiment shown in FIG. 2 . The device can be specifically applied to various electronic devices.
如图5所示,本实施例的用于处理数据装置500包括:数据获取单元501、对象确定单元502、点云确定单元503、判断单元504和事件预警单元505。As shown in FIG. 5 , the device 500 for processing data in this embodiment includes: a data acquisition unit 501 , an object determination unit 502 , a point cloud determination unit 503 , a judgment unit 504 and an event warning unit 505 .
数据获取单元501,被配置成获取目标区域的视频数据和点云数据。The data acquisition unit 501 is configured to acquire video data and point cloud data of the target area.
对象确定单元502,被配置成根据视频数据中的至少一个视频帧,确定状态发生变化的对象。The object determining unit 502 is configured to determine an object whose state has changed according to at least one video frame in the video data.
点云确定单元503,被配置成确定对象的目标点云数据。The point cloud determining unit 503 is configured to determine target point cloud data of the object.
判断单元504,被配置成根据目标点云数据,确定预设预警事件是否发生。The judging unit 504 is configured to determine whether a preset early warning event occurs according to the target point cloud data.
事件预警单元505,被配置成响应于确定预设预警事件发生,在视频数据中生成特效动画用于突出展示预设预警事件。The event warning unit 505 is configured to, in response to determining that a preset warning event occurs, generate a special effect animation in the video data for highlighting the preset warning event.
在本实施例的一些可选的实现方式中,判断单元504可以进一步被配置成:根据目标点云数据,识别对象的类型、移动方向以及移动距离;响应于确定对象的类型、移动方向以及移动距离满足预设条件,确定预设预警事件发生。In some optional implementations of this embodiment, the judging unit 504 may be further configured to: identify the type, moving direction, and moving distance of the object according to the target point cloud data; If the distance satisfies the preset condition, it is determined that the preset early warning event occurs.
在本实施例的一些可选的实现方式中,事件预警单元505可以进一步被配置成:响应于确定预设预警事件发生,根据对象的类型,确定对象的目标特效类型;根据目标特效类型,在视频数据中生成特效动画用于突出展示预设预警事件。In some optional implementations of this embodiment, the event warning unit 505 may be further configured to: in response to determining that a preset warning event occurs, determine the target special effect type of the object according to the type of the object; The special effect animation generated in the video data is used to highlight the preset early warning events.
在本实施例的一些可选的实现方式中,事件预警单元505可以进一步被配置成:根据目标点云数据,确定对象的三维位置信息;将三维位置信息投影到视频数据中的图像平面,确定对象的二维位置信息;根据二维位置信息,在视频数据中生成特效动画用于突出展示预设预警事件。In some optional implementations of this embodiment, the event warning unit 505 may be further configured to: determine the three-dimensional position information of the object according to the target point cloud data; project the three-dimensional position information to the image plane in the video data, determine The two-dimensional position information of the object; according to the two-dimensional position information, special effect animation is generated in the video data to highlight the preset early warning events.
在本实施例的一些可选的实现方式中,事件预警单元505可以进一步被配置成:响应于确定预设预警事件发生,在视频数据中生成增强现实特效动画用于突出展示预设预警事件。In some optional implementations of this embodiment, the event warning unit 505 may be further configured to: in response to determining that a preset warning event occurs, generate an augmented reality special effect animation in the video data for highlighting the preset warning event.
应当理解,用于处理数据的装置500中记载的单元501至单元505分别与参考图2中描述的方法中的各个步骤相对应。由此,上文针对用于处理数据的方法描述的操作和特征同样适用于装置500及其中包含的单元,在此不再赘述。It should be understood that the units 501 to 505 recorded in the apparatus 500 for processing data respectively correspond to the steps in the method described with reference to FIG. 2 . Therefore, the operations and features described above for the method for processing data are also applicable to the device 500 and the units contained therein, and will not be repeated here.
根据本申请的实施例,本申请还提供了还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to the embodiments of the present application, the present application also provides an electronic device, a readable storage medium, and a computer program product.
图6示出了根据本申请实施例的执行用于处理数据的方法的电子设备600的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。FIG. 6 shows a block diagram of an
如图6所示,设备600包括计算单元601,其可以根据存储在只读存储单元(ROM)602中的计算机程序或者从存储单元608加载到随机访问存储单元(RAM)603中的计算机程序,来执行各种适当的动作和处理。在RAM 603中,还可存储设备600操作所需的各种程序和数据。计算单元601、ROM 602以及RAM 603通过总线604彼此相连。I/O接口(输入/输出接口)605也连接至总线604。As shown in FIG. 6 , the
设备600中的多个部件连接至I/O接口605,包括:输入单元606,例如键盘、鼠标等;输出单元607,例如各种类型的显示器、扬声器等;存储单元608,例如磁盘、光盘等;以及通信单元609,例如网卡、调制解调器、无线通信收发机等。通信单元609允许设备600通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the
计算单元601可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元601的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号计算单元(DSP)、以及任何适当的计算单元、控制器、微控制器等。计算单元601执行上文所描述的各个方法和处理,例如用于处理数据的方法。例如,在一些实施例中,用于处理数据的方法可被实现为计算机软件程序,其被有形地包含于机器可读存储介质,例如存储单元608。在一些实施例中,计算机程序的部分或者全部可以经由ROM 602和/或通信单元609而被载入和/或安装到电子设备600上。当计算机程序加载到RAM 603并由计算单元601执行时,可以执行上文描述的用于处理数据的方法的一个或多个步骤。备选地,在其他实施例中,计算单元601可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行用于处理数据的方法。The
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程计算单元的可编程系统上执行和/或解释,该可编程计算单元可以是专用或者通用可编程计算单元,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable computing unit, the programmable computing unit Can be a dedicated or general purpose programmable computing unit that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.
用于实施本申请的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。上述程序代码可以封装成计算机程序产品。这些程序代码或计算机程序产品可以提供给通用计算机、专用计算机或其他可编程数据处理装置的计算单元或控制器,使得程序代码当由计算单元601执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program codes for implementing the methods of the present application may be written in any combination of one or more programming languages. The above program code can be packaged into a computer program product. These program codes or computer program products can be provided to computing units or controllers of general-purpose computers, special-purpose computers, or other programmable data processing devices, so that when the program codes are executed by the
在本申请的上下文中,机器可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读存储介质可以是机器可读信号存储介质或机器可读存储介质。机器可读存储介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储单元(RAM)、只读存储单元(ROM)、可擦除可编程只读存储单元(EPROM或快闪存储单元)、光纤、便捷式紧凑盘只读存储单元(CD-ROM)、光学存储设备、磁存储设备、或上述内容的任何合适组合。In the context of the present application, a machine-readable storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. The machine-readable storage medium may be a machine-readable signal storage medium or a machine-readable storage medium. A machine-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable Read memory unit (EPROM or flash memory unit), optical fiber, compact disk read only memory unit (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务(“Virtual Private Server”,或简称“VPS”)中,存在的管理难度大,业务扩展性弱的缺陷。服务器也可以是分布式系统的服务器,或者是结合了区块链的服务器。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the problem of traditional physical host and VPS service ("Virtual Private Server", or "VPS") Among them, there are defects such as difficult management and weak business scalability. The server can also be a server of a distributed system, or a server combined with a blockchain.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the various steps described in this application may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution of this application can be achieved, there is no limitation herein.
上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请的保护范围之内。The above specific implementation methods are not intended to limit the protection scope of the present application. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of this application shall be included within the protection scope of this application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011550908.1ACN112530021B (en) | 2020-12-24 | 2020-12-24 | Method, device, device and storage medium for processing data |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011550908.1ACN112530021B (en) | 2020-12-24 | 2020-12-24 | Method, device, device and storage medium for processing data |
| Publication Number | Publication Date |
|---|---|
| CN112530021A CN112530021A (en) | 2021-03-19 |
| CN112530021Btrue CN112530021B (en) | 2023-06-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011550908.1AActiveCN112530021B (en) | 2020-12-24 | 2020-12-24 | Method, device, device and storage medium for processing data |
| Country | Link |
|---|---|
| CN (1) | CN112530021B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113111035B (en)* | 2021-04-09 | 2022-09-23 | 上海掌门科技有限公司 | Special effect video generation method and equipment |
| CN114078184B (en)* | 2021-11-11 | 2022-10-21 | 北京百度网讯科技有限公司 | Data processing method, apparatus, electronic device and medium |
| CN116152903A (en)* | 2021-11-16 | 2023-05-23 | 航天信息股份有限公司 | Personnel morphology analysis method and device |
| CN114677848B (en)* | 2022-03-16 | 2024-03-29 | 北京车网科技发展有限公司 | Perception warning system, method, device and computer program product |
| CN117061684A (en)* | 2022-05-07 | 2023-11-14 | 北京字跳网络技术有限公司 | Special effect video generation method and device, electronic equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104299207A (en)* | 2013-07-19 | 2015-01-21 | 李峰 | Compressed sensing based video background reconstruction and emergent mass incident early warning platform |
| CN110807393A (en)* | 2019-10-25 | 2020-02-18 | 深圳市商汤科技有限公司 | Early warning method and device, electronic device and storage medium based on video analysis |
| CN111144252A (en)* | 2019-12-17 | 2020-05-12 | 北京深测科技有限公司 | Monitoring and early warning method for people stream analysis |
| CN111753609A (en)* | 2019-08-02 | 2020-10-09 | 杭州海康威视数字技术股份有限公司 | Target identification method and device and camera |
| CN111767850A (en)* | 2020-06-29 | 2020-10-13 | 北京百度网讯科技有限公司 | Emergency monitoring method, device, electronic device and medium |
| CN112084963A (en)* | 2020-09-11 | 2020-12-15 | 中德(珠海)人工智能研究院有限公司 | A monitoring and early warning method, system and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107871129B (en)* | 2016-09-27 | 2019-05-10 | 北京百度网讯科技有限公司 | Method and apparatus for processing point cloud data |
| US10339771B2 (en)* | 2017-02-03 | 2019-07-02 | International Business Machines Coporation | Three-dimensional holographic visual and haptic object warning based on visual recognition analysis |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104299207A (en)* | 2013-07-19 | 2015-01-21 | 李峰 | Compressed sensing based video background reconstruction and emergent mass incident early warning platform |
| CN111753609A (en)* | 2019-08-02 | 2020-10-09 | 杭州海康威视数字技术股份有限公司 | Target identification method and device and camera |
| CN110807393A (en)* | 2019-10-25 | 2020-02-18 | 深圳市商汤科技有限公司 | Early warning method and device, electronic device and storage medium based on video analysis |
| CN111144252A (en)* | 2019-12-17 | 2020-05-12 | 北京深测科技有限公司 | Monitoring and early warning method for people stream analysis |
| CN111767850A (en)* | 2020-06-29 | 2020-10-13 | 北京百度网讯科技有限公司 | Emergency monitoring method, device, electronic device and medium |
| CN112084963A (en)* | 2020-09-11 | 2020-12-15 | 中德(珠海)人工智能研究院有限公司 | A monitoring and early warning method, system and storage medium |
| Title |
|---|
| Mobile Laser Scanned Point-Clouds for Road Object Detection and Extraction: A Review;Lingfei Ma et al;《Remote Sens》;全文* |
| 基于全景立体视觉的交通危险预警系统设计及算法研究;朱麒文;《中国优秀硕士学位论文全文数据库》;全文* |
| Publication number | Publication date |
|---|---|
| CN112530021A (en) | 2021-03-19 |
| Publication | Publication Date | Title |
|---|---|---|
| CN112530021B (en) | Method, device, device and storage medium for processing data | |
| AU2017204181B2 (en) | Video camera scene translation | |
| US20220351390A1 (en) | Method for generating motion capture data, electronic device and storage medium | |
| US12106577B2 (en) | Method, apparatus, and device for testing traffic flow monitoring system | |
| CN112784765B (en) | Method, apparatus, device and storage medium for recognizing motion | |
| CN113781653B (en) | Object model generation method and device, electronic equipment and storage medium | |
| CN117746133B (en) | Target detection method, model training method, device, equipment and storage medium | |
| CN115578433B (en) | Image processing method, device, electronic equipment and storage medium | |
| CN114079801A (en) | On-demand overlay metadata onto video streams for intelligent video analytics | |
| CN111666876A (en) | Method and device for detecting obstacle, electronic equipment and road side equipment | |
| CN112699754A (en) | Signal lamp identification method, device, equipment and storage medium | |
| US20220309763A1 (en) | Method for identifying traffic light, device, cloud control platform and vehicle-road coordination system | |
| US20210398419A1 (en) | Method, apparatus, and device for testing traffic flow monitoring system | |
| CN112989987B (en) | Method, device, equipment and storage medium for identifying crowd behavior | |
| CN111601013A (en) | Method and apparatus for processing video frames | |
| CN115511779A (en) | Image detection method, device, electronic device and storage medium | |
| WO2023273344A1 (en) | Vehicle line crossing recognition method and apparatus, electronic device, and storage medium | |
| CN115965939A (en) | Three-dimensional object detection method and device, electronic equipment, medium and vehicle | |
| CN115482325A (en) | Image rendering method, device, system, equipment and medium | |
| US20220375179A1 (en) | Virtual object construction method, apparatus and storage medium | |
| CN113793290B (en) | Method, device, equipment and medium for determining parallax | |
| EP3956752B1 (en) | Semantic-augmented artificial-reality experience | |
| CN117058588A (en) | Off-duty detection method, device, equipment and storage medium | |
| CN115131472A (en) | Transition processing method, device, equipment and medium for panoramic switching | |
| CN115375740A (en) | Pose determination method, three-dimensional model generation method, device, equipment and medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |