WO2021027537A1 - 一种拍摄证件照的方法、装置、设备及存储介质 - Google Patents

一种拍摄证件照的方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2021027537A1
WO2021027537A1 PCT/CN2020/104733 CN2020104733W WO2021027537A1 WO 2021027537 A1 WO2021027537 A1 WO 2021027537A1 CN 2020104733 W CN2020104733 W CN 2020104733W WO 2021027537 A1 WO2021027537 A1 WO 2021027537A1
Authority
WO
WIPO (PCT)
Prior art keywords
face
picture
shooting
configuration parameter
image
Prior art date
Application number
PCT/CN2020/104733
Other languages
English (en)
French (fr)
Inventor
肖志勇
Original Assignee
平安国际智慧城市科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安国际智慧城市科技股份有限公司 filed Critical 平安国际智慧城市科技股份有限公司
Publication of WO2021027537A1 publication Critical patent/WO2021027537A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Definitions

  • This application relates to the field of artificial intelligence, and in particular to a method, device, equipment, and storage medium for taking ID photos.
  • ID photos are taken manually in a photo studio. According to different ID photos, the background color of the photos is manually selected.
  • the inventor realizes that this method needs to go to an offline photo studio to shoot, which has space limitations and takes a long time. ,high cost.
  • the camera function of mobile phones has basically become a function frequently used by most users. In addition to the most commonly used ordinary camera functions, more and more users choose to use photos taken by mobile phones to make ID photos.
  • the present application provides a method, device, equipment, and storage medium for taking ID photos, which can solve the problem of high difficulty in self-service shooting of ID photos and low success rate of obtaining ID photos that meet the requirements of the ID photos in the prior art.
  • this application provides a method for taking a photo of an ID, the method includes:
  • the shooting device of the terminal After receiving the shooting mode selection instruction triggered by the user based on the terminal, the shooting device of the terminal is activated according to the shooting mode selection instruction, and multiple shooting modes are displayed in the function menu, wherein each shooting mode corresponds to a group Configuration parameters of image features;
  • the positioning frame is used to locate the detection that matches the preset shooting object in the picture Object
  • the present application also provides a device for photographing ID photos, and the device for shooting ID photos includes the following modules:
  • the transceiver module is configured to receive a shooting mode selection instruction triggered by the user based on the terminal, and send the shooting mode selection instruction to the control module;
  • the control module is configured to activate the shooting device of the terminal according to the instruction received from the transceiver module, and display multiple shooting modes in the function menu, wherein each shooting mode corresponds to a set of image characteristics Configuration parameters;
  • An acquisition module configured to acquire a first configuration parameter based on the target shooting mode selected by the user, and collect a picture taken by the camera according to the first configuration parameter
  • the processing module is used to identify the face in the picture taken by the camera according to the face recognition algorithm, and locate the position of the face in the picture through the positioning frame; wherein, the positioning frame is used to locate the The detection object that matches the preset shooting object in the picture; analyzes the face in the picture to determine whether the face in the picture meets the conditions of the first configuration parameter; according to the first configuration
  • the parameters standardize the face image to generate the ID photo.
  • this application also provides a device for taking a photo of an ID, and the device includes:
  • At least one processor, a memory and a transceiver; wherein the memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the steps of a method for photographing a passport as described below, include:
  • the shooting device of the terminal After receiving the shooting mode selection instruction triggered by the user based on the terminal, the shooting device of the terminal is activated according to the shooting mode selection instruction, and multiple shooting modes are displayed in the function menu, wherein each shooting mode corresponds to a group Configuration parameters of image features;
  • the positioning frame is used to locate the detection that matches the preset shooting object in the picture Object
  • the present application also provides a computer storage medium, wherein the computer storage medium stores instructions, and when the instructions are executed, the computer executes the following method for photographing a passport
  • the steps include:
  • the shooting device of the terminal After receiving the shooting mode selection instruction triggered by the user based on the terminal, the shooting device of the terminal is activated according to the shooting mode selection instruction, and multiple shooting modes are displayed in the function menu, wherein each shooting mode corresponds to a group Configuration parameters of image features;
  • the positioning frame is used to locate the detection that matches the preset shooting object in the picture Object
  • FIG. 1 is a schematic flow diagram of a method for taking ID photos in an embodiment of this application
  • FIG. 2 is a schematic diagram of an interface for displaying a first prompt message on a screen in an embodiment of the application
  • FIG. 3 is a schematic diagram of an interface for displaying a second prompt message on a screen according to an embodiment of the application
  • FIG. 4 is a schematic diagram of a structure of the device for taking ID photos in an embodiment of the application.
  • FIG. 5 is a schematic diagram of a structure of a computer device in an embodiment of the application.
  • a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to the clearly listed Those steps or modules may include other steps or modules that are not clearly listed or are inherent to these processes, methods, products, or equipment.
  • the division of modules in this application is only a logical division In actual applications, there may be other divisions in implementation. For example, multiple modules may be combined or integrated in another system, or some features may be ignored or not implemented.
  • This application provides a method, device, equipment, and storage medium for taking ID photos. It can be used to take ID photos based on artificial intelligence.
  • this application mainly provides the following technical solutions:
  • FIG. 1 Please refer to FIG. 1, the following describes a method for taking a photo ID in an embodiment of the present application, and the method includes:
  • each of the shooting modes refers to a shooting mode that defines a type of ID photo shooting, and each of the shooting modes corresponds to a set of configuration parameters of image features, and the configuration parameters are pre-configured inside the shooting device.
  • the ID photo type may include ID card, passport, social security card, driver's license, residence permit, pass and other standard format (also called fixed format) ID types.
  • the configuration parameters include at least one of the following parameters: size, background color, pixels, exposure, configuration conditions of the wearing object, configuration conditions of facial texture features, and facial expression configuration conditions; the configuration parameters are provided for the camera Various shooting environments for shooting images.
  • the size indicates the size of the ID photo, for example, the ID photo is 32mm*26mm.
  • the background color indicates the background color of the ID photo, for example, the background color of the ID photo is white.
  • the pixels indicate the resolution of the ID photo.
  • Wearables indicate the special requirements of the ID photos for the wearables, such as no hats, no shaved heads, no glasses, no makeup or eyesight, etc., or all five senses must be exposed, such as showing eyes and ears.
  • the configuration conditions of the facial texture features include the configuration conditions of the beauty level and the configuration conditions of the blur degree.
  • the facial expression configuration conditions include configuration conditions for expressions such as anger, squinting, smiling face, or open mouth.
  • the target shooting mode is the ID card shooting mode
  • the first configuration parameters corresponding to the ID card shooting mode include size, background color, pixels, exposure, configuration conditions of the wearing object, and facial texture characteristics. Configuration conditions and facial expression configuration conditions;
  • the collecting the image shot by the shooting device according to the first configuration parameter corresponding to the target shooting mode includes:
  • the shooting mode of the shooting device is switched to the target shooting mode, and the configuration parameters of the shooting device are set to the first configuration parameters by default, so that the shooting device collects according to the first configuration parameters The picture taken by the camera;
  • Adjust the to-be-shot image according to the first configuration parameters for example, according to size, background color, pixels, exposure, configuration conditions of wearing objects, configuration conditions of facial texture features, and facial expression configuration conditions, so that the shooting The shooting environment of the device conforms to each parameter in the first configuration parameter;
  • the picture to be shot in the shooting device is shot.
  • the picture may be a dynamically shot video, and the picture in the picture will not be taken until the user's shooting instruction is not detected.
  • the positioning frame is used to locate a detection object matching a preset shooting object in the frame.
  • the target shooting mode is used to shoot human faces. If it is detected that the detection object in the picture is a dog face, the positioning frame will not be displayed; if the detection object in the picture is detected as a human face, then The positioning frame is displayed.
  • taking into account that it may not be possible to capture a qualified face it is also possible to capture the image captured by the capture device according to the first configuration parameter corresponding to the target capture mode, or before generating the certificate.
  • the image captured by the capture device Before taking photos, filter and remind the faces in the picture. Specifically, it can include the following steps:
  • the moving direction includes the direction in which the terminal is to be moved or the direction in which the face is to be moved.
  • the first prompt information is used to instruct the user to move the face in the screen until all the faces in the screen are displayed; or, the first prompt information is used to instruct the user to move relative to the terminal until the screen is displayed. The face is shown full.
  • the first prompt information may be a notification message, a voice prompt, or a horizontal arrow.
  • the notification message can float on the screen, and can be in an icon mode, a bullet frame mode, or a bullet screen mode.
  • the voice prompt can be "Please raise your head", "Please move to the left", "Please move to the right” or "Please open your eyes", etc.
  • the horizontal arrow can be a dynamic arrow. For example, “ ⁇ ” means moving to the right, and “ ⁇ ” means moving to the left. The details are shown in Figure 2.
  • the second prompt information may be a notification message, a voice prompt, or a warning icon.
  • the notification message can float on the screen, and can be in an icon mode, a bullet frame mode, or a bullet screen mode.
  • the voice prompt can be "Please stop moving” or "OK”.
  • the warning icon can be a static or dynamic exclamation mark, such as "!, " ⁇ " or "”. The details are shown in Figure 3.
  • the exposure of the image in the image is detected, and if the exposure does not meet the requirements of the ID photo (for example, underexposure or overexposure), a third prompt message is sent or the exposure of the image is adaptively adjusted until the exposure The exposure of the picture in the picture meets the conditions of the ID photo.
  • the requirements of the ID photo for example, underexposure or overexposure
  • processing such as cropping, background color adjustment, and image compression is performed on the face image according to the first configuration parameters to obtain the ID photo.
  • processing such as cropping, background color adjustment, and image compression is performed on the face image according to the first configuration parameters to obtain the ID photo.
  • the standardized processing of the face image according to the first configuration parameter to generate the ID photo includes:
  • the face image is compressed according to the pixels set in the first configuration parameter to obtain an image with a preset resolution size, and the image with the preset resolution size is used as the ID photo.
  • the corresponding first configuration parameter is called according to the selected target shooting mode, and the face in the first configuration parameter screen is used for correction and adjustment.
  • the face in the first configuration parameter screen is used for correction and adjustment.
  • process the face image taken by the camera to get the ID photo it can be seen that by adopting this solution, users do not need to use the camera software provided by a third party to adjust the face image, nor do they need to use other picture editing tools to process the face by themselves. Intelligent and automated generation can be achieved while meeting user expectations and The ID photos with the conditions of ID photos can improve the efficiency of ID photos generation, with low threshold for use and convenient operation, which can improve user experience.
  • the collecting the image shot by the shooting device according to the first configuration parameter corresponding to the target shooting mode includes:
  • the shooting mode of the shooting device is switched to the target shooting mode, and the configuration parameters of the shooting device are set to the first configuration parameters by default, so that the shooting device collects according to the first configuration parameters The picture taken by the camera;
  • the picture to be shot in the shooting device is shot.
  • the condition of the first configuration parameter is a positive face condition; the analyzing the face in the screen to determine whether the face in the screen meets the condition of the first configuration parameter includes :
  • the key facial features include corresponding feature points such as eyes, cheekbones, nose, mouth, and chin;
  • the human face meets the positive face condition. If it is determined that the distance between some or all of the feature points and the proportional relationship between the distances are not within the normal range, it is considered that the face angle does not meet the frontal condition.
  • the human face is considered to be a side face, which does not meet the condition of a front face.
  • the human face is considered to be a side face, which does not meet the condition of a front face.
  • two eyes are identified and one of the eyes is not within the normal range, at least one eye is closed, or the situation is not facing the camera such as looking down or up, it is considered that the human face does not meet the frontal condition ;
  • the human face is considered to be a side face, which does not meet the frontal face condition.
  • a fourth prompt message is issued, and the fourth prompt The message is used to prompt to adjust the angle of the face in the picture.
  • the fourth prompt message is "turn right" or “turn left” and so on.
  • the additional conditions can be used to determine whether the face in the picture meets the target shooting mode. Certificate photo conditions.
  • the analyzing the human face in the picture to determine whether the human face in the picture meets the condition of the first configuration parameter further includes:
  • the wearing objects may include hats, glasses, and clothing.
  • the facial texture feature refers to cosmetic traces.
  • the target shooting mode is an ID photo and it is recognized that the face contains glasses, it is considered that it does not meet the configuration conditions of the wearing object; if the target shooting mode is a driver's license photo, it is recognized that the face contains glasses, then It is considered to meet the configuration conditions of the wearable article. Since the driver's license requires myopia to wear glasses, the configuration parameters corresponding to the driver's license are different from those corresponding to the ID card.
  • the target shooting mode is an ID card photo and it is recognized that the face contains beauty traces, it is considered that it does not meet the configuration conditions of facial texture features; if the target shooting mode is a social security card photo, the face is recognized If it contains traces of beauty makeup below the beauty level, it is considered to meet the configuration conditions of facial texture features. Since the driver's license requires the myopia to wear glasses, the configuration parameters corresponding to the ID card photos are different from the configuration parameters corresponding to the social security card photos.
  • FIG. 4 a schematic structural diagram of an apparatus 40 for taking ID photos can be applied to self-service ID photos.
  • the device 40 in the embodiment of the present application can implement the steps corresponding to the method of photographing the ID photo executed in the embodiment corresponding to FIG. 1.
  • the functions implemented by the device 40 can be implemented by hardware, or implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions, and the modules may be software and/or hardware.
  • the device 40 may include a control module 401, a collection module 402, a processing module 403, and a transceiver module 404.
  • the functional realization of the control module 401, the collection module 402, the processing module 403, and the transceiver module 404 can be referred to as shown in Figures 1 to 3 The operations performed in the corresponding embodiments are not described here.
  • the transceiver module 404 is configured to receive a shooting mode selection instruction triggered by the user based on the terminal, and send the shooting mode selection instruction to the control module 401;
  • the control module 401 is configured to activate the shooting device of the terminal according to the instruction received from the transceiver module, and display multiple shooting modes in the function menu, wherein each shooting mode corresponds to a set of image characteristics Configuration parameters;
  • the collection module 402 is configured to obtain first configuration parameters based on the target shooting mode selected by the user, and collect the images taken by the shooting device according to the first configuration parameters;
  • the processing module 403 can be used to identify the face in the picture taken by the camera according to the face recognition algorithm, and locate the position of the face in the picture through a positioning frame; wherein, the positioning frame is used for Locate the detection object matching the preset shooting object in the picture; analyze the human face in the picture to determine whether the human face in the picture meets the condition of the first configuration parameter; A configuration parameter performs standardized processing on the face image to generate an ID photo.
  • the processing module 403 calls the corresponding first configuration parameter according to the selected target shooting mode, and uses the face in the first configuration parameter screen to perform Correct and adjust, and process the face image taken by the camera to get the ID photo. It can be seen that by adopting this solution, users do not need to use the camera software provided by a third party to adjust the face image, nor do they need to use other picture editing tools to process the face by themselves. Intelligent and automated generation can be achieved while meeting user expectations and The ID photos with the conditions of ID photos can improve the efficiency of ID photos generation, with low threshold for use and convenient operation, which can improve user experience.
  • processing module 403 is specifically configured to:
  • the shooting mode of the shooting device is switched to the target shooting mode, and the configuration parameters of the shooting device are set to the first configuration parameters by default, so that the shooting device collects according to the first configuration parameters The picture taken by the camera;
  • the image to be shot in the shooting device is captured by the acquisition module 402.
  • the processing module 403 is further configured to:
  • the moving direction is determined according to the missing part of the face and the coordinate difference between the coordinates of each pixel on the face contour in the picture and the picture, and the moving direction includes the direction to be moved by the terminal or the face to be moved The direction;
  • the human face in the picture is detected in real time, and the real-time detected human face is matched with a preset face image, and when it is detected that the human face in the picture is fully displayed, a second prompt message is issued.
  • condition of the first configuration parameter is a face condition; the processing module 403 is specifically configured to:
  • the human face in the picture is detected by the human face recognition algorithm, and key facial features in the upper part of the human face are identified and located.
  • the key facial features include corresponding feature points such as eyes, cheekbones, nose, mouth, and chin;
  • the human face meets the positive face condition. If it is determined that the distance between some or all of the feature points and the proportional relationship between the distances are not within the normal range, it is considered that the face angle does not meet the frontal condition.
  • processing module 403 is further configured to:
  • the wearing objects may include hats, glasses, and clothing, and the facial texture features refer to the traces of beauty makeup;
  • the wearable object meets the configuration condition of the wearable object defined in the first configuration parameter according to the first configuration parameter. If it is determined that there is a trace of beauty makeup in the face, it is determined according to the first configuration parameter whether the trace of beauty makeup meets the configuration condition of the facial texture feature defined in the first configuration parameter.
  • processing module 403 is specifically configured to:
  • the face image is compressed according to the pixels set in the first configuration parameter to obtain an image with a preset resolution size, and the image with the preset resolution size is used as the ID photo.
  • the physical device corresponding to the transceiver module 304 shown in FIG. 4 is the transceiver shown in FIG. 5, which can realize part or all of the functions of the transceiver module 404, or the same or the same as the transceiver module 401. Similar functions.
  • the physical device corresponding to the processing module 403 shown in FIG. 4 is the processor shown in FIG. 5, and the processor can implement part or all of the functions of the processing module 403, or implement the same or similar functions as the processing module 403.
  • the device 50 in the embodiment of the present application is described above from the perspective of modular functional entities.
  • the following describes a computer device from the perspective of hardware, as shown in FIG. 5, which includes: a processor, a memory, and a transceiver (or An input and output unit (not identified in FIG. 5) and a computer program stored in the memory and running on the processor.
  • the computer program may be a program corresponding to the method of taking a photo ID in the embodiment corresponding to FIG. 1.
  • the processor executes the computer program to implement the method of photographing a passport photo executed by the device 40 in the embodiment corresponding to FIG.
  • the computer program may be a program corresponding to the method of photographing ID photos in the embodiment corresponding to FIG. 1.
  • the so-called processor can be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), ready-made Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
  • the processor is the control center of the computer equipment, and various interfaces and lines are used to connect various parts of the entire computer equipment.
  • the memory may be used to store the computer program and/or module, and the processor implements the computer by running or executing the computer program and/or module stored in the memory, and calling data stored in the memory.
  • the memory may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.); the storage data area may store Data created based on the use of mobile phones (such as audio data, video data, etc.), etc.
  • the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disks, memory, plug-in hard disks, smart memory cards (SmartMedia Card, SMC), and Secure Digital (SD) cards. Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
  • non-volatile memory such as hard disks, memory, plug-in hard disks, smart memory cards (SmartMedia Card, SMC), and Secure Digital (SD) cards.
  • Flash Card at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
  • the transceiver may also be replaced by a receiver and a transmitter, and may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as transceivers.
  • the transceiver can be an input and output unit.
  • the memory may be integrated in the processor, or may be provided separately from the processor.
  • the present application also provides a computer storage medium, wherein the computer storage medium stores instructions, and when the instructions are executed, the computer executes the steps of the method for photographing ID photos as described below, including:
  • the shooting device of the terminal After receiving the shooting mode selection instruction triggered by the user based on the terminal, the shooting device of the terminal is activated according to the shooting mode selection instruction, and multiple shooting modes are displayed in the function menu, wherein each shooting mode corresponds to a group Configuration parameters of image features;
  • the positioning frame is used to locate the detection that matches the preset shooting object in the picture Object
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium (such as ROM/RAM), including Several instructions are used to make a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the method described in each embodiment of the present application.

