Movatterモバイル変換


[0]ホーム

URL:


CN116366919A - Video processing method, device, equipment and storage medium - Google Patents

Video processing method, device, equipment and storage medium
Download PDF

Info

Publication number
CN116366919A
CN116366919ACN202310390857.8ACN202310390857ACN116366919ACN 116366919 ACN116366919 ACN 116366919ACN 202310390857 ACN202310390857 ACN 202310390857ACN 116366919 ACN116366919 ACN 116366919A
Authority
CN
China
Prior art keywords
video
frame
processing
target
processed
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202310390857.8A
Other languages
Chinese (zh)
Inventor
王国丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou Desay SV Automotive Co LtdfiledCriticalHuizhou Desay SV Automotive Co Ltd
Priority to CN202310390857.8ApriorityCriticalpatent/CN116366919A/en
Publication of CN116366919ApublicationCriticalpatent/CN116366919A/en
Priority to PCT/CN2023/122565prioritypatent/WO2024212453A1/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本公开实施例提供了视频处理方法、装置、设备及存储介质。该方法包括:获取待处理视频,其中,所述待处理视频包括设定敏感信息;确定所述待处理视频的目标帧率,基于目标帧率对所述待处理视频中的设定敏感信息进行处理,获得第一处理视频,对所述第一处理视频进行修正,获得目标视频。本公开实施例,通过基于目标帧率对所述待处理视频中的设定敏感信息进行处理,并对第一处理视频进行修正的方式,可以提高对视频中设定敏感信息处理的准确率。

Figure 202310390857

Embodiments of the present disclosure provide a video processing method, device, device, and storage medium. The method includes: acquiring a video to be processed, wherein the video to be processed includes set sensitive information; determining a target frame rate of the video to be processed, and performing a process on the set sensitive information in the video to be processed based on the target frame rate processing, obtaining a first processed video, and correcting the first processed video to obtain a target video. In the embodiment of the present disclosure, by processing the setting sensitive information in the video to be processed based on the target frame rate, and correcting the first processed video, the accuracy of processing the setting sensitive information in the video can be improved.

Figure 202310390857

Description

Translated fromChinese
视频处理方法、装置、设备及存储介质Video processing method, device, equipment and storage medium

技术领域technical field

本公开实施例涉及自动驾驶技术领域,尤其涉及一种视频处理方法、装置、设备及存储介质。Embodiments of the present disclosure relate to the technical field of automatic driving, and in particular, to a video processing method, device, device, and storage medium.

背景技术Background technique

自动驾驶是汽车行业发展的必由之路,在自动驾驶技术不断完善和成熟的升级迭代过程中,一个重要手段是通过车辆采集道路视频来训练自动驾驶算法。自动驾驶算法在使用采集的视频数据之前,需要对视频进行脱敏处理。因为视频中存在个人信息,如人脸,车牌号等,也可能存在其他设定敏感信息,如政治,军事相关信息,也可能存在一些突发不宜展示的信息,因此需要对视频中的这些设定敏感信息进行脱敏处理。然而,现有技术中,对视频中设定敏感信息的处理依然存在准确率低的问题。Autonomous driving is the only way for the development of the automotive industry. In the process of continuous improvement and mature upgrade iteration of autonomous driving technology, an important means is to train the automatic driving algorithm by collecting road videos from vehicles. Before the autonomous driving algorithm uses the collected video data, it needs to desensitize the video. Because there may be personal information in the video, such as face, license plate number, etc., there may also be other sensitive information, such as political and military related information, and there may also be some unexpected information that is not suitable for display, so it is necessary to modify these settings in the video. Desensitize sensitive information. However, in the prior art, the processing of setting sensitive information in the video still has the problem of low accuracy.

发明内容Contents of the invention

本公开实施例提供一种视频处理方法、装置、设备及存储介质,可以提高对视频中设定敏感信息处理的准确率。Embodiments of the present disclosure provide a video processing method, device, device, and storage medium, which can improve the accuracy of processing sensitive information set in a video.

第一方面,本公开实施例提供了一种视频处理方法,包括:获取待处理视频;其中,所述待处理视频包括设定敏感信息;确定所述待处理视频的目标帧率;基于目标帧率对所述待处理视频中的设定敏感信息进行处理,获得第一处理视频;对所述第一处理视频进行修正,获得目标视频。In the first aspect, an embodiment of the present disclosure provides a video processing method, including: acquiring a video to be processed; wherein, the video to be processed includes setting sensitive information; determining the target frame rate of the video to be processed; Processing the set sensitive information in the video to be processed at a high rate to obtain a first processed video; correcting the first processed video to obtain a target video.

第二方面,本公开实施例还提供了一种视频处理装置,包括:视频获取模块,用于获取待处理视频;其中,所述待处理视频包括设定敏感信息;目标帧率确定模块,用于确定所述待处理视频的目标帧率;视频处理模块,用于基于目标帧率对所述待处理视频中的设定敏感信息进行处理,获得第一处理视频;视频修正模块,用于对所述第一处理视频进行修正,获得目标视频。In the second aspect, an embodiment of the present disclosure further provides a video processing device, including: a video acquisition module, configured to acquire a video to be processed; wherein, the video to be processed includes setting sensitive information; a target frame rate determination module, configured to To determine the target frame rate of the video to be processed; the video processing module is used to process the set sensitive information in the video to be processed based on the target frame rate to obtain the first processed video; the video correction module is used to process the video The first processed video is corrected to obtain a target video.

第三方面,本公开实施例还提供了一种电子设备,所述电子设备包括:In a third aspect, an embodiment of the present disclosure further provides an electronic device, and the electronic device includes:

一个或多个处理器;one or more processors;

存储装置,用于存储一个或多个程序,storage means for storing one or more programs,

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开实施例所述的视频处理方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the video processing method described in the embodiments of the present disclosure.

第四方面,本公开实施例还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如本公开实施例所述的视频处理方法。In a fourth aspect, the embodiments of the present disclosure further provide a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the video processing method as described in the embodiments of the present disclosure when executed by a computer processor.

本实施例公开的技术方案,获取待处理视频,确定所述待处理视频的目标帧率,基于目标帧率对所述待处理视频中的设定敏感信息进行处理,获得第一处理视频,对所述第一处理视频进行修正,获得目标视频。本公开实施例,通过基于目标帧率对所述待处理视频中的设定敏感信息进行处理,并对第一处理视频进行修正的方式,可以提高对视频中设定敏感信息处理的准确率。In the technical solution disclosed in this embodiment, the video to be processed is acquired, the target frame rate of the video to be processed is determined, and the set sensitive information in the video to be processed is processed based on the target frame rate to obtain the first processed video, and the The first processed video is corrected to obtain a target video. In the embodiment of the present disclosure, by processing the setting sensitive information in the video to be processed based on the target frame rate, and correcting the first processed video, the accuracy of processing the setting sensitive information in the video can be improved.

附图说明Description of drawings

结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.

图1为本发明实施例提供的一种视频处理方法流程示意图;FIG. 1 is a schematic flowchart of a video processing method provided by an embodiment of the present invention;

图2为本发明实施例提供的另一种视频处理方法的流程图;FIG. 2 is a flowchart of another video processing method provided by an embodiment of the present invention;

图3为本公开实施例所提供的一种视频处理装置结构示意图;FIG. 3 is a schematic structural diagram of a video processing device provided by an embodiment of the present disclosure;

图4为本公开实施例所提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and/or executed in parallel. Additionally, method embodiments may include additional steps and/or omit performing illustrated steps. The scope of the present disclosure is not limited in this respect.

本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "comprise" and its variations are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one further embodiment"; the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms will be given in the description below.

需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the sequence of functions performed by these devices, modules or units or interdependence.

需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more" multiple".

可以理解的是,本技术方案所涉及的数据(包括但不限于数据本身、数据的获取或使用)应当遵循相应法律法规及相关规定的要求。It can be understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of data) should comply with the requirements of corresponding laws and regulations and relevant regulations.

图1为本发明实施例提供的一种视频处理方法流程示意图;本实施例可适用于对视频中的设定敏感信息进行脱敏处理的情况,该方法可以由视频处理装置来执行,具体包括如下步骤:Figure 1 is a schematic flow diagram of a video processing method provided by an embodiment of the present invention; this embodiment is applicable to the case of desensitizing the set sensitive information in the video, and the method can be executed by a video processing device, specifically including Follow the steps below:

