WO2019137216A1 - Image filtering method and apparatus - Google Patents

Image filtering method and apparatus Download PDF

Info

Publication number
WO2019137216A1
WO2019137216A1 PCT/CN2018/123903 CN2018123903W WO2019137216A1 WO 2019137216 A1 WO2019137216 A1 WO 2019137216A1 CN 2018123903 W CN2018123903 W CN 2018123903W WO 2019137216 A1 WO2019137216 A1 WO 2019137216A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
candidate
candidate images
quality analysis
target
Prior art date
Application number
PCT/CN2018/123903
Other languages
French (fr)
Chinese (zh)
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 WO2019137216A1 publication Critical patent/WO2019137216A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Definitions

  • the present application relates to the technical field of image recognition, and in particular, to an image screening method and apparatus.
  • a large photo is usually taken as a memorial.
  • the more people who take pictures the more uncertain factors will increase.
  • a participant may suddenly blink, exaggerated, suddenly slap, and other unqualified items.
  • a plurality of images are often taken by the target object, and then the user browses the multiple images obtained one by one, and selects among the multiple images.
  • a target image whose shooting quality meets the preset requirements.
  • An object of the embodiments of the present invention is to provide an image screening method and apparatus, which can improve image quality by determining a target image of a plurality of candidate images in a plurality of candidate images according to preset requirements.
  • the efficiency reduces the time for the user to browse and select the target images one by one, and avoids the candidate image that does not meet the preset requirements as the target image due to the user's selection error, which improves the accuracy of the target image selection. , improved user experience.
  • An embodiment of the present application provides an image screening method, including:
  • each of the candidate images includes a plurality of target objects
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • An embodiment of the present application provides an image screening method, including:
  • each of the candidate images includes a plurality of target faces
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • An embodiment of the present application provides an image screening apparatus, including:
  • An alternative image acquisition module configured to acquire a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
  • a shooting quality analysis module configured to respectively extract key features of each target object from the candidate image, perform shooting quality analysis on each of the candidate images according to the extracted key features, to obtain the candidate image Shooting quality analysis results;
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • An embodiment of the present application provides an image screening apparatus, including:
  • An alternative image acquisition module configured to acquire a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
  • a shooting quality analysis module configured to respectively extract key features of each target face from the candidate image, perform shooting quality analysis on each of the candidate images according to the extracted key features, to obtain the candidate Image quality analysis results;
  • a target image selection module configured to select a target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • An embodiment of the present application provides an image screening device, including: a processor;
  • a memory arranged to store computer executable instructions that, when executed, cause the processor to:
  • each of the candidate images includes a plurality of target objects
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • An embodiment of the present application provides an image screening device, including: a processor;
  • a memory arranged to store computer executable instructions that, when executed, cause the processor to:
  • each of the candidate images includes a plurality of target faces
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • the embodiment of the present application provides a storage medium, including:
  • each of the candidate images includes a plurality of target objects
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • the embodiment of the present application provides a storage medium, including:
  • each of the candidate images includes a plurality of target faces
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • the image screening method and apparatus in the embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target objects; and extracts key features of each target object from the candidate images, respectively, according to the extracted
  • the key feature performs the shooting quality analysis on each candidate image to obtain the shooting quality analysis result of the candidate image; and selects the target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image.
  • FIG. 1 is a schematic diagram of a first process of an image screening method according to an embodiment of the present application
  • FIG. 2 is a second schematic flowchart of an image screening method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a third process of an image screening method according to an embodiment of the present application.
  • FIG. 4 is a fourth schematic flowchart of an image screening method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a fifth process of an image screening method according to an embodiment of the present application.
  • FIG. 6 is a sixth schematic flowchart diagram of an image screening method according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an effect of one of candidate images in an image screening method according to an embodiment of the present application.
  • FIG. 7b is a schematic diagram showing the effect of the second candidate image in the image screening method according to the embodiment of the present application.
  • FIG. 7c is a schematic diagram of an effect of the third candidate image in the image screening method according to the embodiment of the present application.
  • FIG. 7 is a schematic diagram of the effect of the fourth candidate image in the image screening method according to the embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a module of an image screening apparatus according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an image screening device according to an embodiment of the present application.
  • the embodiment of the present application provides an image screening method and device.
  • a target image whose shooting quality meets a preset requirement is determined in a plurality of candidate images, thereby improving image screening efficiency.
  • the time for the user to browse and select the target image one by one is reduced, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, thereby improving the accuracy of the target image selection and improving.
  • the user experience By performing image quality analysis on multiple candidate images of a target object, a target image whose shooting quality meets a preset requirement is determined in a plurality of candidate images, thereby improving image screening efficiency.
  • the time for the user to browse and select the target image one by one is reduced, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, thereby improving the accuracy of the target image selection and improving.
  • FIG. 1 is a first schematic flowchart of an image screening method according to an embodiment of the present disclosure.
  • the method in FIG. 1 can be performed by a terminal device, which can be a mobile terminal such as a smart phone or a tablet computer, or a computer.
  • a fixed terminal, as shown in FIG. 1, the method includes at least the following steps:
  • each candidate image includes a plurality of target objects and each candidate image includes the same plurality of target objects, that is, the plurality of candidate images are for the same plurality of target objects at different times.
  • the similarity between the two alternative images is relatively high; specifically, the multiple candidate images may be directly captured by the mobile terminal, or may be captured by a dedicated camera device, In the case of the imaging device, it is necessary to transmit a plurality of candidate images obtained by the imaging to the terminal device in advance.
  • a target image whose shooting quality meets a preset requirement is determined in a plurality of candidate images, thereby improving image screening efficiency and reducing user browsing of multiple candidate images one by one.
  • the time of the target image is selected, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience.
  • the quality of each key feature needs to be separately analyzed, thereby obtaining the quality of the candidate image.
  • the analysis result specifically, as shown in FIG. 2, the above S102 extracts key features of each target object from the candidate images, and performs quality analysis on each candidate image according to the extracted key features to obtain the image quality of the candidate image.
  • the results of the analysis include:
  • S1021 Extract, for each candidate image, key features of each target object from the candidate image; specifically, may select, for a candidate image that includes a different type of target object and a key feature of the target object that needs to be extracted.
  • the key features may be facial features, such as eye features, mouth features, etc., in this case, for each candidate image, need to prepare Extracting the eye features of each portrait in the selected image also requires extracting the mouth features of each portrait from the candidate images.
  • the quality evaluation and recognition process is specifically: determining, for each key feature, whether the key feature has a preset shooting unqualified item,
  • the key feature extracted is the condition of the eye feature, whether the eye feature of each person image has a closed eye phenomenon, and whether the extracted key feature is a mouth feature, and whether the mouth feature of each person image has a no-face band Smile phenomenon.
  • S1023 Determine a shooting quality analysis result of the candidate image according to the quality evaluation result of each key feature.
  • the S1023 determines the shooting quality analysis result of the candidate image according to the quality evaluation and recognition result of each key feature, and specifically includes:
  • the candidate image is weighted and scored according to the quality evaluation recognition result of each key feature, and the obtained scoring result is used as the shooting quality analysis result of the candidate image.
  • the method for weighting the average value is used to evaluate the recognition result according to the quality of each key feature, and the shooting quality score of the candidate image is calculated, specifically: if the type of the extracted key features is multiple, according to various types of key features.
  • the priority is set to the corresponding weight coefficient for the key feature, and the calculation formula of the shooting quality score of the candidate image is: Where y represents the shooting quality score of the candidate image, A i represents the weighting coefficient of the i-th key feature, x i represents the number of abnormalities of the i-th key feature, and n represents the number of types of key features.
  • the degree of influence on the quality of shooting is different.
  • the closed eye phenomenon in portrait photos has a greater impact on the quality of shooting, while the phenomenon of no smile in portrait photos has less influence on the quality of shooting. Therefore, the weight coefficient corresponding to the eye feature may be greater than the weight coefficient corresponding to the mouth feature.
  • the score of one eye feature abnormality in the candidate image needs to be deducted is greater than the one that needs to be deducted when the mouth feature is abnormal.
  • the score for example, the total score in the calculation formula of the photographing quality score of the above-described candidate image is set to 100 points, and it is recognized that one eye feature is abnormally deducted by one point, and that one time of the mouth feature is abnormally deducted by one point.
  • the above S103 selects a target image from a plurality of candidate images according to the result of the image quality analysis of each candidate image, and specifically includes:
  • S1031 sorting the shooting quality of the plurality of candidate images according to the shooting quality analysis result of each candidate image; specifically, for the case where the scoring result is used as the shooting quality analysis result of each candidate image, according to the shooting quality score is large
  • the quality of the shots of multiple candidate images is sorted in a small order.
  • the preset number is equal to 1, and multiple candidate images with the highest shooting quality can be used as the target image.
  • the preset number is greater than or equal to 2, so that the user can select an alternative image as the target image according to actual needs.
  • the above S1032 selects the pre-order according to the order of the shooting quality from high to low. After setting the number of candidate images as the target image, it also includes:
  • Determining whether the selected shooting quality of the at least one target image meets the preset condition specifically, determining whether the shooting quality score of each target image is greater than a preset threshold.
  • the user re-photographs, and then performs the shooting quality analysis on the candidate image obtained by the latest shooting, and determines whether the candidate image obtained by the latest shooting meets the preset shooting quality condition according to the obtained shooting quality analysis result until at least one matching pre-selection is selected. Set the target image of the shooting quality condition to select an alternative image with better shooting quality.
  • the foregoing S103 after selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image, further includes:
  • the image sharing request When the image sharing request is detected, recommend the selected target image to the user. Specifically, after selecting the target image from the plurality of candidate images, the user may select the candidate image when sharing the candidate image on the social platform.
  • the target image is recommended to the user, so that the quality of the image shared by the user meets the preset requirement, and the user is prevented from sharing the image whose shooting quality does not meet the preset requirement to the social platform, thereby avoiding a bad user experience.
  • the image screening method in the embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target objects; and extracts key features of each target object from the candidate images, respectively, according to the extracted key features. Performing shooting quality analysis on each candidate image to obtain a shooting quality analysis result of the candidate image; and selecting a target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image.
  • the target image whose shooting quality meets the preset requirements is determined in multiple candidate images, thereby improving image screening efficiency and reducing the time for the user to browse and select the target images one by one.
  • the candidate image that does not meet the preset requirements due to the user's selection error is avoided as the target image, which improves the accuracy of the target image selection and improves the user experience.
  • FIG. 5 is the fifth image filtering method provided by the embodiment of the present application.
  • the process flow diagram can also be executed by the terminal device.
  • the terminal device can be a mobile terminal such as a smart phone or a tablet computer, or can be a fixed terminal such as a computer. As shown in FIG. 5, the process includes:
  • each candidate image includes multiple target faces and each candidate image includes the same multiple target faces; specifically, for a multi-person group photo application scenario, Each candidate image includes multiple participants who participate in the photo session.
  • a target image whose shooting quality meets a preset requirement is determined in a plurality of candidate images, thereby improving image screening efficiency and reducing user browsing of multiple candidate images one by one. And select the time of the target image, and avoid the candidate image that does not meet the preset requirement as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience, especially for multi-person
  • the image screening method can greatly reduce the difficulty of selecting the target image. Greatly improve the accuracy of target image selection.
  • the above S502 respectively extracts key features of each target face from the candidate image, according to the extracted The key features are used to analyze the quality of each candidate image, and the results of the quality analysis of the candidate image are obtained, including:
  • S5022 determining, according to the extracted eye features, an abnormal number of eye opening degrees in the candidate image that does not meet the preset eye opening degree; specifically, determining the target according to the degree of opening of each eye feature Whether there is a closed eye phenomenon on the face, if the closed eye phenomenon is found, the number of abnormalities for the eye feature is increased by one.
  • S5023 Determine a shooting quality analysis result of the candidate image according to the determined abnormal number.
  • the S5023 determines the shooting quality analysis result of the candidate image according to the determined abnormal number, which specifically includes:
  • the weight of the shooting quality of the candidate image is weighted and scored according to the determined number of abnormalities
  • the obtained scoring result is taken as the result of the photographing quality analysis of the candidate image.
  • the method for weighting the average value is used to calculate the shooting quality score of the candidate image according to the number of abnormalities for each key feature, specifically: taking the extracted key features including the eye feature and the mouth feature of the target face as an example.
  • the degree of influence on the quality of shooting is different.
  • the closed eye phenomenon in portrait photos has a greater impact on the quality of shooting, while the phenomenon of no smile in portrait photos has less influence on the quality of shooting. Therefore, the weight coefficient corresponding to the eye feature may be greater than the weight coefficient corresponding to the mouth feature.
  • the score of one eye feature abnormality in the candidate image needs to be deducted is greater than the one that needs to be deducted when the mouth feature is abnormal.
  • the score for example, the total score in the calculation formula of the photographing quality score of the above-described candidate image is set to 100 points, and it is recognized that the eye feature is abnormally deducted by 1 point, that is, the weight coefficient of the eye feature is 1.0, and the mouth is recognized once.
  • the feature of the part is abnormally deducted by 0.5 points, that is, the weight coefficient of the mouth feature is 0.5.
  • the S503 selects the target image from the plurality of candidate images according to the result of the image quality analysis of each candidate image, and specifically includes:
  • the candidate image with the highest score is taken as the target image.
  • the photographing quality of the plurality of candidate images is sorted in descending order of the photographing quality score, and the photographing quality score of the candidate image is higher.
  • the higher the shooting quality of the candidate image the higher the ranking of the candidate images.
  • the candidate image with the highest shooting quality score can be used as the target image, or the shooting quality score can be changed from large to small.
  • the order selects a plurality of candidate images that are ranked first as the target image, so that the user can select an alternative image as the target image according to actual needs.
  • the score according to the scoring result of each candidate image is the highest.
  • the user re-photographs, and then performs the shooting quality analysis on the candidate image obtained by the latest shooting, and determines whether the candidate image obtained by the latest shooting meets the preset shooting quality condition according to the obtained shooting quality analysis result until at least one matching pre-selection is selected. Set the target image of the shooting quality condition to select an alternative image with better shooting quality.
  • the shooting quality analysis is automatically performed on the plurality of candidate images obtained by the shooting, and the shooting quality of all the candidate images is found to be inconsistent.
  • the preset condition automatically reminds the user to take a photo again, so that during the photographing process, the captured image is automatically analyzed for the quality of the captured image.
  • the photo is taken at this time.
  • the personnel have not been disbanded, and can continue to take new alternative images, so as to avoid finding an ideal photo of the photos in the subsequent image sharing process, and then solve the problem that the people who participated in the big photo album have been disbanded and cannot continue to shoot new ones. The problem with the alternate image.
  • the method further includes:
  • the selected target image is recommended to the user. For example, if it is determined that the user needs to select one of the plurality of candidate images to share with the circle of friends or the group of friends, the selected target image may be recommended to the user, so that the quality of the image shared by the user meets the preset. It is required to prevent users from sharing images whose shooting quality does not meet the preset requirements on the social platform, thereby avoiding a bad user experience.
  • each candidate image includes nine target faces, specifically:
  • each target face such as eye features and mouth features
  • the quality of each candidate image is analyzed according to the extracted key features, and it is known that the eye features appear.
  • the number of abnormalities is 2 (ie, left 1 and left 2 in the rear row), and the number of abnormalities in the mouth feature is 3 (ie, front left 1, left 3, and right 1). If the above scoring mechanism is followed, the candidate image
  • each target face such as eye features and mouth features
  • the quality of each candidate image is analyzed according to the extracted key features, and it is known that the eye features appear.
  • each target face such as eye features and mouth features
  • the quality of each candidate image is analyzed according to the extracted key features, and it is known that the eye features appear.
  • each target face such as eye features and mouth features
  • the quality of each candidate image is analyzed according to the extracted key features, and it is known that the eye features appear.
  • the number of abnormalities is 2 (ie, left 1 and left 2 in the rear row), and the number of abnormalities in the mouth feature is 2 (ie, left 1 and right 1 in the front row).
  • the scoring mechanism is used, the quality of the candidate image is taken.
  • the photographing quality score of the candidate image shown in FIG. 7c is the highest, and therefore, the candidate image shown in FIG. 7c is taken as the target image.
  • the image screening method in the embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target faces; and extracts key features of each target face from the candidate images, respectively, according to the extracted
  • the key feature performs the shooting quality analysis on each candidate image to obtain the shooting quality analysis result of the candidate image; and selects the target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image.
  • the image screening method can greatly reduce the difficulty of selecting the target image and greatly improve the accuracy of the target image selection. .
  • FIG. 8 is a schematic diagram of a module composition of an image screening device according to an embodiment of the present application.
  • the apparatus is configured to perform the image screening method described in FIG. 1 to FIG. 6. As shown in FIG. 8, the apparatus includes: an alternative image acquisition module 801, a shooting quality analysis module 802, and a target image selection module 803, and an alternative image acquisition module 801. The shooting quality analysis module 802 and the target image selection module 803 are sequentially connected.
  • the candidate image acquisition module 801 is configured to acquire a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
  • the shooting quality analysis module 802 is configured to extract key features of each target object from the candidate images, perform shooting quality analysis on each of the candidate images according to the extracted key features, to obtain the candidate. Image quality analysis results;
  • the target image selection module 803 is configured to select a target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • the foregoing shooting quality analysis module 802 is specifically configured to:
  • a result of the photographing quality analysis of the candidate image is determined based on the quality evaluation recognition result.
  • the foregoing shooting quality analysis module 802 is further specifically configured to:
  • the target image selection module 803 is specifically configured to:
  • a preset number of candidate images are selected as the target image in descending order of shooting quality.
  • the foregoing apparatus further includes:
  • a prompting module configured to: after selecting a preset number of candidate images as the target image in order of high to low shooting quality, determining whether the selected shooting quality of the at least one target image meets a preset condition; , generating a prompt message suggesting that the user re-photograph.
  • the foregoing apparatus further includes:
  • a recommendation module is configured to recommend the selected target image to the user when the image sharing request is detected.
  • An image screening apparatus in an embodiment of the present invention acquires a plurality of candidate images obtained by photographing, wherein each candidate image includes a plurality of target objects; and extracts key features of each target object from the candidate images, respectively, according to the extracted key
  • the feature performs a shooting quality analysis on each candidate image to obtain a shooting quality analysis result of the candidate image; and selects a target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image.
  • the candidate image obtaining module 801 is configured to acquire a plurality of captured images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
  • the photographing quality analysis module 802 is configured to extract key features of each target face from the candidate images, perform shooting quality analysis on each of the candidate images according to the extracted key features, and obtain the preparation The quality of the image quality analysis of the selected image;
  • the target image selection module 803 is configured to select a target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • the foregoing shooting quality analysis module 802 is specifically configured to:
  • a photographing quality analysis result of the candidate image is determined according to the abnormal number.
  • the foregoing shooting quality analysis module 802 is further specifically configured to:
  • the obtained scoring result is taken as the result of the photographing quality analysis of the candidate image.
  • the target image selection module 803 is specifically configured to:
  • the candidate image with the highest score is taken as the target image.
  • the foregoing apparatus further includes:
  • a prompting module configured to determine whether a shooting quality score of the target image is greater than a preset threshold after the candidate image having the highest score is used as the target image according to the scoring result of each of the candidate images; if not, Generate a prompt message suggesting that the user take a photo again.
  • An image screening apparatus in another embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target faces; and extracts key features of each target face from the candidate images, respectively, according to the extraction
  • the key features are obtained for each of the candidate images to obtain a quality analysis result of the candidate image, and the image quality analysis result of the candidate image is obtained; and the target image is selected from the plurality of candidate images according to the shooting quality analysis result of each candidate image.
  • the image screening method can greatly reduce the difficulty of selecting the target image and greatly improve the accuracy of the target image selection. .
  • the embodiment of the present application further provides an image screening device, which is used to perform the image screening method described above, as shown in FIG. 9 . .
  • the image filtering device may vary considerably depending on configuration or performance, and may include one or more processors 901 and memory 902 in which one or more storage applications or data may be stored.
  • the memory 902 can be short-term storage or persistent storage.
  • An application stored in memory 902 may include one or more modules (not shown), each of which may include a series of computer executable instructions in an image filtering device.
  • the processor 901 can be arranged to communicate with the memory 902 to execute a series of computer executable instructions in the memory 902 on the image filtering device.
  • the image screening device may also include one or more power sources 903, one or more wired or wireless network interfaces 904, one or more input and output interfaces 905, one or more keyboards 906, and the like.
  • the image screening device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs can include one or more modules, and each The modules can include a series of computer executable instructions in an image filtering device, and are configured to be executed by one or more processors.
  • the one or more programs are included for performing the following computer executable instructions:
  • each of the candidate images includes a plurality of target objects
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • Analysis obtaining the result of the photographing quality analysis of the candidate image, comprising:
  • a result of the photographing quality analysis of the candidate image is determined based on the quality evaluation recognition result.
  • determining the shooting quality analysis result of the candidate image according to the quality evaluation identification result including:
  • the selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images comprises:
  • a preset number of candidate images are selected as the target image in descending order of shooting quality.
  • the computer executable instructions when executed, further comprise instructions for: executing the following computer executable instructions:
  • the computer executable instructions when executed, further comprise instructions for: executing the following computer executable instructions:
  • the selected target image is recommended to the user when the image sharing request is detected.
  • the image screening device in an embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target objects; and extracts key features of each target object from the candidate images, respectively, according to the extracted key
  • the feature performs a shooting quality analysis on each candidate image to obtain a shooting quality analysis result of the candidate image; and selects a target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image.
  • the quality of the plurality of candidate images is analyzed, and the target image whose shooting quality meets the preset requirement is determined in the plurality of candidate images, thereby improving image screening efficiency and reducing user-to-multiple
  • the candidate images are browsed one by one and the time of the target image is selected one by one, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience.
  • an image screening device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs can include one or more modules, and Each module can include a series of computer executable instructions in an image filtering device, and configured to be executed by one or more processors.
  • the one or more programs include instructions for:
  • each of the candidate images includes a plurality of target faces
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • the key features of each target face are respectively extracted from the candidate image, and each candidate image is captured according to the extracted key features.
  • Quality analysis obtaining the result of the photographing quality analysis of the candidate image, including:
  • a photographing quality analysis result of the candidate image is determined according to the abnormal number.
  • determining, according to the abnormal number, a shooting quality analysis result of the candidate image including:
  • the obtained scoring result is taken as the result of the photographing quality analysis of the candidate image.
  • the selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images comprises:
  • the candidate image with the highest score is taken as the target image.
  • the computer executable instructions when executed, also include instructions for performing the following computer executables:
  • the candidate image having the highest score as the target image After determining, according to the scoring result of each of the candidate images, the candidate image having the highest score as the target image, determining whether the shooting quality score of the target image is greater than a preset threshold;
  • An image screening device in another embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target faces; and extracts key features of each target face from the candidate images, respectively, according to the extraction
  • the key features are obtained for each of the candidate images to obtain a quality analysis result of the candidate image, and the image quality analysis result of the candidate image is obtained; and the target image is selected from the plurality of candidate images according to the shooting quality analysis result of each candidate image.
  • the image screening device in the embodiment of the present application, the quality of the plurality of candidate images is analyzed, and the target image whose shooting quality meets the preset requirement is determined in the plurality of candidate images, thereby improving image screening efficiency and reducing user-to-multiple
  • the candidate images are browsed one by one and the time of the target image is selected one by one, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience, especially
  • the image screening method can greatly reduce the target image.
  • the difficulty of selection greatly improves the accuracy of target image selection.
  • the embodiment of the present application further provides a storage medium for storing computer executable instructions.
  • the specific embodiment may be a USB flash drive, an optical disk, a hard disk, or the like.
  • the computer executable instructions stored in the storage medium can implement the following processes when executed by the processor:
  • each of the candidate images includes a plurality of target objects
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • a result of the photographing quality analysis of the candidate image is determined based on the quality evaluation recognition result.
  • determining the shooting quality analysis result of the candidate image according to the quality evaluation identification result including:
  • the selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images comprises:
  • a preset number of candidate images are selected as the target image in descending order of shooting quality.
  • the computer executable instructions stored by the storage medium when executed by the processor, further implement the following processes:
  • the computer executable instructions stored by the storage medium when executed by the processor, further implement the following processes:
  • the selected target image is recommended to the user when the image sharing request is detected.
  • the computer executable instructions stored in the storage medium in the embodiment of the present application when executed by the processor, acquire a plurality of captured candidate images, wherein each candidate image includes a plurality of target objects; and each target is extracted from the candidate images.
  • the key features of the object are analyzed by taking the quality of each candidate image according to the extracted key features, and the shooting quality analysis result of the candidate image is obtained; and the target image is selected from the plurality of candidate images according to the shooting quality analysis result of each candidate image.
  • the images are browsed one by one and the time of the target image is selected, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience.
  • the storage medium may be a USB flash drive, an optical disk, a hard disk, or the like, and the computer executable instructions stored by the storage medium, when executed by the processor, can implement the following processes:
  • each of the candidate images includes a plurality of target faces
  • a target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  • the computer-executable instructions stored by the storage medium respectively extract key features of each target face from the candidate image, according to each of the extracted key features.
  • Performing a shooting quality analysis on the candidate image to obtain a shooting quality analysis result of the candidate image including:
  • a photographing quality analysis result of the candidate image is determined according to the abnormal number.
  • the determining, according to the abnormal number, the shooting quality analysis result of the candidate image including:
  • the obtained scoring result is taken as the result of the photographing quality analysis of the candidate image.
  • the selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images comprises:
  • the candidate image with the highest score is taken as the target image.
  • the computer executable instructions stored by the storage medium when executed by the processor, further implement the following processes:
  • the candidate image having the highest score as the target image After determining, according to the scoring result of each of the candidate images, the candidate image having the highest score as the target image, determining whether the shooting quality score of the target image is greater than a preset threshold;
  • the computer executable instructions stored in the storage medium in the embodiment of the present application when executed by the processor, acquire a plurality of captured candidate images, wherein each candidate image includes a plurality of target faces; respectively extracting each candidate image from each of the candidate images
  • the key features of the target face, the quality of each candidate image is analyzed according to the extracted key features, and the shooting quality analysis result of the candidate image is obtained; and the target is selected from the plurality of candidate images according to the shooting quality analysis result of each candidate image. image.
  • the quality of the plurality of candidate images is analyzed, and the target image whose shooting quality meets the preset requirement is determined in the plurality of candidate images, thereby improving the image screening efficiency and reducing the user's multiple options.
  • the images are browsed one by one and the time of the target image is selected one by one, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience, in particular,
  • the image screening method can greatly reduce the target image. Selecting the difficulty greatly improves the accuracy of the target image selection.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • computer readable program code eg, software or firmware
  • examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component.
  • a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the application can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Abstract