Abstract

一种拍摄证件照的方法、装置、设备及存储介质,方法包括:启动终端的拍摄装置后,在功能菜单中显示多种拍摄模式,每种拍摄模式是指定义拍摄一种证件照类型的拍摄模式,每种拍摄模式对应一组图像特征的配置参数;根据用户选择的目标拍摄模式获取的第一配置参数采集拍摄装置所拍摄的画面;根据人脸识别算法识别出摄像头拍摄的画面中的人脸,通过定位框定位出人脸在画面中的位置;对画面中的人脸进行分析,判断画面中的人脸是否符合第一配置参数的条件;根据第一配置参数对人脸图像进行标准化处理,生成证件照。采用本方案,能够提高自助拍摄证件照的生成效率和成功率。

Description

一种拍摄证件照的方法、装置、设备及存储介质
本申请要求于2019年08月15日提交中国专利局、申请号为201910751640.9、发明名称为“一种拍摄证件照的方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请涉及人工智能领域,尤其涉及一种拍摄证件照的方法、装置、设备及存储介质。
背景技术
目前证件照拍摄都是去照相馆进行人工拍摄,根据不同的证件照用途,人工选择拍摄照片的背景色,发明人意识到这种方式需要去线下的照相馆拍摄,有场地限制并且耗时长、成本高。随着智能手机的普及,特别是随着智能手机搭载的摄像头性能的不断提升,手机拍照功能基本上成为大多数用户经常使用的功能。除了平时最常用的普通拍照功能以外,越来越多的用户选择使用手机拍摄的照片制作证件照。
但是,发明人发现使用手机拍摄证件照的方式操作繁琐,要求用户熟练使用图片编辑工具,使用不便且具有一定的操作难度,得到符合证件照要求的成功率不高。
发明内容
本申请提供了一种拍摄证件照的方法、装置、设备及存储介质,能够解决现有技术中自助拍摄证件照的难度高且得到符合证件照要求的成功率不高的问题。
第一方面,本申请提供一种拍摄证件照的方法,所述方法包括:
在接收到用户基于终端触发的拍摄模式选择指令后,根据所述拍摄模式选择指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式,其中,每种所述拍摄模式对应一组图像特征的配置参数;
基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面;
根据人脸识别算法识别出所述画面中的人脸,通过定位框定位出人脸在所述画面的位置;其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的检测对象;
对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件;
根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
进一步地,为实现上述目的,本申请还提供一种拍摄证件照的装置,所述拍摄证件照的装置包括以下模块:
收发模块,用于接收用户基于终端触发的拍摄模式选择指令,并将所述拍摄模式选择指令发送至控制模块;
所述控制模块,用于根据从所述收发模块接收的所述指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式,其中,每种所述拍摄模式对应一组图像特征的配置参数;
采集模块,用于基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面;
处理模块,用于根据人脸识别算法识别出所述摄像头拍摄的画面中的人脸,通过定位框定位出所述人脸在所述画面中的位置;其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的的检测对象;对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件;根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
进一步地,为实现上述目的,本申请还提供一种拍摄证件照的设备,所述设备包括:
至少一个处理器、存储器和收发器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器中存储的程序代码来执行如下所述一种拍摄证件照的方法的步骤,包括:
在接收到用户基于终端触发的拍摄模式选择指令后,根据所述拍摄模式选择指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式,其中,每种所述拍摄模式对应一组图像特征的配置参数;
基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面;
根据人脸识别算法识别出所述画面中的人脸,通过定位框定位出人脸在所述画面的位置;其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的检测对象;
对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件;
根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
进一步地,为实现上述目的,本申请还提供一种计算机存储介质,其中,所述计算机存储介质中存储有指令,当所述指令被执行时,使得计算机执行如下所述的拍摄证件照的方法的步骤,包括:
在接收到用户基于终端触发的拍摄模式选择指令后,根据所述拍摄模式选择指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式,其中,每种所述拍摄模式对应一组图像特征的配置参数;
基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面;
根据人脸识别算法识别出所述画面中的人脸,通过定位框定位出人脸在所述画面的位置;其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的检测对象;
对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件;
根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
附图说明
图1为本申请实施例中拍摄证件照的方法的一种流程示意图;
图2为本申请实施例中在画面中显示第一提示消息的一种界面示意图;
图3为本申请实施例在画面中显示第二提示消息的一种界面示意图;
图4为本申请实施例中用于拍摄证件照的装置的一种结构示意图;
图5为本申请实施例中计算机设备的一种结构示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或 模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块,本申请中所出现的模块的划分,仅仅是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式,例如多个模块可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行。
本申请提供一种拍摄证件照的方法、装置、设备及存储介质。可用于基于人工智能自助拍摄证件照。
为解决上述技术问题,本申请主要提供以下技术方案:
通过引入应用AI图像识别、图像处理技术,在拍照的过程中自动识别人脸面部表情、化妆、戴帽子、戴眼镜、正脸角度、着装颜色等情况,自动提示拍摄照片是否满足证件照要求,对拍摄场地、拍摄背景等外部场景没有特别要求,拍摄完成后自动生成指定规格、背景色、尺寸的证件照片,即时可以看到拍摄的效果,不满意的情况下支持重新拍摄,完成后可以保存到本地设备用,照片备份同时支持保存到私有云空间。支持在手机、电脑等电子终端上操作。拍摄证件照随时随地、随心所欲。
请参照图1,以下介绍本申请实施例中的一种拍摄证件照的方法,所述方法包括:
101、在接收到用户基于终端触发的拍摄模式选择指令后,根据所述拍摄模式选择指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式。
其中,每种所述拍摄模式是指定义拍摄一种证件照类型的拍摄模式,每种所述拍摄模式对应一组图像特征的配置参数,所述配置参数在所述拍摄装置内部预先配置。例如,证件照类型可包括身份证、护照、社保卡、驾驶证、居住证和通行证等标准格式(也可称为固定格式)的证件类型。
所述配置参数至少包括以下参数的一种:尺寸、背景色、像素、曝光度、穿戴物件的配置条件、面部纹理特征的配置条件和面部表情配置条件;所述配置参数为所述拍摄装置提供多种用于拍摄画面的拍摄环境。
其中,尺寸表明证件照的尺寸,如身份证照为32mm*26mm。背景色表明证件照的背景色,如身份证照的背景色为白色。像素表明证件照的分辨率。穿戴物件的表明证件照对穿戴物件的特殊要求,例如不能佩戴帽子、不能披头散发、不能戴眼镜、不能化妆或不能遮眼等,或者要求五官全部露出来,例如露眼睛、露双耳等。面部纹理特征的配置条件包括美妆级别的配置条件和模糊度的配置条件。所述面部表情配置条件包括愤怒、眯眼、笑脸或张嘴等表情的配置条件。
102、基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面。
具体来说,所述目标拍摄模式为身份证照拍摄模式,那么与身份证照拍摄模式对应的第一配置参数包括尺寸、背景色、像素、曝光度、穿戴物件的配置条件、面部纹理特征的配置条件和面部表情配置条件;
一些实施方式中,所述根据所述目标拍摄模式对应的第一配置参数采集所述拍摄装置所拍摄的画面,包括:
根据所述指令将拍摄装置的拍摄模式切换为所述目标拍摄模式,以及将所述拍摄装置的配置参数默认设置为所述第一配置参数,使得所述拍摄装置按照所述第一配置参数采集拍摄装置所拍摄的画面;
启动所述拍摄装置拍摄功能,获取所述拍摄装置获取到的待拍摄画面;
按照所述第一配置参数(例如按照尺寸、背景色、像素、曝光度、穿戴物件的配置条件、面部纹理特征的配置条件和面部表情配置条件)调整所述待拍摄画面,以使得所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数;
当检测到所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数时,对所述拍摄装置中的待拍摄画面进行拍摄。
一些实施方式中,该画面可为动态拍摄的视频,在未检测到用户的拍摄指令之前,不会对画面中的画面进行拍摄。
103、根据人脸识别算法识别出所述画面中的人脸,通过定位框定位出人脸在所述画面的位置。
其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的的检测对象。例如,所述目标拍摄模式用于拍摄人脸,若检测到所述画面中的检测对象为狗脸,则不会显示所述定位框;若检测到所述画面中的检测对象为人脸,则显示所述定位框。
104、对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件。
一些实施方式中,考虑到可能无法拍摄到合格的人脸,还可以在所述根据所述目标拍摄模式对应的第一配置参数采集所述拍摄装置所拍摄的画面之前,或者在所述生成证件照之前,对画面中的人脸进行筛选和提示。具体来说,可包括下述步骤:
(1)在定位出所述人脸在画面中的位置后,将所述画面中的人脸与预设人脸图像作对比,若通过对比确定所述画面中的人脸不全,则检测出所述画面中人脸轮廓上各像素点在所述画面中的坐标,以及人脸缺失部位。
(2)计算所述人脸轮廓上各像素点在所述画面中的坐标与画面之间的坐标差。
(3)根据所述人脸缺失部位和所述人脸轮廓上各像素点在所述画面中的坐标与画面之间的坐标差确定移动方向。
所述移动方向包括终端待移动的方向或人脸待移动的方向。
(4)发出指示移动方向的第一提示信息。
所述第一提示信息用于指示用户移动在画面中的人脸,直至所述画面中的人脸显示全;或者,所述第一提示信息用于指示用户相对终端移动,直至所述画面中的人脸显示全。
一些实施方式中,所述第一提示信息可以是通知消息、语音提示或者水平箭头。通知消息可浮动在所述画面中,可以是图标方式、弹框方式或弹幕方式。语音提示可以是“请抬头”、“请向左移动”、“请向右移动”或“请睁眼”等。水平箭头可以是动态的箭头,例如“→”表示向右移动,“←”表示向左移动。具体如图2所示。
(5)实时检测所述画面中的人脸,将实时检测到的人脸与预设人脸图像匹配,当检测到所述画面中的人脸显示全后,发出第二提示信息。
同理,一些实施方式中,所述第二提示信息可以是通知消息、语音提示或者警示图标。通知消息可浮动在所述画面中,可以是图标方式、弹框方式或弹幕方式。语音提示可以是“请停止移动”或“OK”等。警示图标可以是静态或动态的感叹号,例如“!”、“√”或“”等。具体如图3所示。
一些实施方式中,检测所述画面中画面的曝光度,若曝光度不符合证件照的要求(例如曝光不足或曝光过度),则发出第三提示消息或者自适应调节画面的曝光度,直至所述画面中画面的曝光度符合证件照的条件。
105、根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
一些实施方式中,在得到所述人脸图像后,根据所述第一配置参数对所述人脸图像进行裁剪处理、背景色调整、图像压缩等处理,得到证件照。具体来说,所述根据所述第一配置参数对人脸图像进行标准化处理,生成证件照,包括:
根据第一配置参数中设置的尺寸对所述人脸图像进行裁剪处理,得到合适大小的图像;
根据第一配置参数中设置的背景色对所述人脸图像的背景色进行调整,以使所述人脸图像符合背景色要求;
根据第一配置参数中设置的像素对所述人脸图像进行压缩处理,得到预设分辨率大小的图像,将所述预设分辨率大小的图像作为所述证件照。
与现有机制相比,本申请实施例中,在启动拍摄装置后,根据选定的目标拍摄模式调取对应的第一配置参数,利用该第一配置参数画面中的人脸进行校正和调整,以及对摄像头拍摄的人脸图像进行处理,得到证件照。可见,通过采用本方案,用户无需借助第三方提供的拍照软件去调整人脸图像,也无需自行利用其它图片编辑工具对人脸进行处理,就能实现智能化和自动化的生成同时满足用户期望和证件照条件的证件照,能够提高证件照的生成效率,使用门槛低且操作便捷,能够提升用户体验。
在一些可能的设计中,所述根据所述目标拍摄模式对应的第一配置参数采集所述拍摄装置所拍摄的画面,包括:
根据所述指令将拍摄装置的拍摄模式切换为所述目标拍摄模式,以及将所述拍摄装置的配置参数默认设置为所述第一配置参数,使得所述拍摄装置按照所述第一配置参数采集拍摄装置所拍摄的画面;
启动所述拍摄装置拍摄功能,获取所述拍摄装置获取到的待拍摄画面;
按照所述第一配置参数调整所述待拍摄画面,以使得所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数;
当检测到所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数时,对所述拍摄装置中的待拍摄画面进行拍摄。
可选的,在本申请的一些实施例中,为进一步提高生成证件照的成功率和合格率,还可以判断所述画面中的人脸是否符合正脸条件。具体来说,所述第一配置参数的条件为正脸条件;所述对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件,包括:
(1)通过人脸识别算法检测所述画面中的人脸,识别并定位所述人脸中上的面部关键特征。所述面部关键特征包括眼睛、颧骨、鼻子、嘴巴、下巴等对应的特征点;
若未能识别出所有特征点,则认为人脸不符合正脸条件。
(2)计算各特征点之间的间距以及各间距之间的比例关系。
(3)根据各特征点之间的间距和各间距之间的比例关系判断人脸角度是否符合正脸条件。
若确定特征点之间的间距和各间距之间的比例关系都在正常范围内,则认为人脸符合正脸条件。若确定部分或全部特征点之间的间距和各间距之间的比例关系不在正常范围内,则认为人脸角度不符合正脸条件。
例如,识别出一只眼睛,则认为人脸为侧脸,不符合正脸条件。又例如,识别出两只眼睛且其中一只眼睛不在正常范围内,至少一只眼睛闭上,或者朝下看或朝上看等未正对着摄像头情形,则认为人脸不符合正脸条件;又例如,识别出两只眼睛且其中一只眼睛为侧面状态,则认为人脸为侧脸,不符合正脸条件。
例如,识别所述画面中人脸的2D数据或3D数据,若根据2D数据或3D数据脸太偏无法显示完整角度的人脸(例如非正脸),则发出第四提示消息,第四提示消息用于提示调整人脸在所述画面中的角度。例如第四提示消息为“向右转”或“向左转”等。
可选的,在本申请的一些实施例中,例如考虑到每种拍摄模式下会对证件照设置不同的附加条件,附加条件可用来判断所述画面中的人脸是否符合目标拍摄模式下的证件照条件。所述对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件,还包括:
(1)判断人脸中是否存在穿戴物件和/或面部纹理特征,所述穿戴物件可包含帽子、眼镜和着装。所述面部纹理特征是指美妆痕迹。
(2)若判断出人脸中包含穿戴物件,则根据所述第一配置参数判断所述穿戴物件是否符合所述第一配置参数中限定的穿戴物件的配置条件。若判断出人脸中存在美妆痕迹, 则根据所述第一配置参数判断所述美妆痕迹是否符合所述第一配置参数中限定的面部纹理特征的配置条件。
例如,若所述目标拍摄模式为身份证照,识别出人脸上包含眼镜,则认为不符合穿戴物件的配置条件;若所述目标拍摄模式为驾驶证照,识别出人脸上含有眼镜,则认为符合穿戴物件的配置条件。由于驾驶证照要求近视者必须佩带眼镜,因此,驾驶证照对应的配置参数不同于身份证照对应的配置参数。
又例如,若所述目标拍摄模式为身份证照,识别出人脸上包含美妆痕迹,则认为不符合面部纹理特征的配置条件;若所述目标拍摄模式为社保卡照,识别出人脸上包含低于美妆级别的美妆痕迹,则认为符合面部纹理特征的配置条件。由于驾驶证照要求近视者必须佩带眼镜,因此,身份证照对应的配置参数不同于社保卡照对应的配置参数。
上述图1至图3中任一所对应的实施例或实施方式中所提及的技术特征也同样适用于本申请中的图4和图5所对应的实施例,后续类似之处不再赘述。
以上对本申请中一种拍摄证件照的方法进行说明,以下对执行上述拍摄证件照的方法的装置进行描述。
如图4所示的一种用于拍摄证件照的装置40的结构示意图,其可应用于自助拍摄证件照。本申请实施例中的装置40能够实现对应于上述图1所对应的实施例中所执行的拍摄证件照的方法的步骤。装置40实现的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,所述模块可以是软件和/或硬件。所述装置40可包括控制模块401、采集模块402、处理模块403和收发模块404,所述控制模块401、采集模块402、处理模块403和收发模块404的功能实现可参考图1-图3所对应的实施例中所执行的操作,此处不作赘述。
一些实施方式中,所述收发模块404用于接收用户基于终端触发的拍摄模式选择指令,并将所述拍摄模式选择指令发送至所述控制模块401;
所述控制模块401用于根据从所述收发模块接收的所述指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式,其中,每种所述拍摄模式对应一组图像特征的配置参数;
所述采集模块402用于基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面;
所述处理模块403可用于根据人脸识别算法识别出所述摄像头拍摄的画面中的人脸,通过定位框定位出所述人脸在所述画面中的位置;其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的的检测对象;对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件;根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
本申请实施例中,在所述控制模块401启动拍摄装置后,所述处理模块403根据选定的目标拍摄模式调取对应的第一配置参数,利用该第一配置参数画面中的人脸进行校正和调整,以及对摄像头拍摄的人脸图像进行处理,得到证件照。可见,通过采用本方案,用户无需借助第三方提供的拍照软件去调整人脸图像,也无需自行利用其它图片编辑工具对人脸进行处理,就能实现智能化和自动化的生成同时满足用户期望和证件照条件的证件照,能够提高证件照的生成效率,使用门槛低且操作便捷,能够提升用户体验。
一种实施方式中,所述处理模块403具体用于:
根据所述指令将拍摄装置的拍摄模式切换为所述目标拍摄模式,以及将所述拍摄装置的配置参数默认设置为所述第一配置参数,使得所述拍摄装置按照所述第一配置参数采集拍摄装置所拍摄的画面;
通过所述控制模块401启动所述拍摄装置拍摄功能,获取所述拍摄装置获取到的待拍 摄画面;
按照所述第一配置参数调整所述待拍摄画面,以使得所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数;
当检测到所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数时,通过所述采集模块402对所述拍摄装置中的待拍摄画面进行拍摄。
一种实施方式中,在定位出所述人脸在画面中的位置后,所述处理模块403还用于:
将所述画面中的人脸与预设人脸图像作对比,若通过对比确定所述画面中的人脸不全,则检测出所述画面中人脸轮廓上各像素点在所述画面中的坐标,以及人脸缺失部位;
计算所述人脸轮廓上各像素点在所述画面中的坐标与画面之间的坐标差;
根据所述人脸缺失部位和所述人脸轮廓上各像素点在所述画面中的坐标与画面之间的坐标差确定移动方向,所述移动方向包括终端待移动的方向或人脸待移动的方向;
通过所述收发模块404发出指示移动方向的第一提示信息,其中,所述第一提示信息用于指示用户移动在画面中的人脸,直至所述画面中的人脸显示全;或者,所述第一提示信息用于指示用户相对终端移动,直至所述画面中的人脸显示全;
实时检测所述画面中的人脸,将实时检测到的人脸与预设人脸图像匹配,当检测到所述画面中的人脸显示全后,发出第二提示信息。
一种实施方式中,所述第一配置参数的条件为正脸条件;所述处理模块403具体用于:
通过所述人脸识别算法检测所述画面中的人脸,识别并定位所述人脸中上的面部关键特征。所述面部关键特征包括眼睛、颧骨、鼻子、嘴巴、下巴等对应的特征点;
计算各特征点之间的间距以及各间距之间的比例关系;
根据各特征点之间的间距和各间距之间的比例关系判断人脸角度是否符合正脸条件;
若确定特征点之间的间距和各间距之间的比例关系都在正常范围内,则认为人脸符合正脸条件。若确定部分或全部特征点之间的间距和各间距之间的比例关系不在正常范围内,则认为人脸角度不符合正脸条件。
一种实施方式中,所述处理模块403还用于:
判断人脸中是否存在穿戴物件和/或面部纹理特征,所述穿戴物件可包含帽子、眼镜和着装,所述面部纹理特征是指美妆痕迹;
若判断出人脸中包含穿戴物件,则根据所述第一配置参数判断所述穿戴物件是否符合所述第一配置参数中限定的穿戴物件的配置条件。若判断出人脸中存在美妆痕迹,则根据所述第一配置参数判断所述美妆痕迹是否符合所述第一配置参数中限定的面部纹理特征的配置条件。
一种实施方式中,所述处理模块403具体用于:
根据第一配置参数中设置的尺寸对所述人脸图像进行裁剪处理,得到合适大小的图像;
根据第一配置参数中设置的背景色对所述人脸图像的背景色进行调整,以使所述人脸图像符合背景色要求;
根据第一配置参数中设置的像素对所述人脸图像进行压缩处理,得到预设分辨率大小的图像,将所述预设分辨率大小的图像作为所述证件照。
需要说明的是,上述图4中所示的收发模块304对应的实体设备为图5所示的收发器,该收发器能够实现收发模块404部分或全部的功能,或者实现与收发模块401相同或相似的功能。
图4中所示的处理模块403对应的实体设备为图5所示的处理器,该处理器能够实现处理模块403部分或全部的功能,或者实现与处理模块403相同或相似的功能。
上面从模块化功能实体的角度分别介绍了本申请实施例中的装置50,以下从硬件角 度介绍一种计算机设备,如图5所示,其包括:处理器、存储器、收发器(也可以是输入输出单元,图5中未标识出)以及存储在所述存储器中并可在所述处理器上运行的计算机程序。例如,该计算机程序可以为图1所对应的实施例中拍摄证件照的方法对应的程序。例如,当计算机设备实现如图4所示的装置40的功能时,所述处理器执行所述计算机程序时实现上述图4所对应的实施例中由装置40执行的拍摄证件照的方法中的各步骤;或者,所述处理器执行所述计算机程序时实现上述图4所对应的实施例的装置40中各模块的功能。又例如,该计算机程序可以为图1所对应的实施例中拍摄证件照的方法对应的程序。
所称处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述计算机设备的控制中心,利用各种接口和线路连接整个计算机设备的各个部分。
所述存储器可用于存储所述计算机程序和/或模块,所述处理器通过运行或执行存储在所述存储器内的计算机程序和/或模块,以及调用存储在存储器内的数据,实现所述计算机设备的各种功能。所述存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、视频数据等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(SmartMedia Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
所述收发器也可以用接收器和发送器代替,可以为相同或者不同的物理实体。为相同的物理实体时,可以统称为收发器。该收发器可以为输入输出单元。
所述存储器可以集成在所述处理器中,也可以与所述处理器分开设置。
本申请还提供一种计算机存储介质,其中,所述计算机存储介质中存储有指令,当所述指令被执行时,使得计算机执行如下所述的拍摄证件照的方法的步骤,包括:
在接收到用户基于终端触发的拍摄模式选择指令后,根据所述拍摄模式选择指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式,其中,每种所述拍摄模式对应一组图像特征的配置参数;
基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面;
根据人脸识别算法识别出所述画面中的人脸,通过定位框定位出人脸在所述画面的位置;其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的检测对象;
对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件;
根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施 方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,这些均属于本申请的保护之内。

Claims (20)

  1. 一种拍摄证件照的方法,其中,所述方法包括:
    在接收到用户基于终端触发的拍摄模式选择指令后,根据所述拍摄模式选择指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式,其中,每种所述拍摄模式对应一组图像特征的配置参数;
    基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面;
    根据人脸识别算法识别出所述画面中的人脸,通过定位框定位出人脸在所述画面的位置;其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的检测对象;
    对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件;
    根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
  2. 根据权利要求1所述的方法,其中,所述根据所述目标拍摄模式对应的第一配置参数采集所述拍摄装置所拍摄的画面,包括:
    根据所述指令将拍摄装置的拍摄模式切换为所述目标拍摄模式,以及将所述拍摄装置的配置参数默认设置为所述第一配置参数,使得所述拍摄装置按照所述第一配置参数采集拍摄装置所拍摄的画面;
    启动所述拍摄装置拍摄功能,获取所述拍摄装置获取到的待拍摄画面;
    按照所述第一配置参数调整所述待拍摄画面,以使得所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数;
    当检测到所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数时,对所述拍摄装置中的待拍摄画面进行拍摄。
  3. 根据权利要求1所述的方法,其中,在所述在定位出所述人脸在画面中的位置后,所述方法还包括:
    将所述画面中的人脸与预设人脸图像作对比,若通过对比确定所述画面中的人脸不全,则检测出所述画面中人脸轮廓上各像素点在所述画面中的坐标,以及人脸缺失部位;
    计算所述人脸轮廓上各像素点在所述画面中的坐标与画面之间的坐标差;
    根据所述人脸缺失部位和所述人脸轮廓上各像素点在所述画面中的坐标与画面之间的坐标差确定移动方向,所述移动方向包括终端待移动的方向或人脸待移动的方向;
    发出指示移动方向的第一提示信息,其中,所述第一提示信息用于指示用户移动在画面中的人脸,直至所述画面中的人脸显示全;或者,所述第一提示信息用于指示用户相对终端移动,直至所述画面中的人脸显示全;
    实时检测所述画面中的人脸,将实时检测到的人脸与预设人脸图像匹配,当检测到所述画面中的人脸显示全后,发出第二提示信息。
  4. 根据权利要求1-3中任一项所述的方法,其中,所述第一配置参数的条件为正脸条件;所述对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件,包括:
    通过所述人脸识别算法检测所述画面中的人脸,识别并定位所述人脸中上的面部关键特征,所述面部关键特征包括眼睛、颧骨、鼻子、嘴巴、下巴等对应的特征点;
    计算各特征点之间的间距以及各间距之间的比例关系;
    根据各特征点之间的间距和各间距之间的比例关系判断人脸角度是否符合正脸条件;
    若确定特征点之间的间距和各间距之间的比例关系都在正常范围内,则认为人脸符合正脸条件;若确定部分或全部特征点之间的间距和各间距之间的比例关系不在正常范围 内,则认为人脸角度不符合正脸条件。
  5. 根据权利要求4所述的方法,其中,所述对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件,还包括:
    判断人脸中是否存在穿戴物件和/或面部纹理特征,所述穿戴物件可包含帽子、眼镜和着装,所述面部纹理特征是指美妆痕迹;
    若判断出人脸中包含穿戴物件,则根据所述第一配置参数判断所述穿戴物件是否符合所述第一配置参数中限定的穿戴物件的配置条件;若判断出人脸中存在美妆痕迹,则根据所述第一配置参数判断所述美妆痕迹是否符合所述第一配置参数中限定的面部纹理特征的配置条件。
  6. 根据权利要求1所述的方法,其中,所述根据所述第一配置参数对人脸图像进行标准化处理,生成证件照,包括:
    根据第一配置参数中设置的尺寸对所述人脸图像进行裁剪处理,得到合适大小的图像;
    根据第一配置参数中设置的背景色对所述人脸图像的背景色进行调整,以使所述人脸图像符合背景色要求;
    根据第一配置参数中设置的像素对所述人脸图像进行压缩处理,得到预设分辨率大小的图像,将所述预设分辨率大小的图像作为所述证件照。
  7. 一种拍摄证件照的装置,其中,所述装置包括:
    收发模块,用于接收用户基于终端触发的拍摄模式选择指令,并将所述拍摄模式选择指令发送至控制模块;
    所述控制模块,用于根据从所述收发模块接收的所述指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式,其中,每种所述拍摄模式对应一组图像特征的配置参数;
    采集模块,用于基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面;
    处理模块,用于根据人脸识别算法识别出所述摄像头拍摄的画面中的人脸,通过定位框定位出所述人脸在所述画面中的位置;其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的的检测对象;对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件;根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
  8. 根据权利要求7所述的装置,其特征在于,所述处理模块具体用于:
    根据所述指令将拍摄装置的拍摄模式切换为所述目标拍摄模式,以及将所述拍摄装置的配置参数默认设置为所述第一配置参数,使得所述拍摄装置按照所述第一配置参数采集拍摄装置所拍摄的画面;
    通过所述控制模块启动所述拍摄装置拍摄功能,获取所述拍摄装置获取到的待拍摄画面;
    按照所述第一配置参数调整所述待拍摄画面,以使得所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数;
    当检测到所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数时,对所述拍摄装置中的待拍摄画面进行拍摄。
  9. 一种计算机设备,其中,所述设备包括:
    至少一个处理器、存储器和收发器;
    其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器中存储的程序代码来执行如下所述的拍摄证件照的方法的步骤:
    在接收到用户基于终端触发的拍摄模式选择指令后,根据所述拍摄模式选择指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式,其中,每种所述拍摄模式对应 一组图像特征的配置参数;
    基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面;
    根据人脸识别算法识别出所述画面中的人脸,通过定位框定位出人脸在所述画面的位置;其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的检测对象;
    对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件;
    根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
  10. 根据权利要求9所述的拍摄证件照的设备,其中,所述拍摄证件照的程序被所述处理器执行所述拍摄证件照的程序被所述处理器执行所述根据所述目标拍摄模式对应的第一配置参数采集所述拍摄装置所拍摄的画面的步骤时,还执行以下步骤:
    根据所述指令将拍摄装置的拍摄模式切换为所述目标拍摄模式,以及将所述拍摄装置的配置参数默认设置为所述第一配置参数,使得所述拍摄装置按照所述第一配置参数采集拍摄装置所拍摄的画面;
    启动所述拍摄装置拍摄功能,获取所述拍摄装置获取到的待拍摄画面;
    按照所述第一配置参数调整所述待拍摄画面,以使得所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数;
    当检测到所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数时,对所述拍摄装置中的待拍摄画面进行拍摄。
  11. 根据权利要求9所述的拍摄证件照的设备,其中,所述拍摄证件照的程序被所述处理器执行所述拍摄证件照的程序被所述处理器执行所述在定位出所述人脸在画面中的位置后的步骤之后,还执行以下步骤:
    将所述画面中的人脸与预设人脸图像作对比,若通过对比确定所述画面中的人脸不全,则检测出所述画面中人脸轮廓上各像素点在所述画面中的坐标,以及人脸缺失部位;
    计算所述人脸轮廓上各像素点在所述画面中的坐标与画面之间的坐标差;
    根据所述人脸缺失部位和所述人脸轮廓上各像素点在所述画面中的坐标与画面之间的坐标差确定移动方向,所述移动方向包括终端待移动的方向或人脸待移动的方向;
    发出指示移动方向的第一提示信息,其中,所述第一提示信息用于指示用户移动在画面中的人脸,直至所述画面中的人脸显示全;或者,所述第一提示信息用于指示用户相对终端移动,直至所述画面中的人脸显示全;
    实时检测所述画面中的人脸,将实时检测到的人脸与预设人脸图像匹配,当检测到所述画面中的人脸显示全后,发出第二提示信息。
  12. 根据权利要求9-11中任一项所述的拍摄证件照的设备,其中,所述拍摄证件照的程序被所述处理器执行所述一种拍摄证件照的程序被所述处理器执行所述第一配置参数的条件为正脸条件;所述对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件的步骤时,还执行以下步骤:
    通过所述人脸识别算法检测所述画面中的人脸,识别并定位所述人脸中上的面部关键特征,所述面部关键特征包括眼睛、颧骨、鼻子、嘴巴、下巴等对应的特征点;
    计算各特征点之间的间距以及各间距之间的比例关系;
    根据各特征点之间的间距和各间距之间的比例关系判断人脸角度是否符合正脸条件;
    若确定特征点之间的间距和各间距之间的比例关系都在正常范围内,则认为人脸符合正脸条件;若确定部分或全部特征点之间的间距和各间距之间的比例关系不在正常范围内,则认为人脸角度不符合正脸条件。
  13. 根据权利要求12所述的拍摄证件照的设备,其中,所述拍摄证件照的程序被所 述处理器执行所述一种拍摄证件照的程序被所述处理器执行所述对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件的步骤时,还执行以下步骤:
    判断人脸中是否存在穿戴物件和/或面部纹理特征,所述穿戴物件可包含帽子、眼镜和着装,所述面部纹理特征是指美妆痕迹;
    若判断出人脸中包含穿戴物件,则根据所述第一配置参数判断所述穿戴物件是否符合所述第一配置参数中限定的穿戴物件的配置条件;若判断出人脸中存在美妆痕迹,则根据所述第一配置参数判断所述美妆痕迹是否符合所述第一配置参数中限定的面部纹理特征的配置条件。
  14. 根据权利要求9所述的拍摄证件照的设备,其中,所述拍摄证件照的程序被所述处理器执行所述根据所述第一配置参数对人脸图像进行标准化处理,生成证件照的步骤时,还执行以下步骤:
    根据第一配置参数中设置的尺寸对所述人脸图像进行裁剪处理,得到合适大小的图像;
    根据第一配置参数中设置的背景色对所述人脸图像的背景色进行调整,以使所述人脸图像符合背景色要求;
    根据第一配置参数中设置的像素对所述人脸图像进行压缩处理,得到预设分辨率大小的图像,将所述预设分辨率大小的图像作为所述证件照。
  15. 一种计算机存储介质,其中,所述计算机存储介质中存储有指令,当所述指令被执行时,使得计算机执行如下所述的拍摄证件照的方法的步骤:
    在接收到用户基于终端触发的拍摄模式选择指令后,根据所述拍摄模式选择指令启动所述终端的拍摄装置,在功能菜单中显示多种拍摄模式,其中,每种所述拍摄模式对应一组图像特征的配置参数;
    基于用户选择的目标拍摄模式获取第一配置参数,根据所述第一配置参数采集所述拍摄装置所拍摄的画面;
    根据人脸识别算法识别出所述画面中的人脸,通过定位框定位出人脸在所述画面的位置;其中,所述定位框用于定位所述画面中与预设拍摄对象匹配的检测对象;
    对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件;
    根据所述第一配置参数对人脸图像进行标准化处理,生成证件照。
  16. 根据权利要求15所述的计算机可读存储介质,其中,所述拍摄证件照的程序被处理器执行所述根据所述目标拍摄模式对应的第一配置参数采集所述拍摄装置所拍摄的画面的步骤时,还执行如下步骤:
    根据所述指令将拍摄装置的拍摄模式切换为所述目标拍摄模式,以及将所述拍摄装置的配置参数默认设置为所述第一配置参数,使得所述拍摄装置按照所述第一配置参数采集拍摄装置所拍摄的画面;
    启动所述拍摄装置拍摄功能,获取所述拍摄装置获取到的待拍摄画面;
    按照所述第一配置参数调整所述待拍摄画面,以使得所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数;
    当检测到所述拍摄装置的拍摄环境符合所述第一配置参数中的各项参数时,对所述拍摄装置中的待拍摄画面进行拍摄。
  17. 根据权利要求15所述的计算机可读存储介质,其中,所述拍摄证件照的程序被处理器执行所述在定位出所述人脸在画面中的位置的步骤之后,还执行以下步骤:
    将所述画面中的人脸与预设人脸图像作对比,若通过对比确定所述画面中的人脸不全,则检测出所述画面中人脸轮廓上各像素点在所述画面中的坐标,以及人脸缺失部位;
    计算所述人脸轮廓上各像素点在所述画面中的坐标与画面之间的坐标差;
    根据所述人脸缺失部位和所述人脸轮廓上各像素点在所述画面中的坐标与画面之间的坐标差确定移动方向,所述移动方向包括终端待移动的方向或人脸待移动的方向;
    发出指示移动方向的第一提示信息,其中,所述第一提示信息用于指示用户移动在画面中的人脸,直至所述画面中的人脸显示全;或者,所述第一提示信息用于指示用户相对终端移动,直至所述画面中的人脸显示全;
    实时检测所述画面中的人脸,将实时检测到的人脸与预设人脸图像匹配,当检测到所述画面中的人脸显示全后,发出第二提示信息。
  18. 根据权利要求15-17中任一项所述的计算机可读存储介质,其中,所述拍摄证件照的程序被处理器执行所述第一配置参数的条件为正脸条件;所述对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件的步骤时,还执行以下步骤:
    通过所述人脸识别算法检测所述画面中的人脸,识别并定位所述人脸中上的面部关键特征,所述面部关键特征包括眼睛、颧骨、鼻子、嘴巴、下巴等对应的特征点;
    计算各特征点之间的间距以及各间距之间的比例关系;
    根据各特征点之间的间距和各间距之间的比例关系判断人脸角度是否符合正脸条件;
    若确定特征点之间的间距和各间距之间的比例关系都在正常范围内,则认为人脸符合正脸条件;若确定部分或全部特征点之间的间距和各间距之间的比例关系不在正常范围内,则认为人脸角度不符合正脸条件。
  19. 根据权利要求18所述的计算机可读存储介质,其中,所述拍摄证件照的程序被处理器执行所述对所述画面中的人脸进行分析,判断所述画面中的人脸是否符合所述第一配置参数的条件的步骤时,还执行以下步骤:
    判断人脸中是否存在穿戴物件和/或面部纹理特征,所述穿戴物件可包含帽子、眼镜和着装,所述面部纹理特征是指美妆痕迹;
    若判断出人脸中包含穿戴物件,则根据所述第一配置参数判断所述穿戴物件是否符合所述第一配置参数中限定的穿戴物件的配置条件;若判断出人脸中存在美妆痕迹,则根据所述第一配置参数判断所述美妆痕迹是否符合所述第一配置参数中限定的面部纹理特征的配置条件。
  20. 根据权利要求15所述的计算机可读存储介质,其中,所述拍摄证件照的程序被处理器执行所述根据所述第一配置参数对人脸图像进行标准化处理,生成证件照的步骤时,还执行以下步骤:
    根据第一配置参数中设置的尺寸对所述人脸图像进行裁剪处理,得到合适大小的图像;
    根据第一配置参数中设置的背景色对所述人脸图像的背景色进行调整,以使所述人脸图像符合背景色要求;
    根据第一配置参数中设置的像素对所述人脸图像进行压缩处理,得到预设分辨率大小的图像,将所述预设分辨率大小的图像作为所述证件照。
PCT/CN2020/104733 2019-08-15 2020-07-27 一种拍摄证件照的方法、装置、设备及存储介质 WO2021027537A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910751640.9A CN110602379A (zh) 2019-08-15 2019-08-15 一种拍摄证件照的方法、装置、设备及存储介质
CN201910751640.9 2019-08-15

Publications (1)

Publication Number Publication Date
WO2021027537A1 true WO2021027537A1 (zh) 2021-02-18

Family

ID=68854280

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/104733 WO2021027537A1 (zh) 2019-08-15 2020-07-27 一种拍摄证件照的方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN110602379A (zh)
WO (1) WO2021027537A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113743396A (zh) * 2021-08-31 2021-12-03 支付宝(杭州)信息技术有限公司 在证件识别过程中识别注入攻击的方法及装置
CN114445441A (zh) * 2022-01-25 2022-05-06 杭州海量信息技术有限公司 一种无需标注的人脸分割方法及系统
CN115171197A (zh) * 2022-09-01 2022-10-11 广州市森锐科技股份有限公司 一种高精度图像信息识别方法、系统、设备及存储介质
CN116074618A (zh) * 2023-03-31 2023-05-05 广州翼拍联盟网络技术有限公司 防止人像信息泄露的智慧拍照服务方法、系统及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602379A (zh) * 2019-08-15 2019-12-20 平安国际智慧城市科技股份有限公司 一种拍摄证件照的方法、装置、设备及存储介质
CN113810588B (zh) * 2020-06-11 2022-11-04 青岛海信移动通信技术股份有限公司 一种图像合成方法、终端及存储介质
CN113033506A (zh) * 2021-05-20 2021-06-25 杭州宇泛智能科技有限公司 一种人像识别交互方法、装置及电子设备
CN114511915B (zh) * 2022-04-19 2022-07-29 南昌大学 一种基于移动客户端的可信任证件照采集系统及方法
CN116052236A (zh) * 2022-08-04 2023-05-02 荣耀终端有限公司 人脸检测处理引擎、涉及人脸检测的拍摄方法及设备
CN116528043B (zh) * 2023-04-13 2024-03-29 荣耀终端有限公司 一种对象标记方法及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120167A (zh) * 2015-08-31 2015-12-02 广州市幸福网络技术有限公司 一种证照相机及证照拍摄方法
CN106210338A (zh) * 2016-07-25 2016-12-07 乐视控股(北京)有限公司 证件照片的生成方法及装置
US20170230566A1 (en) * 2014-11-04 2017-08-10 Olympus Corporation Shooting device, shooting method, and non-transitory computer readable recording medium storing program
CN110602379A (zh) * 2019-08-15 2019-12-20 平安国际智慧城市科技股份有限公司 一种拍摄证件照的方法、装置、设备及存储介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004096486A (ja) * 2002-08-30 2004-03-25 Sony Corp 画像抽出装置、画像抽出方法、及び撮影装置
JP4257530B2 (ja) * 2004-07-20 2009-04-22 富士フイルム株式会社 デジタルカメラ及びプリントシステム
CN102801857B (zh) * 2012-07-30 2014-06-18 无锡智感星际科技有限公司 一种基于图像匹配的智能手机拍照引导方法
CN104284075A (zh) * 2013-07-06 2015-01-14 上海科宇营销策划有限公司 一种照片采集自动摄影系统
JP6278263B2 (ja) * 2014-03-18 2018-02-14 大日本印刷株式会社 証明写真撮影装置、証明写真撮影方法及び証明写真撮影システム
CN105046246B (zh) * 2015-08-31 2018-10-09 广州市幸福网络技术有限公司 可进行人像姿势拍摄提示的证照相机及人像姿势检测方法
CN106911887A (zh) * 2015-12-28 2017-06-30 小米科技有限责任公司 图像拍摄方法及装置
CN107197149A (zh) * 2017-06-14 2017-09-22 深圳传音通讯有限公司 证件照片的生成方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170230566A1 (en) * 2014-11-04 2017-08-10 Olympus Corporation Shooting device, shooting method, and non-transitory computer readable recording medium storing program
CN105120167A (zh) * 2015-08-31 2015-12-02 广州市幸福网络技术有限公司 一种证照相机及证照拍摄方法
CN106210338A (zh) * 2016-07-25 2016-12-07 乐视控股(北京)有限公司 证件照片的生成方法及装置
CN110602379A (zh) * 2019-08-15 2019-12-20 平安国际智慧城市科技股份有限公司 一种拍摄证件照的方法、装置、设备及存储介质

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113743396A (zh) * 2021-08-31 2021-12-03 支付宝(杭州)信息技术有限公司 在证件识别过程中识别注入攻击的方法及装置
CN113743396B (zh) * 2021-08-31 2023-11-10 支付宝(杭州)信息技术有限公司 在证件识别过程中识别注入攻击的方法及装置
CN114445441A (zh) * 2022-01-25 2022-05-06 杭州海量信息技术有限公司 一种无需标注的人脸分割方法及系统
CN114445441B (zh) * 2022-01-25 2022-09-09 杭州海量信息技术有限公司 一种无需标注的人脸分割方法及系统
CN115171197A (zh) * 2022-09-01 2022-10-11 广州市森锐科技股份有限公司 一种高精度图像信息识别方法、系统、设备及存储介质
CN115171197B (zh) * 2022-09-01 2023-05-16 广州市森锐科技股份有限公司 一种高精度图像信息识别方法、系统、设备及存储介质
CN116074618A (zh) * 2023-03-31 2023-05-05 广州翼拍联盟网络技术有限公司 防止人像信息泄露的智慧拍照服务方法、系统及存储介质

Also Published As

Publication number Publication date
CN110602379A (zh) 2019-12-20

Similar Documents

Publication Publication Date Title
WO2021027537A1 (zh) 一种拍摄证件照的方法、装置、设备及存储介质
US10956714B2 (en) Method and apparatus for detecting living body, electronic device, and storage medium
CN108764091B (zh) 活体检测方法及装置、电子设备和存储介质
CN108229369B (zh) 图像拍摄方法、装置、存储介质及电子设备
CN105488527B (zh) 图像分类方法及装置
US7844135B2 (en) Detecting orientation of digital images using face detection information
CN106250894B (zh) 卡片信息识别方法及装置
US8391645B2 (en) Detecting orientation of digital images using face detection information
TW201911130A (zh) 一種翻拍影像識別方法及裝置
WO2017071065A1 (zh) 区域识别方法及装置
WO2017031901A1 (zh) 人脸识别方法、装置及终端
US20200312022A1 (en) Method and device for processing image, and storage medium
JP2016531362A (ja) 肌色調整方法、肌色調整装置、プログラム及び記録媒体
WO2019237745A1 (zh) 人脸图像处理方法、装置、电子设备及计算机可读存储介质
US11315360B2 (en) Live facial recognition system and method
CN112689221B (zh) 录音方法、录音装置、电子设备及计算机可读存储介质
US20230162332A1 (en) Image Transformation Method and Apparatus
CN111654624B (zh) 拍摄提示方法、装置及电子设备
CN110738607A (zh) 基于人工智能拍摄驾驶证的方法、装置、设备及存储介质
CN109726613B (zh) 一种用于检测的方法和装置
CN112153300A (zh) 多目摄像头曝光方法、装置、设备及介质
CN116363725A (zh) 显示设备的人像追踪方法、系统、显示设备及存储介质
TW201339986A (zh) 影像擷取方法與影像擷取裝置
TW201714074A (zh) 使用手勢的拍照方法、系統與電子裝置
CN111726531B (zh) 图像拍摄方法、处理方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20851890

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20851890

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16-08-2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20851890

Country of ref document: EP

Kind code of ref document: A1