S110、获取待处理视频。S110. Obtain a video to be processed.

其中,所述待处理视频包括设定敏感信息。设定敏感信息包括个人信息、政治信息、军事信息及不宜展示等信息。待处理视频可以是通过车辆采集的交通道路的视频,以用于训练自动驾驶算法。Wherein, the video to be processed includes setting sensitive information. Sensitive information includes personal information, political information, military information, and information that should not be displayed. The video to be processed may be a video of a traffic road collected by a vehicle, so as to be used for training an automatic driving algorithm.

S120、确定待处理视频的目标帧率。S120. Determine a target frame rate of the video to be processed.

本实施例中,可以通过处理多个历史视频,得到最优的帧率,将最优的帧率作为目标帧率。对于处理历史视频,可以对历史视频进行脱敏处理,可以得到处理结果,处理结果包括正确脱敏视频的数量(即含有设定敏感信息视频帧的数量),通过处理结果寻找历史视频对应的最优帧率,最后根据多个历史视频对应的最优帧率确定目标帧率。In this embodiment, the optimal frame rate can be obtained by processing multiple historical videos, and the optimal frame rate can be used as the target frame rate. For processing historical video, the historical video can be desensitized, and the processing result can be obtained. The processing result includes the number of correct desensitized video (that is, the number of video frames containing the set sensitive information), and the maximum value corresponding to the historical video can be found through the processing result. The optimal frame rate, and finally determine the target frame rate according to the optimal frame rate corresponding to multiple historical videos.

可选的,确定待处理视频的目标帧率,包括:获取多个历史视频;Optionally, determining the target frame rate of the video to be processed includes: acquiring multiple historical videos;

对于每个历史视频,基于设定帧率对历史视频中的设定敏感信息进行处理,获得第一处理结果;其中,第一处理结果为包含设定敏感信息的视频帧的数量;对第一处理结果对应的帧率和历史视频执行如下迭代过程:基于设定递减步长对第一处理结果对应的帧率进行处理,获得第一帧率;基于第一帧率对历史视频中的设定敏感信息进行处理,获得第二处理结果;若第二处理结果和第一处理结果不相等,则将第二处理结果作为新的第一处理结果进行迭代处理;若第二处理结果和第一处理结果相等,则结束迭代过程,并将第一处理结果对应的帧率作为第二帧率;获得多个第二帧率;根据多个第二帧率确定目标帧率。For each historical video, based on the set frame rate, the set sensitive information in the historical video is processed to obtain the first processing result; wherein, the first processing result is the number of video frames containing the set sensitive information; for the first The frame rate corresponding to the processing result and the historical video perform the following iterative process: process the frame rate corresponding to the first processing result based on the set decreasing step size to obtain the first frame rate; Sensitive information is processed to obtain the second processing result; if the second processing result is not equal to the first processing result, the second processing result is used as the new first processing result for iterative processing; if the second processing result and the first processing result If the results are equal, the iterative process ends, and the frame rate corresponding to the first processing result is used as the second frame rate; multiple second frame rates are obtained; and the target frame rate is determined according to the multiple second frame rates.

需要说明的是,由于采集的待处理视频可能有不同的帧率,如果帧率过高,那么播放速度会很快,相应的,对待处理视频的处理可能产生比较差的结果,因此需要对待处理视频的帧率进行调整,即需要确定待处理视频的目标帧率。It should be noted that since the captured video to be processed may have different frame rates, if the frame rate is too high, the playback speed will be very fast. Correspondingly, the processing of the video to be processed may produce relatively poor results, so it needs to be processed To adjust the frame rate of the video, it is necessary to determine the target frame rate of the video to be processed.

其中,设定帧率可以是任意帧率,例如可以是历史视频的原始帧率、目标帧率等。具体的,获取多个历史视频,对于每个历史视频,基于设定帧率对历史视频中的设定敏感信息进行脱敏处理,获得第一处理结果。其中,第一处理结果为包含设定敏感信息的视频帧的数量。对第一处理结果对应的帧率和历史视频执行如下迭代过程:第一处理结果对应的帧率减去设定递减步长获得第一帧率。基于第一帧率对历史视频中的设定敏感信息进行处理,获得第二处理结果。若第二处理结果和第一处理结果不相等,则将第二处理结果作为新的第一处理结果进行迭代处理。若第二处理结果和第一处理结果相等,则结束迭代过程,并将第一处理结果对应的帧率作为第二帧率,从而可以根据多个历史视频,获得多个第二帧率。可以将多个第二帧率的平均帧率、最小帧率或最大帧率作为目标帧率。优选的,将多个第二帧率中的最小帧率作为目标帧率。Wherein, the set frame rate may be any frame rate, for example, it may be the original frame rate, target frame rate, etc. of the historical video. Specifically, multiple historical videos are acquired, and for each historical video, set sensitive information in the historical video is desensitized based on a set frame rate to obtain a first processing result. Wherein, the first processing result is the number of video frames containing setting sensitive information. The following iterative process is performed on the frame rate corresponding to the first processing result and the historical video: the frame rate corresponding to the first processing result is subtracted from the set decrement step to obtain the first frame rate. Based on the first frame rate, the set sensitive information in the historical video is processed to obtain a second processing result. If the second processing result is not equal to the first processing result, the second processing result is used as the new first processing result for iterative processing. If the second processing result is equal to the first processing result, the iterative process ends, and the frame rate corresponding to the first processing result is used as the second frame rate, so that multiple second frame rates can be obtained according to multiple historical videos. An average frame rate, a minimum frame rate or a maximum frame rate of multiple second frame rates may be used as the target frame rate. Preferably, the minimum frame rate among the multiple second frame rates is used as the target frame rate.

示例性的,每个历史视频的第二帧率的确定过程如下:步骤一:基于设定帧率对历史视频中的设定敏感信息进行处理,获得第一处理结果。Exemplarily, the determination process of the second frame rate of each historical video is as follows: Step 1: Process the set sensitive information in the historical video based on the set frame rate to obtain a first processing result.

第一处理结果中具体包括:共处理视频帧的数量为Ti,Ti中包括错误视频帧(即视频帧中不包括设定敏感信息)的数量为Fi,其处理结果包含设定敏感信息的视频帧的数量(即有效性数量)记为Vi=Ti-Fi。Specifically include in the first processing result: the number of co-processed video frames is Ti, the number of error video frames (that is, the video frame does not include setting sensitive information) in Ti is Fi, and the processing result includes the video of setting sensitive information The number of frames (ie, the number of validity) is denoted as Vi=Ti-Fi.

步骤二:给定帧率递减步长S,使用第一帧率(第一帧率=第一处理结果对应的帧率-设定递减步长S)播放视频,基于第一帧率对历史视频中的设定敏感信息进行处理,获得第二处理结果。Step 2: Given a frame rate decrement step S, use the first frame rate (first frame rate=the frame rate corresponding to the first processing result-setting the decrement step S) to play the video, based on the first frame rate for historical video The set sensitive information in is processed to obtain the second processing result.

第二处理结果中具体包括:共处理视频帧的数量为Tj,Tj中包括错误视频帧(即视频帧中不包括设定敏感信息)的数量为Fj,其处理结果包含设定敏感信息的视频帧的数量(即有效性数量)记为Vj=Tj-Fj。The second processing result specifically includes: the number of co-processed video frames is Tj, the number of error video frames (that is, the video frames do not include setting sensitive information) in Tj is Fj, and the processing result includes the video of setting sensitive information The number of frames (ie, the number of validity) is denoted as Vj=Tj-Fj.

步骤三:若第二处理结果和第一处理结果不相等,则将第二处理结果作为新的第一处理结果进行迭代处理,即将第二处理结果作为第一处理结果,Vj作为Vi,重复执行步骤二;若第二处理结果和第一处理结果相等,则结束迭代过程,即直到Vj=Vi结束迭代过程,其中j=i+1;此时,可以将第一处理结果对应的帧率作为第二帧率。Step 3: If the second processing result is not equal to the first processing result, iteratively process the second processing result as the new first processing result, that is, take the second processing result as the first processing result, Vj as Vi, and repeat Step 2: If the second processing result is equal to the first processing result, then end the iterative process, that is, end the iterative process until Vj=Vi, where j=i+1; at this time, the frame rate corresponding to the first processing result can be used as Second frame rate.

