图像处理方法及装置、电子设备和存储介质Image processing method and device, electronic device and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开基于申请号为202011606578.3、申请日为2020年12月30日、申请名称为“图像处理方法及装置、电子设备和存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以全文引入的方式引入本申请This disclosure is based on the Chinese patent application with the application number of 202011606578.3, the application date of which is on December 30, 2020, and the application name is "image processing method and device, electronic equipment and storage medium", and claims the priority of the Chinese patent application, The entire content of the Chinese patent application is hereby incorporated by reference into the present application in its entirety
技术领域technical field
本公开涉及计算机技术领域,尤其涉及一种图像处理方法及装置、电子设备和存储介质。The present disclosure relates to the field of computer technologies, and in particular, to an image processing method and apparatus, an electronic device, and a storage medium.
背景技术Background technique
随着移动通信技术快速发展、智能硬件快速普及,互联网中每天传播大量的视频图像数据。对互联网中每天传播的大量的视频图像数据进行监管,是亟需解决的问题。With the rapid development of mobile communication technology and the rapid popularization of intelligent hardware, a large amount of video image data is spread on the Internet every day. It is an urgent problem to supervise the large amount of video image data that spreads on the Internet every day.
发明内容SUMMARY OF THE INVENTION
本公开提出了一种配置为进行图像处理的技术方案。The present disclosure proposes a technical solution configured to perform image processing.
根据本公开实施例的一方面,提供了一种图像处理方法,包括:According to an aspect of the embodiments of the present disclosure, an image processing method is provided, including:
对待处理图像进行图像处理,得到所述待处理图像的至少一个图像处理结果;Perform image processing on the image to be processed to obtain at least one image processing result of the image to be processed;
确定所述至少一个图像处理结果是否满足预警案件的判定条件;determining whether the at least one image processing result satisfies the judgment condition of the early warning case;
在所述至少一个图像处理结果满足预警案件的判定条件的情况下,确定所述待处理图像为预警图像;In the case that the at least one image processing result satisfies the judgment condition of the early warning case, determine that the to-be-processed image is an early warning image;
根据所述预警图像生成针对所述预警案件的预警结果。An early warning result for the early warning case is generated according to the early warning image.
根据本公开实施例的一方面,提供了一种图像处理装置,包括:According to an aspect of the embodiments of the present disclosure, there is provided an image processing apparatus, including:
第一处理部分,配置为对待处理图像进行图像处理,得到所述待处理图像的至少一个图像处理结果;a first processing part, configured to perform image processing on the image to be processed to obtain at least one image processing result of the image to be processed;
第一确定部分,配置为确定所述至少一个图像处理结果是否满足预警案件的判定条件;a first determining part, configured to determine whether the at least one image processing result satisfies a judgment condition for an early warning case;
第二确定部分,配置为在所述至少一个图像处理结果满足预警案件的判定条件的情况下,确定所述待处理图像为预警图像;a second determining part, configured to determine that the to-be-processed image is an early-warning image when the at least one image processing result satisfies the judgment condition of an early-warning case;
第二处理部分,配置为根据所述预警图像生成针对所述预警案件的预警结果。The second processing part is configured to generate an early warning result for the early warning case according to the early warning image.
根据本公开实施例的一方面,提供了一种电子设备,包括:处理器;配置为存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述图像处理方法。According to an aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; a memory configured to store instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to The image processing method described above is performed.
根据本公开实施例的一方面,提供了一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述图像处理方法。According to an aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having computer program instructions stored thereon, the computer program instructions implementing the above-mentioned image processing method when executed by a processor.
根据本公开的一方面,提供了一种计算机程序,包括计算机可读代码,在所述计算机可读代码在电子设备中运行,被所述电子设备中的处理器执行的情况下,实现上述图像处理方法。According to an aspect of the present disclosure, there is provided a computer program, comprising computer-readable code, which, when the computer-readable code is executed in an electronic device and executed by a processor in the electronic device, realizes the above image Approach.
在本公开实施例实施例中,可以对待处理图像进行图像处理,得到待处理图像的至少一个图像处理结果,并确定至少一个图像处理结果是否满足预警案件的判定条件,在至少一个图像处理结果满足预警案件的判定条件的情况下,确定待处理图像为预警图像,并可以根据预警图像生成针对预警案件的预警结果。根据本公开实施例实施例提供的图像处理方法及装置、电子设备和存储介质可以实现对大量的图像数据的监管处理,有效的降低了人力成本,提高了预警的精度和效率。In the embodiment of the present disclosure, image processing may be performed on the image to be processed to obtain at least one image processing result of the image to be processed, and it is determined whether the at least one image processing result satisfies the judgment condition of the early warning case. In the case of the judgment condition of the early warning case, the image to be processed is determined as the early warning image, and the early warning result for the early warning case can be generated according to the early warning image. The image processing method and device, electronic device, and storage medium provided according to the embodiments of the present disclosure can realize the supervision and processing of a large amount of image data, effectively reduce labor costs, and improve the precision and efficiency of early warning.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the technical solutions of the present disclosure.
图1示出根据本公开实施例提出的图像处理方法的流程图;FIG. 1 shows a flowchart of an image processing method proposed according to an embodiment of the present disclosure;
图2示出根据本公开实施例提出的图像处理方法的示意图;FIG. 2 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图3示出根据本公开实施例提出的图像处理方法的示意图;FIG. 3 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图4示出根据本公开实施例提出的图像处理方法的示意图;FIG. 4 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图5示出根据本公开实施例提出的图像处理方法的示意图;FIG. 5 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图6示出根据本公开实施例提出的图像处理方法的示意图;FIG. 6 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图7示出根据本公开实施例提出的图像处理方法的示意图;FIG. 7 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图8示出根据本公开实施例提出的图像处理方法的示意图;FIG. 8 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图9示出根据本公开实施例提出的图像处理方法的示意图;FIG. 9 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图10示出根据本公开实施例提出的图像处理方法的示意图;FIG. 10 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图11示出根据本公开实施例提出的图像处理方法的示意图;11 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图12示出根据本公开实施例提出的图像处理方法的示意图;FIG. 12 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图13示出根据本公开实施例提出的图像处理方法的示意图;FIG. 13 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图14示出根据本公开实施例提出的图像处理方法的示意图;FIG. 14 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图15示出根据本公开实施例提出的图像处理方法的示意图;FIG. 15 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图16示出根据本公开实施例提出的图像处理方法的示意图;FIG. 16 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图17示出根据本公开实施例提出的图像处理方法的示意图;FIG. 17 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图18示出根据本公开实施例提出的图像处理方法的示意图;FIG. 18 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图19示出根据本公开实施例提出的图像处理方法的示意图;FIG. 19 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图20示出根据本公开实施例提出的图像处理方法的示意图;FIG. 20 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图21示出根据本公开实施例提出的图像处理方法的示意图;FIG. 21 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure;
图22示出根据本公开实施例提出的图像处理装置的框图;FIG. 22 shows a block diagram of an image processing apparatus proposed according to an embodiment of the present disclosure;
图23示出根据本公开实施例提出的一种电子设备800的框图;FIG. 23 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure;
图24示出根据本公开实施例提出的一种电子设备1900的框图。FIG. 24 shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures denote elements that have the same or similar functions. While various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
本文中术语“至少一项”或者“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一项,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The terms "at least one" or "at least one" herein refer to any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, and C, may mean Contains any one or more elements selected from the set of A, B, and C.
另外,为了更好地说明本公开实施例,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开实施例同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。In addition, in order to better illustrate the embodiments of the present disclosure, numerous specific details are given in the following detailed description. It should be understood by those skilled in the art that the embodiments of the present disclosure may be practiced without certain specific details. In some instances, methods, means, components and circuits well known to those skilled in the art have not been described in detail so as not to obscure the subject matter of the present disclosure.
伴随着通信技术的迅速发展以及智能硬件设备的快速普及,互联网每天传播大量的视频图像数据。当前常通过网络大数据监控分析平台通过结构化信息分析的方式,对视频数据进行管理。然而,犯罪分子为了隐藏重要信息,往往会采取图片的传播方式,如涉恐涉独、违法反动、色情暴力以及虚假信息的传播慢慢的由文字转向图片和视频,加大了违法犯罪的隐蔽性,造成舆情监管和犯罪打击难度较大。针对上述问题,目前主要采用的针对互联网传播数据的监管方案包括两种。第一种是针对运营商互联网数据中心(Internet Data Center,IDC)机房数据,使用特定的数据采集器采集数据并进行分析,分析结果上传数据库并进行报警,但是并未提及针对多媒体数据采用的数据分析技术,并且其方法主要是通过制定监控策略对数据内容进行匹配,并未涉及基于全量数据的检索功能。第二种是设置至少一个图像采集检测主服务器和至少一个图像采集检测从服务器,无线应用协议(Wireless Application Protocol,,WAP)业务数据镜像口从码分多址(Code Division Multiple Access,CDMA)或全球移动通信系统(Global System for Mobile Communications,GSM)网络中镜像WAP业务数据,传送到图像采集检测主服务器和图像采集检测从服务器,系统软件架构包括采集控制层、数据审核层、数据管理层、数据呈现层。数据审核层使用了肤色分割、人脸识别等图像识别方法,但是该方法的识别能力及范围只限于色情和不良内容图像,并且只是针对手机CDMA、GSM网络,应用范围较窄。鉴于此,如何高效的对互联网传播的数据 进行监管是亟需解决的问题。With the rapid development of communication technology and the rapid popularization of intelligent hardware devices, the Internet spreads a large amount of video image data every day. At present, video data is often managed by means of structured information analysis through the network big data monitoring and analysis platform. However, in order to hide important information, criminals often use pictures to disseminate, such as terrorism and independence, illegal reaction, pornographic violence, and the dissemination of false information. Slowly, the dissemination of text turns to pictures and videos, which increases the concealment of crimes. Sexuality, making it difficult to supervise public opinion and crack down on crimes. In response to the above problems, there are currently two main regulatory schemes for Internet dissemination of data. The first is to use a specific data collector to collect and analyze the data in the operator's Internet Data Center (IDC) computer room, upload the analysis results to the database and make an alarm, but does not mention the use of multimedia data. Data analysis technology, and its method is mainly to match the data content by formulating monitoring strategies, and does not involve the retrieval function based on the full amount of data. The second is to set up at least one image acquisition and detection master server and at least one image acquisition and detection slave server, Wireless Application Protocol (Wireless Application Protocol, WAP) service data mirror port slave Code Division Multiple Access (CDMA) or The mirrored WAP service data in the Global System for Mobile Communications (GSM) network is transmitted to the image acquisition and detection master server and the image acquisition and detection slave server. The system software architecture includes acquisition control layer, data audit layer, data management layer, Data presentation layer. The data review layer uses image recognition methods such as skin color segmentation and face recognition, but the recognition ability and scope of this method are limited to pornographic and inappropriate content images, and only for mobile CDMA and GSM networks, with a narrow application range. In view of this, how to efficiently supervise the data disseminated on the Internet is an urgent problem to be solved.
本公开实施例提供了一种图像处理方法,通过对待处理图像进行图像处理,得到待处理图像的至少一个图像处理结果,并确定至少一个图像处理结果是否满足预警案件的判定条件,在至少一个图像处理结果满足预警案件的判定条件的情况下,确定待处理图像为预警图像,并可以根据预警图像生成针对预警案件的预警结果。根据本公开实施例实施例提供的图像处理方法及装置、电子设备和存储介质可以实现对大量的图像数据的监管处理,有效的降低了人力成本,提高了预警的精度和效率。The embodiment of the present disclosure provides an image processing method, which obtains at least one image processing result of the to-be-processed image by performing image processing on the to-be-processed image, and determines whether the at least one image processing result satisfies the judgment condition of the early warning case, and then at least one image processing result When the processing result satisfies the judgment condition of the early warning case, the image to be processed is determined as the early warning image, and the early warning result for the early warning case can be generated according to the early warning image. The image processing method and device, electronic device, and storage medium provided according to the embodiments of the present disclosure can realize the supervision and processing of a large amount of image data, effectively reduce labor costs, and improve the precision and efficiency of early warning.
图1示出根据本公开实施例提出的图像处理方法的流程图,所述图像处理方法可以由终端设备或服务器等电子设备执行,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等,所述方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。或者,可通过服务器执行所述方法。1 shows a flowchart of an image processing method proposed according to an embodiment of the present disclosure. The image processing method may be executed by an electronic device such as a terminal device or a server. The terminal device may be a user equipment (User Equipment, UE), a mobile device, User terminals, terminals, cellular phones, cordless phones, personal digital assistants (Personal Digital Assistant, PDA), handheld devices, computing devices, vehicle-mounted devices, wearable devices, etc. The way to read the instruction to achieve. Alternatively, the method may be performed by a server.
如图1所示,所述图像处理方法可以包括:As shown in Figure 1, the image processing method may include:
在S11中,对待处理图像进行图像处理,得到待处理图像的至少一个图像处理结果。In S11, image processing is performed on the image to be processed to obtain at least one image processing result of the image to be processed.
在一些实施例中,待处理图像可以包括接收的实时图像和数据库中存储的历史图像,待处理图像也可以通过对视频数据进行抽帧处理得到。In some embodiments, the images to be processed may include received real-time images and historical images stored in a database, and the images to be processed may also be obtained by performing frame extraction processing on video data.
在一些实施例中,对待处理图像进行图像处理,得到待处理图像的至少一个图像处理结果的过程可以包括:对待处理图像进行预置场景元素提取,得到待处理图像所包含的预置场景元素;其中,预置场景元素可以为系统支持提取的元素,例如:指定标识logo、指定旗帜、特定物体、特定行为等。In some embodiments, the process of performing image processing on the image to be processed to obtain at least one image processing result of the image to be processed may include: extracting preset scene elements from the image to be processed to obtain preset scene elements included in the image to be processed; Among them, the preset scene elements may be elements that the system supports to extract, such as: a specified logo, a specified flag, a specific object, a specific behavior, and the like.
在一些实施例中,对待处理图像进行图像处理,得到待处理图像的至少一个图像处理结果的过程也可以包括:对待处理图像进行文字内容提取,得到待处理图像所包含的文字内容。In some embodiments, the process of performing image processing on the image to be processed to obtain at least one image processing result of the image to be processed may also include: extracting text content from the image to be processed to obtain text content contained in the image to be processed.
在一些实施例中,对待处理图像进行图像处理,得到待处理图像的至少一个图像处理结果的过程还可以包括:对待处理图像与布控任务进行比对,得到待处理图像针对布控任务的布控结果中的至少一项;其中,布控任务可以为根据待布控的目标人物的人脸图像和待布控的目标图像中的至少一项创建的任务,布控任务可以用于实时监测与待布控的目标人物和待布控的目标图像中的至少一项相关的图像;In some embodiments, the process of performing image processing on the to-be-processed image to obtain at least one image processing result of the to-be-processed image may further include: comparing the to-be-processed image with the control task, and obtaining the control result of the to-be-processed image for the control task. At least one item of the control task; wherein, the deployment task can be a task created according to at least one of the face image of the target person to be deployed and the target image to be deployed, and the deployment task can be used for real-time monitoring and control of the target person and the target person to be deployed. Images related to at least one item of target images to be deployed;
在一些实施例中,对待处理图像进行图像处理,得到待处理图像的至少一个图像处理结果的过程还可以包括:对待处理图像进行信息提取等操作,得到待处理图像的源信息。In some embodiments, the process of performing image processing on the to-be-processed image to obtain at least one image processing result of the to-be-processed image may further include: performing operations such as information extraction on the to-be-processed image to obtain source information of the to-be-processed image.
这里,对待处理图像进行图像处理,得到待处理图像的至少一个图像处理结果的过程可以包括以上至少一种。Here, the process of performing image processing on the image to be processed to obtain at least one image processing result of the image to be processed may include at least one of the above.
在S12中,确定至少一个图像处理结果是否满足预警案件的判定条件。In S12, it is determined whether at least one image processing result satisfies the judgment condition of the early warning case.
在S13中,在至少一个图像处理结果满足预警案件的判定条件的情况下,确定待处理图像为预警图像。In S13, if at least one image processing result satisfies the judgment condition of the early warning case, it is determined that the to-be-processed image is an early warning image.
在一些实施例中,在创建预警案件时,可以设置该预警案件对应的判定条件,例如:判定条件可以包括若干个预置场景元素、若干个文字内容、布控任务中的至少一项。在待处理图像的至少一个图像处理结果与任一预警案件的判定条件相匹配时,可以确定该待处理图像的至少一个图像处理结果满足该预警案件的判定条件,确定该待处理图像命中该预警案件,可以作为该预警案件的预警图像。In some embodiments, when creating an early warning case, a judgment condition corresponding to the early warning case may be set, for example, the judgment condition may include at least one of several preset scene elements, several text contents, and control tasks. When at least one image processing result of the to-be-processed image matches the judgment condition of any early warning case, it can be determined that at least one image processing result of the to-be-processed image satisfies the judgment condition of the early warning case, and it is determined that the to-be-processed image hits the early warning case case, which can be used as an early warning image of the early warning case.
图2示出根据本公开实施例提出的图像处理方法的示意图,参照图2,对待处理图像进行图像处理,包括预置场景元素分析、预置文字内容解析、布控任务比对)之后,得到待处理图像的至少一个图像处理结果,可以包括预置场景元素1、预置场景元素2、文字内容1和确定待处理图像命中布控任务1。这里,在预警案件1的判定条件包括预置场景元素1和布控任务2,预警案件2的判定条件包括预置场景元素2,预警案件3的判定条件包括文字内容1和文字内容2,预警案件4的判定条件包括预置场景元素3、文字内容2和布控任务1的情况下,可以确定待处理图像分别命中了预警案件1、预警案件2、预警案件3和预警案件4,待处理图像可以分别作为针对预警案件1的预警图像、针对预警案件2的预警图像、针对预警案件3的预警图像及针对预警案件4的预警图像。FIG. 2 is a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 2 , after image processing is performed on an image to be processed, including analysis of preset scene elements, analysis of preset text content, and comparison of control tasks, an image to be processed is obtained. At least one image processing result of the processed image may include preset scene element 1, preset scene element 2, text content 1, and determining that the image to be processed hits the control task 1. Here, the judgment conditions for early warning case 1 include preset scene element 1 and control task 2, the judgment conditions for early warning case 2 include preset scene element 2, and the judgment conditions for early warning case 3 include text content 1 and text content 2. If the judgment conditions of 4 include preset scene element 3, text content 2 and control task 1, it can be determined that the image to be processed hits early warning case 1, early warning case 2, early warning case 3 and early warning case 4, respectively. As the early warning image for early warning case 1, the early warning image for early warning case 2, the early warning image for early warning case 3, and the early warning image for early warning case 4, respectively.
在步骤S14中,根据预警图像生成针对预警案件的预警结果。In step S14, an early warning result for an early warning case is generated according to the early warning image.
举例来说,预警结果中可以包括预警图像及预警图像对应的预警案件,该预警结果可以用于通告该待处理图像作为预警图像命中了该预警案件。示例性的,可以将该预警结果推送到指定客户端进行展示,用户可以通过查看该预警结果的详细内容,查看到预警结果对应的预警图像及该预警图像命中的预警案件。For example, the warning result may include the warning image and the warning case corresponding to the warning image, and the warning result may be used to notify that the to-be-processed image hits the warning case as the warning image. Exemplarily, the warning result can be pushed to a designated client for display, and the user can view the warning image corresponding to the warning result and the warning case hit by the warning image by viewing the detailed content of the warning result.
本公开实施例可以对待处理图像进行图像处理,得到待处理图像的至少一个图像处理结果,并确定至少一个图像处理结果是否满足预警案件的判定条件,在至少一个图像处理结果满足预警案件的判定条件的情况下,确定待处理图像为预警图像,并可以根据预警图像生成针对预警案件的预警结果。根据本公开实施例提供的图像处理方法可以实现对大量的图像数据的监管处理,有效的降低了人力成本,提高 了预警的精度和效率。This embodiment of the present disclosure may perform image processing on the image to be processed, obtain at least one image processing result of the image to be processed, and determine whether the at least one image processing result satisfies the judgment condition of the early warning case, and if the at least one image processing result satisfies the judgment condition of the early warning case In the case of , the to-be-processed image is determined to be an early warning image, and an early warning result for an early warning case can be generated according to the early warning image. The image processing method provided according to the embodiment of the present disclosure can realize the supervision and processing of a large amount of image data, effectively reduce the labor cost, and improve the precision and efficiency of early warning.
在本公开实施例中,所述方法还可以包括:In an embodiment of the present disclosure, the method may further include:
响应于针对预警案件的创建操作,根据被选中的预警因素,得到预警案件的判定条件。In response to the creation operation for the early warning case, the judgment condition of the early warning case is obtained according to the selected early warning factor.
根据预警案件的判定条件,创建预警案件。Create an early warning case based on the judgment conditions of the early warning case.
在一些实施例中,可以在预警案件创建界面,响应于针对预警案件的创建操作,创建预警案件。例如:在预警案件创建界面中包括用于触发创建新的预警案件的触发控件,响应于针对该预警案件的触发操作,可以展示预警案件的创建界面。也可以在该创建界面中,可以输入案件名称、案件描述信息、案件启动及关闭时间等信息,并可以在判定条件创建区域,通过手动输入或者从提供的预警因素中选择等方式,选择用于创建判定条件的预警因素,且在选中预警因素之后,还可以对选中的预警因素进行编辑,以根据选中的预警因素创建与或非等逻辑表达式,进而根据选中的预警因素创建的逻辑表达式,创建预警案件的判定条件。In some embodiments, an early warning case may be created on the early warning case creation interface in response to an operation for creating an early warning case. For example, the early warning case creation interface includes a trigger control for triggering the creation of a new early warning case, and in response to a trigger operation for the early warning case, the early warning case creation interface can be displayed. You can also enter the case name, case description information, case start and close time and other information in this creation interface, and you can manually input or select from the provided early warning factors in the judgment condition creation area to select the Create an early warning factor for the judgment condition, and after selecting the early warning factor, you can also edit the selected early warning factor to create an AND or NOT logical expression based on the selected early warning factor, and then create a logical expression based on the selected early warning factor , and create a judgment condition for an early warning case.
其中,预警因素可以包括预置场景元素、文字内容、布控任务中的至少一项,被选中的预警因素可以为与预警案件相关的因素。示例性的,图3示出根据本公开实施例提出的图像处理方法的示意图,参照图3,先创建预警案件(S01),如创建涉黄的预警案件A,创建预警案件时,在输入预警案件A的案件名称等信息后,可以选中与涉黄相关的至少一个预置场景元素、添加与涉黄相关的至少一个文字内容或者多个文字内容的逻辑表达式、选中与涉黄相关的至少一个布控任务(实际上,还可以根据选中的预置场景元素、添加的文字内容、选中的布控任务进行逻辑表达式的编辑),进而得到预警案件A的判定条件,即配置预警案件的判定条件(S02)。The early warning factors may include at least one of preset scene elements, text content, and control tasks, and the selected early warning factors may be factors related to early warning cases. Exemplarily, FIG. 3 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 3 , an early warning case is first created (S01), such as creating an early warning case A involving pornography. After the case name and other information of case A, you can select at least one preset scene element related to pornography, add at least one textual content or logical expressions of multiple textual contents related to pornography, and select at least one related to pornography. A control task (actually, the logic expression can also be edited according to the selected preset scene elements, the added text content, and the selected control task), and then the judgment condition of the early warning case A is obtained, that is, the judgment condition of the early warning case is configured. (S02).
在配置预警案件的判定条件后,可以响应于针对用于触发完成预警案件创建的触发控件的触发操作,完成预警案件的创建,将预警案件存储在预警案件库中。之后,可以过滤符合预警案件的判定条件的预警图像(S03),即从待处理图像中过滤出符合该预警案件的判定条件的预警图像,进而根据预警图像生成预警结果(S04)。生成针对该预警案件的预警结果之后,用户便可以根据该预警结果查看对应预警图像及查找发送该预警图像的用户信息等。After configuring the judgment condition of the early warning case, the early warning case can be created and stored in the early warning case database in response to the triggering operation on the trigger control used to trigger the completion of the early warning case creation. Afterwards, the early warning images that meet the judgment conditions of the early warning cases can be filtered (S03), that is, the early warning images that meet the judgment conditions of the early warning cases are filtered from the images to be processed, and then the early warning results are generated according to the early warning images (S04). After the early warning result for the early warning case is generated, the user can view the corresponding early warning image according to the early warning result, and find the information of the user who sent the early warning image, etc.
本公开实施例中,还可以设置预警案件的状态,预警案件的状态包括激活状态及非激活状态,对于处于激活状态的预警案件,可以实时根据该预警案件对接收的待处理图像进行预警判断,对于处于非激活状态的预警案件,不进行预警判断。In the embodiment of the present disclosure, the status of the early warning case can also be set, and the status of the early warning case includes an active state and an inactive state. For the early warning case in the active state, an early warning judgment can be performed on the received image to be processed according to the early warning case in real time. For early warning cases that are in an inactive state, no early warning judgment will be made.
本公开实施例中,对于实时接收的待处理图像可以将其存储于数据存储区域,在预警案件创建后,可以从该数据存储区域存储的待处理图像中查找是否存在命中预警案件的待处理图像,以实现对历史图像数据的监管处理。In this embodiment of the present disclosure, images to be processed received in real time can be stored in a data storage area, and after an early warning case is created, it can be searched from the to-be-processed images stored in the data storage area to see if there is an image to be processed that hits an early warning case , in order to realize the supervision and processing of historical image data.
图4示出根据本公开实施例提出的图像处理方法的示意图,参照图4,本公开实施例可以编辑预警案件、置顶预警案件、查看预警结果、筛选预警结果以及下载预警结果。例如对预警案件进行修改、删除等操作,包括可以修改预警案件的名称、案件描述信息、案件启动及关闭时间等信息、预警案件的判定条件、预警案件的状态等;或者通过配置的规则查看最新预警图像,或者按条件对预警结果进行过滤筛选,本公开实施例对此不作限定。FIG. 4 shows a schematic diagram of an image processing method according to an embodiment of the present disclosure. Referring to FIG. 4 , an embodiment of the present disclosure can edit warning cases, pin warning cases, view warning results, filter warning results, and download warning results. For example, operations such as modifying or deleting an early warning case include modifying the name of the early warning case, case description information, information such as the start and closing time of the case, the judgment conditions of the early warning case, the status of the early warning case, etc.; or view the latest information through the configured rules. Early warning images, or filtering and screening early warning results according to conditions, which are not limited in this embodiment of the present disclosure.
在本公开实施例中,所述预警因素可以包括预置场景元素、文字内容、布控任务中的至少一项,所述方法还可以包括:In the embodiment of the present disclosure, the early warning factor may include at least one of preset scene elements, text content, and control tasks, and the method may further include:
创建至少一个布控数据库,布控数据库中存储有待布控的目标数据。Create at least one deployment database, and the target data to be deployed is stored in the deployment database.
根据至少一个布控数据库,创建至少一个布控任务。Create at least one deployment task based on at least one deployment database.
其中,布控数据库包括人物布控库和图像布控库中的至少一项,人物布控库中存储的目标数据包括目标人物的人脸图像,图像布控库中存储的目标数据包括目标图像,布控任务包括人脸布控任务和图像布控任务中的至少一项。Wherein, the deployment database includes at least one of a character deployment database and an image deployment database, the target data stored in the character deployment database includes the face image of the target person, the target data stored in the image deployment database includes target images, and the deployment tasks include human At least one of the face control task and the image control task.
本公开实施例可以创建布控任务,该布控任务用于对布控目标进行监管,以从待处理图像中过滤出与布控目标关联的图像。布控任务可以包括创建人脸布控任务和图像布控任务的至少一项。The embodiment of the present disclosure can create a deployment task, which is used to supervise the deployment target, so as to filter out images associated with the deployment target from the images to be processed. The deployment task may include creating at least one of a face deployment task and an image deployment task.
其中,人脸布控任务用于对目标人物进行布控,配合人脸检测、人脸特征提取及入库等技术可以实现固定范围内目标人物的人脸布控,可应用于在逃人员、受监管人员等人脸布控的应用场景,也可扩展应用于漫画、恶搞等场景,有较强的识别能力。图像布控任务用于对目标图像进行布控,配合图像特征提取及入库等技术可以实现固定范围内目标图像的图像布控,可应用于暴恐音视频库等图像布控的应用场景。Among them, the face control task is used to control the target person. With face detection, face feature extraction and storage and other technologies, the face control of the target person within a fixed range can be realized. It can be applied to fugitives, supervised personnel, etc. The application scenarios of face control can also be extended to scenarios such as comics and spoofs, with strong recognition capabilities. The image deployment task is used to control the target image. With the help of image feature extraction and storage technology, the image deployment of the target image in a fixed range can be realized, and it can be applied to the application scenarios of image deployment such as the audio and video library of terror.
在一些实施例中,可以预先创建至少一个布控任务,并在布控任务中添加待布控的目标数据。创建布控任务时,可以在布控任务的创建界面中,添加布控任务的名称、描述信息等,并可以在该布控任务的创建界面中添加待布控的布控数据库为该布控任务的布控目标。在布控任务创建完成后,布控任务即可自动开启。In some embodiments, at least one deployment task may be created in advance, and target data to be deployed may be added to the deployment task. When creating a deployment task, you can add the name and description of the deployment task in the creation interface of the deployment task, and you can add the deployment database to be deployed as the deployment target of the deployment task in the creation interface of the deployment task. After the deployment task is created, the deployment task can be started automatically.
本公开实施例中,在创建布控任务之前,可以预先创建布控数据库。例如:可以在布控数据库管理界面中,通过触发建库操作创建对应的布控数据库。可以在该布控数据库中添加若干待布控的目标数据。举例来说,可以从系统提供的若干图像中选中待布控的目标数据,添加到布控数据库中,或者,可以通过上传下载等方式向布控数据库中添加待布控的目标数据,本公开实施例对此不做具体限定。In this embodiment of the present disclosure, before creating a deployment task, a deployment database may be created in advance. For example, you can create the corresponding deployment database by triggering the database creation operation in the deployment database management interface. Several target data to be deployed can be added to the deployment database. For example, the target data to be deployed can be selected from several images provided by the system and added to the deployment database, or the target data to be deployed can be added to the deployment database by uploading and downloading. No specific limitation is made.
在本公开实施例的一实施方式中,还可以对布控数据库进行删除、修改、查询、搜索等操作,例如:可以在布控数据库管理界面中可以通过输入或者选中布控数据库的名称编码等信息,选中待操作的目标布控数据库,并响应于针对该目标布控数据库的查看操作,显示该目标布控数据库的详情界面。在该目标布控数据库的详情界面中,可以显示目标布控数据库的详细信息(包括建库时间、名称、描述等信息)及目标布控数据库中的目标数据。可以在详情界面中对目标布控数据库进行修改,可以包括对目标布控数据库的名称、描述信息等进行修改,还可以包括对目标布控数据库中存储的目标数据进行增加或者删除等操作。示例性的,本公开实施例中可以批量执行目标数据的增加或者删除等操作。In one implementation of the embodiment of the present disclosure, operations such as deleting, modifying, querying, and searching the deployment database can also be performed. The target deployment database to be operated, and in response to the viewing operation for the target deployment database, a detailed interface of the target deployment database is displayed. In the detail interface of the target deployment database, detailed information of the target deployment database (including database construction time, name, description, etc.) and target data in the target deployment database can be displayed. The target deployment database can be modified in the details interface, including the modification of the name and description information of the target deployment database, and the addition or deletion of the target data stored in the target deployment database. Exemplarily, in this embodiment of the present disclosure, operations such as adding or deleting target data may be performed in batches.
或者,可以在布控数据库管理界面中选中待操作的目标布控数据库后,执行针对该目标布控数据库的删除操作,将该目标布控数据库删除。在删除该目标布控数据库时,可以检测是否存在以该目标布控数据库为布控目标的布控任务,在不存在以该目标布控数据库为目标的布控任务时,可以直接将该目标布控数据库删除,或者在存在以该目标布控数据库为目标的布控任务时,可以通过提示信息提示用户当前存在以该目标布控数据库为目标的布控任务,进而可以响应于用户针对提示信息的确认操作,执行针对目标布控数据库的删除操作。Alternatively, after selecting the target deployment database to be operated on in the deployment database management interface, a delete operation for the target deployment database can be performed to delete the target deployment database. When deleting the target deployment database, it can be detected whether there is a deployment task targeting the target deployment database. When there is no deployment task targeting the target deployment database, the target deployment database can be deleted directly, or When there is a deployment task targeting the target deployment database, the user can be prompted through a prompt message that there is currently a deployment task targeting the target deployment database, and then in response to the user's confirmation operation on the prompt information, the target deployment database can be executed. delete operation.
在本公开实施例的一实施方式中,还可以对布控任务进行布控等级设置,例如:设置应急布控、长期布控、重点布控等等级,以实现按照布控等级进行布控,本公开实施例不对布控等级设置方式进行限定。或者,还可以对布控任务进行置顶操作,对于置顶的布控任务,可以优先进行展示,包括展示布控任务的布控结果。In an implementation of the embodiment of the present disclosure, the deployment control level can also be set for the deployment control task, for example, emergency deployment control, long-term deployment control, key deployment control and other levels are set, so as to implement the deployment control according to the deployment control level. The setting method is limited. Alternatively, you can also perform a top operation on the deployment task. For the top deployment task, you can give priority to display, including displaying the deployment results of the deployment task.
针对人脸布控任务来说,可以预先创建人脸布控库,该人脸布控库中可以存储待布控的至少一个目标人物的若干人脸图像和人脸特征中的至少一项,在创建人脸布控任务后,可以在该人脸布控任务中添加该人脸布控库为待布控的布控目标。针对图像布控任务来说,可以预先创建图像布控库,该图像布控库中可以存储待布控的至少一个目标图像和图像特征中的至少一项,在创建图像布控任务后,可以在该图像布控任务中添加该图像布控库为待布控的布控目标。For the face control task, a face control library can be created in advance, and the face control library can store at least one of several face images and face features of at least one target person to be controlled. After the control task is deployed, the face control library can be added as the control target to be deployed in the face control task. For the image deployment task, an image deployment library can be created in advance, and the image deployment library can store at least one target image to be deployed and at least one of image features. After the image deployment task is created, the image deployment task can be The image deployment library is added as the deployment target to be deployed.
图5示出根据本公开实施例提出的图像处理方法的示意图,参照图5,在创建布控任务,并对实时接收的待处理图像进行特征提取之后,可以将提取出的待处理图像的图像特征在布控任务对应的布控数据库中进行暴力检索,在待处理图像的图像特征与布控数据库中的任一目标数据的特征的相似度大于相似度阈值(相似度阈值可以在创建布控任务时进行设定),即从布控数据库中选取库中人物的情况下,可以确定布控结果为该待处理图像命中了该布控任务,在待处理图像命中布控任务后,可以根据该待处理图像生成针对该布控任务的布控结果,。FIG. 5 is a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 5 , after creating a control task and performing feature extraction on the image to be processed received in real time, the extracted image features of the image to be processed may be extracted. Violent retrieval is performed in the deployment database corresponding to the deployment task, and the similarity between the image feature of the image to be processed and the feature of any target data in the deployment database is greater than the similarity threshold (the similarity threshold can be set when creating the deployment task) ), that is, when a character in the library is selected from the deployment database, it can be determined that the deployment result is that the to-be-processed image hits the deployment task. The result of deployment control, .
图6示出根据本公开实施例提出的图像处理方法的示意图,参照图6,在人脸布控和图像布控等布控过程中,主要涉及布控数据库管理、布控任务以及布控结果统计三大板块,其中,待处理图像命中布控任务后,可以根据该待处理图像生成针对该布控任务的布控结果,并可以响应于针对布控任务的布控结果查看操作,查看布控任务的布控结果;也可以基于条件先筛选布控结果,并根据布控结果对应的待处理图像进一步确认布控目标。或者可以响应于针对布控结果的下载操作,将选中的布控结果下载到指定位置。FIG. 6 is a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 6 , in the deployment process of face deployment and image deployment, it mainly involves three major sections: deployment database management, deployment tasks, and deployment result statistics. , after the to-be-processed image hits the deployment task, the deployment result for the deployment task can be generated according to the to-be-processed image, and the deployment result of the deployment task can be viewed in response to the deployment result viewing operation for the deployment task; it can also be filtered first based on conditions The control result is obtained, and the control target is further confirmed according to the to-be-processed image corresponding to the control result. Alternatively, the selected deployment result may be downloaded to a specified location in response to a download operation for the deployment result.
本公开实施例中,可以对命中布控任务的至少一张待处理图像进行聚类处理,从而在对布控结果进行查看时,可以按照聚类结果进行查看。例如:布控任务为人脸布控任务,则在聚类后,可以根据聚类结果按照人物分类查看布控结果。或者可以对命中布控任务的至少一张待处理图像按照待处理图像的用户身份标识号(Identity document,ID)、群组ID、网络互联协议(Internet Protocol,IP)等信息进行聚合后,按照用户ID、群组ID、IP等信息分类查看布控结果。也可以根据时间、用户ID、群组ID、IP等信息对布控结果进行筛选查看,本公开实施例对于布控结果的查看方式不做具体限定。In this embodiment of the present disclosure, clustering processing can be performed on at least one image to be processed that hits the deployment task, so that when viewing the deployment results, the results can be viewed according to the clustering results. For example, if the control task is a face control task, after clustering, you can view the control results by character classification according to the clustering results. Or at least one to-be-processed image that hits the control task can be aggregated according to the user identity document (ID), group ID, Internet Protocol (IP) and other information of the to-be-processed image. ID, group ID, IP and other information are classified to view the deployment results. The deployment result may also be screened and viewed according to information such as time, user ID, group ID, IP, etc. The embodiment of the present disclosure does not specifically limit the viewing method of the deployment result.
在一些实施例中,在布控数据库管理界面中可以通过手动输入或者选择布控任务的名称等信息,选中待操作的目标布控任务,并响应于针对该目标布控任务的查看操作,显示该目标布控任务的详情界面,该详情界面中可以包括目标布控任务的详情信息(可以包括目标布控任务的名称、描述信息等信息)以及目标布控任务对应的布控结果。In some embodiments, the target deployment task to be operated can be selected by manually entering or selecting the name of the deployment task and other information in the deployment database management interface, and in response to the viewing operation for the target deployment task, the target deployment task is displayed. The details interface of the target deployment task may include detailed information of the target deployment task (which may include information such as the name and description information of the target deployment task) and the deployment result corresponding to the target deployment task.
目标布控任务的详情界面中可以包括编辑/修改控件,在目标布控任务有变化的情况下,可以响应于针对该编辑/修改控件的触发操作,进入目标布控任务的创建界面,以在该目标布控任务的创建界面中对该目标布控任务进行修改,例如:目标布控任务对应的布控目标发生变化,则可以对添加至目标布控任务的布控数据库进行修改,或者也可以对布控任务名称、描述信息等信息进行修改。The detail interface of the target deployment task can include edit/modify controls. When the target deployment task changes, you can enter the creation interface of the target deployment task in response to the triggering operation for the edit/modify control to create a target deployment task in the target deployment task. Modify the target deployment task in the task creation interface. For example, if the deployment target corresponding to the target deployment task changes, the deployment database added to the target deployment task can be modified, or the deployment task name and description information can be modified. information to be modified.
目标布控任务的详情界面中也可以包括针对布控结果的展示方式选项,例如:按照聚类结果展示、按照用户ID展示、按照群组ID展示、按照时间展示、自定义展示方式等,其中在自定义展示方式中,用户可以设置待展示的布控结果的筛选条件,并在根据该筛选条件进行布控结果的筛选后,对筛选结果进行展示。例如:用户可以在自定义展示方式中设置展示时间范围,以展示处于该时间范围内新增的布控结果,或者用户可以在自定义展示方式中设置按照聚类结果中布控结果的数量进行展示,例如展示数量排在前三名的聚类结果。The details interface of the target deployment task may also include options for the display method of the deployment results, such as: display by clustering result, display by user ID, display by group ID, display by time, custom display method, etc. In defining the display mode, the user can set the filter conditions for the deployment results to be displayed, and after the deployment results are screened according to the filter conditions, the screening results are displayed. For example, the user can set the display time range in the custom display method to display the newly added control results within this time range, or the user can set the display method in the custom display method to display according to the number of control results in the clustering results. For example, the top three clustering results are displayed.
在本公开实施例中,所述方法还可以包括:In an embodiment of the present disclosure, the method may further include:
获取场景元素信息及场景元素图像;Obtain scene element information and scene element images;
响应于针对预置场景元素的创建操作,根据场景元素信息及场景元素图像,在预置场景管理库中创建预置场景元素。In response to the creation operation for the preset scene element, the preset scene element is created in the preset scene management library according to the scene element information and the scene element image.
在一些实施例中,预置场景元素可以为预先设置的待识别元素,例如:血腥、护照、身份证、银行卡等元素,文字内容可以包括可识别的文字,例如:反动煽动性文字、暴力涉黄等文字等,本公开实施例不对预置场景元素及文字内容进行限定。In some embodiments, the preset scene elements may be preset to-be-identified elements, such as elements such as blood, passport, ID card, bank card, etc., and the text content may include recognizable text, such as anti-inflammatory text, violence For characters such as yellow, etc., the embodiment of the present disclosure does not limit the preset scene elements and text content.
图7示出根据本公开实施例提出的图像处理方法的示意图,参照图7,用户可以在场景元素创建界面中添加待创建的预置场景元素的场景元素信息,以及上传待创建的预置场景元素的场景元素图像,如“元素图片”、“元素主图”。其中,场景元素信息可以包括场景元素的训练类型、应用场景、元素名称、报警阈值、元素说明等信息。场景元素图像的数量可以为一个,也可以为多个,在场景元素图像的数量为多个的情况下,可以提高该创建的预置场景元素识别的精准度,本公开实施例对场景元素图像的数量不作具体限定。FIG. 7 is a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 7 , a user can add scene element information of a preset scene element to be created in the scene element creation interface, and upload the preset scene to be created. The scene element image of the element, such as "element image", "element main image". The scene element information may include information such as the training type, application scene, element name, alarm threshold, and element description of the scene element. The number of scene element images may be one or multiple. In the case where the number of scene element images is multiple, the recognition accuracy of the created preset scene elements can be improved. The number is not specifically limited.
在一些实施例中,可以响应于用户针对预置场景元素的创建操作(例如:针对创建控件的触发操作等操作),在预置场景管理库中创建该预置场景元素。进而在用户创建预警案件的情况下,可以提供该预置场景元素供用户选择,也就是说,用户可以自定义用于创建预警案件的预置场景元素,可以满足用户的个性化需求,提高创建预警案件的灵活性。In some embodiments, the preset scene element may be created in the preset scene management library in response to a user's creation operation on the preset scene element (eg, an operation such as a trigger operation for creating a control). Furthermore, when the user creates an early warning case, the preset scene element can be provided for the user to select, that is, the user can customize the preset scene element used to create the early warning case, which can meet the user's personalized needs and improve the creation of Flexibility in early warning cases.
在一些实施例中,可以基于预置场景管理库中的预置场景元素对待处理图像进行图像处理,如提取待处理图像中包含的预置场景元素。也就是说,在预置场景元素创建后,在对待处理图像的图像处理中,增加了针对该预置场景元素的提取过程。In some embodiments, image processing may be performed on the image to be processed based on the preset scene elements in the preset scene management library, such as extracting the preset scene elements contained in the image to be processed. That is, after the preset scene element is created, in the image processing of the image to be processed, an extraction process for the preset scene element is added.
本公开实施例还可以对预置场景管理库的预置场景元素进行删除、修改、查询、搜索等操作。例如:可以响应于用户针对预置场景元素的搜索操作,根据预置场景元素的任一场景元素信息对预置场景元素进行搜索,例如:可以根据预置场景元素的应用场景或者预置场景元素的元素名称等信息进行搜索,并在搜索结果展示界面中展示搜索到的预置场景元素。并可以响应于针对选中的预置场景元素的查看操作,通过弹窗气泡等方式展示预置场景元素对应的场景元素信息和场景元素图像。图8示出根据本公开实施例提出的图像处理方法的示意图,场景元素对应的场景元素信息和场景元素图像的展示方式可以参照图8所示,图中场景元素信息中的训练类型为训练、应用场景为场景5、元素名称为元素5、报警阈值为80%;元素封面为一人像。The embodiment of the present disclosure can also perform operations such as deletion, modification, query, search, etc. on the preset scene elements in the preset scene management library. For example, the preset scene element can be searched according to any scene element information of the preset scene element in response to the user's search operation for the preset scene element. For example, the preset scene element can be searched according to the application scene of the preset scene element or the preset scene element. search for the element name and other information, and display the searched preset scene elements in the search result display interface. And in response to the viewing operation for the selected preset scene element, the scene element information and scene element image corresponding to the preset scene element can be displayed by means of pop-up window bubbles or the like. FIG. 8 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. The display method of scene element information and scene element images corresponding to scene elements can be referred to as shown in FIG. 8 . The training types in the scene element information in the figure are training, The application scene is scene 5, the element name is element 5, and the alarm threshold is 80%; the cover of the element is a portrait.
在本公开实施例的一实施方式中,还可以在搜索结果展示界面中对选中的预置场景元素进行修改,可以包括对预置场景元素的场景元素信息和场景元素图像进行修改,例如:搜索结果展示界面中可以包括针对各个预置场景元素的编辑/修改控件,在预置场景元素有变化的情况下,可以响应于针对该编辑/修改控件的触发操作,进入预置场景元素的创建界面,以在该预置场景元素的创建界面中对该预置场景元素进行修改。In an implementation of the embodiment of the present disclosure, it is also possible to modify the selected preset scene elements in the search result display interface, which may include modifying scene element information and scene element images of the preset scene elements, for example: searching The result display interface may include editing/modifying controls for each preset scene element. When the preset scene element changes, you can enter the creation interface of the preset scene element in response to the trigger operation for the editing/modifying control. to modify the preset scene element in the creation interface of the preset scene element.
在本公开实施例的再一实施方式中,还可以包括对预置场景元素进行删除等操作,示例性的,本公开实施例中可以批量执行预置场景元素的删除操作。In still another implementation manner of the embodiment of the present disclosure, operations such as deleting preset scene elements may also be included. Exemplarily, in this embodiment of the present disclosure, operations for deleting preset scene elements may be performed in batches.
本公开实施例还可以设置预置场景元素的启动状态,在预置场景元素为启动状态时,该预置场景元素才能提供给用户进行预警案件的创建,以及在图像处理过程中,对待处理图像进行该预置场景元素的提取;在预置场景元素为非启动状态时,该预置场景元素不可以提供给用户进行预警案件的创建,以及在图像处理过程中,不会对待处理图像进行该预置场景元素的提取。In this embodiment of the present disclosure, the activation state of the preset scene element can also be set. When the preset scene element is in the activated state, the preset scene element can be provided to the user to create an early warning case, and in the image processing process, the image to be processed Extract the preset scene element; when the preset scene element is in a non-starting state, the preset scene element cannot be provided to the user for the creation of an early warning case, and during the image processing process, the image to be processed will not be processed. Extraction of preset scene elements.
本公开实施例中,用户可以自定义用于创建预警案件的预置场景元素,可以满足用户的个性化需求,提高创建预警案件的灵活性。In the embodiment of the present disclosure, a user can customize the preset scene elements used for creating an early warning case, which can meet the user's personalized needs and improve the flexibility of creating an early warning case.
在本公开实施例中,图像处理结果包括待处理图像中包含的预置场景元素、待处理图像中包括的文字内容、待处理图像针对布控任务的布控结果中的至少一项,确定至少一个图像处理结果是否满足预警案件的判定条件,可以包括:In this embodiment of the present disclosure, the image processing result includes at least one of preset scene elements included in the image to be processed, text content included in the image to be processed, and a deployment result of the image to be processed for the deployment task, and the at least one image is determined. Whether the processing result meets the judgment conditions for early warning cases may include:
确定至少一个图像处理结果中,是否存在与预警案件的判定条件所对应的预警因素相匹配的目标图像处理结果。Determine whether there is a target image processing result that matches the early warning factor corresponding to the judgment condition of the early warning case in at least one image processing result.
在存在与预警案件的判定条件所对应的预警因素相匹配的目标图像处理结果的情况下,确定至少一个图像处理结果满足预警案件的判定条件。When there is a target image processing result that matches the warning factor corresponding to the judgment condition of the early warning case, it is determined that at least one image processing result satisfies the judgment condition of the early warning case.
在一些实施例中,对待处理图像进行图像处理后,可以得到待处理图像的至少一项图像处理结果,例如:得到待处理图像对应的预置场景元素、文字内容和命中的布控任务。可以确定待处理图像的至少一项图像处理结果中,是否存在与任一预警案件的判定条件所对应的预警因素相匹配的目标图像处理结果。其中,在图像处理结果与预警因素相同或者在多个图像处理结果满足多个预警因素对应的逻辑表达式时,可以确定图像处理结果为与预警因素相匹配的目标图像处理结果,故可以确定至少一个该图像处理结果满足预警案件的判定条件。In some embodiments, after image processing is performed on the image to be processed, at least one image processing result of the image to be processed can be obtained, for example, a preset scene element, text content and a hit control task corresponding to the image to be processed can be obtained. It can be determined whether there is a target image processing result that matches the early warning factor corresponding to the judgment condition of any early warning case in at least one image processing result of the image to be processed. Wherein, when the image processing result is the same as the early warning factor or when multiple image processing results satisfy the logical expressions corresponding to the multiple early warning factors, it can be determined that the image processing result is the target image processing result matching the early warning factor, so it can be determined that at least One of the image processing results satisfies the judgment condition of the early warning case.
进而可以确定该待处理图像为预警图像,根据该预警图像生成针对该预警案件的预警结果,预警结果中还可以包括预警图像命中预警案件的详细情况(包括预警案件的判定条件及目标图像处理结果等)。Further, it can be determined that the to-be-processed image is an early-warning image, and an early-warning result for the early-warning case is generated according to the early-warning image. Wait).
在本公开实施例中,在创建预警案件时,还包括为被选中的预警因素设置权重值,所述方法还可以包括:In the embodiment of the present disclosure, when creating an early warning case, the method further includes setting a weight value for the selected early warning factor, and the method may further include:
根据预警图像针对命中的预警案件的目标图像处理结果、及各目标图像处理结果所匹配的预警因素在对应的预警案件中对应的权重值,确定预警图像针对命中的预警案件的第一综合权重值。Determine the first comprehensive weight value of the early warning image for the hit early warning case according to the target image processing result of the early warning image for the hit early warning case, and the corresponding weight value of the early warning factor matched with each target image processing result in the corresponding early warning case .
根据预警图像针对各命中的预警案件的第一综合权重值,确定预警图像针对所有预警案件的第二综合权重值。According to the first comprehensive weight value of the early warning image for each hit early warning case, the second comprehensive weight value of the early warning image for all early warning cases is determined.
根据第二综合权重值和命中的预警案件的数量中的至少一项,确定所预警图像对应的预警级别。The warning level corresponding to the warning image is determined according to at least one of the second comprehensive weight value and the number of hit warning cases.
在一些实施例中,在创建预警案件时,还可以设置预警案件中各预警因素的权重值。可以确定预警图像中命中预警案件的判定条件的目标图像处理结果,及判定条件中目标图像处理结果命中的预警因素的权重值,进而得到预警图像针对命中的预警案件的第一综合权重值。示例性的,针对任一预警案件,待处理图像每命中该预警案件中的一项预警因素,即可累加该预警因素对应的权重值,以得到针对该预警案件的第一综合权重值。In some embodiments, when creating an early warning case, the weight value of each early warning factor in the early warning case may also be set. The target image processing result of the judgment condition for hitting the early warning case in the early warning image and the weight value of the early warning factor hit by the target image processing result in the judgment condition can be determined, and then the first comprehensive weight value of the early warning image for the hit early warning case can be obtained. Exemplarily, for any early warning case, each time the image to be processed hits an early warning factor in the early warning case, the weight value corresponding to the early warning factor can be accumulated to obtain the first comprehensive weight value for the early warning case.
确定预警图像命中的各预警案件,将该预警图像针对各预警案件的第一综合权重值进行累加,可以得到预警案件对应的第二综合权重值。Each early-warning case hit by the early-warning image is determined, and the first comprehensive weight value of the early-warning image for each early-warning case is accumulated to obtain a second comprehensive weight value corresponding to the early-warning case.
例如,待处理图像分别命中了预警案件1和预警案件2,也即待处理图像分别作为预警案件1的预警图像及预警案件2的预警图像。预警图像针对预警案件1的目标图像处理结果包括预置场景元素1和布控任务1,在预警案件1中预置场景元素1对应的权重值1,布控任务1对应的权重值为2,则预警图像针对预警案件1的第一综合权重值为3。预警图像针对预警案件2的目标图像处理结果包括预置场景元素1和布控任务2,在预警案件1中预置场景元素1对应的权重值2,布控任务2对应的权重值为2,则预警图像针对预警案件2的第一综合权重值为4。进而预警图像针对全部预警案件的第二综合权重值为4。For example, the to-be-processed image hits the early-warning case 1 and the early-warning case 2 respectively, that is, the to-be-processed image is used as the early-warning image of the early-warning case 1 and the early-warning image of the early-warning case 2 respectively. The target image processing result of the early warning image for the early warning case 1 includes the preset scene element 1 and the control task 1. In the early warning case 1, the weight value corresponding to the scene element 1 is preset to 1, and the weight value corresponding to the control task 1 is 2. The first comprehensive weight of the image for early warning case 1 is 3. The target image processing result of the early warning image for the early warning case 2 includes the preset scene element 1 and the control task 2. In the early warning case 1, the weight value 2 corresponding to the scene element 1 is preset, and the weight value corresponding to the control task 2 is 2, then the early warning The first comprehensive weight value of the image for early warning case 2 is 4. Furthermore, the second comprehensive weight value of the early warning image for all early warning cases is 4.
在一些实施例中,可以根据第二综合权重值和命中的预警案件的数量中的至少一项,确定预警图像对应的预警级别,例如:在第二综合权重值高于第一权重阈值和命中的预警案件的数量高于第一数量阈值中的至少一项的情况下,可以确定预警图像对应第一预警级别,或者在第二综合权重值高于第二权重阈值但小于第一权重预置和命中的预警案件的数量高于第二数量阈值但小于第一数量预置中的至少一项的情况下,可以确定预警图像对应第二预警级别,或者在第二综合权重值低于第二权重阈值和命中的预警案件的数量低于第二数量阈值的至少一项的情况下,可以确定预警图像对应第三预警级别。In some embodiments, the early warning level corresponding to the early warning image may be determined according to at least one of the second comprehensive weight value and the number of hit early warning cases, for example: when the second comprehensive weight value is higher than the first weight threshold and hit When the number of early warning cases is higher than at least one of the first number thresholds, it can be determined that the early warning images correspond to the first warning level, or when the second comprehensive weight value is higher than the second weight threshold but smaller than the first weight preset When the number of early warning cases and hits is higher than the second number threshold but less than at least one of the first number presets, it can be determined that the warning image corresponds to the second warning level, or when the second comprehensive weight value is lower than the second When the weight threshold and the number of hit early warning cases are lower than at least one of the second number threshold, it may be determined that the early warning image corresponds to the third early warning level.
以上针对预警案件的预警级别划分仅作为本公开实施例的一种示例,而不理解为是对预警案件的预警级别的划分方式的一种限定,本公开实施例对于预警级别划分方式不做具体限定。The above division of early warning levels for early warning cases is only an example of the embodiment of the present disclosure, and should not be understood as a limitation on the division method of early warning levels of early warning cases, and the embodiment of the present disclosure does not specify the division method of warning levels limited.
在本公开实施例中,所述方法还可以包括:In an embodiment of the present disclosure, the method may further include:
响应于针对预警图像的查看操作,显示至少一个预警级别。In response to the viewing operation for the warning image, at least one warning level is displayed.
响应于针对任一预警级别的查看操作,显示所述预警级别下的各预警图像。In response to a viewing operation for any alert level, each alert image under the alert level is displayed.
在一些实施例中,可以按照预警级别查看预警图像。示例性的,可以响应于针对预警图像的查看操作,在预警图像查看界面上显示预警级别,以上述示例为例,可以展示第一预警级别、第二预警级别和第三预警级别。进而响应于针对任一预警级别的查看操作,可以获取该预警级别下的全部预警图像,并可以按照该预警级别下预警图像的第二综合权重值的大小进行排序展示。In some embodiments, the warning images may be viewed by warning level. Exemplarily, the warning level may be displayed on the warning image viewing interface in response to the viewing operation for the warning image. Taking the above example as an example, the first warning level, the second warning level and the third warning level may be displayed. Further, in response to a viewing operation for any warning level, all warning images under the warning level can be obtained, and can be sorted and displayed according to the size of the second comprehensive weight value of the warning images at the warning level.
在一些实施例中,针对任一预警级别下的预警图像,触发该预警图像可以查看该预警图像的详细信息,包括:预警图像命中的预警案件、预警图像命中预警案件的目标图像处理结果、预警图像的源信息等信息。In some embodiments, for an early-warning image at any early-warning level, trigger the early-warning image to view the detailed information of the early-warning image, including: the early-warning case hit by the early-warning image, the target image processing result of the early-warning image hitting the early-warning case, the early-warning image Information such as the source information of the image.
在本公开实施例中,所述方法还可以包括:In an embodiment of the present disclosure, the method may further include:
响应于针对预警案件的查看操作,根据预警案件中各预警图像的第一综合权重值,按序展示各预警图像。In response to the viewing operation for the early warning case, each early warning image is displayed in sequence according to the first comprehensive weight value of each early warning image in the early warning case.
在一些实施例中,可以相应于针对任一预警案件的查看操作,获取该预警案件下的预警图像,并可以根据各预警图像的第一综合权重值进行排序后,按序展示。以使得可以将重要的预警图像展示在前面供用户查看。In some embodiments, the early-warning images under the early-warning case can be obtained corresponding to the viewing operation for any early-warning case, and can be sorted according to the first comprehensive weight value of each early-warning image, and displayed in order. So that important warning images can be displayed in front for users to view.
图9示出根据本公开实施例提出的图像处理方法的示意图,参照图9,本公开实施例中可以自定义配置预警案件的判定条件,并且可以根据判定条件中预警因素的重要程度设定相应权重,如针对预警案件的判定条件配置预制场景元素,包括预制场景元素1和预置场景元素2,并设定两个预置场景元素分别对应的权重值,配置文字内容的过程与配置布控任务的过程同理。图10示出根据本公开实施例提出的图像处理方法的示意图,参照图10,在完成预警案件的创建、预警案件的判定条件的配置之后,具体图形处理方法的执行过程中,满足预警案件的判定条件的预警图像会按照第一综合权重值由高到低排序,实现了对于重点预警图像的发现预警,并且可以按照高低优先级对预警图像进行后续处理,如对预警图像进行融合。本公开实施例可按照业务需求灵活配置预警案件的判定条件与权重,可以实现适应业务场景的快速变化,可以针对新增需求快速创建预警案件,提升了面对复杂互联网环境的适应性与灵活性。FIG. 9 is a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 9 , in the embodiment of the present disclosure, the judgment conditions of the early warning cases can be customized and configured, and the corresponding warning factors can be set according to the importance of the early warning factors in the judgment conditions. Weight, for example, configure prefabricated scene elements for the judgment conditions of early warning cases, including prefabricated scene element 1 and preset scene element 2, and set the weight values corresponding to the two preset scene elements respectively, the process of configuring text content and configuration control tasks The process is the same. 10 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 10 , after the creation of an early warning case and the configuration of the judgment conditions of the early warning case are completed, during the execution of the specific image processing method, the conditions of the early warning case are satisfied. The early warning images of the judgment conditions will be sorted according to the first comprehensive weight value from high to low, which realizes the discovery and early warning of key early warning images, and can perform subsequent processing on the early warning images according to the high and low priority, such as the fusion of early warning images. The embodiments of the present disclosure can flexibly configure the judgment conditions and weights of early warning cases according to business requirements, can adapt to rapid changes in business scenarios, can quickly create early warning cases according to new demands, and improve the adaptability and flexibility in the face of complex Internet environments .
示例性的,图11示出根据本公开实施例提出的图像处理方法的示意图,参照图11,创建预警案件,包括配置预置场景元素、配置文字内容以及导入布控任务,另外为了方便预警案件创建后的管理以及用户权限的限制等,还可以预先对预警案件进行场景划分,即选择预警案件场景。示例性的,在配置预警案件时,还可以配置预警案件的业务场景,例如:可以将预置案件划分为舆情案件、涉黄案件、涉暴案件、重要案件、普通案件等,本公开实施例不对业务场景进行具体限定。Exemplarily, FIG. 11 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 11 , creating an early warning case includes configuring preset scene elements, configuring text content, and importing control tasks. In addition, in order to facilitate the creation of early warning cases After the management and user authority restrictions, etc., you can also divide the early warning cases into scenarios in advance, that is, select the early warning case scenarios. Exemplarily, when configuring an early warning case, you can also configure a business scenario of the early warning case. For example, the preset cases can be divided into public opinion cases, pornography-related cases, violence-related cases, important cases, common cases, etc., the embodiment of the present disclosure. There are no specific restrictions on business scenarios.
在本公开实施例中,所述实时图像具有源信息,所述方法还可以包括:In an embodiment of the present disclosure, the real-time image has source information, and the method may further include:
针对具有至少一个图像处理结果的待处理图像,根据所述待处理图像的源信息进行聚合操作,得到至少一个聚合结果,所述聚合结果中包括多个待处理图像及所述待处理图像针对预警案件的命中情况,所述聚合结果中多个待处理图像的至少一项源信息相同;For an image to be processed with at least one image processing result, an aggregation operation is performed according to the source information of the image to be processed to obtain at least one aggregation result, where the aggregation result includes a plurality of images to be processed and the images to be processed are for early warning The hit situation of the case, at least one item of source information of the multiple images to be processed in the aggregated result is the same;
根据所述至少一个聚合结果进行画像分析,得到至少一个用户画像特征和至少一个用户群组画像特征中的至少一项。Perform profile analysis according to the at least one aggregated result, and obtain at least one of at least one user profile feature and at least one user group profile feature.
举例来说,待处理图像具有源信息,源信息可以包括发送该待处理图像的用户的账号ID信息、群组ID信息、IP信息等,源信息还可以包括根据账号ID信息、群组ID信息、IP信息等关联得到的用户其他的身份信息,例如:身份证号、电话号码、护照号、行驶证号、驾驶证号、银行卡号、车牌号等信息,可以根据待处理图像的源信息对待处理图像进行聚合操作,以使得具有至少一项相同的源信息的待处理图像可以聚合到一起,得到至少一个聚合结果。For example, the image to be processed has source information, the source information may include account ID information, group ID information, IP information, etc. of the user who sent the image to be processed, and the source information may also include account ID information, group ID information, etc. , IP information and other related user identity information, such as ID number, phone number, passport number, driver's license number, driver's license number, bank card number, license plate number and other information, can be treated according to the source information of the image to be processed An aggregation operation is performed on the processed images, so that the images to be processed having at least one item of the same source information can be aggregated together to obtain at least one aggregation result.
可以针对至少一个聚合结果进行画像分析,得到至少一个用户特征和至少一个用户群组画像特征中的至少一项。围绕具有唯一标识的信息,例如账号ID信息、身份证号码、电话号码等,构建用户多维度的用户画像特征或者构建用户群组多维度的用户群组画像特征,画像特征的维度可以根据数据来源、算法功能以及关联的第三方信息的增加不断扩充。Profile analysis may be performed on at least one aggregated result to obtain at least one of at least one user feature and at least one user group profile feature. Around information with unique identifiers, such as account ID information, ID number, phone number, etc., construct multi-dimensional user profile features of users or construct multi-dimensional user group profile features of user groups. The dimensions of profile features can be based on data sources. , algorithmic capabilities, and the addition of associated third-party information continues to expand.
举例来说,图12示出根据本公开实施例提出的图像处理方法的示意图,参照图12,图像特征可以包括待处理图像的源信息、待处理图像关联的预警案件信息以及待处理图像的图像处理结果。针对一个聚合结果中的每一待处理图像,可以获取该待处理图像关联的预警案件信息以及待处理图像的图像处理结果,其中预警案件信息可以包括命中的预警案件数量及预警案件所属场景、待处理图像针对各类场景的涉案指数等,其中针对各级场景的涉案指数可以通过待处理图像所包含的图像处理结果针对各类场景的数量得到,例如:可以预先将预置场景元素、文字内容、布控任务等信息划分为相应的场景,以涉黄场景为例,在待处理图像中有5个图像处理结果对应涉黄场景的情况下,待处理图像涉黄场景的涉案指数(简称涉黄指数)可以确定为5。For example, FIG. 12 shows a schematic diagram of an image processing method according to an embodiment of the present disclosure. Referring to FIG. 12 , the image features may include source information of the image to be processed, early warning case information associated with the image to be processed, and the image of the image to be processed. process result. For each to-be-processed image in an aggregated result, the pre-warning case information associated with the to-be-processed image and the image processing result of the to-be-processed image can be obtained, wherein the pre-warning case information may include the number of hit pre-warning cases, the scene to which the pre-warning case belongs, and the to-be-processed image. The case-involved index of the processed image for various scenes, etc., where the case-involved index for all levels of the scene can be obtained from the number of image processing results contained in the image to be processed for each type of scene, for example: preset scene elements, text content , control tasks and other information are divided into corresponding scenes, taking a pornographic scene as an example, in the case that there are 5 image processing results corresponding to pornographic scenes in the image to be processed, the case-involved index of the pornographic scene in the to-be-processed image (referred to as pornography-related scenes) index) can be determined to be 5.
进而对聚合结果中的所有待处理图像的源信息、命中的预警案件信息以及待处理图像的关联信息进行整合,可以得到聚合结果对应的用户画像特征和用户群组画像特征中的至少一项。例如:聚合结果为根据用户账号ID进行聚合得到的情况下,可以得到该用户账号ID对应的用户的用户画像特征,在聚合结果为根据群组ID进行聚合得到的情况下,可以得到该群组ID对应的群组的用户群组画像特征,在聚合结果为根据IP地址进行聚合得到的情况下,可以得到IP地址对应的群组的用户群组画像特征。Further, the source information of all the images to be processed, the information of the hit early warning cases and the associated information of the images to be processed in the aggregation result are integrated, and at least one of the user portrait feature and the user group portrait feature corresponding to the aggregation result can be obtained. For example, if the aggregation result is obtained by aggregation based on the user account ID, the user portrait feature of the user corresponding to the user account ID can be obtained, and when the aggregation result is obtained by aggregation based on the group ID, the group can be obtained. The user group portrait feature of the group corresponding to the ID, if the aggregation result is obtained by aggregation based on the IP address, the user group portrait feature of the group corresponding to the IP address can be obtained.
其中,用户画像特征/用户群组画像特征的维度可以按照具体的应用场景进行增删。用户画像特征/用户群组画像特征可以较为全面的描述该用户/用户群组的关联信息和特征,对于后期的预警分析和研判提供了重要指标和依据。The dimensions of the user portrait feature/user group portrait feature may be added or deleted according to specific application scenarios. User portrait feature/user group portrait feature can comprehensively describe the related information and features of the user/user group, and provide important indicators and basis for later warning analysis and judgment.
在本公开实施例中,所述方法还可以包括:In an embodiment of the present disclosure, the method may further include:
根据预警信息、至少一个用户画像特征、至少一个用户群组画像特征中的至少一项,确定重点布控人员和重点布控人群中的至少一项;其中,所述预警信息包括各预警图像的源信息及所述预警图像命中 的预警案件数量。According to at least one of the early warning information, at least one user portrait feature, and at least one user group portrait feature, at least one of the key personnel and the key group is determined; wherein, the early warning information includes source information of each early warning image and the number of early warning cases hit by the warning image.
举例来说,可以根据至少一个用户画像特征确定重点布控人员,示例性的,在用户画像特征中展示该用户/用户群组涉案数量较多、或者用户针对各类场景的涉案指数超出阈值等,可以确定该用户为重点布控人员。或者,可以根据至少一个用户群组画像特征确定重点布控人群,示例性的,在用户群组画像特征中展示该用户群组涉案数量较多、或者用户群组针对各类场景的涉案指数超出阈值等,可以确定该用户群组为重点布控人群。或者,可以根据各预警图像的源信息及所述预警图像命中的预警案件数量,确重点布控人员,示例性的,在预警图像累计命中的预警案件数量超出阈值时,可以根据预警图像的源信息得到传播该预警图像的用户的用户信息,将该用户确定为重点布控人员。For example, key control personnel can be determined according to at least one user profile feature. Exemplarily, the user profile feature shows that the user/user group is involved in a large number of cases, or the user's case involvement index for various scenarios exceeds a threshold, etc. It can be determined that the user is the key control personnel. Alternatively, key groups to be controlled may be determined according to at least one user group portrait feature. Exemplarily, the user group portrait feature shows that the user group is involved in a large number of cases, or the user group's case involvement index for various scenarios exceeds a threshold. etc., it can be determined that the user group is the key control group. Alternatively, key control personnel can be determined according to the source information of each early warning image and the number of early warning cases hit by the early warning image. Exemplarily, when the cumulative number of early warning cases hit by the early warning image exceeds the threshold, the source information of the early warning image can be determined. The user information of the user who spreads the warning image is obtained, and the user is determined as the key control personnel.
在确定重点布控人员和重点布控人群中的至少一项后,可以重点优先对重点布控人员和重点布控人群中的至少一项发送的图像数据进行监控和统计,或者可以优先对重点布控人员和重点布控人群中的至少一项对应的预警信息进行相应展示。After determining at least one of the key control personnel and the key control group, the monitoring and statistics of the image data sent by at least one of the key control personnel and the key control group may be prioritized, or priority may be given to the key control personnel and key control groups. The warning information corresponding to at least one item in the control crowd is displayed accordingly.
图13示出根据本公开实施例提出的图像处理方法的示意图,参照图13,可以响应于针对重点布控人员和重点布控人群中的至少一项的查看操作,查看重点布控人员和重点布控人群中的至少一项的涉案情况及查看重点布控人员和重点布控人群的用户身份信息中的至少一项等。FIG. 13 is a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 13 , in response to a viewing operation for at least one of the key personnel and the crowd, the key personnel and the crowd can be viewed. At least one of the cases involved in the case and check at least one of the user identity information of the key control personnel and key control groups, etc.
在本公开实施例中,所述方法还可以包括:In an embodiment of the present disclosure, the method may further include:
响应于针对待检索图像的检索操作,在第一数据库中进行检索,得到所述待检索图像的检索结果,所述待检索图像的检索结果中包括与所述待检索图像相匹配的第一图像,其中,所述第一数据库中包括所述待处理图像及所述待处理图像的图像特征;In response to the retrieval operation for the to-be-retrieved image, retrieval is performed in the first database to obtain a retrieval result of the to-be-retrieved image, where the retrieval result of the to-be-retrieved image includes a first image that matches the to-be-retrieved image , wherein the first database includes the image to be processed and the image features of the image to be processed;
根据所述第一图像的发送时间进行溯源分析,得到所述待检索图像的传播信息,所述传播信息包括发送所述待检索图像的源头用户信息、所述待检索图像的传播轨迹信息、所述待处理图像的受众用户信息中的至少一项。Traceability analysis is performed according to the sending time of the first image to obtain the dissemination information of the to-be-retrieved image, where the dissemination information includes the source user information that sent the to-be-retrieved image, the dissemination track information of the to-be-retrieved image, the at least one item of audience user information of the image to be processed.
举例来说,图14示出根据本公开实施例提出的图像处理方法的示意图,参照图14,对于接收的待处理图像在进行图像特征提取后,可以实时将待处理图像及待处理图像的图像特征存储至第一数据库中,将待处理图像的源信息存储至源数据库。本公开实施例中支持针对第一数据库的查看、新建、编辑、删除功能。For example, FIG. 14 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 14 , after image feature extraction is performed on a received image to be processed, the image to be processed and the image of the to-be-processed image can be processed in real time. The features are stored in the first database, and the source information of the image to be processed is stored in the source database. The embodiments of the present disclosure support the functions of viewing, creating, editing, and deleting the first database.
在存在检索需求时,可以从第一数据库中检索符合需求的第一图像。示例性的,图15示出根据本公开实施例提出的图像处理方法的示意图,参照图15,可以响应于针对待处理图像的检索操作,提取待处理图像的图像特征,根据待处理图像的图像特征调用检索算法在第一数据库中进行检索,得到图像特征与待处理图像的图像特征相匹配的第一图像,其中检索可以采用分布式检索,本公开实施例对此不做赘述。When there is a retrieval requirement, the first image that meets the requirement can be retrieved from the first database. Exemplarily, FIG. 15 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 15 , in response to a retrieval operation for an image to be processed, image features of the image to be processed can be extracted, The feature invocation retrieval algorithm performs retrieval in the first database to obtain a first image whose image features match those of the image to be processed, wherein the retrieval may use distributed retrieval, which is not described in detail in this embodiment of the present disclosure.
本公开实施例中,通过图像深度特征提取算法可以提取出具有强大表征能力的图像特征,并将待处理图像及待处理图像的图像特征存入图像数据库中。可以通过调用应用程序接口(Application Programming Interface,API)接口传入待检索图像,并提取待检索图像的图像特征与图像数据库中待处理图像的图像特征进行相似度比对,确定相似度满足相似度阈值的待处理图像作为与待检索图像相匹配的第一图像。In the embodiment of the present disclosure, image features with powerful representation capabilities can be extracted through an image depth feature extraction algorithm, and the to-be-processed image and the image features of the to-be-processed image are stored in an image database. The image to be retrieved can be imported by calling the Application Programming Interface (API) interface, and the image features of the image to be retrieved can be extracted and compared with the image features of the image to be processed in the image database to determine that the similarity satisfies the similarity. The image to be processed with the threshold value is used as the first image matching the image to be retrieved.
其中,针对待检索图像的检索可以分为原图检索和近似检索,其中原图检索中相似度阈值高于近似检索中的相似度阈值,通过原图检索可以查找到待检索图像的同源图像,通过近似检索可以检索到待检索图像的相似图像。以能够在存储大规模图像数据的第一数据库中实现压缩、编辑、篡改图像的正确匹配,并返回匹配的图像及其相关信息。Among them, the retrieval of the image to be retrieved can be divided into original image retrieval and approximate retrieval. The similarity threshold in the original image retrieval is higher than the similarity threshold in the approximate retrieval, and the homologous image of the image to be retrieved can be found through the original image retrieval. , similar images of the image to be retrieved can be retrieved through approximate retrieval. In order to be able to realize the correct matching of compressed, edited and tampered images in the first database storing large-scale image data, and return the matched images and their related information.
示例性的,第一数据库可以分为人脸数据库和图像数据库,其中,图像数据库中存储的待处理图像为非人脸图像,人脸数据库中存储的待处理图像为人脸图像,待检索图像为非人脸图像时,在图像数据库中进行以图搜图,在待检索图像为人脸图像时,可以在人脸数据库中进行以脸搜图。Exemplarily, the first database can be divided into a face database and an image database, wherein the images to be processed stored in the image database are non-face images, the images to be processed stored in the face database are face images, and the images to be retrieved are non-face images. When a face image is used, the image search is performed in the image database. When the to-be-retrieved image is a face image, the face search can be performed in the face database.
这里,以图搜图是从图像数据库中的历史图片数据中检索指定目标是否存在,以脸搜图是从人脸数据库中检索指定人脸是否存在。检索完成后,可以根据业务需求,从ID、群组、IP等维度进行聚类,实现待检索图像的发送轨迹分析,得到对应的传播信息。Here, searching for pictures by image is to search for the existence of the specified target from the historical picture data in the image database, and searching for pictures by face is to search for the existence of the specified face from the face database. After the retrieval is completed, clustering can be performed from the dimensions of ID, group, IP, etc. according to business requirements, so as to realize the sending trajectory analysis of the images to be retrieved, and obtain the corresponding dissemination information.
例如:可以根据第一图像的发送时间对第一图像进行排序,以确定发送时间最早的第一图像,根据该发送时间最早的第一图像可以得到发送待检索图像的源头用户信息,例如:发送时间最早的第一图像为图像1,可以确定发送图像1的用户为源头用户,获取该图像1的账户ID、群组ID、IP地址等信息、并可以根据账户ID、群组ID、IP地址等信息从用户画像特征和用户群组画像特征中的至少一项中查找该源头用户的信息作为源头用户信息。For example, the first images can be sorted according to the sending time of the first images to determine the first image with the earliest sending time. According to the first image with the earliest sending time, the source user information of the image to be retrieved can be obtained, for example: sending The first image with the earliest time is image 1. It can be determined that the user who sent image 1 is the source user, and the account ID, group ID, IP address and other information of the image 1 can be obtained. and other information, the information of the source user is searched from at least one of the user portrait feature and the user group portrait feature as the source user information.
可以获取各第一图像的图像信息(可以包括发送第一图像的用户信息),并按序展示各第一图像的图像信息,进而得到待检索图像的传播轨迹信息。或者,还可以根据待检索图像的传播轨迹信息分析待 检索图像的受众用户信息等。Image information of each first image (which may include information of the user who sent the first image) can be acquired, and the image information of each first image can be displayed in sequence, so as to obtain the propagation track information of the image to be retrieved. Alternatively, the audience user information of the to-be-retrieved image can also be analyzed according to the propagation track information of the to-be-retrieved image.
在本公开实施例中,所述方法还可以包括:In an embodiment of the present disclosure, the method may further include:
根据关键字在第二数据库中进行搜索,得到针对所述关键字的检索结果,所述针对所述关键字的检索结果中包括至少一个第二图像,所述第二图像的源信息或者图像处理结果与所述关键字相匹配;The second database is searched according to the keyword, and a retrieval result for the keyword is obtained, and the retrieval result for the keyword includes at least one second image, source information of the second image or image processing the result matches the keyword;
其中,所述第二数据库中包括所述待处理图像及所述待处理图像的至少一项图像处理结果。Wherein, the second database includes the image to be processed and at least one image processing result of the image to be processed.
举例来说,图16示出根据本公开实施例提出的图像处理方法的示意图,参照图16,对于接收的待处理图像在进行图像处理后,可以实时将待处理图像及待处理图像的图像处理结果及待处理图像的源数据等信息存储至第二数据库中,将源信息存储至源数据库。具体可以包括通过强大的图像文字识别算法将待处理图像中的中文简繁体字符、英文字符识别出来,并将识别出的文字信息作为图像识别结果存储至第二数据库中。本公开实施例中支持针对第二数据库的查看、新建、编辑、删除功能。For example, FIG. 16 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 16 , after image processing is performed on the received image to be processed, the image to be processed and the image of the to-be-processed image may be processed in real time. Information such as the result and the source data of the image to be processed are stored in the second database, and the source information is stored in the source database. Specifically, it may include recognizing simplified and traditional Chinese characters and English characters in the image to be processed through a powerful image text recognition algorithm, and storing the recognized text information as an image recognition result in the second database. In this embodiment of the present disclosure, functions of viewing, creating, editing, and deleting the second database are supported.
图17示出根据本公开实施例提出的图像处理方法的示意图,参照图17,对待处理图像进行预置文字内容解析出来之后,可以使用获得的关键字或者关键字组成的与或非等逻辑表达式的形式在第二数据库中进行相应搜索,搜索与关键字或者关键字或非等逻辑表达式相匹配的第二图像,以实现线索由文本到图像的形式转化,实现线索的立体化、丰富化,对于线索的扩展与串联等研判工作具有重要意义。FIG. 17 is a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 17 , after the image to be processed is parsed from the preset text content, the obtained keywords or an AND-or-not logical expression composed of keywords can be used. The corresponding search is performed in the second database in the form of a formula, and the second image that matches the keyword or the keyword or non-equivalent logical expression is searched, so as to realize the conversion of clues from text to image, and realize the three-dimensional and rich clues. It is of great significance for the research and judgment work such as the expansion and concatenation of clues.
这里,以文搜图是从历史图片数据中检索相关文字是否存在,并可以根据业务需求,从ID、群组、IP等维度对检索到的第二图像进行聚类,以实现图片的发送轨迹分析。Here, search by text is to retrieve the existence of relevant text from historical image data, and according to business requirements, the retrieved second images can be clustered from dimensions such as ID, group, IP, etc., to realize the sending track of the image analyze.
本公开实施例还可以对待处理图像进行离线数据解析处理,对待处理图像进行批量上传后,在针对待处理图像的图像处理配置界面中配置解析规则,以根据解析规则对待处理图像进行解析,生成对应的解析结果,以实现针对性的数据审核和线索发现,并可以响应于针对解析结果的展示操作,对解析结果进行展示,如图18和图19所示,图18示出根据本公开实施例提出的图像处理方法的示意图;图19示出根据本公开实施例提出的图像处理方法的示意图。This embodiment of the present disclosure can also perform offline data analysis processing on the images to be processed, and after batch uploading the images to be processed, configure parsing rules in the image processing configuration interface for the images to be processed, so as to parse the images to be processed according to the parsing rules and generate corresponding The parsing results are obtained to achieve targeted data review and clue discovery, and the parsing results can be displayed in response to the display operation for the parsing results, as shown in FIG. 18 and FIG. 19 , and FIG. 18 shows an embodiment according to the present disclosure. Schematic diagram of the proposed image processing method; FIG. 19 shows a schematic diagram of the proposed image processing method according to an embodiment of the present disclosure.
在一些实施例中,用户可以创建离线解析任务,包括创建离线解析任务的任务名称等,在创建离线解析任务后,可以向离线解析任务中上传待解析数据,其中待解析数据可以为多个待处理图像的压缩包或者单个视频文件。可以在图像处理配置界面中配置离线解析任务的解析规则,可以包括配置待识别的预置场景元素、待识别的文字内容、待追踪的目标对象(目标人物的人脸图像或目标图像)和对应的布控任务中的至少一项。响应于针对解析操作的触发操作,根据所述解析规则对待解析数据进行解析处理,得到解析结果,可以展示全部解析结果,或者也可以根据用户配置的展示条件对解析结果进行过滤后,对过滤得到的解析结果进行展示。In some embodiments, the user can create an offline analysis task, including creating the task name of the offline analysis task, etc. After creating the offline analysis task, the data to be analyzed can be uploaded to the offline analysis task, wherein the data to be analyzed can be a plurality of pending analysis tasks. Processes compressed packages of images or individual video files. The parsing rules for offline parsing tasks can be configured in the image processing configuration interface, which can include configuring the preset scene elements to be recognized, the text content to be recognized, the target object to be tracked (the face image of the target person or the target image) and the corresponding at least one of the deployment tasks. In response to the triggering operation for the parsing operation, parsing the data to be parsed according to the parsing rules, and obtaining parsing results, all parsing results can be displayed, or the parsing results can be filtered according to the display conditions configured by the user. The analysis results are displayed.
本公开实施例,可以基于海量图像数据及结构化预警数据(包括预警案件及预警案件对应的预警结果、布控任务及布控任务对应的布控结果),进行统计分析,进而展示宏观数据整体态势。其中,宏观数据整体态势涵盖了基本视频图片处理数据量展示、报警趋势分析、报警比重、报警类别、报警数量等,宏观数据整体态势展示界面可以参照图20,图20示出根据本公开实施例提出的图像处理方法的示意图。The embodiments of the present disclosure can perform statistical analysis based on massive image data and structured early warning data (including early warning cases and early warning results corresponding to early warning cases, deployment tasks, and deployment results corresponding to control tasks), and then display the overall situation of macro data. Among them, the overall situation of macro data covers basic video and picture processing data volume display, alarm trend analysis, alarm proportion, alarm type, alarm number, etc., and the overall situation display interface of macro data can refer to FIG. 20 , which shows an example according to the present disclosure Schematic diagram of the proposed image processing method.
为使本领域技术人员更好的理解本公开实施例,以下通过具体示例对本公开实施例加以说明。In order to make those skilled in the art better understand the embodiments of the present disclosure, the following describes the embodiments of the present disclosure through specific examples.
图21示出根据本公开实施例提出的图像处理方法的示意图,参照图21,可以响应于用户在用户界面(User Interface,UI)界面的配置操作,配置预警案件、人脸布控任务和图像布控任务。FIG. 21 shows a schematic diagram of an image processing method proposed according to an embodiment of the present disclosure. Referring to FIG. 21 , an early warning case, a face control task, and an image control can be configured in response to a user's configuration operation on a user interface (UI) interface. Task.
对接入的数据源,即待解析数据进行数据预处理(例如:进行数据去重、格式转换、抽帧解码等操作)后,得到待处理图像。可以对待处理图像进行图像处理,得到待处理图像的图像处理结果,具体可以包括对待处理图像进行预置场景元素解析,得到待处理图像的预置场景元素标签;对待处理图像进行文字内容解析,得到待处理图像的文字内容标签;人脸特征提取后进行人脸布控任务比对,得到待处理图像命中的人脸布控任务;图像特征提取后进行图像布控任务比对,得到待处理图像命中的图像布控任务。将待处理图像的各项图像处理结果进行融合处理后,对待处理图像及待处理图像的图像处理结果进行结构化数据存储,存储至结构数据库中。After performing data preprocessing on the accessed data source, that is, the data to be parsed (for example, performing operations such as data deduplication, format conversion, frame extraction decoding, etc.), the to-be-processed image is obtained. Image processing may be performed on the image to be processed to obtain an image processing result of the image to be processed, which may specifically include performing preset scene element analysis on the image to be processed to obtain a preset scene element label of the image to be processed; performing text content analysis on the image to be processed to obtain The text content label of the image to be processed; after the face feature extraction, the face control tasks are compared to obtain the face control tasks hit by the to-be-processed images; after the image features are extracted, the image control tasks are compared to obtain the images hit by the to-be-processed images Controlling tasks. After each image processing result of the to-be-processed image is fused, the to-be-processed image and the image processing result of the to-be-processed image are stored in structured data and stored in a structure database.
可以对存储至结构数据库中的待处理图像及待处理图像的图像处理结果进行预警分析,确定待处理图像命中的预警案件,生成针对预警案件的预警结果,将所述预警结果存储至结构数据库中,并推送预警结果到UI中进行展示。可以响应于针对预警结果的查看操作,从结构数据库中读取预警结果的详细内容进行展示。还可以对预警结果或者待处理图像进行聚合处理,并存储聚合结果至结构数据库中。Early warning analysis can be performed on the images to be processed and the image processing results of the to-be-processed images stored in the structural database to determine the early warning cases hit by the to-be-processed images, generate early warning results for the early warning cases, and store the early warning results in the structural database. , and push the warning results to the UI for display. The detailed content of the warning result can be read from the structure database for display in response to the viewing operation for the warning result. It is also possible to aggregate the warning results or images to be processed, and store the aggregated results in the structure database.
可以根据图像处理结果、预警结果、布控结果等进行动态画像处理,得到用户画像特征和用户群组画像特征中的至少一项,可以用于确定并监管重点用户和重点用户群组中的至少一项。Dynamic portrait processing can be performed according to image processing results, warning results, control results, etc., to obtain at least one of user portrait characteristics and user group portrait characteristics, which can be used to determine and supervise at least one of key users and key user groups. item.
在对待处理图像进行人脸特征提取后,可以将待处理图像及待处理图像的人脸图像特征实时入库,并可以对入库的人脸图像进行人脸聚类操作。在存在以脸搜图需求时,可以根据待检索图像的人脸图像特征在人脸库中进行检索,以得到待检索图像的同源图像或者相近图像。同理,在对待处理图像进行图像特征提取后,可以将待处理图像及待处理图像的图像特征实时入库,并可以对入库的图像进行图像聚 类操作。在存在以图搜图需求时,可以根据待检索图像的图像特征在图像库中进行检索,以得到待检索图像的同源图像或者相近图像。After the face feature extraction is performed on the image to be processed, the image to be processed and the face image features of the image to be processed can be stored in the database in real time, and the face clustering operation can be performed on the stored face image. When there is a need to search for images by face, retrieval can be performed in the face database according to the face image features of the images to be retrieved, so as to obtain homologous images or similar images of the images to be retrieved. Similarly, after the image features are extracted from the images to be processed, the images to be processed and the image features of the images to be processed can be stored in the database in real time, and the image clustering operation can be performed on the stored images. When there is a need to search for an image by image, the image database can be retrieved according to the image characteristics of the image to be retrieved, so as to obtain a homologous image or a similar image of the image to be retrieved.
在存在以文搜图需求时,可以根据关键字在结构数据库中进行检索,以得到与关键字相匹配的图像,该与关键字相匹配的图像的图像处理结果中包括该关键字。When there is a need to search for images by text, the structure database can be searched according to the keyword to obtain an image matching the keyword, and the image processing result of the image matching the keyword includes the keyword.
本公开实施例针对互联网场景中传播的海量视频图像数据提供了完整的视图解析方案,提供的主要解析算法包括商标(logotype,LOGO)、旗帜、特定物体、特定行为、人脸、光学字符识别(Optical Character Recognition,OCR)、文本语义识别等算法,以对视频图像数据进行相应的解析。通过配置预警案件、配置人脸布控任务以及图像布控任务,以及以文搜图、以图搜图、以脸搜图、动态画像以及离线数据解析,可以实现精准且广泛的信息筛查,形成强大的视图结构化解析能力引擎,进而实现完善的事前事后预警研判,能够助力互联网络空间治理,为互联网警务提供强大的技术支持,推动网络空间的共建共治共享。The embodiments of the present disclosure provide a complete view analysis solution for massive video image data disseminated in Internet scenarios, and the main analysis algorithms provided include trademark (logotype, LOGO), flag, specific object, specific behavior, face, optical character recognition ( Optical Character Recognition, OCR), text semantic recognition and other algorithms to analyze the video image data accordingly. By configuring early warning cases, configuring face control tasks and image control tasks, and searching for pictures by text, pictures, faces, dynamic portraits, and offline data analysis, accurate and extensive information screening can be achieved, forming a powerful The view structure analysis capability engine, and then realize perfect pre-event and post-event early warning research and judgment, which can help Internet cyberspace governance, provide strong technical support for Internet police affairs, and promote the co-construction, co-governance and sharing of cyberspace.
本公开实施例可以实现针对目前社交、短视频、直播等场景下的不良内容和有害信息进行识别预警监控。The embodiments of the present disclosure can implement identification, early warning and monitoring for bad content and harmful information in current social networking, short video, live broadcast and other scenarios.
可以理解,本公开提及的上述各个方法实施例,在不违背原理逻辑的情况下,均可以彼此相互结合形成结合后的实施例,限于篇幅,本公开不再赘述。本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。It can be understood that the above-mentioned method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle and logic. Those skilled in the art can understand that, in the above method of the specific embodiment, the specific execution order of each step should be determined by its function and possible internal logic.
此外,本公开实施例还提供了图像处理装置、电子设备、计算机可读存储介质、程序,上述均可用来实现本公开实施例提供的任一种图像处理方法,相应技术方案和描述和参见方法部分的相应记载,不再赘述。In addition, the embodiments of the present disclosure also provide image processing apparatuses, electronic devices, computer-readable storage media, and programs, all of which can be used to implement any image processing method provided by the embodiments of the present disclosure, and the corresponding technical solutions and descriptions and refer to the methods Some of the corresponding records will not be repeated.
图22示出根据本公开实施例提出的图像处理装置的框图,如图22所示,所述装置包括:FIG. 22 shows a block diagram of an image processing apparatus according to an embodiment of the present disclosure. As shown in FIG. 22 , the apparatus includes:
第一处理部分221,可以配置为对待处理图像进行图像处理,得到所述待处理图像的至少一个图像处理结果;The first processing part 221 can be configured to perform image processing on the image to be processed to obtain at least one image processing result of the image to be processed;
第一确定部分222,可以配置为确定所述至少一个图像处理结果是否满足预警案件的判定条件;The first determining part 222 can be configured to determine whether the at least one image processing result satisfies the judgment condition of the early warning case;
第二确定部分223,可以配置为在所述至少一个图像处理结果满足预警案件的判定条件的情况下,确定所述待处理图像为预警图像;The second determination part 223 may be configured to determine that the image to be processed is an early warning image when the at least one image processing result satisfies the judgment condition of an early warning case;
第二处理部分224,可以配置为根据所述预警图像生成针对所述预警案件的预警结果。The second processing part 224 may be configured to generate a warning result for the warning case according to the warning image.
这样,本公开实施例可以对待处理图像进行图像处理,得到所述待处理图像的至少一个图像处理结果,并确定所述至少一个图像处理结果是否满足预警案件的判定条件,在所述至少一个图像处理结果满足预警案件的判定条件的情况下,确定所述待处理图像为预警图像,并可以根据所述预警图像生成针对所述预警案件的预警结果。根据本公开实施例提供的图像处理装置可以实现对大量的图像数据的监管处理,有效的降低了人力成本,提高了预警的精度和效率。In this way, the embodiment of the present disclosure can perform image processing on the image to be processed, obtain at least one image processing result of the image to be processed, and determine whether the at least one image processing result satisfies the judgment condition of the early warning case. When the processing result satisfies the judgment condition of the early warning case, the image to be processed is determined as the early warning image, and the early warning result for the early warning case can be generated according to the early warning image. The image processing device provided according to the embodiment of the present disclosure can realize the supervision and processing of a large amount of image data, effectively reduce the labor cost, and improve the precision and efficiency of early warning.
在一些实施例中,所述装置还可以包括:In some embodiments, the apparatus may further include:
第三处理部分,可以配置为响应于针对预警案件的创建操作,根据被选中的预警因素,得到所述预警案件的判定条件;The third processing part can be configured to obtain the judgment condition of the early warning case according to the selected early warning factor in response to the creation operation for the early warning case;
第一创建部分,可以配置为根据所述预警案件的判定条件,创建所述预警案件。The first creation part may be configured to create the early warning case according to the judgment condition of the early warning case.
在一些实施例中,所述预警因素可以包括预置场景元素、文字内容、布控任务中的至少一项,所述装置还可以包括:In some embodiments, the early warning factor may include at least one of preset scene elements, text content, and deployment tasks, and the apparatus may further include:
第二创建部分,可以配置为创建至少一个布控数据库,所述布控数据库中存储有待布控的目标数据;The second creation part can be configured to create at least one deployment and control database, where the target data to be deployed and controlled is stored in the deployment and control database;
第三创建部分,可以配置为根据所述至少一个布控数据库,创建至少一个布控任务;The third creation part can be configured to create at least one deployment task according to the at least one deployment database;
其中,所述布控数据库可以包括人物布控库和图像布控库中的至少一项,所述人物布控库中存储的目标数据可以包括目标人物的人脸图像,所述图像布控库中存储的目标数据可以包括目标图像,所述布控任务包括人脸布控任务和图像布控任务中的至少一项。Wherein, the deployment database may include at least one of a character deployment database and an image deployment database, the target data stored in the character deployment database may include a face image of a target person, and the target data stored in the image deployment database A target image may be included, and the deployment task includes at least one of a face deployment task and an image deployment task.
在一些实施例中,所述装置还可以包括:In some embodiments, the apparatus may further include:
获取部分,可以配置为获取场景元素信息及场景元素图像;The acquisition part can be configured to acquire scene element information and scene element images;
第四创建部分,可以配置为响应于针对预置场景元素的创建操作,根据所述场景元素信息及所述场景元素图像,在预置场景管理库中创建所述预置场景元素。The fourth creation part may be configured to create the preset scene element in the preset scene management library according to the scene element information and the scene element image in response to the creation operation for the preset scene element.
在一些实施例中,所述图像处理结果可以包括所述待处理图像中包含的预置场景元素、所述待处理图像中包括的文字内容、所述待处理图像针对所述布控任务的布控结果中的至少一项,所述第一确定部分222,还可以配置为:确定所述至少一个图像处理结果中,是否存在与所述预警案件的判定条件所对应的预警因素相匹配的目标图像处理结果;在存在与所述预警案件的判定条件所对应的预警因素相匹配的目标图像处理结果的情况下,确定所述至少一个图像处理结果满足预警案件的判定条件。In some embodiments, the image processing result may include preset scene elements included in the to-be-processed image, text content included in the to-be-processed image, and a deployment result of the to-be-processed image for the deployment task At least one of the first determining part 222 can also be configured to: determine whether there is a target image processing target matching the early warning factor corresponding to the judgment condition of the early warning case in the at least one image processing result Result: In the case that there is a target image processing result matching the early warning factor corresponding to the judgment condition of the early warning case, it is determined that the at least one image processing result satisfies the judgment condition of the early warning case.
在一些实施例中,在创建所述预警案件时,还可以包括为所述被选中的预警因素设置权重值,所述 装置还可以包括:In some embodiments, when creating the early warning case, it can also include setting a weight value for the selected early warning factor, and the device can also include:
第三确定部分,可以配置为根据所述预警图像针对命中的预警案件的目标图像处理结果、及各目标图像处理结果所匹配的预警因素在对应的预警案件中对应的权重值,确定所述预警图像针对所述命中的预警案件的第一综合权重值;The third determining part can be configured to determine the early warning according to the target image processing result of the early warning image for the hit early warning case, and the corresponding weight value of the early warning factor matched with each target image processing result in the corresponding early warning case the first comprehensive weight value of the image for the hit warning case;
第四确定部分,可以配置为根据所述预警图像针对各命中的预警案件的第一综合权重值,确定所述预警图像针对所有预警案件的第二综合权重值;The fourth determination part may be configured to determine the second comprehensive weight value of the early warning image for all early warning cases according to the first comprehensive weight value of the early warning image for each hit early warning case;
第五确定部分,可以配置为根据所述第二综合权重值和命中的预警案件的数量中的至少一项,确定所述预警图像对应的预警级别。The fifth determining part may be configured to determine the warning level corresponding to the warning image according to at least one of the second comprehensive weight value and the number of hit warning cases.
在一些实施例中,所述装置还可以包括:In some embodiments, the apparatus may further include:
第一展示部分,可以配置为响应于针对所述预警案件的查看操作,根据所述预警案件中各预警图像的第一综合权重值,按序展示各预警图像。The first display part may be configured to display each early warning image in sequence according to the first comprehensive weight value of each early warning image in the early warning case in response to the viewing operation for the early warning case.
在一些实施例中,所述装置还可以包括:In some embodiments, the apparatus may further include:
第二展示部分,可以配置为响应于针对预警图像的查看操作,显示至少一个预警级别;The second display part can be configured to display at least one warning level in response to the viewing operation for the warning image;
第三展示部分,可以配置为响应于针对任一预警级别的查看操作,显示所述预警级别下的各预警图像。The third display part may be configured to display each warning image under the warning level in response to a viewing operation for any warning level.
在一些实施例中,所述待处理图像具有源信息,所述装置还可以包括:In some embodiments, the image to be processed has source information, and the apparatus may further include:
聚合部分,可以配置为针对具有至少一个图像处理结果的待处理图像,根据所述待处理图像的源信息进行聚合操作,得到至少一个聚合结果,所述聚合结果中可以包括多个待处理图像及所述待处理图像针对预警案件的命中情况,所述聚合结果中多个待处理图像的至少一项源信息相同;The aggregation part can be configured to perform an aggregation operation on an image to be processed with at least one image processing result according to the source information of the image to be processed to obtain at least one aggregation result, and the aggregation result may include a plurality of images to be processed and The to-be-processed image is for the hit situation of the early warning case, and at least one item of source information of the multiple to-be-processed images in the aggregation result is the same;
画像部分,可以配置为根据所述至少一个聚合结果进行画像分析,得到至少一个用户画像特征和至少一个用户群组画像特征中的至少一项。The portrait part may be configured to perform portrait analysis according to the at least one aggregation result, to obtain at least one of at least one user portrait feature and at least one user group portrait feature.
在一些实施例中,所述装置还可以包括:In some embodiments, the apparatus may further include:
第六确定部分,可以配置为根据预警信息、至少一个用户画像特征、至少一个用户群组画像特征中的至少一项,确定重点布控人员和重点布控人群中的至少一项;其中,所述预警信息可以包括各预警图像的源信息及所述预警图像命中的预警案件数量。The sixth determining part can be configured to determine at least one of the key personnel and the key crowd according to at least one of the early warning information, at least one user profile feature, and at least one user group profile feature; wherein the early warning The information may include source information of each warning image and the number of warning cases hit by the warning image.
在一些实施例中,所述装置还可以包括:In some embodiments, the apparatus may further include:
第一检索部分,可以配置为响应于针对待检索图像的检索操作,在第一数据库中进行检索,得到所述待检索图像的检索结果,所述待检索图像的检索结果中包括与所述待检索图像相匹配的第一图像,其中,所述第一数据库中包括所述待处理图像及所述待处理图像的图像特征;The first retrieval part can be configured to perform retrieval in the first database in response to a retrieval operation for the image to be retrieved, and obtain a retrieval result of the image to be retrieved, where the retrieval result of the image to be retrieved includes a retrieval result related to the image to be retrieved. Retrieving a first image that matches an image, wherein the first database includes the image to be processed and the image features of the image to be processed;
分析部分,可以配置为根据所述第一图像的发送时间进行溯源分析,得到所述待检索图像的传播信息,所述传播信息包括发送所述待检索图像的源头用户信息、所述待检索图像的传播轨迹信息、所述待检索图像的受众用户信息中的至少一项。The analysis part can be configured to perform traceability analysis according to the sending time of the first image, and obtain the dissemination information of the image to be retrieved, where the dissemination information includes the source user information that sent the image to be retrieved, the image to be retrieved At least one of the propagation track information of the image to be retrieved and the audience user information of the image to be retrieved.
在一些实施例中,所述装置还可以包括:In some embodiments, the apparatus may further include:
第二检索部分,配置为根据关键字在第二数据库中进行搜索,得到针对所述关键字的检索结果,所述针对所述关键字的检索结果中包括至少一个第二图像,所述第二图像的源信息或者图像处理结果与所述关键字相匹配;其中,所述第二数据库中可以包括所述待处理图像及所述待处理图像的至少一项图像处理结果。The second retrieval part is configured to perform a search in the second database according to the keyword to obtain a retrieval result for the keyword, the retrieval result for the keyword includes at least one second image, the second image The source information of the image or the image processing result matches the keyword; wherein, the second database may include the to-be-processed image and at least one image processing result of the to-be-processed image.
在一些实施例中,本公开实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the apparatuses provided in the embodiments of the present disclosure may be used to execute the methods described in the above method embodiments. For specific implementation, reference may be made to the descriptions of the above method embodiments. For brevity, here No longer.
本公开实施例还提出一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。计算机可读存储介质可以是非易失性计算机可读存储介质。Embodiments of the present disclosure further provide a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the foregoing method is implemented. The computer-readable storage medium may be a non-volatile computer-readable storage medium.
本公开实施例还提出一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
本公开实施例还提供了一种计算机程序产品,包括计算机可读代码,当计算机可读代码在设备上运行时,设备中的处理器执行用于实现如上任一实施例提供的图像处理方法的指令。Embodiments of the present disclosure also provide a computer program product, including computer-readable codes. When the computer-readable codes are run on a device, a processor in the device executes the image processing method for implementing the image processing method provided by any of the above embodiments. instruction.
本公开实施例还提供了另一种计算机程序产品,用于存储计算机可读指令,指令被执行时使得计算机执行上述任一实施例提供的图像处理方法的操作。Embodiments of the present disclosure further provide another computer program product for storing computer-readable instructions, which, when executed, cause the computer to perform the operations of the image processing method provided by any of the foregoing embodiments.
本公开实施例提供了一种计算机程序,包括计算机可读代码,在所述计算机可读代码在电子设备中运行,被所述电子设备中的处理器执行的情况下,实现上述的图像处理方法。An embodiment of the present disclosure provides a computer program, including computer-readable code, which implements the above-mentioned image processing method when the computer-readable code runs in an electronic device and is executed by a processor in the electronic device .
电子设备可以被提供为终端、服务器或其它形态的设备。The electronic device may be provided as a terminal, server or other form of device.
图23示出根据本公开实施例提出的一种电子设备800的框图。例如,电子设备800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字 助理等终端。FIG. 23 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure. For example, electronic device 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc. terminal.
参照图23,电子设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。23, an electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814 , and the communication component 816 .
处理组件802通常控制电子设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 can include one or more processors 820 to execute instructions to perform all or some of the steps of the methods described above. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
存储器804被配置为存储各种类型的数据以支持在电子设备800的操作。这些数据的示例包括用于在电子设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 804 is configured to store various types of data to support operation at electronic device 800 . Examples of such data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like. Memory 804 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件806为电子设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为电子设备800生成、管理和分配电力相关联的组件。 Power supply assembly 806 provides power to various components of electronic device 800 . Power supply components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800 .
多媒体组件808包括在所述电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。在屏幕包括触摸面板的情况下,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和后置摄像头中的至少一项。在电子设备800处于操作模式,如拍摄模式或视频模式的情况下,前置摄像头和后置摄像头中的至少一项可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). In the case where the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes at least one of a front-facing camera and a rear-facing camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, at least one of the front camera and the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件810被配置为输出和输入音频信号中的至少一项。例如,音频组件810包括一个麦克风(MIC),在电子设备800处于操作模式,如呼叫模式、记录模式和语音识别模式的情况下,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。 Audio component 810 is configured to at least one of output and input audio signals. For example, audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 800 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 804 or transmitted via communication component 816 . In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到电子设备800的打开/关闭状态,组件的相对定位,例如所述组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变,用户与电子设备800接触的存在或不存在,电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如互补金属氧化物半导体(CMOS)或电荷耦合装置(CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of electronic device 800 . For example, the sensor assembly 814 can detect the on/off state of the electronic device 800, the relative positioning of the components, such as the display and the keypad of the electronic device 800, the sensor assembly 814 can also detect the electronic device 800 or one of the electronic device 800 Changes in the position of components, presence or absence of user contact with the electronic device 800 , orientation or acceleration/deceleration of the electronic device 800 and changes in the temperature of the electronic device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include a light sensor, such as a complementary metal oxide semiconductor (CMOS) or charge coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件816被配置为便于电子设备800和其他设备之间有线或无线方式的通信。电子设备800可以接入基于通信标准的无线网络,如无线网络(WiFi),第二代移动通信技术(2G)或第三代移动通信技术(3G),或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as wireless network (WiFi), second generation mobile communication technology (2G) or third generation mobile communication technology (3G), or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,电子设备800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器804,上述计算机程序指令可由电子设备800的处理器820执行以完成上述方法。In an exemplary embodiment, a non-volatile computer-readable storage medium, such as a memory 804 comprising computer program instructions executable by the processor 820 of the electronic device 800 to perform the above method is also provided.
图24示出根据本公开实施例提出的一种电子设备1900的框图。例如,电子设备1900可以被提供为一服务器。参照图24,电子设备1900包括处理组件1922,其进一步包括一个或多个处理器,以及由存储器1932所代表的存储器资源,用于存储可由处理组件1922的执行的指令,例如应用程序。存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1922被配置为执行指令,以执行上述方法。FIG. 24 shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure. For example, the electronic device 1900 may be provided as a server. 24, the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource, represented by memory 1932, for storing instructions executable by the processing component 1922, such as applications. An application program stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Additionally, the processing component 1922 is configured to execute instructions to perform the above-described methods.
电子设备1900还可以包括一个电源组件1926被配置为执行电子设备1900的电源管理,一个有线或无线网络接口1950被配置为将电子设备1900连接到网络,和一个输入输出(I/O)接口1958。电子设备1900可以操作基于存储在存储器1932的操作系统,例如微软服务器操作系统(Windows ServerTM),苹果公司推出的基于图形用户界面操作系统(Mac OS XTM),多用户多进程的计算机操作系统(UnixTM),自由和开放原代码的类Unix操作系统(LinuxTM),开放原代码的类Unix操作系统(FreeBSDTM)或类似。The electronic device 1900 may also include a power supply assembly 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input output (I/O) interface 1958 . The electronic device 1900 can operate based on an operating system stored in the memory 1932, such as a Microsoft server operating system (Windows ServerTM), a graphical user interface based operating system (Mac OS XTM) introduced by Apple, a multi-user multi-process computer operating system (UnixTM). ), Free and Open Source Unix-like Operating System (LinuxTM), Open Source Unix-like Operating System (FreeBSDTM) or similar.
在示例性实施例中,还提供了一种计算机可读存储介质,可为易失性存储介质或非易失性存储介质。例如包括计算机程序指令的存储器1932,上述计算机程序指令可由电子设备1900的处理组件1922执行以完成上述图像处理方法。In an exemplary embodiment, a computer-readable storage medium, which may be a volatile storage medium or a non-volatile storage medium, is also provided. For example, the memory 1932 includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to implement the image processing method described above.
本公开可以是系统、方法和计算机程序产品中的至少一项。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。The present disclosure may be at least one of systems, methods and computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the present disclosure.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是(但不限于)电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically coded devices, such as printers with instructions stored thereon Hole cards or raised structures in grooves, and any suitable combination of the above. Computer-readable storage media, as used herein, are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or through electrical wires transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和无线网下载到外部计算机或外部存储设备中的至少一项。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和边缘服务器中的至少一项。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to at least one of an external computer or external storage device over a network such as the Internet, a local area network, a wide area network, and a wireless network . The network may include at least one of copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and edge servers. A network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。Computer program instructions for carrying out operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or instructions in one or more programming languages. Source or object code, written in any combination, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as the "C" language or similar programming languages. The computer readable program instructions 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 implement. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through the Internet connect). In some embodiments, custom electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), can be personalized by utilizing state information of computer readable program instructions. Computer readable program instructions are executed to implement various aspects of the present disclosure.
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和框图中的至少一项描述了本公开的各个方面。应当理解,流程图和框图的每个方框中的至少一项以及流程图和框图中各方框的组合中的至少一项,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to at least one of flowchart illustrations and block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that at least one of each block of the flowchart illustrations and block diagrams, and at least one of combinations of blocks in the flowchart illustrations and block diagrams, can be implemented by computer readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和框图中的一个或多个方框中规定的功能/动作的装置中的至少一项。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和其他设备以特定方式工作中的至少一项,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和框图中的一个或多个方框中规定的功能/动作的各个方面的指令中的至少一项。These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in at least one of means for implementing the functions/acts specified in one or more blocks of the flowchart and block diagrams. These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause at least one of computers, programmable data processing apparatus and other devices to operate in a particular manner, so that the computer readable storage medium of the instructions The medium then includes an article of manufacture including at least one of the instructions to implement the various aspects of the functions/acts specified in one or more blocks of the flowchart and block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和框图中的一个或多个方框中规定的功能/动作中的至少一项。Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement at least one of the functions/acts specified in one or more blocks of the flowchart and block diagrams.
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连 续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和流程图中的每个方框中的至少一项、以及框图和流程图中的方框的组合中的至少一项,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。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 the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that at least one of each block of the block diagrams and flowchart illustrations, and at least one of combinations of blocks in the block diagrams and flowchart illustrations, can be used with special-purpose It is implemented in a hardware-based system, or can be implemented in a combination of dedicated hardware and computer instructions.
该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be specifically implemented by hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Various embodiments of the present disclosure have been described above, and the foregoing descriptions are exemplary, not exhaustive, and not limiting of the disclosed embodiments. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the various embodiments, the practical application or improvement over the technology in the marketplace, or to enable others of ordinary skill in the art to understand the various embodiments disclosed herein.
工业实用性Industrial Applicability
本公开实施例中,通过对待处理图像进行图像处理,得到待处理图像的至少一个图像处理结果;确定至少一个图像处理结果是否满足预警案件的判定条件;在至少一个图像处理结果满足预警案件的判定条件的情况下,确定待处理图像为预警图像;根据预警图像生成针对预警案件的预警结果,有效提高了预警的精度和效率。In the embodiment of the present disclosure, by performing image processing on the image to be processed, at least one image processing result of the image to be processed is obtained; it is determined whether at least one image processing result satisfies the judgment condition of the early warning case; if the at least one image processing result satisfies the judgment of the early warning case If the conditions are met, the image to be processed is determined as an early warning image; the early warning result for the early warning case is generated according to the early warning image, which effectively improves the precision and efficiency of the early warning.