CN111539008A - Image processing method and device for protecting privacy - Google Patents
Image processing method and device for protecting privacy Download PDFInfo
- Publication number
- CN111539008A CN111539008A CN202010442259.7A CN202010442259A CN111539008A CN 111539008 A CN111539008 A CN 111539008A CN 202010442259 A CN202010442259 A CN 202010442259A CN 111539008 A CN111539008 A CN 111539008A
- Authority
- CN
- China
- Prior art keywords
- image
- images
- encrypted
- biometric
- mixed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/70—Multimodal biometrics, e.g. combining information from different biometric modalities
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Bioethics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Computational Linguistics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Collating Specific Patterns (AREA)
- Image Analysis (AREA)
Abstract
Description
技术领域technical field
本说明书实施例涉及数据安全技术领域,具体地,涉及保护隐私的图像处理方法及装置、保护隐私的模型训练方法及装置。The embodiments of this specification relate to the technical field of data security, and in particular, to an image processing method and apparatus for protecting privacy, and a model training method and apparatus for protecting privacy.
背景技术Background technique
目前,很多产品(例如理财产品、支付产品、安防产品等等)大量使用了用户许可的生物特征图像,例如人脸图像、指纹图像、虹膜图像等等。另外,生物特征识别算法训练过程中也需要海量的生物特征图像。At present, many products (such as wealth management products, payment products, security products, etc.) use a large number of biometric images approved by users, such as face images, fingerprint images, iris images and so on. In addition, a large number of biometric images are also required in the training process of the biometric recognition algorithm.
由于生物特征图像是用户的隐私数据,所以我们需要一种合理的加密算法,通过对生物特征图像进行加密,以保护用户的隐私数据,但又不影响加密后的生物特征图像用于后续的模型训练。Since the biometric image is the user's private data, we need a reasonable encryption algorithm to protect the user's private data by encrypting the biometric image without affecting the encrypted biometric image for subsequent models. train.
发明内容SUMMARY OF THE INVENTION
本说明书实施例提供了保护隐私的图像处理方法及装置、保护隐私的模型训练方法及装置。The embodiments of this specification provide a privacy-protecting image processing method and device, and a privacy-protecting model training method and device.
第一方面,本说明书实施例提供了一种保护隐私的图像处理方法,该方法包括:获取与待加密的生物特征图像对应的混合图像,其中,所述混合图像是通过对所述生物特征图像和预定数目张其它图像进行加权求和后得到的,所述预定数目张其它图像作用为噪声图像,其权重之和小于预设阈值;将所述混合图像减去预定的图像模板,得到所述生物特征图像对应的加密图像。In a first aspect, the embodiments of this specification provide an image processing method for protecting privacy, the method includes: acquiring a mixed image corresponding to a biometric image to be encrypted, wherein the mixed image is obtained by comparing the biometric image obtained after weighted summation with a predetermined number of other images, the predetermined number of other images are used as noise images, and the sum of their weights is less than a preset threshold; the mixed image is subtracted from the predetermined image template to obtain the The encrypted image corresponding to the biometric image.
在一些实施例中,所述生物特征图像具有对应的标签;以及所述方法还包括:生成包括所述加密图像和所述标签的训练样本。In some embodiments, the biometric image has a corresponding label; and the method further includes generating a training sample including the encrypted image and the label.
在一些实施例中,所述生物特征图像包括以下任一种图像:人脸图像、指纹图像、指静脉图像、虹膜图像。In some embodiments, the biometric image includes any of the following images: a face image, a fingerprint image, a finger vein image, an iris image.
在一些实施例中,所述待加密的生物特征图像是预定的生物特征图像集合中的任意一张图像,所述预定数目张其它图像是所述生物特征图像集合中的除所述待加密的生物特征图像以外的图像。In some embodiments, the biometric image to be encrypted is any one image in a predetermined set of biometric images, and the predetermined number of other images are other images in the set of biometric images except the to-be-encrypted image. Images other than biometric images.
在一些实施例中,所述获取与待加密的生物特征图像对应的混合图像,包括:从所述生物特征图像集合中的除所述待加密的生物特征图像以外的图像中,随机选取预定数目张图像;为所述待加密的生物特征图像和选取出的预定数目张图像分配权重;根据分配的权重,对所述待加密的生物特征图像和选取出的预定数目张图像进行加权求和,得到所述混合图像。In some embodiments, the obtaining a mixed image corresponding to the biometric image to be encrypted comprises: randomly selecting a predetermined number of images in the set of biometric images other than the biometric image to be encrypted images; assign weights to the biometric images to be encrypted and the selected predetermined number of images; perform a weighted sum on the biometric images to be encrypted and the selected predetermined number of images according to the assigned weights, The mixed image is obtained.
在一些实施例中,所述为所述待加密的生物特征图像和选取出的预定数目张图像分配权重,包括:获取预定的权重集合;根据所述权重集合,为所述待加密的生物特征图像和选取出的预定数目张图像分配权重。In some embodiments, assigning weights to the biometric images to be encrypted and the selected predetermined number of images includes: acquiring a predetermined weight set; and assigning the biometric features to be encrypted according to the weight set Weights are assigned to images and a predetermined number of selected images.
在一些实施例中,在所述获取与待加密的生物特征图像对应的混合图像之前,所述方法还包括:获取多张图像;计算所述多张图像之间的平均值;将所述平均值确定为所述图像模板。In some embodiments, before the obtaining the mixed image corresponding to the biometric image to be encrypted, the method further comprises: obtaining a plurality of images; calculating an average value among the plurality of images; The value is determined for the image template.
在一些实施例中,所述多张图像与所述待加密的生物特征图像是同一类别的图像。In some embodiments, the plurality of images are images of the same class as the biometric image to be encrypted.
第二方面,本说明书实施例提供了一种保护隐私的模型训练方法,该方法包括:获取训练样本集,其中,训练样本包括加密图像和标签,所述加密图像是通过从其对应的混合图像中减去预定的图像模板后得到的,所述混合图像是通过对其对应的待加密的生物特征图像和预定数目张其它图像进行加权求和后得到的,所述标签是所述生物特征图像的标签;根据所述训练样本集,对待训练的深度学习模型进行训练,得到生物特征识别模型。In a second aspect, an embodiment of this specification provides a privacy-protecting model training method, the method includes: acquiring a training sample set, wherein the training sample includes encrypted images and labels, and the encrypted images are obtained by mixing images obtained from their corresponding mixed images. It is obtained by subtracting a predetermined image template from , the mixed image is obtained by weighted summation of the corresponding biometric image to be encrypted and a predetermined number of other images, and the label is the biometric image According to the training sample set, the deep learning model to be trained is trained to obtain a biometric identification model.
在一些实施例中,所述待加密的生物特征图像是预定的生物特征图像集合中的任意一张图像,所述预定数目张其它图像是所述生物特征图像集合中的除所述待加密的生物特征图像以外的图像。In some embodiments, the biometric image to be encrypted is any one image in a predetermined set of biometric images, and the predetermined number of other images are other images in the set of biometric images except the to-be-encrypted image. Images other than biometric images.
在一些实施例中,所述待加密的生物特征图像包括以下任一种图像:人脸图像、指纹图像、指静脉图像、虹膜图像。In some embodiments, the biometric image to be encrypted includes any one of the following images: a face image, a fingerprint image, a finger vein image, and an iris image.
在一些实施例中,所述图像模板为多张图像之间的平均值。In some embodiments, the image template is an average across multiple images.
在一些实施例中,所述多张图像与所述待加密的生物特征图像是同一类别的图像。In some embodiments, the plurality of images are images of the same class as the biometric image to be encrypted.
第三方面,本说明书实施例提供了一种保护隐私的图像处理装置,该装置包括:获取单元,被配置成获取与待加密的生物特征图像对应的混合图像,其中,所述混合图像是通过对所述生物特征图像和预定数目张其它图像进行加权求和后得到的,所述预定数目张其它图像作用为噪声图像,其权重之和小于预设阈值;加密单元,被配置成将所述混合图像减去预定的图像模板,得到所述生物特征图像对应的加密图像。In a third aspect, embodiments of this specification provide an image processing apparatus for protecting privacy, the apparatus includes: an acquisition unit configured to acquire a mixed image corresponding to a biometric image to be encrypted, wherein the mixed image is obtained by obtained after the weighted summation of the biometric image and a predetermined number of other images, the predetermined number of other images are used as noise images, and the sum of their weights is less than a preset threshold; the encryption unit is configured to A predetermined image template is subtracted from the mixed image to obtain an encrypted image corresponding to the biometric image.
第四方面,本说明书实施例提供了一种保护隐私的模型训练装置,该装置包括:获取单元,被配置成获取训练样本集,其中,训练样本包括加密图像和标签,所述加密图像是通过从其对应的混合图像中减去预定的图像模板后得到的,所述混合图像是通过对其对应的待加密的生物特征图像和预定数目张其它图像进行加权求和后得到的,所述标签是所述生物特征图像的标签;训练单元,被配置成根据所述训练样本集,对待训练的深度学习模型进行训练,得到生物特征识别模型。In a fourth aspect, an embodiment of this specification provides a privacy-protecting model training device, the device includes: an acquisition unit configured to acquire a training sample set, wherein the training samples include encrypted images and labels, and the encrypted images are obtained by It is obtained by subtracting a predetermined image template from its corresponding mixed image, and the mixed image is obtained by performing a weighted sum of its corresponding biometric image to be encrypted and a predetermined number of other images. is the label of the biometric image; the training unit is configured to train the deep learning model to be trained according to the training sample set to obtain a biometric identification model.
第五方面,本说明书实施例提供了一种计算机可读存储介质,其上存储有计算机程序,其中,当该计算机程序在计算机中执行时,令该计算机执行如第一方面和第二方面中任一实现方式描述的方法。In a fifth aspect, the embodiments of the present specification provide a computer-readable storage medium on which a computer program is stored, wherein, when the computer program is executed in a computer, the computer is caused to execute the method described in the first aspect and the second aspect. The method described by either implementation.
第六方面,本说明书实施例提供了一种计算设备,包括存储器和处理器,其中,该存储器中存储有可执行代码,该处理器执行该可执行代码时,实现如第一方面和第二方面中任一实现方式描述的方法。In a sixth aspect, embodiments of this specification provide a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the first aspect and the second A method as described by any implementation in an aspect.
本说明书的上述实施例提供的保护隐私的图像处理方法及装置,通过获取与待加密的生物特征图像对应的混合图像,其中,混合图像是通过对该生物特征图像和预定数目张其它图像进行加权求和后得到的,预定数目张其它图像作用为噪声图像,其权重之和小于预设阈值,而后将该混合图像减去预定的图像模板,得到该生物特征图像对应的加密图像,采用此种加密方法,可以使得加密图像不可解密,且从视觉上难以识别,因而可以实现对用户的隐私数据的保护。另外,通过将该预定数目张其它图像作用为噪声图像,限制其权重之和小于预设阈值,可以使得加密图像从算法上能识别,故而能用于后续的模型训练。The image processing method and device for protecting privacy provided by the above-mentioned embodiments of this specification obtain a mixed image corresponding to the biometric image to be encrypted, wherein the mixed image is obtained by weighting the biometric image and a predetermined number of other images. After the summation is obtained, a predetermined number of other images are used as noise images, and the sum of their weights is less than the preset threshold, and then the mixed image is subtracted from the predetermined image template to obtain the encrypted image corresponding to the biometric image. The encryption method can make the encrypted image undecipherable and visually difficult to identify, thus protecting the user's private data. In addition, by using the predetermined number of other images as noise images and restricting the sum of their weights to be smaller than the preset threshold, the encrypted images can be recognized algorithmically, and thus can be used for subsequent model training.
本说明书的上述实施例提供的保护隐私的模型训练方法及装置,通过获取训练样本集,其中,训练样本包括加密图像和标签,加密图像是通过从其对应的混合图像中减去预定的图像模板后得到的,混合图像是通过对其对应的待加密的生物特征图像和预定数目张其它图像进行加权求和后得到的,标签是该生物特征图像的标签,而后根据训练样本集,对待训练的深度学习模型进行训练,得到生物特征识别模型,实现了基于加密图像的模型训练。The model training method and device for protecting privacy provided by the above-mentioned embodiments of this specification are obtained by acquiring a training sample set, wherein the training samples include encrypted images and labels, and the encrypted images are obtained by subtracting a predetermined image template from its corresponding mixed image. Then, the mixed image is obtained by weighting the corresponding biometric image to be encrypted and a predetermined number of other images, and the label is the label of the biometric image, and then according to the training sample set, the image to be trained is obtained. The deep learning model is trained to obtain a biometric recognition model, and the model training based on encrypted images is realized.
附图说明Description of drawings
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本说明书的一些示例或实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图,而且还可以根据提供的附图将本说明书应用于其它类似情景。除非从语言环境中显而易见或另做说明,图中相同标号代表相同结构或操作。In order to more clearly illustrate the technical solutions in the embodiments of the present specification or in the prior art, the accompanying drawings required to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some examples or embodiments of the present specification. For those skilled in the art, other drawings can also be obtained according to the provided drawings without any creative effort. , but also can be applied to other similar scenarios according to the provided drawings. Unless obvious from the locale or otherwise specified, the same reference numbers in the figures represent the same structure or operation.
图1是本说明书的一些实施例可以应用于其中的一个示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present specification may be applied;
图2是根据本说明书的保护隐私的图像处理方法的一个实施例的流程图;FIG. 2 is a flowchart of an embodiment of an image processing method for protecting privacy according to the present specification;
图3a是加密人脸图像获取流程的一个示意图;Fig. 3a is a schematic diagram of an encrypted face image acquisition process;
图3b是加密人脸图像获取流程的另一个示意图;Figure 3b is another schematic diagram of an encrypted face image acquisition process;
图3c是根据本说明书的保护隐私的图像处理方法的应用场景的一个示意图;3c is a schematic diagram of an application scenario of the image processing method for protecting privacy according to this specification;
图4是根据本说明书的保护隐私的图像处理方法的又一个实施例的流程图;FIG. 4 is a flowchart of still another embodiment of the image processing method for protecting privacy according to the present specification;
图5是根据本说明书的保护隐私的模型训练方法的一个实施例的流程图;FIG. 5 is a flowchart of an embodiment of a model training method for protecting privacy according to the present specification;
图6是根据本说明书的保护隐私的模型训练方法的应用场景的一个示意图;6 is a schematic diagram of an application scenario of the model training method for protecting privacy according to this specification;
图7是根据本说明书的保护隐私的图像处理装置的一个结构示意图;7 is a schematic structural diagram of an image processing apparatus for protecting privacy according to the present specification;
图8是根据本说明书的保护隐私的模型训练装置的一个结构示意图。FIG. 8 is a schematic structural diagram of a model training apparatus for protecting privacy according to the present specification.
具体实施方式Detailed ways
下面结合附图和实施例对本说明书作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The specification will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. The described embodiments are only some of the embodiments of this specification, but not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。在不冲突的情况下,本说明书中的实施例及实施例中的特征可以相互组合。It should be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings. The embodiments in this specification and the features of the embodiments may be combined with each other without conflict.
如前所述,目前很多产品(例如理财产品、支付产品、安防产品等等)大量使用了用户许可的生物特征图像。例如,现有的刷脸支付产品大量使用了用户许可的人脸图像。另外,生物特征识别算法训练过程中也需要海量的生物特征图像。As mentioned above, many products (such as wealth management products, payment products, security products, etc.) currently use a large number of biometric images approved by users. For example, existing face-swiping payment products make extensive use of user-approved face images. In addition, a large number of biometric images are also required in the training process of the biometric recognition algorithm.
由于生物特征图像是用户的隐私数据,所以我们需要一种合理的加密算法,通过对生物特征图像进行加密,以保护用户的隐私数据,但又不影响加密后的生物特征图像用于后续的模型训练。Since the biometric image is the user's private data, we need a reasonable encryption algorithm to protect the user's private data by encrypting the biometric image without affecting the encrypted biometric image for subsequent models. train.
基于此,本说明书的一些实施例分别披露了保护隐私的图像处理方法、保护隐私的模型训练方法。具体地,图1示出了适用于这些实施例的示例性系统架构图。Based on this, some embodiments of this specification respectively disclose a privacy-preserving image processing method and a privacy-preserving model training method. Specifically, FIG. 1 shows an exemplary system architecture diagram suitable for use with these embodiments.
如图1所示,其显示出图像处理端100和模型训练端101。其中,图像处理端100可以用于提供图像处理服务,进一步地,可以用于提供图像加密服务。模型训练端101可以用于提供模型训练服务。具体地,图像处理端100可以对待加密的生物特征图像进行加密,得到该生物特征图像对应的加密图像。其中,该生物特征图像可以具有对应的标签。该加密图像和该标签可以用于组成训练样本。模型训练端101可以获取由此类训练样本组成的训练样本集,并根据该训练样本集进行模型训练,得到相应的生物特征识别模型。As shown in FIG. 1 , it shows an
需要说明的是,图像处理端100可以实现为服务端或客户端。该客户端可以为终端设备,或安装在该终端设备上的软件。模型训练端101可以实现为服务端。服务端可以为云平台、单个服务器或服务器集群。It should be noted that, the
需要指出的是,当图像处理端100实现为服务端时,图像处理端100与模型训练端101可以是同一个服务端,也可以是不同的服务端,在此不做具体限定。It should be pointed out that when the
应该理解,图1中示出的图像处理端和模型训练端的数目仅仅是示意性的。根据实现需要,可以具有任意数目的图像处理端和模型训练端。It should be understood that the numbers of image processing ends and model training ends shown in FIG. 1 are only illustrative. According to implementation needs, there can be any number of image processing ends and model training ends.
下面,结合具体的实施例,描述上述方法的具体实施步骤。The specific implementation steps of the above method will be described below with reference to specific embodiments.
参看图2,其示出了保护隐私的图像处理方法的一个实施例的流程200。该方法应用于如图1所示的图像处理端100,包括以下步骤:Referring to FIG. 2, a
步骤201,获取与待加密的生物特征图像对应的混合图像,其中,混合图像是通过对该生物特征图像和预定数目张其它图像进行加权求和后得到的,预定数目张其它图像作用为噪声图像,其权重之和小于预设阈值;
步骤202,将混合图像减去预定的图像模板,得到待加密的生物特征图像对应的加密图像。
下面,对步骤201和步骤202做详细说明。Below,
对于步骤201,图像处理端可以响应于接收到与待加密的生物特征图像有关的加密请求,而执行该步骤。其中,该加密请求可以是人为触发的,也可以是自动触发的,在此不做具体限定。For
例如,若加密请求是人为触发的,加密请求例如可以是图像管理人员通过终端设备发送的。若加密请求是自动触发的,加密请求可以是通过定时任务触发的。For example, if the encryption request is triggered manually, the encryption request may be sent by an image manager through a terminal device, for example. If the encryption request is triggered automatically, the encryption request may be triggered by a scheduled task.
在步骤201中,待加密的生物特征图像可以包括以下任一种图像:人脸图像、指纹图像、指静脉图像、虹膜图像、声纹图像、掌纹图像等等。In
预定数目可以是大于或等于1的整数。应该理解,预定数目可以根据实际需求设置,在此不做具体限定。The predetermined number may be an integer greater than or equal to one. It should be understood that the predetermined number can be set according to actual requirements, which is not specifically limited here.
权重可以是处于[0,1]内的数值。待加密的生物特征图像和预定数目张其它图像的权重之和可以等于1。另外,预设阈值可以是不大于待加密的生物特征图像的权重的数值。在一种可选的实现方式中,待加密的生物特征图像和预定数目张其它图像的权重之和等于1,预设阈值小于待加密的生物特征图像的权重,且预定数目张其它图像的权重之和小于预设阈值。应该理解,预设阈值可以根据实际需求设置,在此不做具体限定。Weights can be numeric values in [0, 1]. The sum of the weights of the biometric image to be encrypted and the predetermined number of other images may be equal to one. In addition, the preset threshold may be a value not greater than the weight of the biometric image to be encrypted. In an optional implementation manner, the sum of the weights of the biometric image to be encrypted and a predetermined number of other images is equal to 1, the preset threshold is smaller than the weight of the biometric image to be encrypted, and the weight of the predetermined number of other images is The sum is less than the preset threshold. It should be understood that the preset threshold can be set according to actual requirements, and is not specifically limited here.
需要说明的是,通过将预定数目张其它图像作用为噪声图像,并限定其权重之和小于预设阈值,可以使得混合图像成为待加密的生物特征图像的加噪图像。该混合图像从视觉上看起来比较模糊,但通常情况下,也能看出轮廓模样。因而,对于后续从该混合图像中减去预定的图像模板所得的加密图像,可以使得图像变得更模糊,但从算法上能识别,故而加密图像能用于后续的模型训练。It should be noted that, by using a predetermined number of other images as noise images and limiting the sum of their weights to be smaller than a preset threshold, the mixed image can be a noise-enhanced image of the biometric image to be encrypted. The blended image looks blurry visually, but in general, outlines can be seen. Therefore, for the encrypted image obtained by subsequently subtracting the predetermined image template from the mixed image, the image can be made more blurred, but it can be recognized from the algorithm, so the encrypted image can be used for subsequent model training.
实践中,图像处理端可以采用各种方法,获取与待加密的生物特征图像对应的混合图像。In practice, the image processing end may adopt various methods to obtain the mixed image corresponding to the biometric image to be encrypted.
例如,若与待加密的生物特征图像对应的混合图像已预先生成,则图像处理端可以从特定的存储位置,获取该混合图像。For example, if a mixed image corresponding to the biometric image to be encrypted has been generated in advance, the image processing end may acquire the mixed image from a specific storage location.
再例如,若与待加密的生物特征图像对应的混合图像未预先生成,则图像处理端可以执行以下混合图像获取步骤:For another example, if the mixed image corresponding to the biometric image to be encrypted is not pre-generated, the image processing end may perform the following mixed image acquisition steps:
步骤a,从已存储的、除待加密的生物特征图像以外的任意图像中,随机选取出预定数目张图像;Step a, from any image stored, except the biometric image to be encrypted, randomly select a predetermined number of images;
步骤b,为待加密的生物特征图像和选取出的预定数目张图像分配权重;Step b, assigning weights to the biometric image to be encrypted and the selected predetermined number of images;
步骤c,根据分配的权重,对待加密的生物特征图像和选取出的预定数目张图像进行加权求和,得到混合图像。Step c, according to the assigned weight, weighted summation is performed on the biometric image to be encrypted and the selected predetermined number of images to obtain a mixed image.
其中,在步骤a中,选取出的预定数目张图像和待加密的生物特征图像,可以是同一类别的图像,也可以是不同类别的图像。由于使用同一类别的图像对待加密的生物特征图像进行加噪,相较于使用不同类别的图像对待加密的生物特征图像进行加噪,可以使所得的混合图像更模糊,加噪效果更好,因而优选地,选取出的预定数目张图像和待加密的生物特征图像,是同一类别的图像。Wherein, in step a, the selected predetermined number of images and the biometric image to be encrypted may be images of the same category or images of different categories. Since the biometric image to be encrypted is denoised by using images of the same class, the resulting mixed image can be more blurred and the noise is better than that by using images of different classes to denoise the biometric image to be encrypted. Preferably, the selected predetermined number of images and the biometric image to be encrypted are images of the same category.
此外,选取出的预定数目张图像和待加密的生物特征图像,可以来源于同一个图像集合,也可以来源于不同的图像集合,在此不做具体限定。In addition, the selected predetermined number of images and the biometric image to be encrypted may be derived from the same image collection, or may be derived from different image collections, which are not specifically limited herein.
在步骤b中,作为一种可选的实现方式,待加密的生物特征图像可以对应预设的权重。对于选取出的预定数目张图像,可以基于预设的权重生成算法,为选取出的预定数目张图像随机生成权重。In step b, as an optional implementation manner, the biometric image to be encrypted may correspond to a preset weight. For the selected predetermined number of images, weights may be randomly generated for the selected predetermined number of images based on a preset weight generation algorithm.
作为另一种可选的实现方式,可以获取预定的权重集合,根据该权重集合,为待加密的生物特征图像和选取出的预定数目张图像分配权重。具体地,权重集合中的权重的数量与待加密的生物特征图像和选取出的预定数目张图像的图像数量相同。权重集合可以包括指定分配给待加密的生物特征图像的第一权重,和用于分配给预定数目张图像的第二权重。在分配权重时,可以直接将权重集合中的第一权重直接分配给待加密的生物特征图像。此外,可以将权重集合中的第二权重随机分配给选取出的预定数目张图像。As another optional implementation manner, a predetermined weight set may be obtained, and according to the weight set, weights are assigned to the biometric image to be encrypted and the selected predetermined number of images. Specifically, the number of weights in the weight set is the same as the number of biometric images to be encrypted and the number of images of the selected predetermined number of images. The set of weights may include a first weight assigned to the biometric image to be encrypted, and a second weight assigned to a predetermined number of images. When assigning weights, the first weight in the weight set may be directly assigned to the biometric image to be encrypted. In addition, the second weight in the weight set may be randomly assigned to the selected predetermined number of images.
在步骤c中,针对待加密的生物特征图像和选取出的预定数目张图像,可以采用多种加权求和方式。In step c, for the biometric image to be encrypted and the selected predetermined number of images, various weighted summation methods may be adopted.
作为一种示例,可以根据分配的权重,对待加密的生物特征图像和选取出的预定数目张图像的像素特征进行加权求和。As an example, according to the assigned weight, a weighted summation may be performed on the pixel features of the biometric image to be encrypted and the selected predetermined number of images.
作为又一种示例,可以获取分别从待加密的生物特征图像和选取出的预定数目张图像中提取的特征向量,而后根据分配的权重,对获取到的特征向量进行加权求和。As another example, the feature vectors extracted from the biometric image to be encrypted and the selected predetermined number of images may be obtained, and then the obtained feature vectors are weighted and summed according to the assigned weights.
作为另一种示例,可以获取通过对待加密的生物特征图像和选取出的预定数目张图像的特征向量分别进行处理而得的图像特征,而后可以根据分配的权重,对获取到的图像特征进行加权求和。As another example, image features obtained by separately processing the biometric image to be encrypted and the feature vectors of the selected predetermined number of images may be obtained, and then the obtained image features may be weighted according to the assigned weights beg for peace.
在步骤202中,预定的图像模板可以是多张图像之间的平均值。该多张图像与待加密的生物特征图像,可以是同一类别的图像,也可以是不同类别的图像,在此不做具体限定。由于将基于与待加密的生物特征图像属于同一类别的图像生成的图像模板,应用于待加密的生物特征图像的加密过程中,可以使所得的加密图像看起来更模糊,加密效果更好,因而优选地,该多张图像与待加密的生物特征图像,是同一类别的图像。In
此外,预定的图像模板可以是图像处理端生成的,也可以是其它服务端生成的,在此不做具体限定。若预定的图像模板是图像处理端生成的,则在步骤201之前,图像处理端可以执行以下图像模板获取操作:获取多张图像;计算该多张图像之间的平均值;将该平均值确定为图像模板。In addition, the predetermined image template may be generated by the image processing end, or may be generated by another server, which is not specifically limited here. If the predetermined image template is generated by the image processing terminal, before
其中,该多张图像可以是随机采样得到的。本实施例不对该多张图像的获取方式做具体限定。Wherein, the multiple images may be obtained by random sampling. This embodiment does not specifically limit the acquisition manner of the multiple images.
如图3a所示,其示出了加密人脸图像获取流程的一个示意图。该获取流程适用于待加密的生物特征图像为人脸图像,预定数目为1,图像模板为人脸图像模板的情况。具体地,图3a示出了待加密的人脸图像P1,用于对待加密的人脸图像P1加噪的噪声人脸图像P2,为待加密的人脸图像P1分配的权重S1,为噪声人脸图像P2分配的权重S2,根据分配的权重,对待加密的人脸图像P1和噪声人脸图像P2进行加权求和后所得的混合图像M,以及从混合图像M中减去预定的人脸图像模板后所得的加密人脸图像。其中,S2小于预设阈值,例如,S2可以为0.1,预设阈值可以为0.15。此外,S1可以为0.9。As shown in Fig. 3a, it shows a schematic diagram of the process of obtaining encrypted face images. This acquisition process is applicable to the case where the biometric image to be encrypted is a face image, the predetermined number is 1, and the image template is a face image template. Specifically, Fig. 3a shows the face image P1 to be encrypted, the noise face image P2 used for adding noise to the face image P1 to be encrypted, the weight S1 assigned to the face image P1 to be encrypted, for the noise person The weight S2 assigned by the face image P2, according to the assigned weight, the mixed image M obtained by the weighted summation of the face image P1 to be encrypted and the noise face image P2, and subtract the predetermined face image from the mixed image M. The encrypted face image obtained after the template. Wherein, S2 is smaller than the preset threshold, for example, S2 may be 0.1, and the preset threshold may be 0.15. Also, S1 may be 0.9.
如图3b所示,其示出了加密人脸图像获取流程的又一个示意图。该获取流程适用于待加密的生物特征图像为人脸图像,预定数目为2,预定的图像模板为人脸图像模板的情况。具体地,图3b示出了待加密的人脸图像P1,用于对待加密的人脸图像P1加噪的噪声人脸图像P2和噪声人脸图像P3,为待加密的人脸图像P1分配的权重S1,为噪声人脸图像P2分配的权重S2,为噪声人脸图像P3分配的权重S3,根据分配的权重,对待加密的人脸图像P1、噪声人脸图像P2和噪声人脸图像P3进行加权求和后所得的混合图像M,以及从混合图像M中减去预定的人脸图像模板后所得的加密人脸图像。其中,S2与S3的总和小于预设阈值,例如,S2和S3可以均为0.1,预设阈值可以为0.25。此外,S1可以为0.8。As shown in Fig. 3b, it shows another schematic diagram of an encrypted face image acquisition process. This acquisition process is applicable to the case where the biometric image to be encrypted is a face image, the predetermined number is 2, and the predetermined image template is a face image template. Specifically, Fig. 3b shows the face image P1 to be encrypted, which is used for the noise face image P2 and the noise face image P3 to be added to the encrypted face image P1, and is allocated for the face image P1 to be encrypted. The weight S1, the weight S2 assigned to the noise face image P2, the weight S3 assigned to the noise face image P3, according to the assigned weight, the encrypted face image P1, the noise face image P2 and the noise face image P3 are processed. The mixed image M obtained after the weighted summation, and the encrypted face image obtained by subtracting the predetermined face image template from the mixed image M. Wherein, the sum of S2 and S3 is less than the preset threshold, for example, S2 and S3 may both be 0.1, and the preset threshold may be 0.25. Also, S1 may be 0.8.
应该理解,以上示出的权重S1、S2、S3以及预设阈值的值,仅用作示例性说明,并不对本说明书做任何限定。It should be understood that the values of the weights S1 , S2 , S3 and the preset thresholds shown above are only used for exemplary description, and do not make any limitation to this specification.
在本实施例的一些可选的实现方式中,图像处理端可以将所生成的加密图像存储到特定的存储位置。或者,可以将所生成的加密图像发送至模型训练端(例如图1所示的模型训练端101),以供模型训练端进行基于加密图像的模型训练。In some optional implementations of this embodiment, the image processing end may store the generated encrypted image in a specific storage location. Alternatively, the generated encrypted image can be sent to the model training end (eg, the
在本实施例的一些可选的实现方式中,待加密的生物特征图像可以具有对应的标签。该标签例如可以用于表征该生物特征图像所归属的用户。图像处理端在得到与该生物特征图像对应的加密图像后,可以生成包括该加密图像和该标签的训练样本。该训练样本可以用于生物特征识别模型的训练。此后,图像处理端可以将所生成的训练样本存储到特定的存储位置。或者,可以将所生成的训练样本发送至模型训练端,以供模型训练端基于接收到的训练样本所形成的训练样本集,进行模型训练操作。In some optional implementations of this embodiment, the biometric image to be encrypted may have a corresponding label. The tag may, for example, be used to characterize the user to which the biometric image is attributed. After obtaining the encrypted image corresponding to the biometric image, the image processing end can generate a training sample including the encrypted image and the label. The training samples can be used for the training of the biometric recognition model. After that, the image processing end can store the generated training samples to a specific storage location. Alternatively, the generated training samples can be sent to the model training end, so that the model training end can perform a model training operation based on the training sample set formed by the received training samples.
继续参看图3c,图3c是根据本实施例的保护隐私的图像处理方法的应用场景的一个示意图。在本应用场景中,待加密的生物特征图像包括人脸图像。预定数目为1。预定的图像模板为人脸图像模板。图像处理端为服务端,并且图像处理端可以实时地执行如上所述的流程200。Continue to refer to FIG. 3c, which is a schematic diagram of an application scenario of the image processing method for protecting privacy according to this embodiment. In this application scenario, the biometric image to be encrypted includes a face image. The predetermined number is 1. The predetermined image template is a face image template. The image processing end is a server, and the image processing end can execute the
当图像管理人员需要对用户的人脸图像进行加密时,图像管理人员可以如标号301所示,通过其所使用的终端设备执行与待加密的人脸图像有关的加密操作。之后,该终端设备可以响应于该加密操作,如标号302所示,向图像处理端发送与待加密的人脸图像有关的加密请求。而后,图像处理端可以如标号303所示,根据该请求,采用如上描述的任意一种获取混合图像的获取手段,获取与待加密的人脸图像对应的混合图像,该混合图像是通过对该人脸图像和1张其它人脸图像进行加权求和后得到的,该1张其它人脸图像作用为噪声图像,其权重小于预设阈值(例如0.15)。之后,图像处理端可以如标号304所示,将混合图像减去预定的人脸图像模板,得到待加密的人脸图像对应的加密人脸图像。When the image manager needs to encrypt the user's face image, the image manager can perform the encryption operation related to the face image to be encrypted through the terminal device used by the image manager, as shown by reference numeral 301 . Afterwards, the terminal device may, in response to the encryption operation, as indicated by reference numeral 302, send an encryption request related to the face image to be encrypted to the image processing end. Then, the image processing end may, as indicated by the reference numeral 303, according to the request, use any of the above-described obtaining means for obtaining a mixed image to obtain a mixed image corresponding to the face image to be encrypted, and the mixed image is obtained by The face image and one other face image are obtained after weighted summation, the other face image is used as a noise image, and its weight is less than a preset threshold (for example, 0.15). Afterwards, the image processing end may, as indicated by reference numeral 304, subtract a predetermined face image template from the mixed image to obtain an encrypted face image corresponding to the face image to be encrypted.
此后,图像处理端例如可以执行以下任一项:Afterwards, the image processing end may perform any of the following, for example:
将加密人脸图像存储至特定的存储位置;Store the encrypted face image in a specific storage location;
将加密人脸图像发送至模型训练端;Send the encrypted face image to the model training terminal;
生成包括加密人脸图像和加密人脸图像对应的待加密的人脸图像的标签的训练样本,并将训练样本存储至特定的存储位置;generating a training sample including the encrypted face image and the label of the face image to be encrypted corresponding to the encrypted face image, and storing the training sample in a specific storage location;
生成包括加密人脸图像和加密人脸图像对应的待加密的人脸图像的标签的训练样本,并将训练样本发送至模型训练端。A training sample including the encrypted face image and the label of the face image to be encrypted corresponding to the encrypted face image is generated, and the training sample is sent to the model training end.
需要说明的是,通过对两张人脸图像(例如1张待加密的人脸图像和1张作用为噪声图像的人脸图像)进行加权求和,计算得到第三张新的人脸图像(例如混合图像),在计算过程中,相当于采用了一个二元一次方程。仅基于计算得到的新的人脸图像,是无法解析得到原始的两张人脸图像的。通过将这种不可逆计算用在人脸图像加密保护上,可以使得人脸图像更隐私且不可逆,并且不影响使用加密后的人脸图像训练得到更好的人脸识别模型。It should be noted that a third new face image ( For example, mixed images), in the calculation process, it is equivalent to using a quadratic linear equation. Only based on the new face image obtained by calculation, it is impossible to parse the original two face images. By using this irreversible calculation for face image encryption protection, the face image can be made more private and irreversible, and a better face recognition model can be obtained by training the encrypted face image without affecting.
需要指出的是,本领域技术人员可根据图3c所示的与人脸图像有关的内容,类推得到其他类型的生物特征图像实施方案,本说明书不逐一列举。It should be pointed out that those skilled in the art can obtain other types of biometric image implementations by analogy based on the content related to the face image shown in FIG. 3c, which is not listed one by one in this specification.
本实施例提供的保护隐私的图像处理方法,通过获取与待加密的生物特征图像对应的混合图像,其中,混合图像是通过对该生物特征图像和预定数目张其它图像进行加权求和后得到的,预定数目张其它图像作用为噪声图像,其权重之和小于预设阈值,而后将该混合图像减去预定的图像模板,得到该生物特征图像对应的加密图像,采用此种加密方法,可以使得加密图像不可解密,且从视觉上难以识别,因而可以实现对用户的隐私数据的保护。另外,通过将该预定数目张其它图像作用为噪声图像,限制其权重之和小于预设阈值,可以使得加密图像从算法上能识别,故而能用于后续的模型训练。The privacy-preserving image processing method provided by this embodiment obtains a mixed image corresponding to the biometric image to be encrypted, wherein the mixed image is obtained by performing a weighted summation on the biometric image and a predetermined number of other images , a predetermined number of other images are used as noise images, and the sum of their weights is less than the preset threshold, and then the mixed image is subtracted from the predetermined image template to obtain the encrypted image corresponding to the biometric image. This encryption method can make The encrypted image cannot be decrypted and is visually difficult to identify, so the protection of the user's private data can be achieved. In addition, by using the predetermined number of other images as noise images and restricting the sum of their weights to be smaller than the preset threshold, the encrypted images can be recognized algorithmically, and thus can be used for subsequent model training.
进一步参考图4,其示出了保护隐私的图像处理方法的又一个实施例的流程400。该方法应用于如图1所示的图像处理端100,包括以下步骤:With further reference to FIG. 4, a
步骤401,将预定的生物特征图像集合中的任意一张图像作为待加密的生物特征图像,从生物特征图像集合中的除待加密的生物特征图像以外的图像中,随机选取预定数目张图像;
步骤402,获取预定的权重集合;
步骤403,根据权重集合,为待加密的生物特征图像和选取出的预定数目张图像分配权重;
步骤404,根据分配的权重,对待加密的生物特征图像和选取出的预定数目张图像进行加权求和,得到混合图像;
步骤405,将混合图像减去预定的图像模板,得到待加密生物特征图像对应的加密图像;
步骤406,生成包括加密图像和待加密的生物特征图像的标签的训练样本。
具体地,在步骤401中,生物特征图像集合可以是由同类别的生物特征图像形成的集合。生物特征图像可以包括以下任一种图像:人脸图像、指纹图像、指静脉图像、虹膜图像、声纹图像、掌纹图像等等。Specifically, in
关于步骤402-406的解释说明,可参看图2对应实施例中的相关描述,在此不再赘述。For the explanation of steps 402-406, reference may be made to the relevant description in the corresponding embodiment of FIG. 2, and details are not repeated here.
基于步骤401的内容可以看出,本实施例中的用于生成混合图像的待加密的生物特征图像和预定数目张其它图像,是同一类别的图像,且二者来源于同一个图像集合,即如上所述的预定的生物特征图像集合。Based on the content of
从图4中可以看出,与图2对应的实施例相比,本实施例提供的保护隐私的图像处理方法,突出了对混合图像的获取方法进行扩展的步骤,以及生成包括加密图像和待加密的生物特征图像的标签的训练样本的步骤。由此,本实施例描述的方案,可以丰富图像处理端的功能。另外,通过限定用于生成混合图像的待加密图像和预定数目张其它图像来源于同一个生物特征图像集合,可以使所得的混合图像看起来更模糊,进而可以使所得的加密图像具有较好的加密效果,能加强对用户的隐私数据的保护。It can be seen from FIG. 4 that, compared with the embodiment corresponding to FIG. 2 , the image processing method for protecting privacy provided in this embodiment highlights the steps of extending the acquisition method of the mixed image, and generating an image including an encrypted image and a pending image. Steps to encrypt the training samples for the labels of the biometric images. Therefore, the solution described in this embodiment can enrich the functions of the image processing end. In addition, by defining that the image to be encrypted for generating the mixed image and the predetermined number of other images are derived from the same set of biometric images, the resultant mixed image can be made to look more blurred, so that the resultant encrypted image can have better quality. The encryption effect can strengthen the protection of the user's private data.
进一步参考图5,其示出了保护隐私的模型训练方法的一个实施例的流程500。该模型训练方法应用于如图1所示的模型训练端101,包括以下步骤:With further reference to FIG. 5, a
步骤501,获取训练样本集,其中,训练样本包括加密图像和标签,加密图像是通过从其对应的混合图像中减去预定的图像模板后得到的,混合图像是通过对其对应的待加密的生物特征图像和预定数目张其它图像进行加权求和后得到的,该标签是该生物特征图像的标签;Step 501: Acquire a training sample set, wherein the training samples include encrypted images and labels, the encrypted images are obtained by subtracting a predetermined image template from their corresponding mixed images, and the mixed images are obtained by deducting their corresponding mixed images to be encrypted. Obtained after the weighted summation of the biometric image and a predetermined number of other images, the label is the label of the biometric image;
步骤502,根据训练样本集,对待训练的深度学习模型进行训练,得到生物特征识别模型。
下面,对步骤501和步骤502做详细说明。Next,
在步骤501中,训练样本中的加密图像可以是采用如图2或图4分别所示的实施例提供的保护隐私的图像处理方法生成的。加密图像对应的待加密的生物特征图像,可以是预定的生物特征图像集合中的任意一张图像。作用为噪声图像的预定数目张其它图像,可以是该生物特征图像集合中的除该生物特征图像以外的图像。In
其中,待加密的生物特征图像可以包括以下任一种图像:人脸图像、指纹图像、指静脉图像、虹膜图像、声纹图像、掌纹图像等等。The biometric image to be encrypted may include any of the following images: a face image, a fingerprint image, a finger vein image, an iris image, a voiceprint image, a palmprint image, and the like.
图像模板可以为多张图像之间的平均值。该多张图像与待加密的生物特征图像,可以是同一类别的图像,也可以不同类别的图像。由于将基于与待加密的生物特征图像属于同一类别的图像生成的图像模板,应用于待加密的生物特征图像的加密过程中,可以使所得的加密图像看起来更模糊,加密效果更好,因而优选地,该多张图像与待加密的生物特征图像,是同一类别的图像。The image template can be an average across multiple images. The multiple images and the biometric image to be encrypted may be images of the same category or images of different categories. Since the image template generated based on the image belonging to the same category as the biometric image to be encrypted is applied to the encryption process of the biometric image to be encrypted, the obtained encrypted image can be made to look more blurred and the encryption effect is better. Preferably, the multiple images and the biometric image to be encrypted are images of the same category.
需要说明的是,步骤501可以是模型训练端响应于接收到模型训练请求而执行的。该模型训练请求可以是人为触发的,也可以是自动触发的,在此不做具体限定。It should be noted that, step 501 may be performed by the model training end in response to receiving the model training request. The model training request may be triggered manually or automatically, which is not specifically limited here.
例如,若模型训练请求是人为触发的,该模型训练请求可以是模型管理人员通过终端设备发送的。若模型训练请求是自动触发的,该模型训练请求可以是图像处理端(例如图1所示的图像处理端100)在执行完图像处理流程(例如上述流程200或上述流程400)后自动发送的。For example, if the model training request is triggered manually, the model training request may be sent by the model manager through the terminal device. If the model training request is automatically triggered, the model training request may be automatically sent by the image processing terminal (eg, the
实践中,可以采用不同的方法获取训练样本集。In practice, different methods can be used to obtain the training sample set.
例如,若训练样本集中的训练样本已预先生成,则可以从特定的存储位置,获取至少一个训练样本所形成的训练样本集。For example, if the training samples in the training sample set have been generated in advance, the training sample set formed by at least one training sample may be obtained from a specific storage location.
再例如,若训练样本集中的训练样本未预先生成,则可以先获取加密图像集合,以及加密图像集合中的加密图像对应的待加密的生物特征图像的标签。其中,加密图像集合中的加密图像是采用图2对应的实施例描述的保护隐私的图像处理方法生成的。而后,对于加密图像集合中的任意一张加密图像,可以将该加密图像,以及该加密图像对应的待加密的生物特征图像的标签,组成训练样本。如此,便可以将所组成的各个训练样本的集合作为训练样本集。For another example, if the training samples in the training sample set are not pre-generated, the encrypted image set and the labels of the biometric images to be encrypted corresponding to the encrypted images in the encrypted image set may be obtained first. The encrypted images in the encrypted image set are generated by using the image processing method for protecting privacy described in the embodiment corresponding to FIG. 2 . Then, for any encrypted image in the encrypted image set, the encrypted image and the label of the biometric image to be encrypted corresponding to the encrypted image can be formed into a training sample. In this way, the formed set of training samples can be used as a training sample set.
在步骤502中,待训练的深度学习模型可以是未经训练或未训练完成的模型。应该理解,本实施例中的深度学习模型可以是任意类型的深度学习模型,包括但不限于卷积神经网络(Convolutional Neural Network,CNN)、循环神经网络(Recurrent NeuralNetwork,RNN)、深度置信网络(Deep Belief Network,DBN)等等。In
在对待训练的深度学习模型进行训练时,可以采用不同的训练方式。When training the deep learning model to be trained, different training methods can be used.
作为一种示例,可以将训练样本集中的训练样本所包括的加密图像作为输入,将与输入的加密图像对应的标签作为输出,对待训练的深度学习模型进行训练,得到相应的生物特征识别模型。As an example, the encrypted image included in the training samples in the training sample set can be used as input, the label corresponding to the input encrypted image can be used as output, and the deep learning model to be trained can be trained to obtain the corresponding biometric recognition model.
作为另一种示例,对于训练样本集中的训练样本,可以从该训练样本的加密图像中提取出图像特征。之后,可以将训练样本集中的训练样本所包括的加密图像的图像特征作为输入,将与输入的图像特征对应的标签作为输出,对待训练的深度学习模型进行训练,得到相应的生物特征识别模型。应该理解,与输入的图像特征对应的标签,是该图像特征所归属的加密图像所在的训练样本中的标签。As another example, for the training samples in the training sample set, image features may be extracted from the encrypted images of the training samples. After that, the image features of the encrypted images included in the training samples in the training sample set can be used as input, the labels corresponding to the input image features can be used as output, and the deep learning model to be trained can be trained to obtain a corresponding biometric recognition model. It should be understood that the label corresponding to the input image feature is the label in the training sample where the encrypted image to which the image feature belongs is located.
下面以将训练样本所包括的加密图像的图像特征作为输入为例,对模型训练过程进行示例性说明。The model training process is exemplarily described below by taking the image feature of the encrypted image included in the training sample as an input as an example.
例如,可以执行以下模型训练操作:将训练样本集中的每个训练样本所包括的加密图像的图像特征依次输入待训练的深度学习模型,得到训练样本集中的每个训练样本所包括的加密图像的图像特征对应的预测结果;将训练样本集中的每个训练样本所包括的加密图像的图像特征对应的标签和预测结果进行比较,得到本轮训练后的深度学习模型的预测准确率;确定预测准确率是否大于预设准确率阈值;若大于预设准确率阈值,则将本轮训练后的深度学习模型作为生物特征识别模型。For example, the following model training operation can be performed: the image features of the encrypted images included in each training sample in the training sample set are sequentially input into the deep learning model to be trained, and the encrypted images included in each training sample in the training sample set are obtained. The prediction results corresponding to the image features; compare the labels corresponding to the image features of the encrypted images included in each training sample in the training sample set with the prediction results to obtain the prediction accuracy of the deep learning model after this round of training; determine the prediction accuracy Whether the rate is greater than the preset accuracy threshold; if it is greater than the preset accuracy threshold, the deep learning model after this round of training is used as the biometric recognition model.
此外,若预测准确率不大于预设准确率阈值,则可以将本轮训练后的深度学习模型作为待训练的深度学习模型,继续执行上述模型训练操作。In addition, if the prediction accuracy is not greater than the preset accuracy threshold, the deep learning model after this round of training can be used as the deep learning model to be trained, and the above model training operation can be continued.
需要说明的是,加密图像从视觉上看起来比较模糊。基于如上所述的训练样本集,训练得到生物特征识别模型,可以使得生物特征识别模型能对模糊的生物特征图像进行较好的识别,因而本实施例中的生物特征识别模型具有较高的识别性能。It should be noted that the encrypted image looks blurry visually. Based on the above-mentioned training sample set, the biometric identification model obtained by training can enable the biometric identification model to better identify the blurred biometric image. Therefore, the biometric identification model in this embodiment has a higher recognition ability. performance.
由此,后续将训练所得的生物特征识别模型应用于各种生物特征识别场景时,例如包括但不限于基于生物特征识别的支付场景、账户登录场景、安检场景等等,可以有助于提高识别效率和识别准确度。Therefore, when the biometric recognition model obtained by training is subsequently applied to various biometric recognition scenarios, such as but not limited to payment scenarios based on biometric recognition, account login scenarios, security inspection scenarios, etc., it can help improve recognition Efficiency and recognition accuracy.
继续参看图6,图6是根据本实施例的保护隐私的模型训练方法的应用场景的一个示意图。在本应用场景中,待加密的生物特征图像为人脸图像。加密图像为加密人脸图像。模型训练端为服务端,并且模型训练端可以实时地执行如上所述的流程500。Continue to refer to FIG. 6 , which is a schematic diagram of an application scenario of the model training method for protecting privacy according to this embodiment. In this application scenario, the biometric image to be encrypted is a face image. The encrypted image is an encrypted face image. The model training end is the server end, and the model training end can execute the above-mentioned
此外,训练样本已预先生成,并存储在存储位置L1。该训练样本包括加密人脸图像和标签。该标签是该加密人脸图像对应的待加密的人脸图像的标签。另外,待训练的深度学习模型存储在存储位置L2。Also, training samples are pre-generated and stored in storage location L1. This training sample includes encrypted face images and labels. The label is the label of the face image to be encrypted corresponding to the encrypted face image. In addition, the deep learning model to be trained is stored in storage location L2.
当需要训练得到人脸识别模型时,模型管理人员可以如标号601所示,通过其所使用的终端设备,执行模型训练操作。其中,该模型训练操作指向存储位置L1和存储位置L2。之后,该终端设备可以响应于该模型训练操作,如标号602所示,向模型训练端发送模型训练请求。其中,模型训练请求可以包括存储位置L1和存储位置L2的地址。而后,模型训练端可以如标号603所示,根据模型训练请求,从存储位置L1获取多个训练样本所形成的训练样本集,以及从存储位置L2获取待训练的深度学习模型。然后,模型训练端可以如标号604所示,根据训练样本集,对待训练的深度学习模型进行训练,得到人脸识别模型。When a face recognition model needs to be trained, the model management personnel may, as shown in reference numeral 601, perform the model training operation through the terminal device used by the model manager. Among them, the model training operation points to storage location L1 and storage location L2. Afterwards, the terminal device may send a model training request to the model training end in response to the model training operation, as indicated by reference numeral 602 . The model training request may include addresses of the storage location L1 and the storage location L2. Then, the model training end may, as shown in reference numeral 603, obtain a training sample set formed by multiple training samples from the storage location L1, and obtain the deep learning model to be trained from the storage location L2, according to the model training request. Then, the model training end may, as shown in reference numeral 604, train the deep learning model to be trained according to the training sample set to obtain a face recognition model.
在本应用场景中,加密人脸图像从视觉上看起来比较模糊。基于多个包含加密人脸图像的训练样本所形成的训练样本集,训练得到人脸识别模型,可以使得人脸识别模型能对模糊的人脸图像进行较好的识别,因而该人脸识别模型具有较高的识别性能。In this application scenario, the encrypted face image looks blurry visually. Based on a training sample set formed by a plurality of training samples containing encrypted face images, a face recognition model is obtained by training, so that the face recognition model can better recognize the blurred face images. Therefore, the face recognition model It has high recognition performance.
由此,后续将训练所得的人脸识别模型应用于各种人脸识别场景时,例如包括但不限于基于人脸识别的支付场景、账户登录场景、安检场景等等,可以有助于提高识别效率和识别准确度。Therefore, when the trained face recognition model is subsequently applied to various face recognition scenarios, including but not limited to payment scenarios based on face recognition, account login scenarios, security inspection scenarios, etc., it can help improve recognition Efficiency and recognition accuracy.
需要指出的是,本领域技术人员可根据图6所示的与人脸图像有关的内容,类推得到其他类型的生物特征图像实施方案,本说明书不逐一列举。It should be pointed out that those skilled in the art can obtain other types of biometric image implementations by analogy based on the content related to the face image shown in FIG. 6 , which are not listed one by one in this specification.
本实施例提供的保护隐私的模型训练方法,通过获取训练样本集,其中,训练样本包括加密图像和标签,加密图像是通过从其对应的混合图像中减去预定的图像模板后得到的,混合图像是通过对其对应的待加密的生物特征图像和预定数目张其它图像进行加权求和后得到的,标签是该生物特征图像的标签,而后根据训练样本集,对待训练的深度学习模型进行训练,得到生物特征识别模型,实现了基于加密图像的模型训练。In the model training method for protecting privacy provided by this embodiment, a training sample set is obtained, wherein the training samples include encrypted images and labels, and the encrypted images are obtained by subtracting a predetermined image template from the corresponding mixed images. The image is obtained by the weighted summation of the corresponding biometric image to be encrypted and a predetermined number of other images, the label is the label of the biometric image, and then the deep learning model to be trained is trained according to the training sample set , obtain the biometric recognition model, and realize the model training based on the encrypted image.
进一步参考图7,作为对以上一些图所示方法的实现,本说明书提供了一种保护隐私的图像处理装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置可以应用于如图1所示的图像处理端100。Further referring to FIG. 7 , as an implementation of the methods shown in some of the above figures, this specification provides an embodiment of an image processing apparatus for protecting privacy, and the apparatus embodiment corresponds to the method embodiment shown in FIG. 2 . The apparatus can be applied to the
如图7所示,本实施例的保护隐私的图像处理装置700可以包括:获取单元701和加密单元702。其中,获取单元701被配置成获取与待加密的生物特征图像对应的混合图像,其中,混合图像是通过对该生物特征图像和预定数目张其它图像进行加权求和后得到的,该预定数目张其它图像作用为噪声图像,其权重之和小于预设阈值;加密单元702被配置成将该混合图像减去预定的图像模板,得到该生物特征图像对应的加密图像。As shown in FIG. 7 , the
在本实施例中,获取单元701和加密单元702的具体处理及其带来的技术效果,可分别参考图2对应实施例中步骤201和步骤202的相关说明,在此不再赘述。In this embodiment, for the specific processing of the obtaining
在本实施例的一些可选的实现方式中,生物特征图像可以具有对应的标签;以及上述装置700还可以包括:生成单元(图中未示出),被配置成生成包括加密图像和该标签的训练样本。In some optional implementations of this embodiment, the biometric image may have a corresponding label; and the above-mentioned
在本实施例的一些可选的实现方式中,生物特征图像可以包括以下任一种图像:人脸图像、指纹图像、指静脉图像、虹膜图像、声纹图像、掌纹图像等等。In some optional implementations of this embodiment, the biometric image may include any of the following images: a face image, a fingerprint image, a finger vein image, an iris image, a voiceprint image, a palmprint image, and the like.
在本实施例的一些可选的实现方式中,待加密的生物特征图像是预定的生物特征图像集合中的任意一张图像,预定数目张其它图像是生物特征图像集合中的除待加密的生物特征图像以外的图像。In some optional implementations of this embodiment, the biometric image to be encrypted is any image in a predetermined biometric image set, and the predetermined number of other images are biometric images other than the biometric image set to be encrypted in the biometric image set Images other than feature images.
在本实施例的一些可选的实现方式中,获取单元701可以包括:选取子单元(图中未示出),被配置成从生物特征图像集合中的除待加密的生物特征图像以外的图像中,随机选取预定数目张图像;分配子单元(图中未示出),被配置成为待加密的生物特征图像和选取出的预定数目张图像分配权重;获取子单元(图中未示出),被配置成根据分配的权重,对待加密的生物特征图像和选取出的预定数目张图像进行加权求和,得到混合图像。In some optional implementations of this embodiment, the acquiring
在本实施例的一些可选的实现方式中,分配子单元可以进一步被配置成:获取预定的权重集合;根据权重集合,为待加密的生物特征图像和选取出的预定数目张图像分配权重。In some optional implementations of this embodiment, the assigning subunit may be further configured to: acquire a predetermined weight set; and assign a weight to the biometric image to be encrypted and the selected predetermined number of images according to the weight set.
在本实施例的一些可选的实现方式中,上述装置700还可以包括:图像模板确定单元(图中未示出),被配置成获取多张图像;计算该多张图像之间的平均值;将该平均值确定为图像模板。In some optional implementations of this embodiment, the above-mentioned
在本实施例的一些可选的实现方式中,上述多张图像与待加密的生物特征图像是同一类别的图像。In some optional implementations of this embodiment, the above-mentioned multiple images and the biometric image to be encrypted are images of the same category.
本实施例提供的保护隐私的图像处理装置,通过获取单元获取与待加密的生物特征图像对应的混合图像,其中,混合图像是通过对该生物特征图像和预定数目张其它图像进行加权求和后得到的,预定数目张其它图像作用为噪声图像,其权重之和小于预设阈值,而后通过加密单元将该混合图像减去预定的图像模板,得到该生物特征图像对应的加密图像,采用此种加密方法,可以使得加密图像不可解密,且从视觉上难以识别,因而可以实现对用户的隐私数据的保护。另外,通过将该预定数目张其它图像作用为噪声图像,限制其权重之和小于预设阈值,可以使得加密图像从算法上能识别,故而能用于后续的模型训练。In the image processing apparatus for protecting privacy provided by this embodiment, the obtaining unit obtains a mixed image corresponding to the biometric image to be encrypted, wherein the mixed image is obtained by performing weighted summation on the biometric image and a predetermined number of other images. obtained, a predetermined number of other images are used as noise images, and the sum of their weights is less than the preset threshold, and then the mixed image is subtracted by the encryption unit from the predetermined image template to obtain the encrypted image corresponding to the biometric image. The encryption method can make the encrypted image undecipherable and visually difficult to identify, thus protecting the user's private data. In addition, by using the predetermined number of other images as noise images and restricting the sum of their weights to be smaller than the preset threshold, the encrypted images can be recognized algorithmically, and thus can be used for subsequent model training.
进一步参考图8,作为对以上一些图所示方法的实现,本说明书提供了一种保护隐私的模型训练装置的一个实施例,该装置实施例与图5所示的方法实施例相对应,该装置可以应用于如图1所示的模型训练端101。With further reference to FIG. 8 , as an implementation of the methods shown in some of the above figures, the present specification provides an embodiment of a privacy-protecting model training apparatus. The apparatus embodiment corresponds to the method embodiment shown in FIG. 5 . The apparatus can be applied to the
如图8所示,本实施例的保护隐私的模型训练装置800包括:获取单元801和训练单元802。其中,获取单元801被配置成获取训练样本集,其中,训练样本包括加密图像和标签,加密图像是通过从其对应的混合图像中减去预定的图像模板后得到的,混合图像是通过对其对应的待加密的生物特征图像和预定数目张其它图像进行加权求和后得到的,该标签是该生物特征图像的标签;训练单元802被配置成根据训练样本集,对待训练的深度学习模型进行训练,得到生物特征识别模型。As shown in FIG. 8 , the
在本实施例中,获取单元801和训练单元802的具体处理及其带来的技术效果,可分别参考图5对应实施例中步骤501和步骤502的相关说明,在此不再赘述。In this embodiment, for the specific processing of the
在本实施例的一些可选的实现方式中,待加密的生物特征图像可以是预定的生物特征图像集合中的任意一张图像,预定数目张其它图像可以是生物特征图像集合中的除待加密的生物特征图像以外的图像。In some optional implementations of this embodiment, the biometric image to be encrypted may be any image in a predetermined biometric image set, and the predetermined number of other images may be other images in the biometric image set except to be encrypted images other than biometric images.
在本实施例的一些可选的实现方式中,待加密的生物特征图像可以包括以下任一种图像:人脸图像、指纹图像、指静脉图像、虹膜图像、声纹图像、掌纹图像等等。In some optional implementations of this embodiment, the biometric image to be encrypted may include any of the following images: a face image, a fingerprint image, a finger vein image, an iris image, a voiceprint image, a palmprint image, etc. .
在本实施例的一些可选的实现方式中,图像模板可以为多张图像之间的平均值。In some optional implementations of this embodiment, the image template may be an average value among multiple images.
在本实施例的一些可选的实现方式中,上述多张图像与待加密的生物特征图像可以是同一类别的图像。In some optional implementations of this embodiment, the above-mentioned multiple images and the biometric image to be encrypted may be images of the same category.
本实施例提供的保护隐私的模型训练装置,通过获取单元获取训练样本集,其中,训练样本包括加密图像和标签,加密图像是通过从其对应的混合图像中减去预定的图像模板后得到的,混合图像是通过对其对应的待加密的生物特征图像和预定数目张其它图像进行加权求和后得到的,标签是该生物特征图像的标签,而后通过模型训练单元根据训练样本集,对待训练的深度学习模型进行训练,得到生物特征识别模型,实现了基于加密图像的模型训练。The privacy-protecting model training device provided in this embodiment acquires a training sample set through an acquisition unit, wherein the training samples include encrypted images and labels, and the encrypted images are obtained by subtracting a predetermined image template from the corresponding mixed image. , the mixed image is obtained by the weighted summation of the corresponding biometric image to be encrypted and a predetermined number of other images, the label is the label of the biometric image, and then through the model training unit according to the training sample set, to be trained The deep learning model is trained to obtain a biometric recognition model, and the model training based on encrypted images is realized.
本说明书实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,其中,当该计算机程序在计算机中执行时,令计算机执行以上各方法实施例分别所示的保护隐私的图像处理方法或保护隐私的模型训练方法。The embodiments of this specification also provide a computer-readable storage medium on which a computer program is stored, wherein, when the computer program is executed in a computer, the computer is made to execute the privacy-protecting images shown in the above method embodiments respectively A processing method or a privacy-preserving model training method.
本说明书实施例还提供了一种计算设备,包括存储器和处理器,其中,该存储器中存储有可执行代码,该处理器执行该可执行代码时,实现以上各方法实施例分别所示的保护隐私的图像处理方法或保护隐私的模型训练方法。Embodiments of the present specification further provide a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the protections shown in the above method embodiments are implemented respectively. Privacy-preserving image processing methods or privacy-preserving model training methods.
本说明书实施例还提供了一种计算机程序产品,当在数据处理设备上执行时,使得数据处理设备实现以上各方法实施例分别所示的保护隐私的图像处理方法或保护隐私的模型训练方法。The embodiments of this specification also provide a computer program product, which, when executed on a data processing device, enables the data processing device to implement the privacy-preserving image processing method or the privacy-preserving model training method respectively shown in the above method embodiments.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本说明书披露的多个实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。Those skilled in the art should realize that, in the above one or more examples, the functions described in the various embodiments disclosed in this specification may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
以上所述的具体实施方式,对本说明书披露的多个实施例的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本说明书披露的多个实施例的具体实施方式而已,并不用于限定本说明书披露的多个实施例的保护范围,凡在本说明书披露的多个实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本说明书披露的多个实施例的保护范围之内。The specific embodiments described above further describe in detail the purposes, technical solutions and beneficial effects of the various embodiments disclosed in this specification. It should be understood that the above description is only for the various embodiments disclosed in this specification The specific description is only for the specific implementation, and is not intended to limit the protection scope of the multiple embodiments disclosed in this specification. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the multiple embodiments disclosed in this specification are made. , all should be included within the protection scope of the multiple embodiments disclosed in this specification.
Claims (17)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010442259.7A CN111539008B (en) | 2020-05-22 | 2020-05-22 | Image processing method and device for protecting privacy |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010442259.7A CN111539008B (en) | 2020-05-22 | 2020-05-22 | Image processing method and device for protecting privacy |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111539008A true CN111539008A (en) | 2020-08-14 |
| CN111539008B CN111539008B (en) | 2023-04-11 |
Family
ID=71978163
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010442259.7A Active CN111539008B (en) | 2020-05-22 | 2020-05-22 | Image processing method and device for protecting privacy |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111539008B (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112035834A (en) * | 2020-08-28 | 2020-12-04 | 北京推想科技有限公司 | Adversarial training method and device, and application method and device of neural network model |
| CN113312668A (en) * | 2021-06-08 | 2021-08-27 | 支付宝(杭州)信息技术有限公司 | Image identification method, device and equipment based on privacy protection |
| CN114091104A (en) * | 2021-11-25 | 2022-02-25 | 支付宝(杭州)信息技术有限公司 | Method and apparatus for protecting privacy information of image sample set |
| CN115688125A (en) * | 2021-07-30 | 2023-02-03 | Oppo广东移动通信有限公司 | Model training and image processing method, device and storage medium |
| CN117121048A (en) * | 2021-04-06 | 2023-11-24 | 深圳市欢太科技有限公司 | Image processing methods and devices, electronic equipment and storage media |
Citations (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060257047A1 (en) * | 2005-05-11 | 2006-11-16 | Fuji Photo Film Co., Ltd. | Image processing apparatus, image processing method, and image processing program |
| CN101231748A (en) * | 2007-12-18 | 2008-07-30 | 西安电子科技大学 | Image Fusion Method Based on Singular Value Decomposition |
| CN102592269A (en) * | 2012-01-11 | 2012-07-18 | 西安电子科技大学 | Compressive-sensing-based object reconstruction method |
| WO2015070678A1 (en) * | 2013-11-15 | 2015-05-21 | 北京奇虎科技有限公司 | Image recognition method, and method and device for mining main body information about image |
| CN106203533A (en) * | 2016-07-26 | 2016-12-07 | 厦门大学 | The degree of depth based on combined training study face verification method |
| CN106303233A (en) * | 2016-08-08 | 2017-01-04 | 西安电子科技大学 | A kind of video method for secret protection merged based on expression |
| CN107451546A (en) * | 2017-07-14 | 2017-12-08 | 广东欧珀移动通信有限公司 | Iris identification method and related product |
| CN108520181A (en) * | 2018-03-26 | 2018-09-11 | 联想(北京)有限公司 | Data model training method and device |
| CN108846817A (en) * | 2018-06-22 | 2018-11-20 | Oppo(重庆)智能科技有限公司 | Image processing method, device and mobile terminal |
| US20190236763A1 (en) * | 2018-01-30 | 2019-08-01 | Canon Medical Systems Corporation | Apparatus and method for context-oriented blending of reconstructed images |
| CN110610469A (en) * | 2019-08-01 | 2019-12-24 | 长沙理工大学 | A face image privacy protection method, device, equipment and storage medium |
| CN110633650A (en) * | 2019-08-22 | 2019-12-31 | 首都师范大学 | Convolutional Neural Network Face Recognition Method and Device Based on Privacy Protection |
| CN110648289A (en) * | 2019-08-29 | 2020-01-03 | 腾讯科技(深圳)有限公司 | Image denoising processing method and device |
| CN110827204A (en) * | 2018-08-14 | 2020-02-21 | 阿里巴巴集团控股有限公司 | Image processing method and device and electronic equipment |
| CN111159773A (en) * | 2020-04-01 | 2020-05-15 | 支付宝(杭州)信息技术有限公司 | Image classification method and device for protecting data privacy |
-
2020
- 2020-05-22 CN CN202010442259.7A patent/CN111539008B/en active Active
Patent Citations (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060257047A1 (en) * | 2005-05-11 | 2006-11-16 | Fuji Photo Film Co., Ltd. | Image processing apparatus, image processing method, and image processing program |
| CN101231748A (en) * | 2007-12-18 | 2008-07-30 | 西安电子科技大学 | Image Fusion Method Based on Singular Value Decomposition |
| CN102592269A (en) * | 2012-01-11 | 2012-07-18 | 西安电子科技大学 | Compressive-sensing-based object reconstruction method |
| WO2015070678A1 (en) * | 2013-11-15 | 2015-05-21 | 北京奇虎科技有限公司 | Image recognition method, and method and device for mining main body information about image |
| CN106203533A (en) * | 2016-07-26 | 2016-12-07 | 厦门大学 | The degree of depth based on combined training study face verification method |
| CN106303233A (en) * | 2016-08-08 | 2017-01-04 | 西安电子科技大学 | A kind of video method for secret protection merged based on expression |
| CN107451546A (en) * | 2017-07-14 | 2017-12-08 | 广东欧珀移动通信有限公司 | Iris identification method and related product |
| US20190236763A1 (en) * | 2018-01-30 | 2019-08-01 | Canon Medical Systems Corporation | Apparatus and method for context-oriented blending of reconstructed images |
| CN108520181A (en) * | 2018-03-26 | 2018-09-11 | 联想(北京)有限公司 | Data model training method and device |
| CN108846817A (en) * | 2018-06-22 | 2018-11-20 | Oppo(重庆)智能科技有限公司 | Image processing method, device and mobile terminal |
| CN110827204A (en) * | 2018-08-14 | 2020-02-21 | 阿里巴巴集团控股有限公司 | Image processing method and device and electronic equipment |
| CN110610469A (en) * | 2019-08-01 | 2019-12-24 | 长沙理工大学 | A face image privacy protection method, device, equipment and storage medium |
| CN110633650A (en) * | 2019-08-22 | 2019-12-31 | 首都师范大学 | Convolutional Neural Network Face Recognition Method and Device Based on Privacy Protection |
| CN110648289A (en) * | 2019-08-29 | 2020-01-03 | 腾讯科技(深圳)有限公司 | Image denoising processing method and device |
| CN111159773A (en) * | 2020-04-01 | 2020-05-15 | 支付宝(杭州)信息技术有限公司 | Image classification method and device for protecting data privacy |
Non-Patent Citations (1)
| Title |
|---|
| 郭媛等: "基于图像重组和比特置乱的多图像加密", 《光子学报》 * |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112035834A (en) * | 2020-08-28 | 2020-12-04 | 北京推想科技有限公司 | Adversarial training method and device, and application method and device of neural network model |
| CN117121048A (en) * | 2021-04-06 | 2023-11-24 | 深圳市欢太科技有限公司 | Image processing methods and devices, electronic equipment and storage media |
| CN113312668A (en) * | 2021-06-08 | 2021-08-27 | 支付宝(杭州)信息技术有限公司 | Image identification method, device and equipment based on privacy protection |
| CN115688125A (en) * | 2021-07-30 | 2023-02-03 | Oppo广东移动通信有限公司 | Model training and image processing method, device and storage medium |
| CN114091104A (en) * | 2021-11-25 | 2022-02-25 | 支付宝(杭州)信息技术有限公司 | Method and apparatus for protecting privacy information of image sample set |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111539008B (en) | 2023-04-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111539008B (en) | Image processing method and device for protecting privacy | |
| Rauber et al. | Foolbox native: Fast adversarial attacks to benchmark the robustness of machine learning models in pytorch, tensorflow, and jax | |
| KR102536354B1 (en) | Systems and methods for biometric identification | |
| Adler | Sample images can be independently restored from face recognition templates | |
| Cheong et al. | The hitchhiker’s guide to bias and fairness in facial affective signal processing: Overview and techniques | |
| CN110543901A (en) | image recognition method, device and equipment | |
| KR20150110429A (en) | Method for enrolling data in a base to protect said data | |
| Gabryel et al. | Browser fingerprint coding methods increasing the effectiveness of user identification in the web traffic | |
| Pentyala et al. | Privacy-preserving video classification with convolutional neural networks | |
| Prabhu et al. | Privacy preserving steganography based biometric authentication system for cloud computing environment | |
| Cao et al. | Hiding among your neighbors: Face image privacy protection with differential private k-anonymity | |
| Triastcyn et al. | Federated generative privacy | |
| KR102126795B1 (en) | Deep learning-based image on personal information image processing system, apparatus and method therefor | |
| Kajino et al. | Instance-privacy preserving crowdsourcing | |
| JP7434291B2 (en) | System and method for performing identity authentication based on de-identified data | |
| Nakanishi et al. | Response time of cloud-based facial recognition system utilizing homomorphic encryption | |
| Jasmine et al. | A privacy preserving based multi-biometric system for secure identification in cloud environment | |
| JPWO2022085150A5 (en) | ATTACK SCENARIO GENERATOR, RISK ANALYSIS DEVICE, METHOD, AND PROGRAM | |
| HK40035488A (en) | Image processing method and device for protecting privacy | |
| Smtith et al. | Malware generation with specific behaviors to improve machine learning-based detection | |
| HK40035488B (en) | Image processing method and device for protecting privacy | |
| CN111091489A (en) | Picture optimization method and device, electronic equipment and storage medium | |
| CN113486839B (en) | Encrypted model training, image encryption and encrypted face image recognition method and device | |
| CN117195208A (en) | A federated learning backdoor erasure method based on adversarial knowledge distillation | |
| CN116361774A (en) | Password cracking method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40035488 Country of ref document: HK |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20230329 Address after: 801-10, Section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province 310000 Applicant after: Ant financial (Hangzhou) Network Technology Co.,Ltd. Address before: 310000 801-11 section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province Applicant before: Alipay (Hangzhou) Information Technology Co.,Ltd. |
|
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address |
Address after: Room 514, 5th Floor, Building 2, Building 1, No. 543-569 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province, China 310000 Patentee after: Ant Intelligent (Hangzhou) Technology Co.,Ltd. Country or region after: China Address before: 801-10, Section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province 310000 Patentee before: Ant financial (Hangzhou) Network Technology Co.,Ltd. Country or region before: China |