本实施例,通过多个历史视频确定多个第二帧率,根据多个第二帧率确定目标帧率,从而可以基于目标帧率对待处理视频进行处理,进而可以提高视频处理的准确性。In this embodiment, multiple second frame rates are determined through multiple historical videos, and a target frame rate is determined according to the multiple second frame rates, so that the video to be processed can be processed based on the target frame rate, and the accuracy of video processing can be improved.

S130、基于目标帧率对待处理视频中的设定敏感信息进行处理,获得第一处理视频。S130. Process the set sensitive information in the video to be processed based on the target frame rate to obtain a first processed video.

本实施例中,可以使用目标帧率播放待处理视频,在播放待处理视频的过程中,获取每个视频帧,逐一对每个视频帧中的设定敏感信息进行处理。具体可以通过自动脱敏处理系统进行处理,该自动脱敏处理系统中可以包括机器学习模型,机器学习模型可以通过迭代训练含有设定敏感信息的多个历史视频得到。In this embodiment, the target frame rate can be used to play the video to be processed. During the playback of the video to be processed, each video frame is acquired, and the set sensitive information in each video frame is processed one by one. Specifically, it can be processed by an automatic desensitization processing system. The automatic desensitization processing system can include a machine learning model, and the machine learning model can be obtained by iteratively training multiple historical videos containing set sensitive information.

可选的,基于目标帧率对待处理视频中的设定敏感信息进行处理,获得第一处理视频,包括:基于目标帧率播放待处理视频;获取播放过程中的每一视频帧,作为第一视频帧;其中,第一视频帧为当前播放到的视频帧;若第一视频帧存在设定敏感信息,则基于设定处理策略对第一视频帧进行处理,获得第一关联帧集合;其中,设定处理策略包括丢弃整帧策略和模糊化设定敏感信息区域策略;当待处理视频播放结束,根据第一关联帧集合对待处理视频进行处理,获得第一处理视频。Optionally, processing the set sensitive information in the video to be processed based on the target frame rate to obtain the first processed video includes: playing the video to be processed based on the target frame rate; acquiring each video frame during playback as the first Video frame; wherein, the first video frame is the currently played video frame; if there is setting sensitive information in the first video frame, the first video frame is processed based on the setting processing strategy to obtain the first associated frame set; wherein , setting the processing strategy includes discarding the entire frame strategy and blurring the sensitive information area strategy; when the video to be processed is finished playing, the video to be processed is processed according to the first associated frame set to obtain the first processed video.

具体的,利用目标帧率播放待处理视频,在播放待处理视频的过程中,获取每一个视频帧,将当前播放到的视频帧作为第一视频帧。如果通过机器学习模型识别出第一视频帧中存在设定敏感信息,则基于丢弃整帧策略或模糊化设定敏感信息区域策略对含有设定敏感信息的第一视频帧进行处理,该第一视频帧处理完之后,得到第一关联帧集合。其中,关联帧集合用于存放含有敏感信息的视频帧以及含有敏感信息视频帧的关联信息。如果设定处理策略为丢弃整帧策略,则第一关联帧集合中包括含有设定敏感信息的视频帧、视频帧的时间戳等;如果设定处理策略为模糊化设定敏感信息区域策略,则第一关联帧集合中包括含有设定敏感信息的第一视频帧、视频帧的时间戳以及对第一视频帧模糊处理后的视频帧(即模糊视频帧)。当待处理视频播放结束,即对待处理视频中的含有设定敏感信息的视频帧均处理完毕,此时会得到最终的第一关联帧集合,根据最终的第一关联帧集合对待处理视频进行统一处理,如果是丢弃整帧策略,则根据第一关联帧集合中视频帧的时间戳,将含有设定敏感信息的视频帧进行删除;如果模糊化设定敏感信息区域策略,则根据第一关联帧集合中视频帧的时间戳,将含有设定敏感信息的视频帧替换为模糊视频帧。Specifically, the target frame rate is used to play the video to be processed, and during the process of playing the video to be processed, each video frame is acquired, and the currently played video frame is used as the first video frame. If it is identified through the machine learning model that there is setting sensitive information in the first video frame, the first video frame containing setting sensitive information is processed based on the strategy of discarding the entire frame or the strategy of blurring the setting sensitive information area, and the first video frame contains the setting sensitive information. After the video frames are processed, a first associated frame set is obtained. Wherein, the associated frame set is used to store video frames containing sensitive information and associated information of video frames containing sensitive information. If the processing strategy is set to discard the entire frame strategy, then the first associated frame set includes the video frame containing the set sensitive information, the time stamp of the video frame, etc.; if the processing strategy is set to fuzzy set the sensitive information area strategy, Then the first associated frame set includes the first video frame containing the set sensitive information, the time stamp of the video frame, and the video frame after blurring the first video frame (that is, the blurred video frame). When the playback of the video to be processed is finished, that is, the video frames containing the set sensitive information in the video to be processed are all processed, at this time, the final set of first associated frames will be obtained, and the video to be processed will be unified according to the final set of first associated frames Processing, if it is a policy of discarding the entire frame, delete the video frame containing the set sensitive information according to the time stamp of the video frame in the first associated frame set; The timestamp of the video frame in the frame collection, replace the video frame containing the set sensitive information with the blurred video frame.

本实施例中,对于含有设定敏感信息的视频帧,基于设定处理策略对视频帧进行处理,获得第一关联帧集合,在待处理视频播放完毕之后,根据最终的第一关联帧集合对待处理视频进行处理的方式,可以有效实现对视频中含有设定敏感信息的处理,从而可以提高视频处理的准确性。In this embodiment, for video frames containing setting sensitive information, the video frames are processed based on the setting processing strategy to obtain the first associated frame set, and after the video to be processed is played, it is treated according to the final first associated frame set The method of processing the video can effectively realize the processing of the set sensitive information contained in the video, thereby improving the accuracy of the video processing.

可选的,基于设定处理策略对第一视频帧进行处理,获得第一关联帧集合,包括:若设定处理策略为丢弃整帧策略,则将第一视频帧作为目标视频帧;确定目标视频帧的时间戳;将时间戳、目标视频帧及丢弃整帧策略对应关联,并添加至第一关联帧集合中。Optionally, processing the first video frame based on the set processing strategy to obtain the first set of associated frames includes: if the set processing strategy is a policy of discarding the entire frame, then using the first video frame as the target video frame; determining the target The timestamp of the video frame; correlating the timestamp, the target video frame and the policy of discarding the entire frame, and adding them to the first associated frame set.

其中,视频帧的时间戳可以用于确定视频帧在视频中的具体位置,通过时间戳可以找到时间戳对应的视频帧。本实施例中,如果设定处理策略为丢弃整帧策略,则将第一视频帧作为目标视频帧,其中,目标视频帧可以理解为含有敏感信息的视频帧。确定目标视频帧的时间戳,将目标视频帧的时间戳、目标视频帧及丢弃整帧策略对应关联,并对应添加至第一关联帧集合中。Wherein, the time stamp of the video frame can be used to determine the specific position of the video frame in the video, and the video frame corresponding to the time stamp can be found through the time stamp. In this embodiment, if the processing policy is set as the policy of discarding the entire frame, the first video frame is taken as the target video frame, wherein the target video frame can be understood as a video frame containing sensitive information. The time stamp of the target video frame is determined, and the time stamp of the target video frame, the target video frame and the policy of discarding the entire frame are correspondingly associated, and correspondingly added to the first associated frame set.

可选的,根据第一关联帧集合对待处理视频进行处理,获得第一处理视频,包括:若设定处理策略为丢弃整帧策略,则根据目标视频帧对应的时间戳将目标视频帧从待处理视频中进行删除,获得第一处理视频。Optionally, processing the video to be processed according to the first set of associated frames to obtain the first processed video includes: if the processing strategy is set to discard the entire frame strategy, then according to the timestamp corresponding to the target video frame, the target video frame is removed from the video to be processed Deletion is performed in the processed video to obtain the first processed video.