The embodiments of the present application provide an image filtering method and apparatus. Said method comprises: acquiring a plurality of photographed alternative images, each alternative image comprising a plurality of target objects; extracting, from the alternative image, key features of each target object respectively, and performing photographing quality analysis on each alternative image according to the extracted key features, so as to obtain a photographing quality analysis result of the alternative image; and selecting, from a plurality of alternative images, a target image according to the photographing quality analysis result of each alternative image. Photographing quality analysis is performed on a plurality of alternative images, so as to determine, from the plurality of alternative images, a target image having a photographing quality satisfying a predetermined requirement, thereby improving the image filtering efficiency, reducing the time for a user to browse the plurality of alternative images one by one to select a target image, ensuring that an alternative image, which does not satisfy predetermined photographing quality requirements, is not taken as a target image, improving the accuracy of selecting the target image, improving the user experience.

Description

一种图像筛选方法及装置Image screening method and device 技术领域Technical field
本申请涉及图像识别的技术领域,尤其涉及一种图像筛选方法及装置。The present application relates to the technical field of image recognition, and in particular, to an image screening method and apparatus.
背景技术Background technique
目前,在用户社交过程中,例如,同学聚会等等,通常会拍摄大合照留作纪念。但是参与拍照的人数越多,不确定的因素也会随之增加,例如,在拍摄得到的照片中,可能出现某参与者突然眨眼、表情夸张、突然歪头等拍摄不合格项。为了避免将存在拍摄不合格项的图像分享至社交平台而影响用户形象的情况,往往通过对目标对象拍摄多张图像,然后,用户对拍摄得到的多张图像逐一浏览,在多张图像中选取出拍摄质量符合预设要求的目标图像。At present, in the social process of the user, for example, class reunion, etc., a large photo is usually taken as a memorial. However, the more people who take pictures, the more uncertain factors will increase. For example, in the photos taken, a participant may suddenly blink, exaggerated, suddenly slap, and other unqualified items. In order to avoid the situation where the image of the unqualified item is shared to the social platform and affect the image of the user, a plurality of images are often taken by the target object, and then the user browses the multiple images obtained one by one, and selects among the multiple images. A target image whose shooting quality meets the preset requirements.
由此可知,在从多张图像中选取目标图像的过程中,需要用户对拍摄得到的多张图像逐一浏览并选取出目标图像,不仅需要用户花费一定挑选的时间,还增加了挑选难度,另外,还可能因用户选取失误而导致将拍摄质量不符合预设要求的图像作为目标图像分享至社交平台,从而造成不良的用户体验。It can be seen that in the process of selecting a target image from a plurality of images, the user needs to browse and select the target images one by one, which not only requires the user to spend a certain selection time, but also increases the selection difficulty. It is also possible that the image whose shooting quality does not meet the preset requirement is shared as a target image to the social platform due to the user's selection error, thereby causing a bad user experience.
发明内容Summary of the invention
本申请实施例的目的是提供一种图像筛选方法及装置,通过对目标对象的多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用户体验。An object of the embodiments of the present invention is to provide an image screening method and apparatus, which can improve image quality by determining a target image of a plurality of candidate images in a plurality of candidate images according to preset requirements. The efficiency reduces the time for the user to browse and select the target images one by one, and avoids the candidate image that does not meet the preset requirements as the target image due to the user's selection error, which improves the accuracy of the target image selection. , improved user experience.
为解决上述技术问题,本申请实施例是这样实现的:To solve the above technical problem, the embodiment of the present application is implemented as follows:
本申请实施例提供了一种图像筛选方法,包括:An embodiment of the present application provides an image screening method, including:
获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;Extracting key features of each target object from the candidate image, performing a shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
本申请实施例提供了一种图像筛选方法,包括:An embodiment of the present application provides an image screening method, including:
获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标人脸;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;And extracting key features of each target face from the candidate images, performing shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
本申请实施例提供了一种图像筛选装置,包括:An embodiment of the present application provides an image screening apparatus, including:
备选图像获取模块,用于获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;An alternative image acquisition module, configured to acquire a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
拍摄质量分析模块,用于分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;a shooting quality analysis module, configured to respectively extract key features of each target object from the candidate image, perform shooting quality analysis on each of the candidate images according to the extracted key features, to obtain the candidate image Shooting quality analysis results;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
本申请实施例提供了一种图像筛选装置,包括:An embodiment of the present application provides an image screening apparatus, including:
备选图像获取模块,用于获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标人脸;An alternative image acquisition module, configured to acquire a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
拍摄质量分析模块,用于分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;a shooting quality analysis module, configured to respectively extract key features of each target face from the candidate image, perform shooting quality analysis on each of the candidate images according to the extracted key features, to obtain the candidate Image quality analysis results;
目标图像选取模块,用于根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。And a target image selection module, configured to select a target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
本申请实施例提供了一种图像筛选设备,包括:处理器;以及An embodiment of the present application provides an image screening device, including: a processor;
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer executable instructions that, when executed, cause the processor to:
获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;Extracting key features of each target object from the candidate image, performing a shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
本申请实施例提供了一种图像筛选设备,包括:处理器;以及An embodiment of the present application provides an image screening device, including: a processor;
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer executable instructions that, when executed, cause the processor to:
获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标人脸;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;And extracting key features of each target face from the candidate images, performing shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
本申请实施例提供了一种存储介质,包括:The embodiment of the present application provides a storage medium, including:
获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;Extracting key features of each target object from the candidate image, performing a shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
本申请实施例提供了一种存储介质,包括:The embodiment of the present application provides a storage medium, including:
获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标人脸;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;And extracting key features of each target face from the candidate images, performing shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
本申请实施例中的图像筛选方法及装置,获取拍摄得到的多张备选图像,其中,每 张备选图像均包括多个目标对象;分别从备选图像中提取各目标对象的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。通过对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用户体验。The image screening method and apparatus in the embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target objects; and extracts key features of each target object from the candidate images, respectively, according to the extracted The key feature performs the shooting quality analysis on each candidate image to obtain the shooting quality analysis result of the candidate image; and selects the target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image. By performing image quality analysis on multiple candidate images, the target image whose shooting quality meets the preset requirements is determined in multiple candidate images, thereby improving image screening efficiency and reducing the time for the user to browse and select the target images one by one. The candidate image that does not meet the preset requirements due to the user's selection error is avoided as the target image, which improves the accuracy of the target image selection and improves the user experience.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a few embodiments described in the present application, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为本申请实施例提供的图像筛选方法的第一种流程示意图;FIG. 1 is a schematic diagram of a first process of an image screening method according to an embodiment of the present application;
图2为本申请实施例提供的图像筛选方法的第二种流程示意图;2 is a second schematic flowchart of an image screening method according to an embodiment of the present application;
图3为本申请实施例提供的图像筛选方法的第三种流程示意图;FIG. 3 is a schematic diagram of a third process of an image screening method according to an embodiment of the present application;
图4为本申请实施例提供的图像筛选方法的第四种流程示意图;4 is a fourth schematic flowchart of an image screening method according to an embodiment of the present application;
图5为本申请实施例提供的图像筛选方法的第五种流程示意图;FIG. 5 is a schematic diagram of a fifth process of an image screening method according to an embodiment of the present application;
图6为本申请实施例提供的图像筛选方法的第六种流程示意图;FIG. 6 is a sixth schematic flowchart diagram of an image screening method according to an embodiment of the present application;
图7a为本申请实施例提供的图像筛选方法中备选图像之一的效果示意图;FIG. 7 is a schematic diagram of an effect of one of candidate images in an image screening method according to an embodiment of the present application; FIG.
图7b为本申请实施例提供的图像筛选方法中备选图像之二的效果示意图;FIG. 7b is a schematic diagram showing the effect of the second candidate image in the image screening method according to the embodiment of the present application;
图7c为本申请实施例提供的图像筛选方法中备选图像之三的效果示意图;FIG. 7c is a schematic diagram of an effect of the third candidate image in the image screening method according to the embodiment of the present application;
图7d为本申请实施例提供的图像筛选方法中备选图像之四的效果示意图;FIG. 7 is a schematic diagram of the effect of the fourth candidate image in the image screening method according to the embodiment of the present application;
图8为本申请实施例提供的图像筛选装置的模块组成示意图;FIG. 8 is a schematic structural diagram of a module of an image screening apparatus according to an embodiment of the present application;
图9为本申请实施例提供的图像筛选设备的结构示意图。FIG. 9 is a schematic structural diagram of an image screening device according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following, in which the technical solutions in the embodiments of the present application are clearly and completely described. The embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
本申请实施例提供了一种图像筛选方法及装置,通过对目标对象的多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用户体验。The embodiment of the present application provides an image screening method and device. By performing image quality analysis on multiple candidate images of a target object, a target image whose shooting quality meets a preset requirement is determined in a plurality of candidate images, thereby improving image screening efficiency. The time for the user to browse and select the target image one by one is reduced, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, thereby improving the accuracy of the target image selection and improving. The user experience.
图1为本申请一实施例提供的图像筛选方法的第一种流程示意图,图1中的方法能够由终端设备执行,该终端设备可以是智能手机或平板电脑等移动终端,还可以是电脑等固定终端,如图1所示,该方法至少包括以下步骤:FIG. 1 is a first schematic flowchart of an image screening method according to an embodiment of the present disclosure. The method in FIG. 1 can be performed by a terminal device, which can be a mobile terminal such as a smart phone or a tablet computer, or a computer. A fixed terminal, as shown in FIG. 1, the method includes at least the following steps:
S101,获取拍摄得到的多张备选图像,其中,每张备选图像均包括多个目标对象且各备选图像中包含相同的多个目标对象,即多张备选图像是在不同时刻针对相同的多个目标对象拍摄得到的,两两备选图像之间的相似度比较高;具体的,该多张备选图像可以是直接由移动终端拍摄得到的,也可以是由专门的摄像装置拍摄得到的,针对由专门的摄像装置拍摄得到的情况,需要预先将拍摄得到的多张备选图像传输至终端设备中。S101. Acquire a plurality of candidate images obtained by photographing, wherein each candidate image includes a plurality of target objects and each candidate image includes the same plurality of target objects, that is, the plurality of candidate images are for the same plurality of target objects at different times. The similarity between the two alternative images is relatively high; specifically, the multiple candidate images may be directly captured by the mobile terminal, or may be captured by a dedicated camera device, In the case of the imaging device, it is necessary to transmit a plurality of candidate images obtained by the imaging to the terminal device in advance.
S102,分别从备选图像中提取各目标对象的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;具体的,采用关键特征提取的方式,分别对各备选图像进行拍摄质量分析,每张备选图像对应于一个拍摄质量分析结果。S102, extracting key features of each target object from the candidate images, respectively performing shooting quality analysis on each candidate image according to the extracted key features, and obtaining a shooting quality analysis result of the candidate image; specifically, adopting a key feature extraction manner The quality of each candidate image is analyzed separately, and each candidate image corresponds to one shooting quality analysis result.
S103,根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。S103. Select a target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image.
本申请提供的实施例中,通过对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用 户体验。In the embodiment provided by the present application, by performing image quality analysis on a plurality of candidate images, a target image whose shooting quality meets a preset requirement is determined in a plurality of candidate images, thereby improving image screening efficiency and reducing user browsing of multiple candidate images one by one. The time of the target image is selected, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience.
其中,针对每张备选图像而言,对该备选图像进行关键特征提取后,对于提取到的多个关键特征,需要分别对每个关键特征进行拍摄质量分析,进而得到该备选图像的拍摄质量分析结果,具体的,如图2所示,上述S102分别从备选图像中提取各目标对象的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果,具体包括:For each candidate image, after the key feature extraction is performed on the candidate image, for each of the extracted key features, the quality of each key feature needs to be separately analyzed, thereby obtaining the quality of the candidate image. The analysis result, specifically, as shown in FIG. 2, the above S102 extracts key features of each target object from the candidate images, and performs quality analysis on each candidate image according to the extracted key features to obtain the image quality of the candidate image. The results of the analysis include:
S1021,针对每张备选图像,从该备选图像中提取各目标对象的关键特征;具体的,可以预先设定针对包含不同类型的目标对象的备选图像与需要提取的目标对象的关键特征的类型之间的对应关系,例如,对于拍摄得到的人像照片而言,关键特征可以是人脸五官特征,如眼部特征、嘴部特征等等,此时,针对每张备选图像而言,需要从备选图像中提取每个人像的眼部特征,还需要从备选图像中提取每个人像的嘴部特征。S1021: Extract, for each candidate image, key features of each target object from the candidate image; specifically, may select, for a candidate image that includes a different type of target object and a key feature of the target object that needs to be extracted. Correspondence between the two, for example, for the captured portrait photo, the key features may be facial features, such as eye features, mouth features, etc., in this case, for each candidate image, need to prepare Extracting the eye features of each portrait in the selected image also requires extracting the mouth features of each portrait from the candidate images.
S1022,对提取到的各关键特征进行质量评价识别,得到质量评价识别结果;其中,该质量评价识别过程具体为:针对每个关键特征,判断该关键特征是否存在预设拍摄不合格项,针对提取到的关键特征为眼部特征的情况,判断各人像的眼部特征是否存在闭眼现象,针对提取到的关键特征为嘴部特征的情况,判断各人像的嘴部特征是否存在无面带微笑现象。S1022, performing quality evaluation and identification on each of the extracted key features, and obtaining a quality evaluation and recognition result; wherein the quality evaluation and recognition process is specifically: determining, for each key feature, whether the key feature has a preset shooting unqualified item, The key feature extracted is the condition of the eye feature, whether the eye feature of each person image has a closed eye phenomenon, and whether the extracted key feature is a mouth feature, and whether the mouth feature of each person image has a no-face band Smile phenomenon.
S1023,根据各关键特征的质量评价识别结果,确定该备选图像的拍摄质量分析结果。S1023: Determine a shooting quality analysis result of the candidate image according to the quality evaluation result of each key feature.
其中,上述S1023根据各关键特征的质量评价识别结果,确定该备选图像的拍摄质量分析结果,具体包括:The S1023 determines the shooting quality analysis result of the candidate image according to the quality evaluation and recognition result of each key feature, and specifically includes:
根据各关键特征的质量评价识别结果对备选图像进行权重加成打分,将得到的打分结果作为该备选图像的拍摄质量分析结果。The candidate image is weighted and scored according to the quality evaluation recognition result of each key feature, and the obtained scoring result is used as the shooting quality analysis result of the candidate image.
具体的,利用加权平均值的方法根据各关键特征的质量评价识别结果,计算该备选图像的拍摄质量分数,具体为:如果提取的关键特征的类型为多种,根据各种类型的关键特征的优先级为关键特征设置相应的权重系数,备选图像的拍摄质量分数的计算公式为:
Figure PCTCN2018123903-appb-000001
其中,y表示备选图像的拍摄质量分数,A i表示第i种关键特征的权重系数,x i表示第i种关键特征出现的异常次数,n表示关键特征的种类数。
Specifically, the method for weighting the average value is used to evaluate the recognition result according to the quality of each key feature, and the shooting quality score of the candidate image is calculated, specifically: if the type of the extracted key features is multiple, according to various types of key features. The priority is set to the corresponding weight coefficient for the key feature, and the calculation formula of the shooting quality score of the candidate image is:
Figure PCTCN2018123903-appb-000001
Where y represents the shooting quality score of the candidate image, A i represents the weighting coefficient of the i-th key feature, x i represents the number of abnormalities of the i-th key feature, and n represents the number of types of key features.
其中,由于不同类型的关键特征存在异常,对拍摄质量影响程度不同,例如,人像照片中的闭眼现象对拍摄质量影响比较大,而人像照片中的无面带微笑现象对拍摄质量影响比较小,因此,可以将眼部特征对应的权重系数大于嘴部特征对应的权重系数,此时,备选图像中出现一个眼部特征异常需要扣去的分数大于出现一次嘴部特征异常需要扣去的分数,例如,上述备选图像的拍摄质量分数的计算公式中的总分数设定为100分,识别出一次眼部特征异常扣1分,识别出一次嘴部特征异常一次扣0.5分。Among them, due to the abnormality of different types of key features, the degree of influence on the quality of shooting is different. For example, the closed eye phenomenon in portrait photos has a greater impact on the quality of shooting, while the phenomenon of no smile in portrait photos has less influence on the quality of shooting. Therefore, the weight coefficient corresponding to the eye feature may be greater than the weight coefficient corresponding to the mouth feature. At this time, the score of one eye feature abnormality in the candidate image needs to be deducted is greater than the one that needs to be deducted when the mouth feature is abnormal. The score, for example, the total score in the calculation formula of the photographing quality score of the above-described candidate image is set to 100 points, and it is recognized that one eye feature is abnormally deducted by one point, and that one time of the mouth feature is abnormally deducted by one point.
其中,如图3所示,上述S103根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像,具体包括:As shown in FIG. 3, the above S103 selects a target image from a plurality of candidate images according to the result of the image quality analysis of each candidate image, and specifically includes:
S1031,根据各备选图像的拍摄质量分析结果,对多张备选图像的拍摄质量进行排序;具体的,针对将上述打分结果作为各备选图像的拍摄质量分析结果的情况,按照拍摄质量分数由大到小的顺序对多张备选图像的拍摄质量进行排序。S1031, sorting the shooting quality of the plurality of candidate images according to the shooting quality analysis result of each candidate image; specifically, for the case where the scoring result is used as the shooting quality analysis result of each candidate image, according to the shooting quality score is large The quality of the shots of multiple candidate images is sorted in a small order.
S1032,按照拍摄质量由高到低的顺序选取预设数量的备选图像作为目标图像,具体的,备选图像的拍摄质量分数越高,说明该备选图像的拍摄质量越高,备选图像的排序越靠前,在具体实施时,可以将拍摄质量最高的备选图像作为目标图像,此时预设数量等于1,也可以将拍摄质量排序靠前的多张备选图像作为目标图像,此时预设数量大于等于2,这样用户可以根据实际需求从中选择一张备选图像作为目标图像。S1032, selecting a preset number of candidate images as the target image according to the order of shooting quality from high to low. Specifically, the higher the shooting quality score of the candidate image, the higher the shooting quality of the candidate image, the candidate image. The more advanced the sorting is, the specific image with the highest shooting quality can be used as the target image. In this case, the preset number is equal to 1, and multiple candidate images with the highest shooting quality can be used as the target image. The preset number is greater than or equal to 2, so that the user can select an alternative image as the target image according to actual needs.
进一步的,考虑到可能存在所有备选图像均不符合预设拍摄质量条件的情况,为了保证最终确定出的目标图像的拍摄质量,基于此,上述S1032按照拍摄质量由高到低的顺序选取预设数量的备选图像作为目标图像之后,还包括:Further, in consideration of the possibility that all the candidate images do not meet the preset shooting quality condition, in order to ensure the quality of the final determined target image, based on this, the above S1032 selects the pre-order according to the order of the shooting quality from high to low. After setting the number of candidate images as the target image, it also includes:
判断选取出的至少一张目标图像的拍摄质量是否符合预设条件;具体的,判断每张目标图像的拍摄质量分数是否大于预设阈值。Determining whether the selected shooting quality of the at least one target image meets the preset condition; specifically, determining whether the shooting quality score of each target image is greater than a preset threshold.
若否,则生成建议用户重新拍照的提示信息;具体的,如果每张目标图像的拍摄质量分数均小于预设阈值,说明所有备选图像均不符合预设拍摄质量条件,此时,需要提示用户重新拍照,进而再对最新拍摄得到的备选图像进行拍摄质量分析,根据得到的拍摄质量分析结果确定最新拍摄得到的备选图像是否符合预设拍摄质量条件,直到选取出至少一张符合预设拍摄质量条件的目标图像,以便从中选取出拍摄质量更优的备选图像。If not, generate prompt information suggesting that the user re-photograph; specifically, if the shooting quality score of each target image is less than a preset threshold, indicating that all candidate images do not meet the preset shooting quality condition, at this time, a prompt is required The user re-photographs, and then performs the shooting quality analysis on the candidate image obtained by the latest shooting, and determines whether the candidate image obtained by the latest shooting meets the preset shooting quality condition according to the obtained shooting quality analysis result until at least one matching pre-selection is selected. Set the target image of the shooting quality condition to select an alternative image with better shooting quality.
进一步的,如图4所示,上述S103根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像之后,还包括:Further, as shown in FIG. 4, the foregoing S103, after selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image, further includes:
S104,在检测到图像分享请求时,向用户推荐选取出的目标图像,具体的,从多张备选图像中选取出目标图像后,在确定用户需要在社交平台上分享备选图像时,可以将选取出的目标图像推荐给用户,以使用户分享出去的图像的拍摄质量满足预设要求,防止用户将拍摄质量不符合预设要求的图像分享到社交平台上,从而避免产生不良的用户体验。S104. When the image sharing request is detected, recommend the selected target image to the user. Specifically, after selecting the target image from the plurality of candidate images, the user may select the candidate image when sharing the candidate image on the social platform. The target image is recommended to the user, so that the quality of the image shared by the user meets the preset requirement, and the user is prevented from sharing the image whose shooting quality does not meet the preset requirement to the social platform, thereby avoiding a bad user experience.
本申请实施例中的图像筛选方法,获取拍摄得到的多张备选图像,其中,每张备选图像均包括多个目标对象;分别从备选图像中提取各目标对象的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。通过对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用户体验。The image screening method in the embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target objects; and extracts key features of each target object from the candidate images, respectively, according to the extracted key features. Performing shooting quality analysis on each candidate image to obtain a shooting quality analysis result of the candidate image; and selecting a target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image. By performing image quality analysis on multiple candidate images, the target image whose shooting quality meets the preset requirements is determined in multiple candidate images, thereby improving image screening efficiency and reducing the time for the user to browse and select the target images one by one. The candidate image that does not meet the preset requirements due to the user's selection error is avoided as the target image, which improves the accuracy of the target image selection and improves the user experience.
对应上述图1至图4描述的图像筛选方法,基于相同的技术构思,本申请另一实施例还提供了一种图像筛选方法,图5为本申请实施例提供的图像筛选方法的第五种流程示意图,该流程同样可以由终端设备执行,该终端设备可以是智能手机或平板电脑等移动终端,还可以是电脑等固定终端,如图5所示,该流程包括:The image filtering method described in the above-mentioned FIG. 1 to FIG. 4 is based on the same technical concept. Another embodiment of the present application further provides an image screening method, and FIG. 5 is the fifth image filtering method provided by the embodiment of the present application. The process flow diagram can also be executed by the terminal device. The terminal device can be a mobile terminal such as a smart phone or a tablet computer, or can be a fixed terminal such as a computer. As shown in FIG. 5, the process includes:
S501,获取拍摄得到的多张备选图像,其中,每张备选图像均包括多个目标人脸且各备选图像中包含相同的多个目标人脸;具体的,针对多人大合影的应用场景而言,每张备选图像中均包括参与大合影拍照的多个参与人员。S501. Acquire a plurality of candidate images obtained by shooting, where each candidate image includes multiple target faces and each candidate image includes the same multiple target faces; specifically, for a multi-person group photo application scenario, Each candidate image includes multiple participants who participate in the photo session.
S502,分别从备选图像中提取各目标人脸的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;具体的,基于人脸识别技术,采用关键特征提取的方式,分别对各备选图像进行拍摄质量分析,每张备选图像对应于一个拍摄质量分析结果。S502, extracting key features of each target face from the candidate images, respectively performing shooting quality analysis on each candidate image according to the extracted key features, and obtaining a shooting quality analysis result of the candidate image; specifically, based on face recognition technology According to the method of key feature extraction, the quality of each candidate image is analyzed separately, and each candidate image corresponds to a shooting quality analysis result.
S503,根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。S503. Select a target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image.
本申请提供的实施例中,通过对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用 户体验,尤其,针对多人大合影的应用场景而言,由于参与大合影拍照的人员数量越多,用户对多张备选图像逐一浏览并选取目标图像的难度越大,因此采用该图像筛选方法,能够大大降低目标图像的选取难度,大大提高目标图像选取的精准度。In the embodiment provided by the present application, by performing image quality analysis on a plurality of candidate images, a target image whose shooting quality meets a preset requirement is determined in a plurality of candidate images, thereby improving image screening efficiency and reducing user browsing of multiple candidate images one by one. And select the time of the target image, and avoid the candidate image that does not meet the preset requirement as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience, especially for multi-person In the application scenario of the group photo, the more people participate in the photo shooting, the more difficult it is for the user to browse and select the target images one by one, so the image screening method can greatly reduce the difficulty of selecting the target image. Greatly improve the accuracy of target image selection.
其中,针对每张备选图像而言,对该备选图像进行关键特征提取后,以提取目标人脸的眼部特征为例,对于提取到的各目标人脸的眼部特征,需要分别对每个眼部特征进行拍摄质量分析,进而得到该备选图像的拍摄质量分析结果,具体的,如图6所示,上述S502分别从备选图像中提取各目标人脸的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果,具体包括:For each candidate image, after performing key feature extraction on the candidate image, taking the eye feature of the target face as an example, for each extracted eye feature of each target face, it is necessary to separately The eye feature is subjected to shooting quality analysis, and the shooting quality analysis result of the candidate image is obtained. Specifically, as shown in FIG. 6 , the above S502 respectively extracts key features of each target face from the candidate image, according to the extracted The key features are used to analyze the quality of each candidate image, and the results of the quality analysis of the candidate image are obtained, including:
S5021,针对每张备选图像,从该备选图像中至少提取各目标人脸的眼部特征。S5021. For each candidate image, extract at least an eye feature of each target face from the candidate image.
S5022,根据提取到的各眼部特征,确定该备选图像中眼部张开程度不符合预设眼部张开程度的异常数量;具体的,可以根据各眼部特征的张开程度确定目标人脸是否存在闭眼现象,如果发现闭眼现象,则将针对眼部特征的异常数量加一。S5022: determining, according to the extracted eye features, an abnormal number of eye opening degrees in the candidate image that does not meet the preset eye opening degree; specifically, determining the target according to the degree of opening of each eye feature Whether there is a closed eye phenomenon on the face, if the closed eye phenomenon is found, the number of abnormalities for the eye feature is increased by one.
S5023,根据确定出的异常数量,确定该备选图像的拍摄质量分析结果。S5023: Determine a shooting quality analysis result of the candidate image according to the determined abnormal number.
需要说明的是,在具体实施时,还可以同时提取各目标人脸的嘴部特征,或者提取各目标人脸的其他关键部位特征,均在本申请的保护范围之内。It should be noted that, in the specific implementation, it is also possible to extract the mouth features of each target face at the same time, or extract other key feature features of each target face, which are all within the protection scope of the present application.
其中,上述S5023根据确定出的异常数量,确定该备选图像的拍摄质量分析结果,具体包括:The S5023 determines the shooting quality analysis result of the candidate image according to the determined abnormal number, which specifically includes:
根据确定出的异常数量,对备选图像的拍摄质量进行权重加成打分;The weight of the shooting quality of the candidate image is weighted and scored according to the determined number of abnormalities;
将得到的打分结果作为备选图像的拍摄质量分析结果。The obtained scoring result is taken as the result of the photographing quality analysis of the candidate image.
具体的,利用加权平均值的方法根据针对各关键特征的异常数量,计算该备选图像的拍摄质量分数,具体为:以提取的关键特征包括目标人脸的眼部特征和嘴部特征为例,根据眼部特征和嘴部特征的优先级,分别设置眼部特征的权重系数和嘴部特征的权重系数,备选图像的拍摄质量分数的计算公式为:y=总分数-(β×a+μ×b),其中,y表示备选图像的拍摄质量分数,β表示眼部特征的权重系数,μ表示嘴部特征的权重系数,a表示眼部特征出现的异常次数,b表示嘴部特征出现的异常次数。Specifically, the method for weighting the average value is used to calculate the shooting quality score of the candidate image according to the number of abnormalities for each key feature, specifically: taking the extracted key features including the eye feature and the mouth feature of the target face as an example. According to the priority of the eye feature and the mouth feature, the weight coefficient of the eye feature and the weight coefficient of the mouth feature are respectively set, and the calculation formula of the shooting quality score of the candidate image is: y=total score-(β×a +μ×b), where y represents the shooting quality score of the candidate image, β represents the weighting coefficient of the eye feature, μ represents the weighting coefficient of the mouth feature, a represents the number of abnormalities in the appearance of the eye feature, and b represents the mouth. The number of abnormalities in which the feature appears.
其中,由于不同类型的关键特征存在异常,对拍摄质量影响程度不同,例如,人像照片中的闭眼现象对拍摄质量影响比较大,而人像照片中的无面带微笑现象对拍摄质量 影响比较小,因此,可以将眼部特征对应的权重系数大于嘴部特征对应的权重系数,此时,备选图像中出现一个眼部特征异常需要扣去的分数大于出现一次嘴部特征异常需要扣去的分数,例如,上述备选图像的拍摄质量分数的计算公式中的总分数设定为100分,识别出一次眼部特征异常扣1分,即眼部特征的权重系数为1.0,识别出一次嘴部特征异常一次扣0.5分,即嘴部特征的权重系数为0.5。Among them, due to the abnormality of different types of key features, the degree of influence on the quality of shooting is different. For example, the closed eye phenomenon in portrait photos has a greater impact on the quality of shooting, while the phenomenon of no smile in portrait photos has less influence on the quality of shooting. Therefore, the weight coefficient corresponding to the eye feature may be greater than the weight coefficient corresponding to the mouth feature. At this time, the score of one eye feature abnormality in the candidate image needs to be deducted is greater than the one that needs to be deducted when the mouth feature is abnormal. The score, for example, the total score in the calculation formula of the photographing quality score of the above-described candidate image is set to 100 points, and it is recognized that the eye feature is abnormally deducted by 1 point, that is, the weight coefficient of the eye feature is 1.0, and the mouth is recognized once. The feature of the part is abnormally deducted by 0.5 points, that is, the weight coefficient of the mouth feature is 0.5.
其中,上述S503根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像,具体包括:The S503 selects the target image from the plurality of candidate images according to the result of the image quality analysis of each candidate image, and specifically includes:
根据各备选图像的打分结果,将分数最高的备选图像作为目标图像。According to the scoring result of each candidate image, the candidate image with the highest score is taken as the target image.
具体的,针对将上述打分结果作为各备选图像的拍摄质量分析结果的情况,按照拍摄质量分数由大到小的顺序对多张备选图像的拍摄质量进行排序,备选图像的拍摄质量分数越高,说明该备选图像的拍摄质量越高,备选图像的排序越靠前,在具体实施时,可以将拍摄质量分数最高的备选图像作为目标图像,也可以按照拍摄质量分数由大到小的顺序选取排序靠前的多张备选图像作为目标图像,这样用户可以根据实际需求从中选择一张备选图像作为目标图像。Specifically, for the case where the scoring result is used as the result of the photographing quality analysis of each candidate image, the photographing quality of the plurality of candidate images is sorted in descending order of the photographing quality score, and the photographing quality score of the candidate image is higher. The higher the shooting quality of the candidate image, the higher the ranking of the candidate images. In the specific implementation, the candidate image with the highest shooting quality score can be used as the target image, or the shooting quality score can be changed from large to small. The order selects a plurality of candidate images that are ranked first as the target image, so that the user can select an alternative image as the target image according to actual needs.
进一步的,考虑到可能存在所有备选图像均不符合预设拍摄质量条件的情况,为了保证最终确定出的目标图像的拍摄质量,基于此,上述根据各备选图像的打分结果,将分数最高的备选图像作为目标图像之后,还包括:Further, considering that there may be a case where all the candidate images do not meet the preset shooting quality condition, in order to ensure the quality of the final determined target image, based on the above, the score according to the scoring result of each candidate image is the highest. After the candidate image is used as the target image, it also includes:
判断选取出的目标图像的拍摄质量分数是否大于预设阈值;其中,该预设阈值可以是系统默认的,也可以是根据用户的设置请求得到的。Determining whether the shooting quality score of the selected target image is greater than a preset threshold; wherein the preset threshold may be a system default or may be obtained according to a user setting request.
若否,则生成建议用户重新拍照的提示信息;具体的,如果每张目标图像的拍摄质量分数均小于预设阈值,说明所有备选图像均不符合预设拍摄质量条件,此时,需要提示用户重新拍照,进而再对最新拍摄得到的备选图像进行拍摄质量分析,根据得到的拍摄质量分析结果确定最新拍摄得到的备选图像是否符合预设拍摄质量条件,直到选取出至少一张符合预设拍摄质量条件的目标图像,以便从中选取出拍摄质量更优的备选图像。If not, generate prompt information suggesting that the user re-photograph; specifically, if the shooting quality score of each target image is less than a preset threshold, indicating that all candidate images do not meet the preset shooting quality condition, at this time, a prompt is required The user re-photographs, and then performs the shooting quality analysis on the candidate image obtained by the latest shooting, and determines whether the candidate image obtained by the latest shooting meets the preset shooting quality condition according to the obtained shooting quality analysis result until at least one matching pre-selection is selected. Set the target image of the shooting quality condition to select an alternative image with better shooting quality.
在本申请提供的实施例中,在检测到对多个目标人脸进行连拍操作后,自动对拍摄得到的多张备选图像进行拍摄质量分析,一旦发现所有的备选图像的拍摄质量均不符合预设条件,则自动提醒用户重新拍照,这样在拍照过程中,自动对拍摄得到的图像进行拍摄质量分析,一旦发现所有的备选图像的拍摄质量均不符合预设条件,此时参与大合 影的人员还未解散,可以继续拍摄新的备选图像,从而能够避免在后续图像分享过程中找不出一张比较理想的合影照片,进而解决由于参与大合影的人员已解散无法继续拍摄新的备选图像的问题。In the embodiment provided by the present application, after detecting a continuous shooting operation on a plurality of target faces, the shooting quality analysis is automatically performed on the plurality of candidate images obtained by the shooting, and the shooting quality of all the candidate images is found to be inconsistent. The preset condition automatically reminds the user to take a photo again, so that during the photographing process, the captured image is automatically analyzed for the quality of the captured image. Once the quality of all the candidate images is found to meet the preset conditions, the photo is taken at this time. The personnel have not been disbanded, and can continue to take new alternative images, so as to avoid finding an ideal photo of the photos in the subsequent image sharing process, and then solve the problem that the people who participated in the big photo album have been disbanded and cannot continue to shoot new ones. The problem with the alternate image.
进一步的,上述S503根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像之后,还包括:Further, after the S503 selects the target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image, the method further includes:
在检测到图像分享请求时,向用户推荐选取出的目标图像。例如,在确定出用户需要从多张备选图像中选取一张分享到朋友圈或者好友群的情况下,可以将选取出的目标图像推荐给用户,以使用户分享出去的图像的拍摄质量满足预设要求,防止用户将拍摄质量不符合预设要求的图像分享到社交平台上,从而避免产生不良的用户体验。When the image sharing request is detected, the selected target image is recommended to the user. For example, if it is determined that the user needs to select one of the plurality of candidate images to share with the circle of friends or the group of friends, the selected target image may be recommended to the user, so that the quality of the image shared by the user meets the preset. It is required to prevent users from sharing images whose shooting quality does not meet the preset requirements on the social platform, thereby avoiding a bad user experience.
例如,针对多人大合影的应用场景,如图7a至7d为拍摄得到的四张备选图像,每张备选图像均包括9个目标人脸,具体为:For example, for an application scene of a multi-person group photo, as shown in FIGS. 7a to 7d, four candidate images are captured, and each candidate image includes nine target faces, specifically:
在图7a中,从备选图像中提取各目标人脸的关键特征(如眼部特征和嘴部特征),根据提取到的关键特征对每张备选图像进行拍摄质量分析,可知,眼部特征出现的异常次数为2(即后排左1和左2),嘴部特征出现的异常次数为3(即前排左1、左3和右1),如果按照上述打分机制,则该备选图像的拍摄质量分析结果即拍摄质量分数为:y=100-(1.0×2+0.5×3)=96.5。In FIG. 7a, key features of each target face (such as eye features and mouth features) are extracted from the candidate images, and the quality of each candidate image is analyzed according to the extracted key features, and it is known that the eye features appear. The number of abnormalities is 2 (ie, left 1 and left 2 in the rear row), and the number of abnormalities in the mouth feature is 3 (ie, front left 1, left 3, and right 1). If the above scoring mechanism is followed, the candidate image The result of the photographing quality analysis is that the photographing quality score is: y=100-(1.0×2+0.5×3)=96.5.
在图7b中,从备选图像中提取各目标人脸的关键特征(如眼部特征和嘴部特征),根据提取到的关键特征对每张备选图像进行拍摄质量分析,可知,眼部特征出现的异常次数为2(即后排左1和左2),嘴部特征出现的异常次数为1(即前排左1),如果按照上述打分机制,则该备选图像的拍摄质量分析结果即拍摄质量分数为:y=100-(1.0×2+0.5×1)=97.5。In FIG. 7b, key features of each target face (such as eye features and mouth features) are extracted from the candidate images, and the quality of each candidate image is analyzed according to the extracted key features, and it is known that the eye features appear. The number of abnormalities is 2 (ie, left 1 and left 2 in the rear row), and the number of abnormalities in the mouth feature is 1 (ie, 1 in the front row). If the scoring mechanism is used, the result of the shooting quality analysis of the candidate image is The shooting quality score is: y = 100 - (1.0 × 2 + 0.5 × 1) = 97.5.
在图7c中,从备选图像中提取各目标人脸的关键特征(如眼部特征和嘴部特征),根据提取到的关键特征对每张备选图像进行拍摄质量分析,可知,眼部特征出现的异常次数为0,嘴部特征出现的异常次数为1(即前排左1),如果按照上述打分机制,则该备选图像的拍摄质量分析结果即拍摄质量分数为:y=100-(1.0×0+0.5×1)=99.5。In FIG. 7c, key features of each target face (such as eye features and mouth features) are extracted from the candidate images, and the quality of each candidate image is analyzed according to the extracted key features, and it is known that the eye features appear. The number of abnormalities is 0, and the number of abnormalities of the mouth feature is 1 (ie, the left side of the front row is 1). If the above scoring mechanism is followed, the shooting quality analysis result of the candidate image is the shooting quality score: y=100-( 1.0×0+0.5×1)=99.5.
在图7d中,从备选图像中提取各目标人脸的关键特征(如眼部特征和嘴部特征),根据提取到的关键特征对每张备选图像进行拍摄质量分析,可知,眼部特征出现的异常次数为2(即后排左1和左2),嘴部特征出现的异常次数为2(即前排左1和右1), 如果按照上述打分机制,则该备选图像的拍摄质量分析结果即拍摄质量分数为:y=100-(1.0×2+0.5×2)=97.0。In FIG. 7d, key features of each target face (such as eye features and mouth features) are extracted from the candidate images, and the quality of each candidate image is analyzed according to the extracted key features, and it is known that the eye features appear. The number of abnormalities is 2 (ie, left 1 and left 2 in the rear row), and the number of abnormalities in the mouth feature is 2 (ie, left 1 and right 1 in the front row). If the scoring mechanism is used, the quality of the candidate image is taken. The result of the analysis is that the photographing quality score is: y=100-(1.0×2+0.5×2)=97.0.
基于图7a至图7d中的各备选图像的拍摄质量分数,图7c中所示的备选图像的拍摄质量分数最高,因此,将图7c中所示的备选图像作为目标图像。Based on the photographing quality scores of the respective alternative images in FIGS. 7a to 7d, the photographing quality score of the candidate image shown in FIG. 7c is the highest, and therefore, the candidate image shown in FIG. 7c is taken as the target image.
本申请实施例中的图像筛选方法,获取拍摄得到的多张备选图像,其中,每张备选图像均包括多个目标人脸;分别从备选图像中提取各目标人脸的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。通过对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用户体验,尤其,针对多人大合影的应用场景而言,由于参与大合影拍照的人员数量越多,用户对多张备选图像逐一浏览并选取目标图像的难度越大,因此采用该图像筛选方法,能够大大降低目标图像的选取难度,大大提高目标图像选取的精准度。The image screening method in the embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target faces; and extracts key features of each target face from the candidate images, respectively, according to the extracted The key feature performs the shooting quality analysis on each candidate image to obtain the shooting quality analysis result of the candidate image; and selects the target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image. By performing image quality analysis on multiple candidate images, the target image whose shooting quality meets the preset requirements is determined in multiple candidate images, thereby improving image screening efficiency and reducing the time for the user to browse and select the target images one by one. Avoiding the candidate image that does not meet the preset requirements as the target image due to the user's selection error, improving the accuracy of the target image selection and improving the user experience, especially for the application scene of multi-person photo group, The more people who participate in the big photo taking, the more difficult it is for the user to browse and select the target images one by one. Therefore, the image screening method can greatly reduce the difficulty of selecting the target image and greatly improve the accuracy of the target image selection. .
需要说明的是,本申请另一实施例与本申请一实施例基于同一发明构思,因此该实施例的具体实施可以参见前述方法的实施,重复之处不再赘述。It should be noted that another embodiment of the present application and the embodiment of the present application are based on the same inventive concept. Therefore, the specific implementation of the embodiment may refer to the implementation of the foregoing method, and the repeated description is not repeated.
对应上述图1至图6描述的图像筛选方法,基于相同的技术构思,本申请实施例还提供了一种图像筛选装置,图8为本申请实施例提供的图像筛选装置的模块组成示意图,该装置用于执行图1至图6描述的图像筛选方法,如图8所示,该装置包括:备选图像获取模块801、拍摄质量分析模块802和目标图像选取模块803,备选图像获取模块801、拍摄质量分析模块802和目标图像选取模块803依次连接。The image screening method described in the above-mentioned FIG. 1 to FIG. 6 is based on the same technical concept. The embodiment of the present application further provides an image screening device. FIG. 8 is a schematic diagram of a module composition of an image screening device according to an embodiment of the present application. The apparatus is configured to perform the image screening method described in FIG. 1 to FIG. 6. As shown in FIG. 8, the apparatus includes: an alternative image acquisition module 801, a shooting quality analysis module 802, and a target image selection module 803, and an alternative image acquisition module 801. The shooting quality analysis module 802 and the target image selection module 803 are sequentially connected.
在一个具体的实施例中,备选图像获取模块801,用于获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;In a specific embodiment, the candidate image acquisition module 801 is configured to acquire a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
拍摄质量分析模块802,用于分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;The shooting quality analysis module 802 is configured to extract key features of each target object from the candidate images, perform shooting quality analysis on each of the candidate images according to the extracted key features, to obtain the candidate. Image quality analysis results;
目标图像选取模块803,用于根据各所述备选图像的所述拍摄质量分析结果,从 所述多张备选图像中选取目标图像。The target image selection module 803 is configured to select a target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
可选地,上述拍摄质量分析模块802,具体用于:Optionally, the foregoing shooting quality analysis module 802 is specifically configured to:
针对每张所述备选图像,从该备选图像中提取各目标对象的关键特征;Extracting key features of each target object from the candidate image for each of the candidate images;
对提取到的各所述关键特征进行质量评价识别,得到质量评价识别结果;Performing quality evaluation and identification on each of the extracted key features to obtain a quality evaluation and recognition result;
根据所述质量评价识别结果,确定所述备选图像的拍摄质量分析结果。A result of the photographing quality analysis of the candidate image is determined based on the quality evaluation recognition result.
可选地,上述拍摄质量分析模块802,进一步具体用于:Optionally, the foregoing shooting quality analysis module 802 is further specifically configured to:
根据所述质量评价识别结果对所述备选图像进行权重加成打分,将得到的打分结果作为所述备选图像的拍摄质量分析结果。And performing weighting addition scoring on the candidate image according to the quality evaluation recognition result, and using the obtained scoring result as a shooting quality analysis result of the candidate image.
可选地,上述目标图像选取模块803,具体用于:Optionally, the target image selection module 803 is specifically configured to:
根据各所述备选图像的所述拍摄质量分析结果,对所述多张备选图像的拍摄质量进行排序;Sorting the shooting quality of the plurality of candidate images according to the shooting quality analysis result of each of the candidate images;
按照拍摄质量由高到低的顺序选取预设数量的备选图像作为目标图像。A preset number of candidate images are selected as the target image in descending order of shooting quality.
可选地,上述装置还包括:Optionally, the foregoing apparatus further includes:
提示模块,用于在按照拍摄质量由高到低的顺序选取预设数量的备选图像作为目标图像之后,判断选取出的至少一张所述目标图像的拍摄质量是否符合预设条件;若否,则生成建议用户重新拍照的提示信息。a prompting module, configured to: after selecting a preset number of candidate images as the target image in order of high to low shooting quality, determining whether the selected shooting quality of the at least one target image meets a preset condition; , generating a prompt message suggesting that the user re-photograph.
可选地,上述装置还包括:Optionally, the foregoing apparatus further includes:
推荐模块,用于在检测到图像分享请求时,向用户推荐选取出的所述目标图像。A recommendation module is configured to recommend the selected target image to the user when the image sharing request is detected.
本申请一实施例中的图像筛选装置,获取拍摄得到的多张备选图像,其中,每张备选图像均包括多个目标对象;分别从备选图像中提取各目标对象的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。通过对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用户体验。An image screening apparatus in an embodiment of the present invention acquires a plurality of candidate images obtained by photographing, wherein each candidate image includes a plurality of target objects; and extracts key features of each target object from the candidate images, respectively, according to the extracted key The feature performs a shooting quality analysis on each candidate image to obtain a shooting quality analysis result of the candidate image; and selects a target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image. By performing image quality analysis on multiple candidate images, the target image whose shooting quality meets the preset requirements is determined in multiple candidate images, thereby improving image screening efficiency and reducing the time for the user to browse and select the target images one by one. The candidate image that does not meet the preset requirements due to the user's selection error is avoided as the target image, which improves the accuracy of the target image selection and improves the user experience.
在另一个具体的实施例中,备选图像获取模块801,用于获取拍摄得到的多张备 选图像,其中,每张所述备选图像均包括多个目标人脸;In another specific embodiment, the candidate image obtaining module 801 is configured to acquire a plurality of captured images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
拍摄质量分析模块802,用于分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;The photographing quality analysis module 802 is configured to extract key features of each target face from the candidate images, perform shooting quality analysis on each of the candidate images according to the extracted key features, and obtain the preparation The quality of the image quality analysis of the selected image;
目标图像选取模块803,用于根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。The target image selection module 803 is configured to select a target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
可选地,上述拍摄质量分析模块802,具体用于:Optionally, the foregoing shooting quality analysis module 802 is specifically configured to:
针对每张所述备选图像,从该备选图像中至少提取各目标人脸的眼部特征;Extracting at least an eye feature of each target face from the candidate image for each of the candidate images;
根据提取到的各所述眼部特征,确定所述备选图像中眼部张开程度不符合预设眼部张开程度的异常数量;Determining, according to each of the extracted eye features, an abnormal number of eye opening degrees in the candidate image that does not meet a predetermined eye opening degree;
根据所述异常数量,确定所述备选图像的拍摄质量分析结果。A photographing quality analysis result of the candidate image is determined according to the abnormal number.
可选地,上述拍摄质量分析模块802,进一步具体用于:Optionally, the foregoing shooting quality analysis module 802 is further specifically configured to:
根据所述异常数量,对所述备选图像的拍摄质量进行权重加成打分;Performing weighting and scoring the shooting quality of the candidate image according to the abnormal number;
将得到的打分结果作为所述备选图像的拍摄质量分析结果。The obtained scoring result is taken as the result of the photographing quality analysis of the candidate image.
可选地,上述目标图像选取模块803,具体用于:Optionally, the target image selection module 803 is specifically configured to:
根据各所述备选图像的所述打分结果,将分数最高的备选图像作为目标图像。According to the scoring result of each of the candidate images, the candidate image with the highest score is taken as the target image.
可选地,上述装置还包括:Optionally, the foregoing apparatus further includes:
提示模块,用于在根据各所述备选图像的所述打分结果,将分数最高的备选图像作为目标图像之后,判断所述目标图像的拍摄质量分数是否大于预设阈值;若否,则生成建议用户重新拍照的提示信息。a prompting module, configured to determine whether a shooting quality score of the target image is greater than a preset threshold after the candidate image having the highest score is used as the target image according to the scoring result of each of the candidate images; if not, Generate a prompt message suggesting that the user take a photo again.
本申请另一实施例中的图像筛选装置,获取拍摄得到的多张备选图像,其中,每张备选图像均包括多个目标人脸;分别从备选图像中提取各目标人脸的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。通过对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目 标图像,提高了目标图像选取的精准度,提升了用户体验,尤其,针对多人大合影的应用场景而言,由于参与大合影拍照的人员数量越多,用户对多张备选图像逐一浏览并选取目标图像的难度越大,因此采用该图像筛选方法,能够大大降低目标图像的选取难度,大大提高目标图像选取的精准度。An image screening apparatus in another embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target faces; and extracts key features of each target face from the candidate images, respectively, according to the extraction The key features are obtained for each of the candidate images to obtain a quality analysis result of the candidate image, and the image quality analysis result of the candidate image is obtained; and the target image is selected from the plurality of candidate images according to the shooting quality analysis result of each candidate image. By performing image quality analysis on multiple candidate images, the target image whose shooting quality meets the preset requirements is determined in multiple candidate images, thereby improving image screening efficiency and reducing the time for the user to browse and select the target images one by one. Avoiding the candidate image that does not meet the preset requirements as the target image due to the user's selection error, improving the accuracy of the target image selection and improving the user experience, especially for the application scene of multi-person photo group, The more people who participate in the big photo taking, the more difficult it is for the user to browse and select the target images one by one. Therefore, the image screening method can greatly reduce the difficulty of selecting the target image and greatly improve the accuracy of the target image selection. .
进一步地,对应上述图1至图6所示的方法,基于相同的技术构思,本申请实施例还提供了一种图像筛选设备,该设备用于执行上述的图像筛选方法,如图9所示。Further, corresponding to the method shown in FIG. 1 to FIG. 6 , based on the same technical concept, the embodiment of the present application further provides an image screening device, which is used to perform the image screening method described above, as shown in FIG. 9 . .
图像筛选设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器901和存储器902,存储器902中可以存储有一个或一个以上存储应用程序或数据。其中,存储器902可以是短暂存储或持久存储。存储在存储器902的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对图像筛选设备中的一系列计算机可执行指令。更进一步地,处理器901可以设置为与存储器902通信,在图像筛选设备上执行存储器902中的一系列计算机可执行指令。图像筛选设备还可以包括一个或一个以上电源903,一个或一个以上有线或无线网络接口904,一个或一个以上输入输出接口905,一个或一个以上键盘906等。The image filtering device may vary considerably depending on configuration or performance, and may include one or more processors 901 and memory 902 in which one or more storage applications or data may be stored. Among them, the memory 902 can be short-term storage or persistent storage. An application stored in memory 902 may include one or more modules (not shown), each of which may include a series of computer executable instructions in an image filtering device. Still further, the processor 901 can be arranged to communicate with the memory 902 to execute a series of computer executable instructions in the memory 902 on the image filtering device. The image screening device may also include one or more power sources 903, one or more wired or wireless network interfaces 904, one or more input and output interfaces 905, one or more keyboards 906, and the like.
在一个具体的实施例中,图像筛选设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对图像筛选设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:In a specific embodiment, the image screening device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs can include one or more modules, and each The modules can include a series of computer executable instructions in an image filtering device, and are configured to be executed by one or more processors. The one or more programs are included for performing the following computer executable instructions:
获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;Extracting key features of each target object from the candidate image, performing a shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
可选地,计算机可执行指令在被执行时,所述分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果,包括:Optionally, when the computer-executable instructions are executed, the extracting key features of each target object from the candidate images respectively, and performing shooting quality on each of the candidate images according to the extracted key features. Analysis, obtaining the result of the photographing quality analysis of the candidate image, comprising:
针对每张所述备选图像,从该备选图像中提取各目标对象的关键特征;Extracting key features of each target object from the candidate image for each of the candidate images;
对提取到的各所述关键特征进行质量评价识别,得到质量评价识别结果;Performing quality evaluation and identification on each of the extracted key features to obtain a quality evaluation and recognition result;
根据所述质量评价识别结果,确定所述备选图像的拍摄质量分析结果。A result of the photographing quality analysis of the candidate image is determined based on the quality evaluation recognition result.
可选地,计算机可执行指令在被执行时,所述根据所述质量评价识别结果,确定所述备选图像的拍摄质量分析结果,包括:Optionally, when the computer-executable instructions are executed, determining the shooting quality analysis result of the candidate image according to the quality evaluation identification result, including:
根据所述质量评价识别结果对所述备选图像进行权重加成打分,将得到的打分结果作为所述备选图像的拍摄质量分析结果。And performing weighting addition scoring on the candidate image according to the quality evaluation recognition result, and using the obtained scoring result as a shooting quality analysis result of the candidate image.
可选地,计算机可执行指令在被执行时,所述根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像,包括:Optionally, when the computer-executable instructions are executed, the selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images comprises:
根据各所述备选图像的所述拍摄质量分析结果,对所述多张备选图像的拍摄质量进行排序;Sorting the shooting quality of the plurality of candidate images according to the shooting quality analysis result of each of the candidate images;
按照拍摄质量由高到低的顺序选取预设数量的备选图像作为目标图像。A preset number of candidate images are selected as the target image in descending order of shooting quality.
可选地,计算机可执行指令在被执行时,还包含用于进行以下计算机可执行指令:Optionally, the computer executable instructions, when executed, further comprise instructions for: executing the following computer executable instructions:
在按照拍摄质量由高到低的顺序选取预设数量的备选图像作为目标图像之后,判断选取出的至少一张所述目标图像的拍摄质量是否符合预设条件;After selecting a preset number of candidate images as the target image in order of shooting quality from high to low, determining whether the selected shooting quality of the at least one target image meets a preset condition;
若否,则生成建议用户重新拍照的提示信息。If not, generate a prompt message suggesting that the user re-photograph.
可选地,计算机可执行指令在被执行时,还包含用于进行以下计算机可执行指令:Optionally, the computer executable instructions, when executed, further comprise instructions for: executing the following computer executable instructions:
在根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像之后,在检测到图像分享请求时,向用户推荐选取出的所述目标图像。After the target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images, the selected target image is recommended to the user when the image sharing request is detected.
本申请一实施例中的图像筛选设备,获取拍摄得到的多张备选图像,其中,每张备选图像均包括多个目标对象;分别从备选图像中提取各目标对象的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。可见,通过本申请实施例中的图像筛选设备,对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄 质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用户体验。The image screening device in an embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target objects; and extracts key features of each target object from the candidate images, respectively, according to the extracted key The feature performs a shooting quality analysis on each candidate image to obtain a shooting quality analysis result of the candidate image; and selects a target image from the plurality of candidate images according to the shooting quality analysis result of each candidate image. It can be seen that, by using the image screening device in the embodiment of the present application, the quality of the plurality of candidate images is analyzed, and the target image whose shooting quality meets the preset requirement is determined in the plurality of candidate images, thereby improving image screening efficiency and reducing user-to-multiple The candidate images are browsed one by one and the time of the target image is selected one by one, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience.
在另一个具体的实施例中,图像筛选设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对图像筛选设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:In another specific embodiment, an image screening device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs can include one or more modules, and Each module can include a series of computer executable instructions in an image filtering device, and configured to be executed by one or more processors. The one or more programs include instructions for:
获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标人脸;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;And extracting key features of each target face from the candidate images, performing shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
可选地,计算机可执行指令在被执行时,所述分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果,包括:Optionally, when the computer executable instructions are executed, the key features of each target face are respectively extracted from the candidate image, and each candidate image is captured according to the extracted key features. Quality analysis, obtaining the result of the photographing quality analysis of the candidate image, including:
针对每张所述备选图像,从该备选图像中至少提取各目标人脸的眼部特征;Extracting at least an eye feature of each target face from the candidate image for each of the candidate images;
根据提取到的各所述眼部特征,确定所述备选图像中眼部张开程度不符合预设眼部张开程度的异常数量;Determining, according to each of the extracted eye features, an abnormal number of eye opening degrees in the candidate image that does not meet a predetermined eye opening degree;
根据所述异常数量,确定所述备选图像的拍摄质量分析结果。A photographing quality analysis result of the candidate image is determined according to the abnormal number.
可选地,计算机可执行指令在被执行时,所述根据所述异常数量,确定所述备选图像的拍摄质量分析结果,包括:Optionally, when the computer executable instructions are executed, determining, according to the abnormal number, a shooting quality analysis result of the candidate image, including:
根据所述异常数量,对所述备选图像的拍摄质量进行权重加成打分;Performing weighting and scoring the shooting quality of the candidate image according to the abnormal number;
将得到的打分结果作为所述备选图像的拍摄质量分析结果。The obtained scoring result is taken as the result of the photographing quality analysis of the candidate image.
可选地,计算机可执行指令在被执行时,所述根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像,包括:Optionally, when the computer-executable instructions are executed, the selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images comprises:
根据各所述备选图像的所述打分结果,将分数最高的备选图像作为目标图像。According to the scoring result of each of the candidate images, the candidate image with the highest score is taken as the target image.
可选地,计算机可执行指令在被执行时,还包含用于进行以下计算机可执行指 令:Optionally, the computer executable instructions, when executed, also include instructions for performing the following computer executables:
在根据各所述备选图像的所述打分结果,将分数最高的备选图像作为目标图像之后,判断所述目标图像的拍摄质量分数是否大于预设阈值;After determining, according to the scoring result of each of the candidate images, the candidate image having the highest score as the target image, determining whether the shooting quality score of the target image is greater than a preset threshold;
若否,则生成建议用户重新拍照的提示信息。If not, generate a prompt message suggesting that the user re-photograph.
本申请另一实施例中的图像筛选设备,获取拍摄得到的多张备选图像,其中,每张备选图像均包括多个目标人脸;分别从备选图像中提取各目标人脸的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。可见,通过本申请实施例中的图像筛选设备,对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用户体验,尤其,针对多人大合影的应用场景而言,由于参与大合影拍照的人员数量越多,用户对多张备选图像逐一浏览并选取目标图像的难度越大,因此采用该图像筛选方法,能够大大降低目标图像的选取难度,大大提高目标图像选取的精准度。An image screening device in another embodiment of the present application acquires a plurality of candidate images obtained by shooting, wherein each candidate image includes a plurality of target faces; and extracts key features of each target face from the candidate images, respectively, according to the extraction The key features are obtained for each of the candidate images to obtain a quality analysis result of the candidate image, and the image quality analysis result of the candidate image is obtained; and the target image is selected from the plurality of candidate images according to the shooting quality analysis result of each candidate image. It can be seen that, by using the image screening device in the embodiment of the present application, the quality of the plurality of candidate images is analyzed, and the target image whose shooting quality meets the preset requirement is determined in the plurality of candidate images, thereby improving image screening efficiency and reducing user-to-multiple The candidate images are browsed one by one and the time of the target image is selected one by one, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience, especially For the application scene of multi-person photo grouping, the more the number of people participating in the big photo taking, the more difficult it is for the user to browse and select the target images one by one, so the image screening method can greatly reduce the target image. The difficulty of selection greatly improves the accuracy of target image selection.
进一步地,对应上述图1至图6所示的方法,基于相同的技术构思,本申请实施例还提供了一种存储介质,用于存储计算机可执行指令,一种具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:Further, corresponding to the method shown in FIG. 1 to FIG. 6 , based on the same technical concept, the embodiment of the present application further provides a storage medium for storing computer executable instructions. In a specific embodiment, the specific embodiment The storage medium may be a USB flash drive, an optical disk, a hard disk, or the like. The computer executable instructions stored in the storage medium can implement the following processes when executed by the processor:
获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;Extracting key features of each target object from the candidate image, performing a shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果,包括:Optionally, when the computer-executable instructions stored by the storage medium are executed by the processor, the extracting key features of each target object from the candidate images respectively, according to the extracted key features, each of the The candidate image is subjected to shooting quality analysis, and the shooting quality analysis result of the candidate image is obtained, including:
针对每张所述备选图像,从该备选图像中提取各目标对象的关键特征;Extracting key features of each target object from the candidate image for each of the candidate images;
对提取到的各所述关键特征进行质量评价识别,得到质量评价识别结果;Performing quality evaluation and identification on each of the extracted key features to obtain a quality evaluation and recognition result;
根据所述质量评价识别结果,确定所述备选图像的拍摄质量分析结果。A result of the photographing quality analysis of the candidate image is determined based on the quality evaluation recognition result.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述根据所述质量评价识别结果,确定所述备选图像的拍摄质量分析结果,包括:Optionally, when the computer-executable instructions stored by the storage medium are executed by the processor, determining the shooting quality analysis result of the candidate image according to the quality evaluation identification result, including:
根据所述质量评价识别结果对所述备选图像进行权重加成打分,将得到的打分结果作为所述备选图像的拍摄质量分析结果。And performing weighting addition scoring on the candidate image according to the quality evaluation recognition result, and using the obtained scoring result as a shooting quality analysis result of the candidate image.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像,包括:Optionally, when the computer-executable instructions stored by the storage medium are executed by the processor, the selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images comprises:
根据各所述备选图像的所述拍摄质量分析结果,对所述多张备选图像的拍摄质量进行排序;Sorting the shooting quality of the plurality of candidate images according to the shooting quality analysis result of each of the candidate images;
按照拍摄质量由高到低的顺序选取预设数量的备选图像作为目标图像。A preset number of candidate images are selected as the target image in descending order of shooting quality.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:Optionally, the computer executable instructions stored by the storage medium, when executed by the processor, further implement the following processes:
在按照拍摄质量由高到低的顺序选取预设数量的备选图像作为目标图像之后,判断选取出的至少一张所述目标图像的拍摄质量是否符合预设条件;After selecting a preset number of candidate images as the target image in order of shooting quality from high to low, determining whether the selected shooting quality of the at least one target image meets a preset condition;
若否,则生成建议用户重新拍照的提示信息。If not, generate a prompt message suggesting that the user re-photograph.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:Optionally, the computer executable instructions stored by the storage medium, when executed by the processor, further implement the following processes:
在根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像之后,在检测到图像分享请求时,向用户推荐选取出的所述目标图像。After the target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images, the selected target image is recommended to the user when the image sharing request is detected.
本申请实施例中的存储介质存储的计算机可执行指令在被处理器执行时,获取拍摄得到的多张备选图像,其中,每张备选图像均包括多个目标对象;分别从备选图像中提取各目标对象的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。可见,通过本申请实施例中的存储介质,对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避 免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用户体验。The computer executable instructions stored in the storage medium in the embodiment of the present application, when executed by the processor, acquire a plurality of captured candidate images, wherein each candidate image includes a plurality of target objects; and each target is extracted from the candidate images. The key features of the object are analyzed by taking the quality of each candidate image according to the extracted key features, and the shooting quality analysis result of the candidate image is obtained; and the target image is selected from the plurality of candidate images according to the shooting quality analysis result of each candidate image. It can be seen that, by using the storage medium in the embodiment of the present application, the quality of the plurality of candidate images is analyzed, and the target image whose shooting quality meets the preset requirement is determined in the plurality of candidate images, thereby improving the image screening efficiency and reducing the user's multiple options. The images are browsed one by one and the time of the target image is selected, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience.
在另一个具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:In another specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, or the like, and the computer executable instructions stored by the storage medium, when executed by the processor, can implement the following processes:
获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标人脸;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;And extracting key features of each target face from the candidate images, performing shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果,包括:Optionally, when executed by the processor, the computer-executable instructions stored by the storage medium respectively extract key features of each target face from the candidate image, according to each of the extracted key features. Performing a shooting quality analysis on the candidate image to obtain a shooting quality analysis result of the candidate image, including:
针对每张所述备选图像,从该备选图像中至少提取各目标人脸的眼部特征;Extracting at least an eye feature of each target face from the candidate image for each of the candidate images;
根据提取到的各所述眼部特征,确定所述备选图像中眼部张开程度不符合预设眼部张开程度的异常数量;Determining, according to each of the extracted eye features, an abnormal number of eye opening degrees in the candidate image that does not meet a predetermined eye opening degree;
根据所述异常数量,确定所述备选图像的拍摄质量分析结果。A photographing quality analysis result of the candidate image is determined according to the abnormal number.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述根据所述异常数量,确定所述备选图像的拍摄质量分析结果,包括:Optionally, when the computer-executable instructions stored by the storage medium are executed by the processor, the determining, according to the abnormal number, the shooting quality analysis result of the candidate image, including:
根据所述异常数量,对所述备选图像的拍摄质量进行权重加成打分;Performing weighting and scoring the shooting quality of the candidate image according to the abnormal number;
将得到的打分结果作为所述备选图像的拍摄质量分析结果。The obtained scoring result is taken as the result of the photographing quality analysis of the candidate image.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像,包括:Optionally, when the computer-executable instructions stored by the storage medium are executed by the processor, the selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images comprises:
根据各所述备选图像的所述打分结果,将分数最高的备选图像作为目标图像。According to the scoring result of each of the candidate images, the candidate image with the highest score is taken as the target image.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:Optionally, the computer executable instructions stored by the storage medium, when executed by the processor, further implement the following processes:
在根据各所述备选图像的所述打分结果,将分数最高的备选图像作为目标图像之后,判断所述目标图像的拍摄质量分数是否大于预设阈值;After determining, according to the scoring result of each of the candidate images, the candidate image having the highest score as the target image, determining whether the shooting quality score of the target image is greater than a preset threshold;
若否,则生成建议用户重新拍照的提示信息。If not, generate a prompt message suggesting that the user re-photograph.
本申请实施例中的存储介质存储的计算机可执行指令在被处理器执行时,获取拍摄得到的多张备选图像,其中,每张备选图像均包括多个目标人脸;分别从备选图像中提取各目标人脸的关键特征,根据提取到的关键特征对每张备选图像进行拍摄质量分析,得到备选图像的拍摄质量分析结果;根据各备选图像的拍摄质量分析结果,从多张备选图像中选取目标图像。可见,通过本申请实施例中的存储介质,对多张备选图像进行拍摄质量分析,在多张备选图像中确定出拍摄质量符合预设要求的目标图像,从而提高图像筛选效率,减少了用户对多张备选图像逐一浏览并选取目标图像的时间,同时避免因用户选取失误而导致将拍摄质量不符合预设要求的备选图像作为目标图像,提高了目标图像选取的精准度,提升了用户体验,尤其,针对多人大合影的应用场景而言,由于参与大合影拍照的人员数量越多,用户对多张备选图像逐一浏览并选取目标图像的难度越大,因此采用该图像筛选方法,能够大大降低目标图像的选取难度,大大提高目标图像选取的精准度。The computer executable instructions stored in the storage medium in the embodiment of the present application, when executed by the processor, acquire a plurality of captured candidate images, wherein each candidate image includes a plurality of target faces; respectively extracting each candidate image from each of the candidate images The key features of the target face, the quality of each candidate image is analyzed according to the extracted key features, and the shooting quality analysis result of the candidate image is obtained; and the target is selected from the plurality of candidate images according to the shooting quality analysis result of each candidate image. image. It can be seen that, by using the storage medium in the embodiment of the present application, the quality of the plurality of candidate images is analyzed, and the target image whose shooting quality meets the preset requirement is determined in the plurality of candidate images, thereby improving the image screening efficiency and reducing the user's multiple options. The images are browsed one by one and the time of the target image is selected one by one, and the candidate image whose shooting quality does not meet the preset requirement is avoided as the target image due to the user's selection error, which improves the accuracy of the target image selection and improves the user experience, in particular, For the application scene of multi-person group photo shooting, the more people participate in the photo shooting, the more difficult it is for the user to browse and select the target images one by one, so the image screening method can greatly reduce the target image. Selecting the difficulty greatly improves the accuracy of the target image selection.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language) 与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, improvements to a technology could clearly distinguish between hardware improvements (eg, improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (for process flow improvements). However, as technology advances, many of today's method flow improvements can be seen as direct improvements in hardware circuit architecture. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented by hardware entity modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is an integrated circuit whose logic function is determined by the user programming the device. Designers program themselves to "integrate" a digital system on a single PLD without having to ask the chip manufacturer to design and fabricate a dedicated integrated circuit chip. Moreover, today, instead of manually making integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in programming development, but before compiling The original code has to be written in a specific programming language. This is called the Hardware Description Language (HDL). HDL is not the only one, but there are many kinds, such as ABEL (Advanced Boolean Expression Language). AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., are currently the most commonly used VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be apparent to those skilled in the art that the hardware flow for implementing the logic method flow can be easily obtained by simply programming the method flow into the integrated circuit with a few hardware description languages.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor. In the form of logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers, examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic. Those skilled in the art will also appreciate that in addition to implementing the controller in purely computer readable program code, the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding. The form of a microcontroller or the like to achieve the same function. Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component. Or even a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, the above devices are described separately by function into various units. Of course, the functions of each unit may be implemented in the same software or software and/or hardware when implementing the present application.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中 的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且 还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The application can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. The present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above description is only an embodiment of the present application and is not intended to limit the application. Various changes and modifications can be made to the present application by those skilled in the art. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present application are intended to be included within the scope of the appended claims.

Claims (17)

  1. 一种图像筛选方法,其特征在于,包括:An image screening method, comprising:
    获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
    分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;Extracting key features of each target object from the candidate image, performing a shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
    根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  2. 根据权利要求1所述的方法,其特征在于,所述分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果,包括:The method according to claim 1, wherein said extracting key features of each target object from said candidate images respectively, and performing quality of each of said candidate images based on said extracted key features Analysis, obtaining the result of the photographing quality analysis of the candidate image, comprising:
    针对每张所述备选图像,从该备选图像中提取各目标对象的关键特征;Extracting key features of each target object from the candidate image for each of the candidate images;
    对提取到的各所述关键特征进行质量评价识别,得到质量评价识别结果;Performing quality evaluation and identification on each of the extracted key features to obtain a quality evaluation and recognition result;
    根据所述质量评价识别结果,确定所述备选图像的拍摄质量分析结果。A result of the photographing quality analysis of the candidate image is determined based on the quality evaluation recognition result.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述质量评价识别结果,确定所述备选图像的拍摄质量分析结果,包括:The method according to claim 2, wherein the determining a result of the photographing quality analysis of the candidate image according to the quality evaluation and recognition result comprises:
    根据所述质量评价识别结果对所述备选图像进行权重加成打分,将得到的打分结果作为所述备选图像的拍摄质量分析结果。And performing weighting addition scoring on the candidate image according to the quality evaluation recognition result, and using the obtained scoring result as a shooting quality analysis result of the candidate image.
  4. 根据权利要求1所述的方法,其特征在于,所述根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像,包括:The method according to claim 1, wherein the selecting a target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images comprises:
    根据各所述备选图像的所述拍摄质量分析结果,对所述多张备选图像的拍摄质量进行排序;Sorting the shooting quality of the plurality of candidate images according to the shooting quality analysis result of each of the candidate images;
    按照拍摄质量由高到低的顺序选取预设数量的备选图像作为目标图像。A preset number of candidate images are selected as the target image in descending order of shooting quality.
  5. 根据权利要求4所述的方法,其特征在于,所述按照拍摄质量由高到低的顺序选取预设数量的备选图像作为目标图像之后,还包括:The method according to claim 4, wherein after selecting a preset number of candidate images as the target image in descending order of shooting quality, the method further comprises:
    判断选取出的至少一张所述目标图像的拍摄质量是否符合预设条件;Determining whether the selected shooting quality of the at least one target image meets a preset condition;
    若否,则生成建议用户重新拍照的提示信息。If not, generate a prompt message suggesting that the user re-photograph.
  6. 根据权利要求1所述的方法,其特征在于,所述根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像之后,还包括:The method according to claim 1, wherein the selecting the target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images further comprises:
    在检测到图像分享请求时,向用户推荐选取出的所述目标图像。When the image sharing request is detected, the selected target image is recommended to the user.
  7. 一种图像筛选方法,其特征在于,包括:An image screening method, comprising:
    获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标人脸;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
    分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;And extracting key features of each target face from the candidate images, performing shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
    根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  8. 根据权利要求7所述的方法,其特征在于,所述分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果,包括:The method according to claim 7, wherein the extracting key features of each target face from the candidate images respectively, and capturing each of the candidate images according to the extracted key features Quality analysis, obtaining the result of the photographing quality analysis of the candidate image, including:
    针对每张所述备选图像,从该备选图像中至少提取各目标人脸的眼部特征;Extracting at least an eye feature of each target face from the candidate image for each of the candidate images;
    根据提取到的各所述眼部特征,确定所述备选图像中眼部张开程度不符合预设眼部张开程度的异常数量;Determining, according to each of the extracted eye features, an abnormal number of eye opening degrees in the candidate image that does not meet a predetermined eye opening degree;
    根据所述异常数量,确定所述备选图像的拍摄质量分析结果。A photographing quality analysis result of the candidate image is determined according to the abnormal number.
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述异常数量,确定所述备选图像的拍摄质量分析结果,包括:The method according to claim 8, wherein the determining the quality of the shooting quality analysis of the candidate image according to the number of abnormalities comprises:
    根据所述异常数量,对所述备选图像的拍摄质量进行权重加成打分;Performing weighting and scoring the shooting quality of the candidate image according to the abnormal number;
    将得到的打分结果作为所述备选图像的拍摄质量分析结果。The obtained scoring result is taken as the result of the photographing quality analysis of the candidate image.
  10. 根据权利要求9所述的方法,其特征在于,所述根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像,包括:The method according to claim 9, wherein the selecting a target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images comprises:
    根据各所述备选图像的所述打分结果,将分数最高的备选图像作为目标图像。According to the scoring result of each of the candidate images, the candidate image with the highest score is taken as the target image.
  11. 根据权利要求10所述的方法,其特征在于,所述根据各所述备选图像的所述打分结果,将分数最高的备选图像作为目标图像之后,还包括:The method according to claim 10, further comprising: after the candidate image having the highest score as the target image, according to the scoring result of each of the candidate images, further comprising:
    判断所述目标图像的拍摄质量分数是否大于预设阈值;Determining whether a shooting quality score of the target image is greater than a preset threshold;
    若否,则生成建议用户重新拍照的提示信息。If not, generate a prompt message suggesting that the user re-photograph.
  12. 一种图像筛选装置,其特征在于,包括:An image screening device, comprising:
    备选图像获取模块,用于获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;An alternative image acquisition module, configured to acquire a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
    拍摄质量分析模块,用于分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;a shooting quality analysis module, configured to respectively extract key features of each target object from the candidate image, perform shooting quality analysis on each of the candidate images according to the extracted key features, to obtain the candidate image Shooting quality analysis results;
    目标图像选取模块,用于根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。And a target image selection module, configured to select a target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  13. 一种图像筛选装置,其特征在于,包括:An image screening device, comprising:
    备选图像获取模块,用于获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标人脸;An alternative image acquisition module, configured to acquire a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
    拍摄质量分析模块,用于分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;a shooting quality analysis module, configured to respectively extract key features of each target face from the candidate image, perform shooting quality analysis on each of the candidate images according to the extracted key features, to obtain the candidate Image quality analysis results;
    目标图像选取模块,用于根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。And a target image selection module, configured to select a target image from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  14. 一种图像筛选设备,其特征在于,包括:An image screening device, comprising:
    处理器;以及Processor;
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer executable instructions that, when executed, cause the processor to:
    获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
    分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;Extracting key features of each target object from the candidate image, performing a shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
    根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  15. 一种图像筛选设备,其特征在于,包括:An image screening device, comprising:
    处理器;以及Processor;
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer executable instructions that, when executed, cause the processor to:
    获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标人脸;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
    分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;And extracting key features of each target face from the candidate images, performing shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
    根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
  16. 一种存储介质,用于存储计算机可执行指令,其特征在于,所述可执行指令在被执行时实现以下流程:A storage medium for storing computer executable instructions, wherein the executable instructions, when executed, implement the following processes:
    获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标对象;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target objects;
    分别从所述备选图像中提取各目标对象的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;Extracting key features of each target object from the candidate image, performing a shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
    根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图 像。A target image is selected from the plurality of candidate images based on the photographing quality analysis result of each of the candidate images.
  17. 一种存储介质,用于存储计算机可执行指令,其特征在于,所述可执行指令在被执行时实现以下流程:A storage medium for storing computer executable instructions, wherein the executable instructions, when executed, implement the following processes:
    获取拍摄得到的多张备选图像,其中,每张所述备选图像均包括多个目标人脸;Obtaining a plurality of candidate images obtained by shooting, wherein each of the candidate images includes a plurality of target faces;
    分别从所述备选图像中提取各目标人脸的关键特征,根据提取到的所述关键特征对每张所述备选图像进行拍摄质量分析,得到所述备选图像的拍摄质量分析结果;And extracting key features of each target face from the candidate images, performing shooting quality analysis on each of the candidate images according to the extracted key features, to obtain a shooting quality analysis result of the candidate image;
    根据各所述备选图像的所述拍摄质量分析结果,从所述多张备选图像中选取目标图像。A target image is selected from the plurality of candidate images according to the shooting quality analysis result of each of the candidate images.
PCT/CN2018/123903 2018-01-09 2018-12-26 Image filtering method and apparatus WO2019137216A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810018753.3 2018-01-09
CN201810018753.3A CN108346139A (en) 2018-01-09 2018-01-09 A kind of method for screening images and device

Publications (1)

Publication Number Publication Date
WO2019137216A1 true WO2019137216A1 (en) 2019-07-18

Family

ID=62960612

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/123903 WO2019137216A1 (en) 2018-01-09 2018-12-26 Image filtering method and apparatus

Country Status (3)

Country Link
CN (1) CN108346139A (en)
TW (1) TW201931211A (en)
WO (1) WO2019137216A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108346139A (en) * 2018-01-09 2018-07-31 阿里巴巴集团控股有限公司 A kind of method for screening images and device
CN109035246B (en) * 2018-08-22 2020-08-04 浙江大华技术股份有限公司 Face image selection method and device
CN109376645B (en) * 2018-10-18 2021-03-26 深圳英飞拓科技股份有限公司 Face image data optimization method and device and terminal equipment
CN110399848A (en) * 2019-07-30 2019-11-01 北京字节跳动网络技术有限公司 Video cover generation method, device and electronic equipment
CN110598555B (en) * 2019-08-12 2023-05-12 创新先进技术有限公司 Image processing method, device and equipment
CN110659567B (en) * 2019-08-15 2023-01-10 创新先进技术有限公司 Method and device for identifying damaged part of vehicle
CN112714246A (en) * 2019-10-25 2021-04-27 Tcl集团股份有限公司 Continuous shooting photo obtaining method, intelligent terminal and storage medium
CN110849328B (en) * 2019-11-26 2022-03-18 安徽德睿智能技术有限公司 Crystalline silicon measuring device based on binocular vision
CN111212223B (en) * 2020-01-10 2021-01-22 奥比中光科技集团股份有限公司 Method, system and computer readable storage medium for setting imaging parameters
CN111696051A (en) * 2020-05-14 2020-09-22 维沃移动通信有限公司 Portrait restoration method and electronic equipment
CN112019741B (en) * 2020-08-13 2021-10-15 北京明略软件系统有限公司 Associated object determination method and device, electronic equipment and computer readable medium
CN112492216B (en) * 2020-12-14 2022-06-07 维沃移动通信有限公司 Shooting control method and shooting control device
CN115328357A (en) * 2022-08-15 2022-11-11 北京达佳互联信息技术有限公司 Captured image processing method and device, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339694A (en) * 2016-09-14 2017-01-18 北京金山安全软件有限公司 Image processing method and device and electronic equipment
CN107169148A (en) * 2017-06-21 2017-09-15 北京百度网讯科技有限公司 Image search method, device, equipment and storage medium
CN107423409A (en) * 2017-07-28 2017-12-01 维沃移动通信有限公司 A kind of image processing method, image processing apparatus and electronic equipment
CN107516105A (en) * 2017-07-20 2017-12-26 阿里巴巴集团控股有限公司 Image processing method and device
CN108346139A (en) * 2018-01-09 2018-07-31 阿里巴巴集团控股有限公司 A kind of method for screening images and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4748244B2 (en) * 2009-03-31 2011-08-17 カシオ計算機株式会社 Image selection apparatus, image selection method, and program
US8376938B2 (en) * 2009-11-20 2013-02-19 Ethicon Endo-Surgery, Inc. Discrete flexion head for single port device
US9690980B2 (en) * 2012-11-09 2017-06-27 Google Inc. Automatic curation of digital images
CN105224921B (en) * 2015-09-17 2018-08-07 桂林远望智能通信科技有限公司 A kind of facial image preferentially system and processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339694A (en) * 2016-09-14 2017-01-18 北京金山安全软件有限公司 Image processing method and device and electronic equipment
CN107169148A (en) * 2017-06-21 2017-09-15 北京百度网讯科技有限公司 Image search method, device, equipment and storage medium
CN107516105A (en) * 2017-07-20 2017-12-26 阿里巴巴集团控股有限公司 Image processing method and device
CN107423409A (en) * 2017-07-28 2017-12-01 维沃移动通信有限公司 A kind of image processing method, image processing apparatus and electronic equipment
CN108346139A (en) * 2018-01-09 2018-07-31 阿里巴巴集团控股有限公司 A kind of method for screening images and device

Also Published As

Publication number Publication date
TW201931211A (en) 2019-08-01
CN108346139A (en) 2018-07-31

Similar Documents

Publication Publication Date Title
WO2019137216A1 (en) Image filtering method and apparatus
US20190026312A1 (en) Smart camera for sharing pictures automatically
US9311530B1 (en) Summarizing a photo album in a social network system
EP3028184B1 (en) Method and system for searching images
US9626551B2 (en) Collation apparatus and method for the same, and image searching apparatus and method for the same
US10303984B2 (en) Visual search and retrieval using semantic information
US20180268205A1 (en) Picture Ranking Method, and Terminal
US20130201344A1 (en) Smart camera for taking pictures automatically
US20200074219A1 (en) User identity determining method, apparatus, and device
US20170054897A1 (en) Method of automatically focusing on region of interest by an electronic device
US9122912B1 (en) Sharing photos in a social network system
WO2021114916A1 (en) Risk detection method, apparatus and device
WO2019015645A1 (en) Imaging processing method and device
JP2015141530A (en) information processing apparatus, score calculation method, program, and system
JP2016057901A (en) Image processing device, image processing method, program, and recording medium
US11295416B2 (en) Method for picture processing, computer-readable storage medium, and electronic device
US9621505B1 (en) Providing images with notifications
US11429660B2 (en) Photo processing method, device and computer equipment
US10832369B2 (en) Method and apparatus for determining the capture mode following capture of the content
WO2014186392A2 (en) Summarizing a photo album
US10148884B2 (en) Facilitating capturing a digital image
JPWO2022079841A5 (en) Group identification device, group identification method, and program
CN117726891A (en) Model training method, device, electronic equipment and readable storage medium
CN109255045A (en) Picture sharing method and device, electronic equipment

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: 18899350

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: 18899350

Country of ref document: EP

Kind code of ref document: A1