本实施例,如果设定处理策略为丢弃整帧策略,则将第一视频帧作为目标视频帧,将目标视频帧的时间戳、目标视频帧及丢弃整帧策略对应关联,作为关联组,并将关联组添加至第一关联帧集合中,当待处理视频播放结束,即对待处理视频中的含有设定敏感信息的视频帧均处理完毕之后,得到最终的第一关联帧集合,最终的第一关联帧集合中可以包括一个或多个关联组。得到最终的第一关联帧集合之后,根据最终的第一关联帧集合统一对待处理视频进行脱敏处理。具体的,根据最终的第一关联帧集合中的目标视频帧的时间戳将目标视频帧从待处理视频中进行一一删除,获得第一处理视频。In this embodiment, if the processing strategy is set as discarding the entire frame strategy, then the first video frame is used as the target video frame, and the timestamp of the target video frame, the target video frame and the discarding entire frame strategy are correspondingly associated as an association group, and Add the association group to the first association frame set. When the video to be processed is finished playing, that is, after all the video frames containing sensitive information in the video to be processed have been processed, the final first association frame set is obtained, and the final first association frame set is obtained. One or more association groups may be included in an association frame set. After the final set of first associated frames is obtained, the video to be processed is uniformly desensitized according to the final set of first associated frames. Specifically, the target video frames are deleted one by one from the video to be processed according to the time stamps of the target video frames in the final first associated frame set to obtain the first processed video.

本实施例,通过丢弃整帧策略对待处理视频中的设定敏感信息进行处理,获得第一处理视频的方式,可以有效实现对视频中含有设定敏感信息的处理,从而可以提高视频处理的准确性。In this embodiment, by discarding the entire frame policy to process the setting sensitive information in the video to be processed, the first method of processing the video can be obtained, which can effectively realize the processing of setting sensitive information in the video, thereby improving the accuracy of video processing. sex.

可选的,基于设定处理策略对第一视频帧进行处理,获得第一关联帧集合,包括:若设定处理策略为模糊化设定敏感信息区域策略,则将第一视频帧作为目标视频帧;确定目标视频帧的时间戳;对目标视频帧中的设定敏感区域进行模糊处理,获得模糊视频帧;将时间戳、目标视频帧、模糊视频帧及模糊化设定敏感信息区域策略对应关联,并添加至第一关联帧集合中。Optionally, processing the first video frame based on the set processing strategy to obtain the first associated frame set includes: if the set processing strategy is blurring and setting the sensitive information area strategy, then using the first video frame as the target video Frame; determine the timestamp of the target video frame; blur the set sensitive area in the target video frame to obtain a blurred video frame; correspond to the time stamp, target video frame, blurred video frame and fuzzy set sensitive information area strategy associated and added to the first associated frame set.

可选的,根据第一关联帧集合对待处理视频进行处理,获得第一处理视频,包括:若设定处理策略为模糊化设定敏感信息区域策略,则根据目标视频帧对应的时间戳,将待处理视频中的目标视频帧替换为模糊视频帧,获得第一处理视频。Optionally, processing the video to be processed according to the first associated frame set to obtain the first processed video includes: if the processing strategy is set to be fuzzy and the sensitive information area strategy is set, then according to the time stamp corresponding to the target video frame, the The target video frame in the video to be processed is replaced with a blurred video frame to obtain a first processed video.

本实施例,如果设定处理策略为模糊化设定敏感信息区域策略,则将第一视频帧作为目标视频帧,对目标视频帧中的设定敏感区域进行模糊处理,获得模糊视频帧。其中,设定敏感区域可以理解为含有设定敏感信息的区域。对于具体的模糊处理的方式,本实施例对此不作限制,能够实现对设定敏感区域进行模糊处理即可,模糊处理可以是马赛克处理等。将目标视频帧的时间戳、目标视频帧、模糊视频帧及模糊化设定敏感信息区域策略对应关联,作为关联组,并将关联组添加至第一关联帧集合中。当待处理视频播放结束,即对待处理视频中的含有设定敏感信息的视频帧均处理完毕之后,得到最终的第一关联帧集合,最终的第一关联帧集合中可以包括一个或多个关联组。得到最终的第一关联帧集合之后,根据第一关联帧集合统一对待处理视频进行脱敏处理。具体的,根据最终的第一关联帧集合中的目标视频帧的时间戳将待处理视频中的目标视频帧替换为对应的模糊视频帧,获得第一处理视频。In this embodiment, if the set processing strategy is the strategy of blurring the set sensitive information area, then the first video frame is used as the target video frame, and the set sensitive area in the target video frame is blurred to obtain a blurred video frame. Wherein, the set sensitive area can be understood as an area containing set sensitive information. This embodiment does not limit the specific blurring processing method, and it only needs to implement blurring processing on the set sensitive area, and the blurring processing may be mosaic processing or the like. The time stamp of the target video frame, the target video frame, the blurred video frame, and the fuzzy setting sensitive information area strategy are correspondingly associated as an association group, and the association group is added to the first association frame set. When the video to be processed is finished playing, that is, after all the video frames containing sensitive information in the video to be processed have been processed, the final set of first associated frames can be obtained, and the final set of first associated frames can include one or more associated frames. Group. After the final first associated frame set is obtained, desensitization processing is uniformly performed on the video to be processed according to the first associated frame set. Specifically, the target video frame in the video to be processed is replaced with the corresponding blurred video frame according to the time stamp of the target video frame in the final first associated frame set to obtain the first processed video.

本实施例,通过模糊化设定敏感信息区域策略对待处理视频中的设定敏感信息进行处理,获得第一处理视频的方式,可以有效实现对视频中含有设定敏感信息的处理,从而可以提高视频处理的准确性。In this embodiment, by blurring the set sensitive information area policy to process the set sensitive information in the video to be processed, the first method of processing the video can be obtained, which can effectively realize the processing of the set sensitive information in the video, thereby improving Accuracy of video processing.

S140、对第一处理视频进行修正,获得目标视频。S140. Correct the first processed video to obtain a target video.

本实施例中,可以从第一关联帧集合中获取目标视频帧,接收用户对目标视频帧的校验信息,根据校验信息对第一处理视频进行修正。校验信息可以包括目标视频帧是否含有设定敏感信息。具体的,如果校验信息为目标视频帧不含有设定敏感信息,则根据所述目标视频帧的时间戳将所述目标视频帧进行还原(即将目标视频帧与第一处理视频进行合并),得到目标视频。In this embodiment, the target video frame may be obtained from the first associated frame set, the verification information of the target video frame by the user may be received, and the first processed video may be corrected according to the verification information. The verification information may include whether the target video frame contains setting sensitive information. Specifically, if the verification information is that the target video frame does not contain setting sensitive information, then restore the target video frame according to the timestamp of the target video frame (that is, merge the target video frame with the first processed video), Get the target video.

本实施例公开的技术方案,获取待处理视频,确定所述待处理视频的目标帧率,基于目标帧率对所述待处理视频中的设定敏感信息进行处理,获得第一处理视频,对所述第一处理视频进行修正,获得目标视频。本公开实施例,通过基于目标帧率对所述待处理视频中的设定敏感信息进行处理,并对第一处理视频进行修正的方式,可以提高对视频中设定敏感信息处理的准确率。In the technical solution disclosed in this embodiment, the video to be processed is acquired, the target frame rate of the video to be processed is determined, and the set sensitive information in the video to be processed is processed based on the target frame rate to obtain the first processed video, and the The first processed video is corrected to obtain a target video. In the embodiment of the present disclosure, by processing the setting sensitive information in the video to be processed based on the target frame rate, and correcting the first processed video, the accuracy of processing the setting sensitive information in the video can be improved.

图2为本发明实施例提供的另一种视频处理方法的流程图。本发明实施例是在上述发明实施例基础上的具体化,参见图2,本发明实施例提供的方法具体包括如下步骤:FIG. 2 is a flowchart of another video processing method provided by an embodiment of the present invention. The embodiment of the present invention is based on the embodiment of the above invention. Referring to FIG. 2, the method provided by the embodiment of the present invention specifically includes the following steps:

S210、获取待处理视频。S210. Obtain a video to be processed.

其中,所述待处理视频包括设定敏感信息;Wherein, the video to be processed includes setting sensitive information;

S220、确定所述待处理视频的目标帧率。S220. Determine a target frame rate of the video to be processed.

S230、基于目标帧率对所述待处理视频中的设定敏感信息进行处理,获得第一处理视频。S230. Process the set sensitive information in the video to be processed based on the target frame rate to obtain a first processed video.

S240、若设定处理策略为丢弃整帧策略,则从所述第一关联帧集合中获取目标视频帧。S240. If the processing policy is set as the policy of discarding whole frames, acquire the target video frame from the first associated frame set.

S250、接收用户对所述目标视频帧的第一校验信息。S250. Receive first verification information of the target video frame from the user.

S260、若所述第一校验信息为目标视频帧不存在所述设定敏感信息,则根据所述目标视频帧对应的时间戳将所述目标视频帧和所述第一处理视频进行合并,得到目标视频。S260. If the first verification information is that the set sensitive information does not exist in the target video frame, merge the target video frame and the first processed video according to the timestamp corresponding to the target video frame, Get the target video.

本实施例中,若设定处理策略为丢弃整帧策略,则从所述第一关联帧集合中获取目标视频帧;根据目标视频帧的时间戳,依次将目标视频帧导入至对比窗口中,接收用户对对比窗口中的目标视频帧的第一校验信息。若所述第一校验信息为目标视频帧不存在所述设定敏感信息,则将目标视频帧标记为撤销状态。当第一关联帧集合中的目标视频帧均校验(检查)完毕之后,对于标记为撤销状态的目标视频帧,根据所述目标视频帧的时间戳将所述目标视频帧和所述第一处理视频进行合并(即根据目标视频帧的时间戳将目标视频帧还原至第一处理视频中),得到目标视频。In this embodiment, if the processing strategy is set to discard the entire frame strategy, the target video frame is obtained from the first associated frame set; according to the timestamp of the target video frame, the target video frame is sequentially imported into the comparison window, The first verification information of the user on the target video frame in the comparison window is received. If the first verification information is that the target video frame does not contain the set sensitive information, then mark the target video frame as revoked. After all the target video frames in the first set of associated frames have been verified (checked), for the target video frame marked as revoked, the target video frame and the first frame are combined according to the timestamp of the target video frame The processed videos are merged (that is, the target video frame is restored to the first processed video according to the time stamp of the target video frame) to obtain the target video.

S270、若设定处理策略为模糊化设定敏感信息区域策略,则从所述第一关联帧集合中获取目标视频帧和模糊视频帧。S270. If the processing strategy is set as a policy of blurring sensitive information areas, acquire target video frames and blurred video frames from the first associated frame set.

S280、接收用户对所述目标视频帧和所述模糊视频帧的第二校验信息。S280. Receive second verification information from the user on the target video frame and the blurred video frame.

S290、若所述第二校验信息为目标视频帧不存在所述设定敏感信息或所述模糊视频帧中存在错误模糊区域,则根据所述目标视频帧对应的时间戳将所述第一处理视频中对应的模糊视频帧替换为所述目标视频帧,得到目标视频。S290. If the second verification information is that the target video frame does not contain the set sensitive information or that there is an error blurred area in the blurred video frame, the first The corresponding blurred video frame in the processed video is replaced with the target video frame to obtain the target video.

本实施例中,若设定处理策略为模糊化设定敏感信息区域策略,则从所述第一关联帧集合中获取目标视频帧和模糊视频帧;根据目标视频帧的时间戳,依次将目标视频帧导入至对比窗口中,对于对比窗口,左边可以是目标视频帧,右边可以是目标视频帧对应的模糊视频帧。接收用户对对比窗口中的目标视频帧和模糊视频帧的第二校验信息。若所述第二校验信息为目标视频帧不存在所述设定敏感信息或所述模糊视频帧中存在错误模糊区域,则将目标视频帧标记为撤销状态或模糊视频帧对应的目标视频帧标记为撤销状态。其中,对于模糊视频帧中存在错误模糊区域,可以理解为在模糊处理过程中,未在设定敏感区域进行模糊处理,在不包含设定敏感信息的区域进行模糊处理。当第一关联帧集合中的目标视频帧和模糊视频帧均校验(检查)完毕之后,对于标记为撤销状态的目标视频帧,根据所述目标视频帧的时间戳将所述第一处理视频中对应的模糊视频帧替换为所述目标视频帧,得到目标视频。目标视频帧的时间戳与目标视频帧对应关联的模糊视频帧的时间戳可以是相同的。In this embodiment, if the processing strategy is set as blurring and setting the sensitive information area strategy, the target video frame and the blurred video frame are obtained from the first associated frame set; according to the time stamp of the target video frame, the target The video frame is imported into the comparison window. For the comparison window, the left side can be the target video frame, and the right side can be the blurred video frame corresponding to the target video frame. The second verification information of the user on the target video frame and the blurred video frame in the comparison window is received. If the second verification information is that the target video frame does not have the set sensitive information or there is an error blurred area in the blurred video frame, then mark the target video frame as a revoked state or the target video frame corresponding to the blurred video frame Marked as revoked. Wherein, the false blurred area in the blurred video frame can be understood as that during the blurring process, the blurring process is not performed on the set sensitive area, and the blurred process is performed on the area that does not contain the set sensitive information. After the target video frame and the blurred video frame in the first associated frame set have been verified (checked), for the target video frame marked as revoked state, the first processed video frame will be processed according to the timestamp of the target video frame The corresponding blurred video frame in is replaced with the target video frame to obtain the target video. The time stamp of the target video frame may be the same as the time stamp of the blurred video frame associated with the target video frame.

本实施例,通过对第一关联帧集合中的目标视频帧或模糊视频帧进行错误检查,对于目标视频帧不存在所述设定敏感信息或所述模糊视频帧中存在错误模糊区域的情况,可以根据目标视频帧的时间戳将目标视频帧还原至第一处理视频中,得到目标视频的方式,可以纠正自动脱敏处理系统处理错误的情况,从而可以进一步提高对视频中设定敏感信息处理的准确率。In this embodiment, by performing an error check on the target video frame or the blurred video frame in the first set of associated frames, if the target video frame does not have the set sensitive information or the blurred video frame has a wrong blurred area, The target video frame can be restored to the first processed video according to the time stamp of the target video frame to obtain the target video, which can correct the processing error of the automatic desensitization processing system, thereby further improving the processing of sensitive information set in the video the accuracy rate.

可选的,在对所述第一处理视频进行修正,获得目标视频之后,还包括:Optionally, after correcting the first processed video and obtaining the target video, the method further includes:

基于目标帧率播放所述目标视频;获取所述播放目标视频过程中的每一视频帧,作为第二视频帧;接收用户对所述第二视频帧的第三校验信息;若第三校验信息为所述第二视频帧存在设定敏感信息,则暂停所述目标视频;基于所述设定处理策略对所述第二视频帧进行处理,获得第二关联帧集合;继续基于所述目标帧率对未播放的目标视频进行处理,直到所述目标视频播放完毕,获得新的第二关联帧集合;根据所述新的第二关联帧集合对所述目标视频进行处理,获得新的目标视频。Play the target video based on the target frame rate; acquire each video frame in the process of playing the target video as a second video frame; receive the third verification information of the second video frame from the user; if the third calibration If the verification information is that the second video frame has set sensitive information, then suspend the target video; process the second video frame based on the set processing strategy to obtain a second associated frame set; continue based on the The target frame rate processes the unplayed target video until the target video is played, and obtains a new second associated frame set; processes the target video according to the new second associated frame set to obtain a new target video.

需要说明的是,对于模糊视频帧中存在错误模糊区域的情况,根据所述目标视频帧的时间戳将所述第一处理视频中对应的模糊视频帧替换为所述目标视频帧,得到目标视频。此时,模糊视频帧对应的目标视频帧中可能包括设定敏感信息。或者,自动脱敏处理系统(机器学习模型)在对待处理视频处理的过程中存在遗漏的情况,可以对目标视频进行再次处理。It should be noted that, for the case where there is a wrong blurred area in the blurred video frame, the corresponding blurred video frame in the first processed video is replaced with the target video frame according to the timestamp of the target video frame, to obtain the target video . At this time, the target video frame corresponding to the blurred video frame may include set sensitive information. Or, if the automatic desensitization processing system (machine learning model) misses the processing of the video to be processed, the target video can be processed again.

本实施例中,可以基于目标帧率再次播放所述目标视频,获取所述播放目标视频过程中的每一视频帧,作为第二视频帧。接收用户对所述第二视频帧的第三校验信息,若第三校验信息为所述第二视频帧存在设定敏感信息,则暂停所述目标视频;基于所述设定处理策略再次对所述第二视频帧进行处理,获得第二关联帧集合;继续基于所述目标帧率对未播放的目标视频进行播放,继续接收用户对所述第二视频帧的第三校验信息,若第三校验信息为所述第二视频帧存在设定敏感信息,则再次暂停所述目标视频;基于所述设定处理策略再次对所述第二视频帧进行处理,直到所述目标视频播放完毕,即对目标视频中的所有第二视频帧检查并基于设定处理策略处理完毕之后,得到新的第二关联帧集合,则根据新的第二关联帧集合对所述目标视频进行处理,获得新的目标视频。In this embodiment, the target video may be played again based on the target frame rate, and each video frame in the process of playing the target video may be acquired as a second video frame. Receive the user's third verification information on the second video frame, if the third verification information is that the second video frame has set sensitive information, then suspend the target video; based on the set processing strategy again Processing the second video frame to obtain a second associated frame set; continuing to play the unplayed target video based on the target frame rate, and continuing to receive third verification information from the user on the second video frame, If the third verification information is that the second video frame has set sensitive information, then pause the target video again; based on the set processing strategy, process the second video frame again until the target video After the playback is completed, that is, after all the second video frames in the target video are checked and processed based on the set processing strategy, a new second associated frame set is obtained, and the target video is processed according to the new second associated frame set , to get a new target video.

具体的,根据最新的第二关联帧集合统一对目标视频进行遗漏脱敏处理。如果最新的第二关联帧集合为非空,若设定处理策略为丢弃整帧策略,则将第二视频帧作为目标视频帧,根据所述最新的第二关联帧集合中的目标视频帧的时间戳将所述目标视频帧从所述目标视频中进行一一删除,获得新的目标视频。若设定处理策略为模糊化设定敏感信息区域策略,则将第二视频帧作为目标视频帧,根据所述最新的第二关联帧集合中的目标视频帧的时间戳将所述目标视频中的所述目标视频帧替换为所述对应的模糊视频帧,获得新的目标视频。Specifically, omission desensitization processing is uniformly performed on the target video according to the latest second associated frame set. If the latest second associated frame set is non-empty, if the processing strategy is set to discard the entire frame strategy, then the second video frame is used as the target video frame, according to the target video frame in the latest second associated frame set The timestamp deletes the target video frames one by one from the target video to obtain a new target video. If the processing strategy is set to be fuzzy and set the sensitive information area strategy, then the second video frame is used as the target video frame, and the target video frame is processed according to the timestamp of the target video frame in the latest second set of associated frames. The target video frame is replaced with the corresponding blurred video frame to obtain a new target video.

本实施例,通过基于目标帧率播放目标视频,在播放目标视频的过程中,对目标视频再次进行处理的方式,可以弥补自动脱敏处理系统处理遗漏的情况,从而可以进一步提高对视频中设定敏感信息处理的准确率。In this embodiment, by playing the target video based on the target frame rate, during the process of playing the target video, the target video is processed again, which can make up for the omission of the automatic desensitization processing system, thereby further improving the accuracy of the settings in the video. Determine the accuracy of sensitive information processing.

可选的,基于所述设定处理策略对所述第二视频帧进行处理,获得第二关联帧集合,包括:将所述第二视频帧以及所述第二视频帧之前的多个视频帧添加至滑动窗口中;从滑动窗口中确定目标视频帧;基于所述设定处理策略对所述目标视频帧进行处理,获得第二关联帧集合。Optionally, processing the second video frame based on the set processing policy to obtain a second associated frame set includes: combining the second video frame and a plurality of video frames preceding the second video frame adding to the sliding window; determining the target video frame from the sliding window; processing the target video frame based on the set processing strategy to obtain a second associated frame set.

本实施例中,基于目标帧率再次播放所述目标视频,获取所述播放目标视频过程中的每一视频帧,作为第二视频帧。接收用户对所述第二视频帧的第三校验信息,若第三校验信息为所述第二视频帧存在设定敏感信息,则暂停所述目标视频。在暂停目标视频时,将所述第二视频帧以及所述第二视频帧之前的多个视频帧添加至滑动窗口中,进行交互式序列化呈现。其中,滑动窗口大小为N,N可以根据机器处理的性能而定。滑动窗口大小可以理解为视频帧的数量。滑动窗口可以理解为列表。具体的,可以将第二视频帧以及第二视频帧之前(可以根据时间戳得到第二视频帧之前的视频帧)的N个视频帧添加到滑动窗口中。从滑动窗口中确定含有设定敏感信息的视频帧,作为目标视频帧。基于所述设定处理策略对所述目标视频帧进行处理,获得第二关联帧集合。本实施例,对于基于所述设定处理策略对所述目标视频帧进行处理,获得第二关联帧集合的方式,与上述实施例中基于设定处理策略对所述第一视频帧进行处理,获得第一关联帧集合的方式相同,在此不再赘述。In this embodiment, the target video is played again based on the target frame rate, and each video frame in the process of playing the target video is acquired as a second video frame. receiving third verification information from the user on the second video frame, and pausing the target video if the third verification information indicates that sensitive information exists in the second video frame. When the target video is paused, the second video frame and multiple video frames before the second video frame are added to the sliding window for interactive serialized presentation. Wherein, the size of the sliding window is N, and N may be determined according to the processing performance of the machine. The sliding window size can be understood as the number of video frames. A sliding window can be understood as a list. Specifically, the second video frame and N video frames before the second video frame (the video frames before the second video frame can be obtained according to the time stamp) may be added to the sliding window. Determine the video frame containing the set sensitive information from the sliding window as the target video frame. Process the target video frame based on the set processing strategy to obtain a second associated frame set. In this embodiment, the manner of processing the target video frame based on the set processing strategy to obtain a second associated frame set is the same as that of processing the first video frame based on the set processing strategy in the above embodiment, The manner of obtaining the first set of associated frames is the same, and will not be repeated here.

本实施例中,通过滑动窗口技术对含有设定敏感信息的视频帧进行序列化,可以提高视频处理的速度。In this embodiment, video frames containing setting sensitive information are serialized by using the sliding window technology, which can improve the speed of video processing.

图3为本公开实施例所提供的一种视频处理装置结构示意图,如图3所示,所述装置包括:视频获取模块310、目标帧率确定模块320、视频处理模块330及视频修正模块340;FIG. 3 is a schematic structural diagram of a video processing device provided by an embodiment of the present disclosure. As shown in FIG. 3 , the device includes: avideo acquisition module 310 , a target framerate determination module 320 , avideo processing module 330 and avideo correction module 340 ;

视频获取模块310,用于获取待处理视频;其中,所述待处理视频包括设定敏感信息;Avideo acquisition module 310, configured to acquire a video to be processed; wherein, the video to be processed includes setting sensitive information;

目标帧率确定模块320,用于确定所述待处理视频的目标帧率;Target framerate determination module 320, configured to determine the target frame rate of the video to be processed;

视频处理模块330,用于基于目标帧率对所述待处理视频中的设定敏感信息进行处理,获得第一处理视频;Avideo processing module 330, configured to process the set sensitive information in the video to be processed based on the target frame rate to obtain a first processed video;

视频修正模块340,用于对所述第一处理视频进行修正,获得目标视频。Avideo modification module 340, configured to modify the first processed video to obtain a target video.

本实施例公开的技术方案,通过视频获取模块获取待处理视频,通过目标帧率确定模块确定所述待处理视频的目标帧率,通过视频处理模块基于目标帧率对所述待处理视频中的设定敏感信息进行处理,获得第一处理视频,通过视频修正模块对所述第一处理视频进行修正,获得目标视频。本公开实施例,通过基于目标帧率对所述待处理视频中的设定敏感信息进行处理,并对第一处理视频进行修正的方式,可以提高对视频中设定敏感信息处理的准确率。In the technical solution disclosed in this embodiment, the video to be processed is obtained by the video acquisition module, the target frame rate of the video to be processed is determined by the target frame rate determination module, and the target frame rate of the video to be processed is determined by the video processing module based on the target frame rate Sensitive information is set for processing to obtain a first processed video, and the first processed video is corrected by a video correction module to obtain a target video. In the embodiment of the present disclosure, by processing the setting sensitive information in the video to be processed based on the target frame rate, and correcting the first processed video, the accuracy of processing the setting sensitive information in the video can be improved.

可选的,目标帧率确定模块具体用于:获取多个历史视频;对于每个历史视频,基于设定帧率对所述历史视频中的设定敏感信息进行处理,获得第一处理结果;其中,第一处理结果为包含所述设定敏感信息的视频帧的数量;对所述第一处理结果对应的帧率和历史视频执行如下迭代过程:基于设定递减步长对所述第一处理结果对应的帧率进行处理,获得第一帧率;基于所述第一帧率对所述历史视频中的设定敏感信息进行处理,获得第二处理结果;若所述第二处理结果和第一处理结果不相等,则将所述第二处理结果作为新的第一处理结果进行迭代处理;若第二处理结果和第一处理结果相等,则结束迭代过程,并将第一处理结果对应的帧率作为第二帧率;获得多个第二帧率;根据所述多个第二帧率确定目标帧率。Optionally, the target frame rate determination module is specifically used to: obtain multiple historical videos; for each historical video, process the set sensitive information in the historical video based on the set frame rate to obtain a first processing result; Wherein, the first processing result is the number of video frames containing the set sensitive information; the following iterative process is performed on the frame rate and historical video corresponding to the first processing result: Process the frame rate corresponding to the processing result to obtain a first frame rate; process the set sensitive information in the historical video based on the first frame rate to obtain a second processing result; if the second processing result and If the first processing result is not equal, the second processing result is used as the new first processing result for iterative processing; if the second processing result is equal to the first processing result, the iterative process is ended, and the first processing result corresponds to The frame rate is used as the second frame rate; a plurality of second frame rates is obtained; and a target frame rate is determined according to the plurality of second frame rates.

可选的,视频处理模块具体用于:基于所述目标帧率播放所述待处理视频;获取所述播放过程中的每一视频帧,作为第一视频帧;其中,所述第一视频帧为当前播放到的视频帧;若所述第一视频帧存在设定敏感信息,则基于设定处理策略对所述第一视频帧进行处理,获得第一关联帧集合;其中,所述设定处理策略包括丢弃整帧策略和模糊化设定敏感信息区域策略;当所述待处理视频播放结束,根据所述第一关联帧集合对所述待处理视频进行处理,获得第一处理视频。Optionally, the video processing module is specifically configured to: play the video to be processed based on the target frame rate; acquire each video frame in the playing process as a first video frame; wherein, the first video frame is the currently played video frame; if there is setting sensitive information in the first video frame, then process the first video frame based on the setting processing strategy to obtain a first associated frame set; wherein, the setting The processing strategy includes the strategy of discarding the entire frame and the strategy of blurring and setting sensitive information areas; when the video to be processed is finished playing, the video to be processed is processed according to the first associated frame set to obtain the first processed video.

可选的,视频处理模块还用于:若设定处理策略为丢弃整帧策略,则将所述第一视频帧作为目标视频帧;确定所述目标视频帧的时间戳;将所述时间戳、所述目标视频帧及所述丢弃整帧策略对应关联,并添加至所述第一关联帧集合中。Optionally, the video processing module is also used for: if the processing strategy is set to discard the entire frame strategy, then use the first video frame as the target video frame; determine the timestamp of the target video frame; set the timestamp , the target video frame and the policy of discarding whole frames are correspondingly associated, and added to the first associated frame set.

可选的,视频处理模块还用于:若设定处理策略为丢弃整帧策略,则根据所述目标视频帧对应的时间戳将所述目标视频帧从所述待处理视频中进行删除,获得第一处理视频。Optionally, the video processing module is also used for: if the processing strategy is set to discard the entire frame strategy, then delete the target video frame from the video to be processed according to the timestamp corresponding to the target video frame, to obtain Process the video first.

可选的,视频处理模块还用于:若设定处理策略为模糊化设定敏感信息区域策略,则将所述第一视频帧作为目标视频帧;确定所述目标视频帧的时间戳;对所述目标视频帧中的设定敏感区域进行模糊处理,获得模糊视频帧;将所述时间戳、所述目标视频帧、所述模糊视频帧及所述模糊化设定敏感信息区域策略对应关联,并添加至第一关联帧集合中。Optionally, the video processing module is also used to: if the processing strategy is set to blur the policy of setting the sensitive information area, then use the first video frame as the target video frame; determine the timestamp of the target video frame; Blurring the set sensitive area in the target video frame to obtain a blurred video frame; correspondingly associating the time stamp, the target video frame, the blurred video frame and the fuzzy set sensitive information area strategy , and added to the first set of associated frames.

可选的,视频处理模块还用于:若设定处理策略为模糊化设定敏感信息区域策略,则根据所述目标视频帧对应的时间戳,将所述待处理视频中的所述目标视频帧替换为所述模糊视频帧,获得第一处理视频。Optionally, the video processing module is further configured to: if the processing strategy is set to blur the sensitive information area strategy, according to the time stamp corresponding to the target video frame, the target video in the video to be processed is The frame is replaced by the blurred video frame to obtain the first processed video.

可选的,视频修正模块具体用于:若设定处理策略为丢弃整帧策略,则从所述第一关联帧集合中获取目标视频帧;接收用户对所述目标视频帧的第一校验信息;若所述第一校验信息为目标视频帧不存在所述设定敏感信息,则根据所述目标视频帧对应的时间戳将所述目标视频帧和所述第一处理视频进行合并,得到目标视频。Optionally, the video correction module is specifically used to: if the processing strategy is set to discard the entire frame strategy, then obtain the target video frame from the first associated frame set; receive the user's first verification of the target video frame information; if the first verification information is that the target video frame does not have the set sensitive information, then merge the target video frame and the first processed video according to the timestamp corresponding to the target video frame, Get the target video.

可选的,视频修正模块还用于:若设定处理策略为模糊化设定敏感信息区域策略,则从所述第一关联帧集合中获取目标视频帧和模糊视频帧;接收用户对所述目标视频帧和所述模糊视频帧的第二校验信息;若所述第二校验信息为目标视频帧不存在所述设定敏感信息或所述模糊视频帧中存在错误模糊区域,则根据所述目标视频帧对应的时间戳将所述第一处理视频中对应的模糊视频帧替换为所述目标视频帧,得到目标视频。Optionally, the video correction module is also used for: if the processing strategy is set to be fuzzy and the sensitive information area strategy is set, then obtain the target video frame and the blurred video frame from the first associated frame set; The second verification information of the target video frame and the blurred video frame; if the second verification information is that the target video frame does not have the set sensitive information or there is an error blurred area in the blurred video frame, then according to The time stamp corresponding to the target video frame replaces the corresponding blurred video frame in the first processed video with the target video frame to obtain the target video.

可选的,上述装置还包括目标视频处理模块,所述目标视频处理模块具体用于:基于目标帧率播放所述目标视频;获取所述播放目标视频过程中的每一视频帧,作为第二视频帧;接收用户对所述第二视频帧的第三校验信息;若第三校验信息为所述第二视频帧存在设定敏感信息,则暂停所述目标视频;基于所述设定处理策略对所述第二视频帧进行处理,获得第二关联帧集合;继续基于所述目标帧率对未播放的目标视频进行处理,直到所述目标视频播放完毕,获得新的第二关联帧集合;根据所述新的第二关联帧集合对所述目标视频进行处理,获得新的目标视频。Optionally, the above device further includes a target video processing module, the target video processing module is specifically configured to: play the target video based on the target frame rate; acquire each video frame in the process of playing the target video as a second Video frame; receiving the user's third verification information on the second video frame; if the third verification information is that the second video frame has set sensitive information, then suspend the target video; based on the setting The processing strategy is to process the second video frame to obtain a second associated frame set; continue to process the unplayed target video based on the target frame rate until the target video is played, and obtain a new second associated frame collection; process the target video according to the new second associated frame set to obtain a new target video.

可选的,所述目标视频处理模块还用于:将所述第二视频帧以及所述第二视频帧之前的多个视频帧添加至滑动窗口中;从滑动窗口中确定目标视频帧;基于所述设定处理策略对所述目标视频帧进行处理,获得第二关联帧集合。Optionally, the target video processing module is further configured to: add the second video frame and a plurality of video frames before the second video frame to the sliding window; determine the target video frame from the sliding window; The set processing policy processes the target video frame to obtain a second associated frame set.

本公开实施例所提供的视频处理装置可执行本公开任意实施例所提供的视频处理方法,具备执行方法相应的功能模块和有益效果。The video processing device provided in the embodiments of the present disclosure can execute the video processing method provided in any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.

值得注意的是,上述装置所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。It is worth noting that the units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only In order to facilitate mutual distinction, it is not intended to limit the protection scope of the embodiments of the present disclosure.

图4为本公开实施例所提供的一种电子设备的结构示意图。下面参考图4,其示出了适于用来实现本公开实施例的电子设备(例如图4中的终端设备或服务器)400的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图4示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. Referring now to FIG. 4 , it shows a schematic structural diagram of an electronic device (such as a terminal device or a server in FIG. 4 ) 400 suitable for implementing an embodiment of the present disclosure. The terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like. The electronic device shown in FIG. 4 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.

如图4所示,电子设备400可以包括处理装置(例如中央处理器、图形处理器等)401,其可以根据存储在只读存储器(ROM)402中的程序或者从存储装置408加载到随机访问存储器(RAM)403中的程序而执行各种适当的动作和处理。在RAM403中,还存储有电子设备400操作所需的各种程序和数据。处理装置401、ROM402以及RAM403通过总线404彼此相连。编辑/输出(I/O)接口405也连接至总线404。As shown in FIG. 4, anelectronic device 400 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 401, which may be randomly accessed according to a program stored in a read-only memory (ROM) 402 or loaded from astorage device 408. Various appropriate actions and processes are executed by programs in the memory (RAM) 403 . In theRAM 403, various programs and data necessary for the operation of theelectronic device 400 are also stored. Theprocessing device 401 ,ROM 402 andRAM 403 are connected to each other through abus 404 . An edit/output (I/O)interface 405 is also connected to thebus 404 .

通常,以下装置可以连接至I/O接口405:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置406;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置407;包括例如磁带、硬盘等的存储装置408;以及通信装置409。通信装置409可以允许电子设备400与其他设备进行无线或有线通信以交换数据。虽然图4示出了具有各种装置的电子设备400,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 405:input devices 406 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration anoutput device 407 such as a computer; astorage device 408 including, for example, a magnetic tape, a hard disk, etc.; and acommunication device 409. The communication means 409 may allow theelectronic device 400 to perform wireless or wired communication with other devices to exchange data. While FIG. 4 showselectronic device 400 having various means, it should be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置409从网络上被下载和安装,或者从存储装置408被安装,或者从ROM402被安装。在该计算机程序被处理装置401执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 409 , or from storage means 408 , or fromROM 402 . When the computer program is executed by theprocessing device 401, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are used for illustrative purposes only, and are not used to limit the scope of these messages or information.

本公开实施例提供的电子设备与上述实施例提供的视频处理方法属于同一发明构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的有益效果。The electronic device provided by the embodiment of the present disclosure belongs to the same inventive concept as the video processing method provided by the above embodiment, and the technical details not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same features as the above embodiment Beneficial effect.

本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例所提供的视频处理方法。An embodiment of the present disclosure provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the video processing method provided in the foregoing embodiments is implemented.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperTextTransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,adhoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and the server can communicate using any currently known or future-developed network protocols such as HTTP (HyperTextTransferProtocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium ( For example, communication networks) interconnect. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., adhoc peer-to-peer networks), as well as any currently known or future developed network.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取待处理视频;其中,所述待处理视频包括设定敏感信息;确定所述待处理视频的目标帧率;基于目标帧率对所述待处理视频中的设定敏感信息进行处理,获得第一处理视频;对所述第一处理视频进行修正,获得目标视频。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: acquires a video to be processed; wherein, the video to be processed includes setting sensitive information; Determine the target frame rate of the video to be processed; process the set sensitive information in the video to be processed based on the target frame rate to obtain a first processed video; correct the first processed video to obtain a target video.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.

描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first obtaining unit may also be described as "a unit for obtaining at least two Internet Protocol addresses".

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), System on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable 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. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable 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 discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an illustration of the applied technical principle. Those skilled in the art should understand that the disclosure scope involved in this disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, but also covers the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, while operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or performed in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while the above discussion contains several specific implementation details, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims (14)

CN202310390857.8A2023-04-132023-04-13Video processing method, device, equipment and storage mediumPendingCN116366919A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202310390857.8ACN116366919A (en)2023-04-132023-04-13Video processing method, device, equipment and storage medium
PCT/CN2023/122565WO2024212453A1 (en)2023-04-132023-09-28Video processing method and apparatus, device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202310390857.8ACN116366919A (en)2023-04-132023-04-13Video processing method, device, equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN116366919Atrue CN116366919A (en)2023-06-30

Family

ID=86908458

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202310390857.8APendingCN116366919A (en)2023-04-132023-04-13Video processing method, device, equipment and storage medium

Country Status (2)

CountryLink
CN (1)CN116366919A (en)
WO (1)WO2024212453A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2024212453A1 (en)*2023-04-132024-10-17惠州市德赛西威汽车电子股份有限公司Video processing method and apparatus, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20210016940A (en)*2019-08-062021-02-17현대모비스 주식회사Autonomous emergency braking apparatus and control method thereof
US20220058394A1 (en)*2020-08-202022-02-24Ambarella International LpPerson-of-interest centric timelapse video with ai input on home security camera to protect privacy
CN114463168A (en)*2022-02-112022-05-10湖北亿咖通科技有限公司 Method, device and electronic device for data desensitization processing
CN114598919A (en)*2022-03-012022-06-07腾讯科技(深圳)有限公司Video processing method, video processing device, computer equipment and storage medium
CN115695916A (en)*2022-11-022023-02-03深圳市正浩创新科技股份有限公司Video generation method, video generation device, in-vehicle device, and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR101972918B1 (en)*2018-12-202019-08-20주식회사 로민Apparatus and method for masking a video
CN113542724B (en)*2020-04-162023-09-15福建天泉教育科技有限公司Automatic detection method and system for video resources
CN111985419B (en)*2020-08-252022-10-14腾讯科技(深圳)有限公司Video processing method and related equipment
CN115174925A (en)*2022-06-132022-10-11深圳市豪恩汽车电子装备股份有限公司Video sensitive information removing method and device and computer readable storage medium
CN115830690A (en)*2022-12-222023-03-21云控智行(上海)汽车科技有限公司Traffic image desensitization method and equipment
CN116366919A (en)*2023-04-132023-06-30惠州市德赛西威汽车电子股份有限公司Video processing method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20210016940A (en)*2019-08-062021-02-17현대모비스 주식회사Autonomous emergency braking apparatus and control method thereof
US20220058394A1 (en)*2020-08-202022-02-24Ambarella International LpPerson-of-interest centric timelapse video with ai input on home security camera to protect privacy
CN114463168A (en)*2022-02-112022-05-10湖北亿咖通科技有限公司 Method, device and electronic device for data desensitization processing
CN114598919A (en)*2022-03-012022-06-07腾讯科技(深圳)有限公司Video processing method, video processing device, computer equipment and storage medium
CN115695916A (en)*2022-11-022023-02-03深圳市正浩创新科技股份有限公司Video generation method, video generation device, in-vehicle device, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2024212453A1 (en)*2023-04-132024-10-17惠州市德赛西威汽车电子股份有限公司Video processing method and apparatus, device and storage medium

Also Published As

Publication numberPublication date
WO2024212453A1 (en)2024-10-17

Similar Documents

PublicationPublication DateTitle
CN112348029B (en)Local map adjusting method, device, equipment and computer readable medium
CN114187177A (en) Method, device, device and storage medium for generating special effects video
CN115257727B (en) Obstacle information fusion method, device, electronic device and computer readable medium
CN111163336B (en)Video resource pushing method and device, electronic equipment and computer readable medium
CN110347875B (en)Video scene classification method and device, mobile terminal and storage medium
CN111858381B (en)Application fault tolerance capability test method, electronic device and medium
CN113191257B (en)Order of strokes detection method and device and electronic equipment
CN115546037A (en) Image processing method, device, electronic device and storage medium
CN116366919A (en)Video processing method, device, equipment and storage medium
CN116319932A (en)Training method, device, equipment and storage medium of content push model
CN114257870B (en) Short video playback method, device, equipment and storage medium
CN115546487A (en)Image model training method, device, medium and electronic equipment
CN115272061A (en) Method, device, device and storage medium for generating special effects video
WO2023279951A1 (en)Screen recording video processing method and apparatus, and readable medium and electronic device
CN118381959A (en) Quality assessment data detection method, device, equipment and storage medium
CN112636971B (en)Service degradation method and device, electronic equipment and storage medium
CN112418233B (en)Image processing method and device, readable medium and electronic equipment
CN115633199A (en)Video gear determination method and device, storage medium and electronic equipment
CN116071280A (en) Video completion method, device, medium and electronic device
CN113641587A (en)Operation interface test method, device, terminal and storage medium
CN111444384A (en)Audio key point determining method, device, equipment and storage medium
US20250156999A1 (en)Video texture migration method and apparatus, electronic device and storage medium
CN112488943B (en)Model training and image defogging method, device and equipment
CN114359673B (en) Small sample smoke detection method, device and equipment based on metric learning
CN116028096A (en)OTA differential upgrade package generation method and device and related equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp