WO2021047453A1 - Image quality determination method, apparatus and device - Google Patents

Image quality determination method, apparatus and device Download PDF

Info

Publication number
WO2021047453A1
WO2021047453A1 PCT/CN2020/113559 CN2020113559W WO2021047453A1 WO 2021047453 A1 WO2021047453 A1 WO 2021047453A1 CN 2020113559 W CN2020113559 W CN 2020113559W WO 2021047453 A1 WO2021047453 A1 WO 2021047453A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
image quality
model
feature
images
Prior art date
Application number
PCT/CN2020/113559
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 WO2021047453A1 publication Critical patent/WO2021047453A1/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]

Definitions

  • the present disclosure relates to the field of image processing technology, and in particular to a method, device and equipment for determining image quality.
  • Surveillance equipment will produce a large number of images with different postures, occlusions, illuminations, sizes, etc. Some of them have good image quality and some have poor image quality.
  • these images such as target recognition
  • Using images with high imaging quality for recognition, a smaller number of images will produce a higher matching rate, greatly alleviating the hardware resource occupation, thereby improving the target recognition rate. Therefore, it is necessary to filter images based on image quality.
  • the direct learning mechanism is adopted.
  • the imaging quality of all images in the training image set is manually evaluated and scored according to the recognition requirements, and the quality scores of all images in the training image set are obtained. Images and image quality scores train a model for calculating image quality scores.
  • the quality of the images in the training image set is determined by manual scoring, and the quality index is not easy to quantify. Because the evaluator is sensitive to different attributes of the image, the scoring result is easily and also affected by the subjective feelings of the evaluator, so the quality of the image in the training image set The scoring is extremely noisy, resulting in low accuracy in the determination of image quality.
  • the present disclosure provides an image quality determination method, device, and equipment to avoid subjective influence when determining the image quality, and improve the accuracy of the determination result of the image quality.
  • the first aspect of the present disclosure provides an image quality determination method, including: obtaining an image to be detected; inputting the image to be detected into a trained image quality model to obtain image quality parameters of the image to be detected; wherein, the The image quality model is obtained by training based on images in a first predetermined image set.
  • the images in the first predetermined image set include respective captured images and standard images of multiple target objects, and the image quality of the standard images satisfies the set Claim.
  • the image quality model is trained in the following manner: the captured image and the standard image of any target object in the first predetermined image set are input into the trained image feature model to determine the image feature
  • the model extracts the first feature from the input captured image, and extracts the second feature from the standard image and outputs the first feature and the second feature; the input is determined based on the first feature and the second feature output by the image feature model
  • the image quality parameters of the captured images is trained by using each captured image and the image quality parameters of the captured images.
  • the image feature model is obtained by training based on images in a second predetermined image set, and the images in the second predetermined image set include respective captured images and standard images of multiple target objects;
  • the image feature model is trained in the following manner: establishing a first initial model and a second initial model; inputting a captured image of any target object in a second predetermined image set into the first initial model, so that the first The initial model extracts image features from the input captured image and outputs it to the second initial model.
  • the second initial model predicts the label information of the target object based on the input image features; the prediction based on the output of the second initial model
  • the label information and the standard label information of the target object optimize the first initial model; check whether the set first training end condition is currently met, and if so, determine that the currently optimized first initial model is the image feature model.
  • determining the image quality parameter of the input captured image based on the first feature and the second feature output by the image feature model includes: calculating the similarity between the first feature and the second feature ; Use the similarity to determine the image quality parameters of the captured image.
  • the determining the image quality parameter of the captured image by using the similarity includes: determining the similarity as the image quality parameter of the captured image; or, from a preset similarity interval A target similarity interval containing the similarity is determined from the correspondence with the image quality parameter, and the image quality parameter corresponding to the target similarity interval is determined as the image quality parameter of the captured image.
  • the image quality model is trained in the following manner: establishing a third initial model; inputting any captured image in the first predetermined image set to the third initial model, so that all The third initial model predicts and outputs image quality parameters based on the input captured images; optimizes the third initial model based on the image quality parameters output by the third initial model and the image quality parameters of the input captured images; If the second training end condition is set, it is determined that the currently optimized third initial model is the image quality model.
  • a second aspect of the present disclosure provides an image quality determination device, which includes: a to-be-detected image acquisition module for acquiring the to-be-detected image; an image quality determination module for inputting the to-be-detected image into a trained image quality model, Obtain the image quality parameters of the image to be detected; wherein, the image quality model is obtained by training based on images in a first predetermined image set, and the images in the first predetermined image set include respective snapshots of multiple target objects An image and a standard image, and the image quality of the standard image meets the set requirements.
  • the image quality model is trained by the following modules: a feature extraction module for inputting captured images and standard images of any target object in the first predetermined image set into the trained image features
  • the image feature model is used to extract the first feature from the input captured image and the second feature from the standard image to output the first feature and the second feature
  • the captured image quality determination module is used to determine the quality of the captured image based on the image.
  • the first feature and the second feature output by the feature model determine the image quality parameters of the input captured image
  • the image quality model training module is used to train the image quality model by using each captured image and the image quality parameters of the captured image.
  • the image feature model is obtained by training based on images in a second predetermined image set, and the images in the second predetermined image set include respective captured images and standard images of multiple target objects;
  • the image feature model is trained through the following modules: a model building module, used to establish a first initial model and a second initial model; a label information prediction module, used to input a captured image of any target object in the second predetermined image set to The first initial model, so that the first initial model extracts image features from the input captured image and outputs the image features to the second initial model, and the second initial model predicts the target object based on the input image features Label information; a model optimization module for optimizing the first initial model based on the predicted label information output by the second initial model and standard label information of the target object; a model determination module for checking whether the current set is satisfied If the first training end condition is yes, it is determined that the currently optimized first initial model is the image feature model.
  • the captured image quality determination module determines the image quality parameters of the input captured image based on the first feature and the second feature output by the image feature model, it is specifically used to: The similarity between the feature and the second feature; the similarity is used to determine the image quality parameter of the captured image.
  • the captured image quality determination module uses similarity to determine the image quality parameter of the captured image, it is specifically configured to: determine the similarity as the image quality parameter of the captured image; or Determine the target similarity interval containing the similarity from the correspondence between the preset similarity interval and the image quality parameter, and determine the image quality parameter corresponding to the target similarity interval as the image quality of the captured image parameter.
  • the image quality model training module trains the image quality model in the following manner: establish a third initial model; input any captured image in the first predetermined image set to the third initial Model, so that the third initial model predicts and outputs image quality parameters based on the input captured images; optimizes the third initial model based on the image quality parameters output by the third initial model and the input captured images ; Check whether the set second training end condition is currently met, and if so, determine that the currently optimized third initial model is the image quality model.
  • a third aspect of the present disclosure provides an electronic device, including a processor and a machine-readable storage medium; the storage medium stores a program that can be called by the processor; wherein, when the processor executes the program, it is prompted to: The image to be detected; input the image to be detected into the trained image quality model to obtain the image quality parameters of the image to be detected; wherein the image quality model is obtained by training based on images in the first predetermined image set
  • the images in the first predetermined image set include respective captured images and standard images of multiple target objects, and the image quality of the standard images meets a set requirement.
  • a fourth aspect of the present disclosure provides a machine-readable storage medium having machine-executable instructions stored thereon.
  • the processor is prompted to: acquire an image to be detected;
  • the image is input to the trained image quality model to obtain the image quality parameters of the image to be detected; wherein, the image quality model is obtained by training based on the images in the first predetermined image set, in the first predetermined image set
  • the image includes the captured images and standard images of multiple target objects, and the image quality of the standard images meets the set requirements.
  • an image quality model can be trained based on the captured images and standard images of each target object in the image collection, and the image to be tested can be input to the image quality model, and the image quality parameters of the image to be tested can be obtained.
  • FIG. 1 is a schematic flowchart of an image quality determination method according to an embodiment of the present disclosure.
  • Fig. 2 is a structural block diagram of an image quality determining apparatus according to an embodiment of the present disclosure.
  • FIG. 3 is a schematic flowchart of training an image quality model according to an embodiment of the present disclosure.
  • Fig. 4 is a schematic flowchart of training an image feature model according to an embodiment of the present disclosure.
  • Fig. 5 is a structural block diagram of an electronic device according to an embodiment of the present disclosure.
  • first, second, third, etc. may be used in this disclosure to describe various devices, the information should not be limited to these terms. These terms are only used to distinguish devices of the same type from each other.
  • the first device may also be referred to as the second device, and similarly, the second device may also be referred to as the first device.
  • the word "if” as used herein can be interpreted as "when” or “when” or "in response to determination”.
  • Neural network A technology abstracted by imitating the structure of the brain. This technology connects a large number of simple functions in a complex manner to form a network system that can fit extremely complex functional relationships, generally including convolution/inverse Convolution operations, activation operations, pooling operations, and operations such as addition, subtraction, multiplication, and division, channel merging, and element rearrangement. Use specific data to train the network and adjust the connections in it, so that the neural network can learn to fit the mapping relationship between input and output.
  • image quality refers to the imaging quality of the target object in the image.
  • the factors that affect the image quality include the posture, occlusion, size, illumination, blurriness, etc. of the target object in the image. The higher the imaging quality, the more beneficial it is. Confirm the identity of the target.
  • the target object can refer to a human face, a vehicle, a pedestrian, a license plate, and so on.
  • Attitude Different target objects can use different posture information to express posture, for example, the face can express the posture by yaw angle, pitch angle and rotation angle, and pedestrian, vehicle, license plate can use the deflection angle and perspective information to express posture, etc.;
  • Occlusion Generally divided into fixed occlusion and non-fixed occlusion.
  • the fixed occlusion of the face involves the occlusion of personal objects such as hats, sunglasses, and masks
  • the non-fixed occlusion involves the occlusion of hands, other people or objects;
  • Size the size of the target object.
  • a human face is generally measured by the distance between the pupils of the eyes, a pedestrian is measured by the height, a vehicle is measured by the distance between the left and right rearview mirrors, and the license plate can be measured by the height of the character;
  • Appearance brightness of the target object is suitable and uniform, and there is no overexposure, too dark, unevenness, etc. that cause the details and textures to be unclear;
  • Fuzziness The key texture edges of the target object are required to be clear, for example, the face requires clear edges of the facial features; pedestrians require clear edges on the limbs, and clear textures of clothing and carry-on items; vehicles require license plate characters, body, lights, and windows The edges are sharp.
  • the evaluator In the direct learning mechanism, the evaluator usually needs to measure these image quality indicators, such as whether to choose "occluded front face” or “complete partial face”, or “slightly blurred front face” or clear partial face”.
  • the indicators are not easy to quantify from a subjective point of view, and it is difficult to score accurately.
  • the embodiments of the present disclosure can avoid subjective influence when determining the image quality, and improve the accuracy of the determination result of the image quality.
  • an image quality determination method may include the following steps:
  • A100 Obtain the image to be detected
  • A200 Input the image to be detected into the trained image quality model to obtain the image quality parameters of the image to be detected;
  • the image quality model is obtained by training based on images in a first predetermined image set, and the images in the first predetermined image set include respective captured images and standard images of multiple target objects, and the image quality of the standard image Meet the set requirements.
  • the execution subject of the image quality determination method is the electronic device, more specifically the processor of the electronic device.
  • the electronic device may be a device with imaging function such as a camera, or a device capable of image processing, such as a computer, and the specific type is not limited, as long as it has data processing capabilities.
  • the image quality determination method of the embodiments of the present disclosure can be applied to multiple application scenarios, such as access control systems, bayonet systems, electronic passport systems, public security systems, transportation systems, bank self-service systems, information security systems, etc., which require target recognition. Scene.
  • access control systems bayonet systems
  • electronic passport systems public security systems
  • transportation systems bank self-service systems
  • information security systems etc.
  • Scene the specific scene is not limited, as long as the image quality needs to be determined.
  • step A100 an image to be detected is acquired.
  • the image to be detected is the image whose image quality needs to be determined.
  • the image to be detected may be an image collected from a surveillance scene, and the surveillance scene may be a scene that requires target recognition. In the surveillance scene, the camera continuously collects images. Therefore, generally, multiple images of the same target object can be obtained to obtain an image sequence, and each image in the image sequence can be used as the image to be detected.
  • the image to be detected can be an image collected in real time from video surveillance, or an image obtained through background retrieval.
  • step A200 the image to be detected is input to the trained image quality model to obtain the image quality parameters of the image to be detected.
  • the image quality model can be pre-trained and stored locally in the electronic device or in an external device, and recalled when needed. After the image quality model is trained, the image quality model can be used to determine the image quality parameters of the target image.
  • the target image is input to the trained image quality model, and the image quality parameter of the target image is calculated and output from the image quality model.
  • the image quality parameter is used as the result of determining the image quality and can characterize the image quality of the target image.
  • the image quality parameter can be represented by a single value, or can be represented by a vector containing multiple values, and the embodiment of the present application does not limit the specific expression form of the image quality parameter.
  • N target images with the best image quality parameters can be selected from all target images, and the value of N Can be greater than or equal to 1.
  • the selected target image is the image with the highest imaging quality, which can be used to identify the target object in subsequent processing, which can avoid the unstable recognition result due to the interference of a large number of low-quality images, and can also avoid occupying too much hardware resources.
  • the image quality model is trained based on the captured images and standard images of each target object in the image collection.
  • the image collection contains the captured images and standard images of multiple target objects.
  • the captured image and standard image of a target object correspond to each other and both contain the target object.
  • the image quality may be different, such as the posture, occlusion, etc. of the target object. Conditions such as size, lighting and/or blurriness may vary.
  • the image quality of the standard image meets the set requirements.
  • the setting requirements can be determined according to needs.
  • a standard image is an image that meets the corresponding quality indicators in terms of attitude, occlusion, size, illumination, and blur; another example, the definition of the standard image reaches the set definition.
  • the standard image may be, for example, a document image of the target object.
  • the document image is the face image used on ID cards, visas, etc., and is usually collected in a fixed mode (for example, under a single background color);
  • the target object is a license plate
  • the document image It is the license plate image used on the license and other documents;
  • the license image is the image of the vehicle used on the license and other documents.
  • the standard image may be an image with the highest definition selected from the image library of the target object.
  • the image library saves multiple images of the target object collected in the surveillance scene.
  • the image with the highest definition can be selected according to a certain selection method as the standard image, or it can be manually selected.
  • the source of the standard image is not limited to the above method, and it can also be generated in other ways, such as generated based on a standard template according to a certain standard.
  • the captured image may be an image containing the target object captured in the surveillance scene.
  • the captured image has uncertainty in the pose, occlusion, size, illumination, and blur degree of the target object.
  • each target object there can be multiple captured images for each target object, and the specific number is not limited. Appropriate and rich captured images can be prepared for each target object.
  • the “rich” here means that the different postures, illumination, scale, clarity and other factors of the target object should be taken into consideration.
  • all the captured images can cover the various degrees of each influencing factor. Taking the light influencing factor as an example, there are five levels of captured images of underexposed, dim, appropriate, bright, and overexposed. Only when the captured image covers enough rich imaging material can the stability of the image quality model for subsequent training be ensured.
  • the quality of the captured image of the target object can be determined, so that the image quality parameters of each captured image of the target object can be determined. Furthermore, the captured image and the image quality parameters of the captured image can be used to train the image quality model.
  • an image quality model can be trained based on the captured images and standard images of each target object in the image collection, and the target image to be measured is input to the image quality model, and the image quality parameters of the target image can be obtained.
  • the above method flow can be executed by the image quality determining apparatus 100.
  • the image quality determining apparatus 100 mainly includes two modules: a target image acquisition module 101 and an image quality determination module 102.
  • the target image acquisition module 101 is used to perform the above step A100
  • the image quality determination module 102 is used to perform the above step A200.
  • the image quality model is trained in the following manner:
  • S100 Input the captured image and standard image of any target object in the first predetermined image set to the trained image feature model, so that the image feature model extracts the first feature and the second feature from the input captured image and standard image. Feature and output; the image quality of the standard image meets the set requirements;
  • S200 Determine image quality parameters of the input captured image based on the first feature and the second feature output by the image feature model
  • S300 Use each captured image and the image quality parameters of the captured image to train the image quality model.
  • step S100 the captured image and standard image of any target object in the first predetermined image set are input to the trained image feature model, so that the image feature model extracts the first feature and the standard image from the input captured image and standard image respectively.
  • the second feature is output; the image quality of the standard image meets the set requirements.
  • the image feature model is a pre-trained model, which can be stored in an electronic device or in an external device, and can be called when step S100 is executed.
  • the image feature model can be used to extract features from the image and output the corresponding features.
  • the features here can be represented by data in formats such as feature vectors.
  • the captured images of each target object can be used as a training sample set, and the global information of the target object in the captured image, or the local information of the target object, or both, can be used for training.
  • How to train the image feature model is not a limitation. Of course, other images can also be used to train the image feature model, as long as the image feature model for feature extraction can be trained.
  • the captured image and standard image of each target object in the first predetermined image set can be input into the image feature model, and the input captured image can be extracted by the image feature model to obtain the first feature, and the input standard image can be characterized
  • the second feature is extracted.
  • step S200 the image quality parameter of the input captured image is determined based on the first feature and the second feature output by the image feature model.
  • the first feature output by the image feature model is the first feature of the input captured image
  • the second feature is the second feature of the standard image containing the target object corresponding to the input captured image.
  • the first feature can reflect the imaging condition of the target object in the captured image
  • the second feature can reflect the imaging condition of the target object in the standard image
  • the standard image is an image whose image quality meets the set requirements, it is regarded as a high-quality standard.
  • the image quality parameter can characterize the image quality of the captured image. For example, the higher the image quality parameter, the higher the image quality of the captured image.
  • step S300 the image quality model is trained by using each captured image and the image quality parameters of the captured image.
  • the specific training method is not limited, as long as the image quality model for determining the image quality can be trained by using each captured image and the image quality parameters of the captured image.
  • the image feature model is trained in the following ways, including:
  • T100 Establish the first initial model and the second initial model
  • T200 Input a captured image of any target object in the second predetermined image set to the first initial model, so that the first initial model extracts image features from the input captured image and outputs it to the second initial model Model, the second initial model predicts the label information of the target object based on the input image features;
  • T300 Optimize the first initial model based on the predicted label information output by the second initial model and the standard label information of the target object;
  • T400 Check whether the set first training end condition is currently met, and if so, determine that the currently optimized first initial model is the image feature model.
  • step T100 a first initial model and a second initial model are established.
  • the first initial model and the second initial model can be cascaded together to form an end-to-end whole for joint training.
  • the first initial model and the second initial model can be constructed using a CNN model, and the specific layer structure is not limited.
  • the first initial model can be a feature extractor, and the second initial model can be a classifier.
  • the second initial model can be determined according to the task.
  • the second initial model in a target classification task, can be a classifier; in a character recognition task, the second initial model can be a decoder.
  • step T200 the captured image of any target object in the second predetermined image set is input to the first initial model, so that the first initial model extracts image features from the input captured image and outputs the captured image to the first initial model.
  • Two initial models, the second initial model predicts label information based on the input image features.
  • the label information represents the prediction result of the target object, and can be numbers, characters, pictures, etc., and this embodiment does not limit the expression form of the label information.
  • the second predetermined image set is similar to the first predetermined image set, and includes respective captured images and standard images of multiple target objects.
  • the first predetermined image set used to train the image quality model and the second predetermined image set used to train the image feature model may be the same or different.
  • the first initial model is responsible for extracting image features from captured images
  • the second initial model is responsible for predicting label information based on image features. Through the cooperation of the first initial model and the second initial model, the prediction of the label information of each captured image in the image set is completed .
  • the prediction results may also change. Training is to change the model parameters to make the prediction results more accurate and closer to the required results.
  • step T300 the first initial model is optimized based on the predicted label information output by the second initial model and the standard label information of the target object.
  • the standard label information of each target object can be calibrated in advance.
  • the second initial model outputs a label information
  • the output label information is combined with the acquired target object (input target object in the captured image of the first initial model).
  • the standard label information of) is compared, and the first initial model is optimized according to the comparison result, so as to reduce the difference between the subsequent predicted label information and the standard label information.
  • the second initial model can also be optimized.
  • the predicted label information will gradually approach the standard label information of the target object in the input captured image.
  • the cascaded first initial model and second initial model learn the mapping relationship between the captured images of each target object and the predicted label information of the target object.
  • the standard label information may be a standard image.
  • the first initial model extracts image features from the input captured image, and the second initial model calculates a predicted label based on the extracted image features; compares the predicted label with the standard image of the target object in the input captured image, and optimizes the first image based on the comparison result.
  • An initial model and a second initial model to reduce the difference between the subsequent prediction results and the standard image.
  • the standard label information may also be label information representing the category of the target object, which is called "standard category label information".
  • a label can correspond to a category in the classification task.
  • the label in the task of face recognition, the label can represent a specific person (person A, person B, person C, etc.); for example, in vehicle brand recognition, the label represents the manufacturer and its brand (Toyota Camry, Volkswagen, etc.) Passat, BYD Tang, etc.).
  • the first initial model extracts image features from the input captured image, and the second initial model calculates the label information representing the predicted category based on the extracted image features, which is called "predicted category label information"; compare the predicted category label information with the input According to the standard category label information of the target object in the captured image, the first initial model and the second initial model are optimized according to the comparison result to reduce the difference between the predicted category label information and the standard category label information of subsequent predictions.
  • step T400 it is checked whether the set first training end condition is currently met, and if so, it is determined that the currently optimized first initial model is the image feature model.
  • the first training end conditions can be multiple, for example, the number of training times can reach a specified number; or, the performance of the first initial model and the second initial model reach the set index; or, there is no image set that has not been input to the first A snapshot of the initial model, etc.
  • the training end condition When the first training end condition is currently met, it is determined that the currently optimized first initial model is the image feature model, and the second initial model may no longer be used, otherwise, the training may continue.
  • the first training end condition is not currently met, continue the operation of selecting a captured image of the target object that is not input to the first initial model from the image set and inputting it to the first initial model.
  • the required image feature model is obtained.
  • the specific training method is not limited to this.
  • the image feature model is trained by using the captured images of each target object, so that the image feature model can extract the first feature of each captured image more accurately than models trained on other images. And, if the image quality parameters of the captured images of the target objects are needed for training the image quality model, the captured images of the corresponding target objects can be used to train the image feature model, which is not limited by the scene and object type, and guarantees the quality of the trained images The stability and generalization ability of the model in various complex scenarios.
  • step S200 determining the image quality parameter of the input captured image based on the first feature and the second feature output by the image feature model includes:
  • S202 Determine the image quality parameter of the captured image by using the similarity.
  • any one of the SIFT algorithm, the SURF algorithm, the histogram matching algorithm, the mean hash algorithm, the Euclidean distance algorithm, and the cosine distance algorithm may be used to calculate the similarity between the first feature and the second feature.
  • the first feature and the second feature are expressed in vector form, and the cosine value of the vector angle between the first feature and the second feature can be calculated, and the calculated cosine value is used as the first feature Similarity with the second feature.
  • the similarity between the captured image and the standard image of the target object in the captured image can be determined.
  • the higher the similarity the higher the similarity between the captured image and the standard image. The more similar the images are, the less similar they are on the contrary. Therefore, taking the standard image as the high quality standard, the image quality parameters of the captured image can be determined according to the similarity, and the specific determination method is not limited.
  • step S202 the determining the image quality parameter of the captured image by using the similarity includes: determining the similarity as the image quality parameter of the captured image.
  • the calculated similarity between the first feature and the second feature can be directly used as the image quality parameter of the captured image.
  • the target similarity interval containing the similarity is determined from the corresponding relationship between the preset similarity interval and the image quality parameter, and the image quality parameter corresponding to the target similarity interval is determined as the image of the captured image Quality parameters.
  • the similarity value range covering all possible similarity values can be divided into several similarity intervals in advance, and different similarity intervals correspond to different image quality parameters.
  • the corresponding relationship between the preset similarity interval and the image quality parameter can be recorded in the electronic device, for example, can be saved in the form of a table.
  • the target similarity interval in which the similarity is located can be determined from the corresponding relationship between the preset similarity interval and the image quality parameter, and the image quality parameter corresponding to the target similarity interval is determined It is the image quality parameter of the captured image.
  • the similarity value range is 0-100, and the range is divided into three similarity intervals 0-30, 31-60, 61-100, and the corresponding image quality parameters are numerical values representing low, medium, and high, respectively.
  • the specific value is not limited.
  • the value range and the division granularity here are all examples, and are not specifically limited to this.
  • the division granularity can be finer.
  • the similarity is classified into one file each time, and the image quality parameters of the normalized file are used as the image quality parameters of the captured image.
  • the output of the image quality model also includes These blocks of image quality parameters reduce the data processing complexity of the image quality model.
  • the quantification of image quality parameters is realized by using the similarity between the first feature and the second feature, which is simpler than manual scoring and does not involve subjective factors.
  • step S300 the image quality model is trained by using each captured image and the image quality parameters of the captured image, including:
  • S302 Input any captured image in the first predetermined image set to the third initial model, so that the third initial model predicts and outputs image quality parameters based on the input captured image;
  • S304 Check whether the set second training end condition is currently met, and if so, determine that the currently optimized third initial model is the image quality model.
  • the third initial model is a predictor, which can be composed of any model that can implement regression tasks, such as logistic regression model, tree model, neural network model, etc., and the specifics are not limited.
  • step S302 any captured image in the first predetermined image set is input to the third initial model, so that the third initial model predicts and outputs image quality parameters based on the input captured image.
  • the third initial model is responsible for predicting the image quality parameters of the captured image.
  • the model parameters of the third initial model change, and the prediction results may also change. Training is to change the model parameters to make the prediction results more accurate and closer to the required results.
  • step S303 the third initial model is optimized based on the image quality parameters output by the third initial model and the image quality parameters of the captured image input.
  • the output image quality parameter is compared with the image quality parameter of the input captured image.
  • the image quality parameter of the captured image input used for comparison refers to the known actual image quality parameter of the captured image.
  • the third initial model is optimized according to the comparison result to reduce the difference between the subsequently predicted image quality parameter and the image quality parameter of the captured image.
  • the third initial model is continuously optimized and the model parameters are changed, the predicted image quality parameters will gradually approach the image quality parameters of the input captured image.
  • the third initial model learns the mapping relationship between each captured image and the image quality parameter of the captured image.
  • step S304 it is checked whether the set second training end condition is currently met, and if so, it is determined that the currently optimized third initial model is the image quality model.
  • the second training end conditions can be multiple, for example, it can be that the number of training times reaches the specified number; or, the performance of the third initial model reaches the set index; or, there are no captured images in the image set that have not been input to the third initial model ,and many more.
  • the currently optimized third initial model is the image quality model; otherwise, training can be continued.
  • the second training end condition is not currently met, continue the operation of selecting a captured image from the image set that has not been input to the third initial model and inputting it to the third initial model.
  • the required image quality model can be obtained.
  • the specific training method is not limited to this.
  • the image quality determination device 100 includes: a to-be-detected image acquisition module 101 for acquiring a to-be-detected image; an image quality determination module 102 for combining the to-be-detected image Input to the trained image quality model to obtain the image quality parameters of the image to be detected; wherein, the image quality model is obtained by training according to the images in the first predetermined image set, and the image quality parameters in the first predetermined image set
  • the image includes respective captured images and standard images of multiple target objects, and the image quality of the standard images meets the set requirements.
  • the image quality model is trained by the following modules: a feature extraction module, which is used to input the captured image and standard image of any target object in the first predetermined image set into the trained image feature model for The image feature model extracts the first feature from the input captured image and the second feature from the standard image and outputs the first feature and the second feature; the captured image quality determination module is used for the output based on the image feature model The first feature and the second feature determine the image quality parameters of the input captured image; the image quality model training module is used to train the image quality model by using each captured image and the image quality parameters of the captured image.
  • the image feature model is obtained by training based on images in a second predetermined image set, and the images in the second predetermined image set include respective captured images and standard images of multiple target objects;
  • the image feature model is trained through the following modules: a model building module, used to establish a first initial model and a second initial model; a label information prediction module, used to input a captured image of any target object in the second predetermined image set to the A first initial model, so that the first initial model extracts image features from the input captured image and outputs to the second initial model, and the second initial model predicts the label information of the target object based on the input image features
  • Model optimization module used to optimize the first initial model based on the predicted label information output by the second initial model and standard label information of the target object; model determination module, used to check whether the current set first Training end condition, if yes, it is determined that the currently optimized first initial model is the image feature model.
  • the captured image quality determination module determines the image quality parameters of the input captured image based on the first feature and the second feature output by the image feature model, it is specifically used to: calculate the first feature and the second feature. The similarity between the second features; the similarity is used to determine the image quality parameter of the captured image.
  • the captured image quality determination module uses similarity to determine the image quality parameter of the captured image, it is specifically configured to: determine the similarity as the image quality parameter of the captured image; or, from A target similarity interval containing the similarity is determined from the correspondence between the preset similarity interval and the image quality parameter, and the image quality parameter corresponding to the target similarity interval is determined as the image quality parameter of the captured image.
  • the image quality model training module trains the image quality model in the following manner: establish a third initial model; input any captured image in the first predetermined image set to the third initial model, so that the The third initial model predicts and outputs image quality parameters based on the input captured image; optimizes the third initial model based on the image quality parameters output by the third initial model and the image quality parameters of the input captured image; If the second training end condition is determined, it is determined that the currently optimized third initial model is the image quality model.
  • the relevant part can refer to the part of the description of the method embodiment.
  • the device embodiments described above are merely illustrative, where the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units.
  • the present disclosure also provides an electronic device, including a processor and a machine-readable storage medium; the machine-readable storage medium stores a program that can be called by the processor; wherein, when the processor executes the program, the following The image quality determination method described in the foregoing embodiment.
  • FIG. 5 is a hardware structure diagram of an electronic device where the image quality determining apparatus 100 is shown according to an exemplary embodiment of the present disclosure, except for the processor 510,
  • the electronic device in which the apparatus 100 is located in the embodiment generally may include other hardware according to the actual function of the electronic device, which will not be repeated.
  • the present disclosure also provides a machine-readable storage medium with a program stored thereon, and when the program is executed by a processor, the method for determining image quality as described in any one of the foregoing embodiments is implemented.
  • the present disclosure may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program codes.
  • Machine-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • machine-readable 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, CD-ROM, digital versatile disc (DVD) or other optical storage , Magnetic cassette tape, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by computing devices.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read-only Memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory or other memory technology
  • CD-ROM compact disc
  • DVD digital versatile disc
  • Magnetic cassette tape magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by computing devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

Provided are an image quality determination method, apparatus and device. The method comprises: acquiring a target image to be measured; and inputting the target image into a trained image quality model to obtain image quality parameters of the target image, wherein the image quality model is obtained through training according to a captured image and a standard image of each target object in an image set, and the image quality of the standard image meets a set requirement. Subjective influence on determination of image quality is avoided, and the accuracy of an image quality determination result is improved.

Description

图像质量确定方法、装置及设备Image quality determination method, device and equipment 技术领域Technical field
本公开涉及图像处理技术领域,尤其涉及一种图像质量确定方法、装置及设备。The present disclosure relates to the field of image processing technology, and in particular to a method, device and equipment for determining image quality.
背景技术Background technique
监控设备会产生大量的姿态、遮挡、光照、尺寸等方面各异的图像,其中有些图像质量好有些图像质量差。在应用这些图像的场合中,比如目标识别的场合中,如果使用大量较差质量的图像,不仅加重了传输和计算等硬件资源负担,而且容易产生误导人眼或智能算法识别的情况;而如果用成像质量很高的图像进行识别,较少数量的图像就会产生较高的匹配率,大大缓解硬件资源占用,从而提高目标识别率。因此,有必要根据图像质量对图像进行筛选。Surveillance equipment will produce a large number of images with different postures, occlusions, illuminations, sizes, etc. Some of them have good image quality and some have poor image quality. In the application of these images, such as target recognition, if a large number of poor quality images are used, it will not only increase the burden of hardware resources such as transmission and calculation, but also easily lead to misleading human eyes or intelligent algorithm recognition; Using images with high imaging quality for recognition, a smaller number of images will produce a higher matching rate, greatly alleviating the hardware resource occupation, thereby improving the target recognition rate. Therefore, it is necessary to filter images based on image quality.
现有的图像质量确定方式中,采用直接学习机制,由人工对训练图像集中所有图像的成像质量按照识别需求进行整体评价打分,得到训练图像集内所有图像的质量评分,再利用训练图像集中的图像及图像的质量评分训练出用于计算图像质量评分的模型。In the existing image quality determination method, the direct learning mechanism is adopted. The imaging quality of all images in the training image set is manually evaluated and scored according to the recognition requirements, and the quality scores of all images in the training image set are obtained. Images and image quality scores train a model for calculating image quality scores.
上述方式中,训练图像集中图像的质量由人工打分确定,质量指标不易量化,由于评价者对图像不同属性的敏感程度不同,打分结果易也受评价者主观感受影响,所以训练图像集中图像的质量评分有极大的噪声,导致图像质量的确定结果准确度不高。In the above method, the quality of the images in the training image set is determined by manual scoring, and the quality index is not easy to quantify. Because the evaluator is sensitive to different attributes of the image, the scoring result is easily and also affected by the subjective feelings of the evaluator, so the quality of the image in the training image set The scoring is extremely noisy, resulting in low accuracy in the determination of image quality.
发明内容Summary of the invention
有鉴于此,本公开提供一种图像质量确定方法、装置及设备,避免在确定图像质量时受主观影响,提升图像质量的确定结果准确度。In view of this, the present disclosure provides an image quality determination method, device, and equipment to avoid subjective influence when determining the image quality, and improve the accuracy of the determination result of the image quality.
本公开第一方面提供一种图像质量确定方法,包括:获取待检测图像;将所述待检测图像输入至已训练的图像质量模型,得到所述待检测图像的图像质量参数;其中,所述图像质量模型是依据第一预定图像集合中的图像训练得到的,所述第一预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像,所述标准图像的图像质量满足设定要求。The first aspect of the present disclosure provides an image quality determination method, including: obtaining an image to be detected; inputting the image to be detected into a trained image quality model to obtain image quality parameters of the image to be detected; wherein, the The image quality model is obtained by training based on images in a first predetermined image set. The images in the first predetermined image set include respective captured images and standard images of multiple target objects, and the image quality of the standard images satisfies the set Claim.
根据本公开的一个实施例,所述图像质量模型通过以下方式训练:将所述第一预定图像集合中任一目标对象的抓拍图像和标准图像输入至已训练的图像特征模型,以由图 像特征模型分别从输入的抓拍图像中提取第一特征、以及从标准图像中提取第二特征并输出第一特征和第二特征;;基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数;利用各个抓拍图像和抓拍图像的图像质量参数训练出所述图像质量模型。According to an embodiment of the present disclosure, the image quality model is trained in the following manner: the captured image and the standard image of any target object in the first predetermined image set are input into the trained image feature model to determine the image feature The model extracts the first feature from the input captured image, and extracts the second feature from the standard image and outputs the first feature and the second feature; the input is determined based on the first feature and the second feature output by the image feature model The image quality parameters of the captured images; the image quality model is trained by using each captured image and the image quality parameters of the captured images.
根据本公开的一个实施例,所述图像特征模型是依据第二预定图像集合中的图像训练得到的,所述第二预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像;所述图像特征模型通过以下方式训练:建立第一初始模型和第二初始模型;将第二预定图像集合中任一目标对象的抓拍图像输入至所述第一初始模型,以使所述第一初始模型从输入的抓拍图像中提取图像特征并输出至所述第二初始模型,所述第二初始模型基于输入的图像特征预测该目标对象的标签信息;基于所述第二初始模型输出的预测标签信息与该目标对象的标准标签信息优化所述第一初始模型;检查当前是否满足设定的第一训练结束条件,如果是,确定当前优化后的第一初始模型为所述图像特征模型。According to an embodiment of the present disclosure, the image feature model is obtained by training based on images in a second predetermined image set, and the images in the second predetermined image set include respective captured images and standard images of multiple target objects; The image feature model is trained in the following manner: establishing a first initial model and a second initial model; inputting a captured image of any target object in a second predetermined image set into the first initial model, so that the first The initial model extracts image features from the input captured image and outputs it to the second initial model. The second initial model predicts the label information of the target object based on the input image features; the prediction based on the output of the second initial model The label information and the standard label information of the target object optimize the first initial model; check whether the set first training end condition is currently met, and if so, determine that the currently optimized first initial model is the image feature model.
根据本公开的一个实施例,基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数,包括:计算所述第一特征与第二特征之间的相似度;利用所述相似度确定所述抓拍图像的图像质量参数。According to an embodiment of the present disclosure, determining the image quality parameter of the input captured image based on the first feature and the second feature output by the image feature model includes: calculating the similarity between the first feature and the second feature ; Use the similarity to determine the image quality parameters of the captured image.
根据本公开的一个实施例,所述利用相似度确定所述抓拍图像的图像质量参数,包括:将所述相似度确定为所述抓拍图像的图像质量参数;或者,从预设的相似度区间与图像质量参数的对应关系中确定出包含所述相似度的目标相似度区间,将所述目标相似度区间对应的图像质量参数确定为所述抓拍图像的图像质量参数。According to an embodiment of the present disclosure, the determining the image quality parameter of the captured image by using the similarity includes: determining the similarity as the image quality parameter of the captured image; or, from a preset similarity interval A target similarity interval containing the similarity is determined from the correspondence with the image quality parameter, and the image quality parameter corresponding to the target similarity interval is determined as the image quality parameter of the captured image.
根据本公开的一个实施例,所述图像质量模型通过以下方式训练:建立第三初始模型;将所述第一预定图像集合中的任一抓拍图像输入至所述第三初始模型,以使所述第三初始模型基于输入的抓拍图像预测图像质量参数并输出;基于所述第三初始模型输出的图像质量参数与输入的抓拍图像的图像质量参数优化所述第三初始模型;检查当前是否满足设定的第二训练结束条件,如果是,确定当前优化后的第三初始模型为所述图像质量模型。According to an embodiment of the present disclosure, the image quality model is trained in the following manner: establishing a third initial model; inputting any captured image in the first predetermined image set to the third initial model, so that all The third initial model predicts and outputs image quality parameters based on the input captured images; optimizes the third initial model based on the image quality parameters output by the third initial model and the image quality parameters of the input captured images; If the second training end condition is set, it is determined that the currently optimized third initial model is the image quality model.
本公开第二方面提供一种图像质量确定装置,包括:待检测图像获取模块,用于获取待检测图像;图像质量确定模块,用于将所述待检测图像输入至已训练的图像质量模型,得到所述待检测图像的图像质量参数;其中,所述图像质量模型是依据第一预定图像集合中的图像训练得到的,所述第一预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像,所述标准图像的图像质量满足设定要求。A second aspect of the present disclosure provides an image quality determination device, which includes: a to-be-detected image acquisition module for acquiring the to-be-detected image; an image quality determination module for inputting the to-be-detected image into a trained image quality model, Obtain the image quality parameters of the image to be detected; wherein, the image quality model is obtained by training based on images in a first predetermined image set, and the images in the first predetermined image set include respective snapshots of multiple target objects An image and a standard image, and the image quality of the standard image meets the set requirements.
根据本公开的一个实施例,所述图像质量模型通过以下模块训练:特征提取模块,用于将所述第一预定图像集合中任一目标对象的抓拍图像和标准图像输入至已训练的图像特征模型,以由图像特征模型分别从输入的抓拍图像中提取第一特征、以及从标准图像中提取第二特征并输出第一特征和第二特征;抓拍图像质量确定模块,用于基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数;图像质量模型训练模块,用于利用各个抓拍图像和抓拍图像的图像质量参数训练出所述图像质量模型。According to an embodiment of the present disclosure, the image quality model is trained by the following modules: a feature extraction module for inputting captured images and standard images of any target object in the first predetermined image set into the trained image features The image feature model is used to extract the first feature from the input captured image and the second feature from the standard image to output the first feature and the second feature; the captured image quality determination module is used to determine the quality of the captured image based on the image. The first feature and the second feature output by the feature model determine the image quality parameters of the input captured image; the image quality model training module is used to train the image quality model by using each captured image and the image quality parameters of the captured image.
根据本公开的一个实施例,所述图像特征模型是依据第二预定图像集合中的图像训练得到的,所述第二预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像;所述图像特征模型通过以下模块训练:模型建立模块,用于建立第一初始模型和第二初始模型;标签信息预测模块,用于将第二预定图像集合中任一目标对象的抓拍图像输入至所述第一初始模型,以使所述第一初始模型从输入的抓拍图像中提取图像特征并输出至所述第二初始模型,所述第二初始模型基于输入的图像特征预测该目标对象的标签信息;模型优化模块,用于基于所述第二初始模型输出的预测标签信息与该目标对象的标准标签信息优化所述第一初始模型;模型确定模块,用于检查当前是否满足设定的第一训练结束条件,如果是,确定当前优化后的第一初始模型为所述图像特征模型。According to an embodiment of the present disclosure, the image feature model is obtained by training based on images in a second predetermined image set, and the images in the second predetermined image set include respective captured images and standard images of multiple target objects; The image feature model is trained through the following modules: a model building module, used to establish a first initial model and a second initial model; a label information prediction module, used to input a captured image of any target object in the second predetermined image set to The first initial model, so that the first initial model extracts image features from the input captured image and outputs the image features to the second initial model, and the second initial model predicts the target object based on the input image features Label information; a model optimization module for optimizing the first initial model based on the predicted label information output by the second initial model and standard label information of the target object; a model determination module for checking whether the current set is satisfied If the first training end condition is yes, it is determined that the currently optimized first initial model is the image feature model.
根据本公开的一个实施例,所述抓拍图像质量确定模块基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数时,具体用于:计算所述第一特征与第二特征之间的相似度;利用所述相似度确定所述抓拍图像的图像质量参数。According to an embodiment of the present disclosure, when the captured image quality determination module determines the image quality parameters of the input captured image based on the first feature and the second feature output by the image feature model, it is specifically used to: The similarity between the feature and the second feature; the similarity is used to determine the image quality parameter of the captured image.
根据本公开的一个实施例,所述抓拍图像质量确定模块利用相似度确定所述抓拍图像的图像质量参数时,具体用于:将所述相似度确定为所述抓拍图像的图像质量参数;或者,从预设的相似度区间与图像质量参数的对应关系中确定出包含所述相似度的目标相似度区间,将所述目标相似度区间对应的图像质量参数确定为所述抓拍图像的图像质量参数。According to an embodiment of the present disclosure, when the captured image quality determination module uses similarity to determine the image quality parameter of the captured image, it is specifically configured to: determine the similarity as the image quality parameter of the captured image; or Determine the target similarity interval containing the similarity from the correspondence between the preset similarity interval and the image quality parameter, and determine the image quality parameter corresponding to the target similarity interval as the image quality of the captured image parameter.
根据本公开的一个实施例,图像质量模型训练模块通过以下方式训练所述图像质量模型:建立第三初始模型;将所述第一预定图像集合中的任一抓拍图像输入至所述第三初始模型,以使所述第三初始模型基于输入的抓拍图像预测图像质量参数并输出;基于所述第三初始模型输出的图像质量参数与输入的抓拍图像的图像质量参数优化所述第三初始模型;检查当前是否满足设定的第二训练结束条件,如果是,确定当前优化后的第三初始模型为所述图像质量模型。According to an embodiment of the present disclosure, the image quality model training module trains the image quality model in the following manner: establish a third initial model; input any captured image in the first predetermined image set to the third initial Model, so that the third initial model predicts and outputs image quality parameters based on the input captured images; optimizes the third initial model based on the image quality parameters output by the third initial model and the input captured images ; Check whether the set second training end condition is currently met, and if so, determine that the currently optimized third initial model is the image quality model.
本公开第三方面提供一种电子设备,包括处理器及机器可读存储介质;所述存储介质存储有可被处理器调用的程序;其中,所述处理器执行所述程序时被促使:获取待检测图像;将所述待检测图像输入至已训练的图像质量模型,得到所述待检测图像的图像质量参数;其中,所述图像质量模型是依据第一预定图像集合中的图像训练得到的,所述第一预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像,所述标准图像的图像质量满足设定要求。A third aspect of the present disclosure provides an electronic device, including a processor and a machine-readable storage medium; the storage medium stores a program that can be called by the processor; wherein, when the processor executes the program, it is prompted to: The image to be detected; input the image to be detected into the trained image quality model to obtain the image quality parameters of the image to be detected; wherein the image quality model is obtained by training based on images in the first predetermined image set The images in the first predetermined image set include respective captured images and standard images of multiple target objects, and the image quality of the standard images meets a set requirement.
本公开第四方面提供一种机器可读存储介质,其上存储有机器可执行指令,所述机器可执行指令被处理器执行时促使所述处理器:获取待检测图像;将所述待检测图像输入至已训练的图像质量模型,得到所述待检测图像的图像质量参数;其中,所述图像质量模型是依据第一预定图像集合中的图像训练得到的,所述第一预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像,所述标准图像的图像质量满足设定要求。A fourth aspect of the present disclosure provides a machine-readable storage medium having machine-executable instructions stored thereon. When the machine-executable instructions are executed by a processor, the processor is prompted to: acquire an image to be detected; The image is input to the trained image quality model to obtain the image quality parameters of the image to be detected; wherein, the image quality model is obtained by training based on the images in the first predetermined image set, in the first predetermined image set The image includes the captured images and standard images of multiple target objects, and the image quality of the standard images meets the set requirements.
本公开实施例中,可以依据图像集合中各目标对象的抓拍图像和标准图像训练出图像质量模型,将待测图像输入至图像质量模型,可以得到该待测图像的图像质量参数,整个过程无需通过人工打分或者人工参与评价,避免人工主观性影响为确定图像质量带来大量噪声,提升图像质量的确定结果准确度。In the embodiments of the present disclosure, an image quality model can be trained based on the captured images and standard images of each target object in the image collection, and the image to be tested can be input to the image quality model, and the image quality parameters of the image to be tested can be obtained. Through manual scoring or manual participation in the evaluation, it is avoided that the artificial subjective influence brings a lot of noise to the determination of image quality, and the accuracy of the determination result of image quality is improved.
附图说明Description of the drawings
图1是本公开一实施例的图像质量确定方法的流程示意图。FIG. 1 is a schematic flowchart of an image quality determination method according to an embodiment of the present disclosure.
图2是本公开一实施例的图像质量确定装置的结构框图。Fig. 2 is a structural block diagram of an image quality determining apparatus according to an embodiment of the present disclosure.
图3是本公开一实施例的训练图像质量模型的流程示意图。FIG. 3 is a schematic flowchart of training an image quality model according to an embodiment of the present disclosure.
图4是本公开一实施例的训练图像特征模型的流程示意图。Fig. 4 is a schematic flowchart of training an image feature model according to an embodiment of the present disclosure.
图5是本公开一实施例的电子设备的结构框图。Fig. 5 is a structural block diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。The exemplary embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在 本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in the present disclosure are only for the purpose of describing specific embodiments, and are not intended to limit the present disclosure. The singular forms of "a", "said" and "the" used in the present disclosure and appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and/or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种器件,但这些信息不应限于这些术语。这些术语仅用来将同一类型的器件彼此区分开。例如,在不脱离本公开范围的情况下,第一器件也可以被称为第二器件,类似地,第二器件也可以被称为第一器件。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various devices, the information should not be limited to these terms. These terms are only used to distinguish devices of the same type from each other. For example, without departing from the scope of the present disclosure, the first device may also be referred to as the second device, and similarly, the second device may also be referred to as the first device. Depending on the context, the word "if" as used herein can be interpreted as "when" or "when" or "in response to determination".
为了使得本公开的描述更清楚简洁,下面对本公开中的一些技术术语进行解释。In order to make the description of the present disclosure clearer and concise, some technical terms in the present disclosure are explained below.
神经网络:一种通过模仿大脑结构抽象而成的技术,该技术将大量简单的函数进行复杂的连接,形成一个网络系统,该系统可以拟合极其复杂的函数关系,一般可以包括卷积/反卷积操作、激活操作、池化操作,以及加减乘除、通道合并、元素重新排列等操作。使用特定的数据对网络进行训练,调整其中的连接,可以让神经网络学习拟合输入和输出之间的映射关系。Neural network: A technology abstracted by imitating the structure of the brain. This technology connects a large number of simple functions in a complex manner to form a network system that can fit extremely complex functional relationships, generally including convolution/inverse Convolution operations, activation operations, pooling operations, and operations such as addition, subtraction, multiplication, and division, channel merging, and element rearrangement. Use specific data to train the network and adjust the connections in it, so that the neural network can learn to fit the mapping relationship between input and output.
本公开实施例中,图像质量是指图像中目标对象的成像质量,影响图像质量的因素包括目标对象在图像中的姿态、遮挡、尺寸、光照、模糊度等,成像质量越高,越有利于确认目标对象的身份。目标对象可以指人脸、车辆、行人、车牌等。In the embodiments of the present disclosure, image quality refers to the imaging quality of the target object in the image. The factors that affect the image quality include the posture, occlusion, size, illumination, blurriness, etc. of the target object in the image. The higher the imaging quality, the more beneficial it is. Confirm the identity of the target. The target object can refer to a human face, a vehicle, a pedestrian, a license plate, and so on.
常见的图像质量指标有如下几种:Common image quality indicators are as follows:
1)姿态:不同目标对象可以用不同姿态信息表示姿态,比如人脸可用偏转角、俯仰角和旋转角来表示姿态,行人、车辆、车牌可用偏转角和透视信息来表示姿态等;1) Attitude: Different target objects can use different posture information to express posture, for example, the face can express the posture by yaw angle, pitch angle and rotation angle, and pedestrian, vehicle, license plate can use the deflection angle and perspective information to express posture, etc.;
2)遮挡:一般分为固定遮挡和非固定遮挡,比如人脸的固定遮挡涉及帽子、墨镜、口罩等随身物体的遮挡,非固定遮挡涉及手部、其他人或物的遮挡;2) Occlusion: Generally divided into fixed occlusion and non-fixed occlusion. For example, the fixed occlusion of the face involves the occlusion of personal objects such as hats, sunglasses, and masks, and the non-fixed occlusion involves the occlusion of hands, other people or objects;
3)尺寸:即目标对象的尺度大小,比如人脸一般用双眼瞳孔间距衡量,行人用身高来衡量,车辆用左右两个后视镜间距衡量,车牌可以用字符高度来衡量;3) Size: the size of the target object. For example, a human face is generally measured by the distance between the pupils of the eyes, a pedestrian is measured by the height, a vehicle is measured by the distance between the left and right rearview mirrors, and the license plate can be measured by the height of the character;
4)光照:目标对象外表亮度合适均匀,没有过曝、过暗、不均等导致细节纹理不清的情况;4) Illumination: Appearance brightness of the target object is suitable and uniform, and there is no overexposure, too dark, unevenness, etc. that cause the details and textures to be unclear;
5)模糊度:要求目标对象的关键纹理边缘清晰,比如人脸要求五官边缘清晰;行人要求四肢躯干边缘清晰,衣着、随身携带物品的纹理清晰;车辆要求车牌字符、车身、车 灯、车窗边缘清晰。5) Fuzziness: The key texture edges of the target object are required to be clear, for example, the face requires clear edges of the facial features; pedestrians require clear edges on the limbs, and clear textures of clothing and carry-on items; vehicles require license plate characters, body, lights, and windows The edges are sharp.
在直接学习机制中,评价者需要通常要衡量这些图像质量指标,比如是选择“遮挡的正脸”还是“完整的偏脸”,或者“稍模糊的正脸”还是清晰的偏脸”,这些指标从主观角度不易量化,很难进行准确的打分。In the direct learning mechanism, the evaluator usually needs to measure these image quality indicators, such as whether to choose "occluded front face" or "complete partial face", or "slightly blurred front face" or clear partial face". The indicators are not easy to quantify from a subjective point of view, and it is difficult to score accurately.
本公开实施例可以避免在确定图像质量时受主观影响,提升图像质量的确定结果准确度。The embodiments of the present disclosure can avoid subjective influence when determining the image quality, and improve the accuracy of the determination result of the image quality.
下面对本公开实施例的图像质量确定方法进行更具体的描述,但不应以此为限。在一个实施例中,参看图1,一种图像质量确定方法,可以包括以下步骤:The image quality determination method of the embodiment of the present disclosure will be described in more detail below, but it should not be limited to this. In an embodiment, referring to FIG. 1, an image quality determination method may include the following steps:
A100:获取待检测图像;A100: Obtain the image to be detected;
A200:将所述待检测图像输入至已训练的图像质量模型,得到所述待检测图像的图像质量参数;A200: Input the image to be detected into the trained image quality model to obtain the image quality parameters of the image to be detected;
其中,所述图像质量模型是依据第一预定图像集合中的图像训练得到的,该第一预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像,所述标准图像的图像质量满足设定要求。Wherein, the image quality model is obtained by training based on images in a first predetermined image set, and the images in the first predetermined image set include respective captured images and standard images of multiple target objects, and the image quality of the standard image Meet the set requirements.
本公开实施例中,图像质量确定方法的执行主体为电子设备,更具体的是电子设备的处理器。电子设备可以是摄像机等具有成像功能的设备,或者是计算机等可进行图像处理的设备,具体类型不限,只要具备数据处理能力即可。In the embodiments of the present disclosure, the execution subject of the image quality determination method is the electronic device, more specifically the processor of the electronic device. The electronic device may be a device with imaging function such as a camera, or a device capable of image processing, such as a computer, and the specific type is not limited, as long as it has data processing capabilities.
本公开实施例的图像质量确定方法,可以应用在多应用场景中,如门禁系统、卡口系统、电子护照系统、公安系统、交通系统、银行自助系统、信息安全系统等这些需要进行目标识别的场景中。当然,具体场景不限,只要是需要进行图像质量的确定即可。The image quality determination method of the embodiments of the present disclosure can be applied to multiple application scenarios, such as access control systems, bayonet systems, electronic passport systems, public security systems, transportation systems, bank self-service systems, information security systems, etc., which require target recognition. Scene. Of course, the specific scene is not limited, as long as the image quality needs to be determined.
步骤A100中,获取待检测图像。In step A100, an image to be detected is acquired.
待检测图像即需要被确定图像质量的图像。待检测图像可以是从监控场景中采集的图像,监控场景可以是需要进行目标识别的场景。由于在监控场景中,摄像机会不断采集图像,因而,一般可以得到同一目标对象的多个图像即得到一图像序列,图像序列中的每一图像都可以作为待检测图像。The image to be detected is the image whose image quality needs to be determined. The image to be detected may be an image collected from a surveillance scene, and the surveillance scene may be a scene that requires target recognition. In the surveillance scene, the camera continuously collects images. Therefore, generally, multiple images of the same target object can be obtained to obtain an image sequence, and each image in the image sequence can be used as the image to be detected.
当然,待检测图像可以是从视频监控中实时采集到的图像,也可以是通过后台检索获得的图像等。Of course, the image to be detected can be an image collected in real time from video surveillance, or an image obtained through background retrieval.
步骤A200中,将所述待检测图像输入至已训练的图像质量模型,得到所述待检测 图像的图像质量参数。In step A200, the image to be detected is input to the trained image quality model to obtain the image quality parameters of the image to be detected.
图像质量模型可以预先训练好,并保存在电子设备本地或者外部设备中,需要时进行调用。在训练出图像质量模型后,可利用图像质量模型确定目标图像的图像质量参数。The image quality model can be pre-trained and stored locally in the electronic device or in an external device, and recalled when needed. After the image quality model is trained, the image quality model can be used to determine the image quality parameters of the target image.
将目标图像输入至已训练的图像质量模型,以由图像质量模型计算目标图像的图像质量参数并输出,该图像质量参数作为图像质量的确定结果,可以表征目标图像的图像质量。图像质量参数可以用一个值表示,也可以用包含多个值的向量来表示,本申请实施例并不对图像质量参数的具体表现形式进行限制。The target image is input to the trained image quality model, and the image quality parameter of the target image is calculated and output from the image quality model. The image quality parameter is used as the result of determining the image quality and can characterize the image quality of the target image. The image quality parameter can be represented by a single value, or can be represented by a vector containing multiple values, and the embodiment of the present application does not limit the specific expression form of the image quality parameter.
继续以上述图像序列为例,利用图像质量模型确定出图像序列中每个目标图像的图像质量参数后,可以从所有目标图像中选择出图像质量参数最优的N个目标图像,N的取值可以为大于等于1。选出的目标图像为成像质量最高的图像,可以在后续处理中用于识别目标对象,可以避免由于大量低质量图像的干扰造成识别结果不稳定,也可避免占用过多的硬件资源。Continuing to take the above image sequence as an example, after the image quality model is used to determine the image quality parameters of each target image in the image sequence, N target images with the best image quality parameters can be selected from all target images, and the value of N Can be greater than or equal to 1. The selected target image is the image with the highest imaging quality, which can be used to identify the target object in subsequent processing, which can avoid the unstable recognition result due to the interference of a large number of low-quality images, and can also avoid occupying too much hardware resources.
图像质量模型是依据图像集合中各目标对象的抓拍图像和标准图像训练得到的。图像集合中包含多个目标对象各自的抓拍图像和标准图像,一个目标对象的抓拍图像和标准图像相互对应且均包含该目标对象,只是图像质量可能存在差异,例如,目标对象的姿态、遮挡、尺寸、光照和/或模糊度等情况可能有所不同。The image quality model is trained based on the captured images and standard images of each target object in the image collection. The image collection contains the captured images and standard images of multiple target objects. The captured image and standard image of a target object correspond to each other and both contain the target object. However, the image quality may be different, such as the posture, occlusion, etc. of the target object. Conditions such as size, lighting and/or blurriness may vary.
标准图像的图像质量满足设定要求。设定要求可以根据需要确定,比如,标准图像是在姿态、遮挡、尺寸、光照、模糊度等各方面均满足相应质量指标的图像;又如,标准图像的清晰度达到设定清晰度。The image quality of the standard image meets the set requirements. The setting requirements can be determined according to needs. For example, a standard image is an image that meets the corresponding quality indicators in terms of attitude, occlusion, size, illumination, and blur; another example, the definition of the standard image reaches the set definition.
标准图像可以例如是目标对象的证件图像。目标对象为人脸的情况下,证件图像是用在身份证、签证等证件上的人脸图像,通常用固定的模式(比如在单一背景颜色下)采集;目标对象为车牌的情况下,证件图像是用在行驶证等证件上的车牌图像;目标对象为车辆的情况下,证件图像是用在行驶证等证件上的车辆图像等等。The standard image may be, for example, a document image of the target object. When the target object is a human face, the document image is the face image used on ID cards, visas, etc., and is usually collected in a fixed mode (for example, under a single background color); when the target object is a license plate, the document image It is the license plate image used on the license and other documents; when the target object is a vehicle, the license image is the image of the vehicle used on the license and other documents.
或者,标准图像可以是从目标对象的图像库中选取出的清晰度最高的图像。图像库保存了监控场景中采集到的目标对象的多个图像,可以根据一定的选取方式从中选出清晰度最高的图像作为标准图像,或者也可以由人工进行选取。Or, the standard image may be an image with the highest definition selected from the image library of the target object. The image library saves multiple images of the target object collected in the surveillance scene. The image with the highest definition can be selected according to a certain selection method as the standard image, or it can be manually selected.
当然,标准图像的来源也不限于上述方式,也可以是其他方式生成的,比如基于标准模板按照某种特定标准生成的。Of course, the source of the standard image is not limited to the above method, and it can also be generated in other ways, such as generated based on a standard template according to a certain standard.
抓拍图像可以是在监控场景中抓拍得到的包含目标对象的图像。抓拍图像在目标对 象的姿态、遮挡、尺寸、光照、模糊度等各方面存在不确定性。The captured image may be an image containing the target object captured in the surveillance scene. The captured image has uncertainty in the pose, occlusion, size, illumination, and blur degree of the target object.
每个目标对象的抓拍图像可以是多个,具体数量不限。可以为每个目标对象准备合适而丰富的抓拍图像,这里的“丰富”是指要照顾到目标对象的不同姿态、光照、尺度、清晰度等因素。优选的,所有抓拍图像能覆盖到每个影响因素的各个程度,以光照影响因素为例,欠曝、暗淡、合适、明亮、过曝五个程度的抓拍图像均有。只有抓拍图像覆盖足够丰富成像的图像素材,才能确保后续训练的图像质量模型的稳定性。There can be multiple captured images for each target object, and the specific number is not limited. Appropriate and rich captured images can be prepared for each target object. The "rich" here means that the different postures, illumination, scale, clarity and other factors of the target object should be taken into consideration. Preferably, all the captured images can cover the various degrees of each influencing factor. Taking the light influencing factor as an example, there are five levels of captured images of underexposed, dim, appropriate, bright, and overexposed. Only when the captured image covers enough rich imaging material can the stability of the image quality model for subsequent training be ensured.
以目标对象的标准图像为基准,可以确定该目标对象的抓拍图像的质量情况,如此可以确定该目标对象每一抓拍图像的图像质量参数。进而可以利用抓拍图像及抓拍图像的图像质量参数来训练出图像质量模型。Using the standard image of the target object as a reference, the quality of the captured image of the target object can be determined, so that the image quality parameters of each captured image of the target object can be determined. Furthermore, the captured image and the image quality parameters of the captured image can be used to train the image quality model.
本公开实施例中,可以依据图像集合中各目标对象的抓拍图像和标准图像训练出图像质量模型,将待测的目标图像输入至图像质量模型,可以得到该目标图像的图像质量参数,整个过程无需通过人工打分或者人工参与评价,避免人工主观性影响为确定图像质量带来大量噪声,提升图像质量的确定结果准确度。In the embodiments of the present disclosure, an image quality model can be trained based on the captured images and standard images of each target object in the image collection, and the target image to be measured is input to the image quality model, and the image quality parameters of the target image can be obtained. There is no need for manual scoring or manual participation in the evaluation, avoiding the artificial subjective influence that brings a lot of noise to the determination of the image quality, and improving the accuracy of the determination result of the image quality.
在一个实施例中,上述方法流程可由图像质量确定装置100执行,如图2所示,图像质量确定装置100主要包含2个模块:目标图像获取模块101和图像质量确定模块102。目标图像获取模块101用于执行上述步骤A100,图像质量确定模块102用于执行上述步骤A200。In one embodiment, the above method flow can be executed by the image quality determining apparatus 100. As shown in FIG. 2, the image quality determining apparatus 100 mainly includes two modules: a target image acquisition module 101 and an image quality determination module 102. The target image acquisition module 101 is used to perform the above step A100, and the image quality determination module 102 is used to perform the above step A200.
在一个实施例中,参看图3,所述图像质量模型通过以下方式训练:In an embodiment, referring to Fig. 3, the image quality model is trained in the following manner:
S100:将第一预定图像集合中任一目标对象的抓拍图像和标准图像输入至已训练的图像特征模型,以由图像特征模型分别从输入的抓拍图像和标准图像中提取第一特征、第二特征并输出;所述标准图像的图像质量满足设定要求;S100: Input the captured image and standard image of any target object in the first predetermined image set to the trained image feature model, so that the image feature model extracts the first feature and the second feature from the input captured image and standard image. Feature and output; the image quality of the standard image meets the set requirements;
S200:基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数;S200: Determine image quality parameters of the input captured image based on the first feature and the second feature output by the image feature model;
S300:利用各个抓拍图像和抓拍图像的图像质量参数训练出所述图像质量模型。S300: Use each captured image and the image quality parameters of the captured image to train the image quality model.
步骤S100中,将第一预定图像集合中任一目标对象的抓拍图像和标准图像输入至已训练的图像特征模型,以由图像特征模型分别从输入的抓拍图像和标准图像中提取第一特征、第二特征并输出;所述标准图像的图像质量满足设定要求。图像特征模型是预先训练好的模型,可以存储在电子设备中或者存储在外部设备中,在执行步骤S100时调用即可。图像特征模型可以用于对图像进行特征提取并输出相应的特征。此处的特征 可以用特征向量等格式的数据来表示。In step S100, the captured image and standard image of any target object in the first predetermined image set are input to the trained image feature model, so that the image feature model extracts the first feature and the standard image from the input captured image and standard image respectively. The second feature is output; the image quality of the standard image meets the set requirements. The image feature model is a pre-trained model, which can be stored in an electronic device or in an external device, and can be called when step S100 is executed. The image feature model can be used to extract features from the image and output the corresponding features. The features here can be represented by data in formats such as feature vectors.
在训练图像特征模型时,可以将各个目标对象的抓拍图像作为训练样本集,可利用抓拍图像中目标对象的全局信息、或者目标对象的局部信息,或者兼而有之来进行训练。如何训练出图像特征模型的方式并不作为限制。当然,也可以采用其他图像来训练图像特征模型,只要能够训练出用于特征提取的图像特征模型即可。When training the image feature model, the captured images of each target object can be used as a training sample set, and the global information of the target object in the captured image, or the local information of the target object, or both, can be used for training. How to train the image feature model is not a limitation. Of course, other images can also be used to train the image feature model, as long as the image feature model for feature extraction can be trained.
可以将第一预定图像集合中每一目标对象的抓拍图像和标准图像输入到图像特征模型中,以由图像特征模型对输入的抓拍图像进行特征提取得到第一特征、对输入的标准图像进行特征提取得到第二特征。The captured image and standard image of each target object in the first predetermined image set can be input into the image feature model, and the input captured image can be extracted by the image feature model to obtain the first feature, and the input standard image can be characterized The second feature is extracted.
步骤S200中,基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数。图像特征模型输出的第一特征是输入的抓拍图像的第一特征,该第二特征是该输入的抓拍图像所对应的包含该目标对象的标准图像的第二特征。In step S200, the image quality parameter of the input captured image is determined based on the first feature and the second feature output by the image feature model. The first feature output by the image feature model is the first feature of the input captured image, and the second feature is the second feature of the standard image containing the target object corresponding to the input captured image.
第一特征可以体现目标对象在抓拍图像中的成像情况,第二特征可以体现目标对象在标准图像中的成像情况。The first feature can reflect the imaging condition of the target object in the captured image, and the second feature can reflect the imaging condition of the target object in the standard image.
由于标准图像是图像质量满足设定要求的图像,作为高质量标准。抓拍图像的第一特征和标准图像的第二特征越相似,说明抓拍图像与标准图像越相似,越符合高质量标准,图像质量就越好。因此,可以基于所述第一特征和第二特征确定该抓拍图像的图像质量参数。Since the standard image is an image whose image quality meets the set requirements, it is regarded as a high-quality standard. The more similar the first feature of the captured image and the second feature of the standard image are, the more similar the captured image is to the standard image, the more it meets the high-quality standard, and the better the image quality. Therefore, the image quality parameter of the captured image can be determined based on the first feature and the second feature.
如此,可以确定出所有抓拍图像的图像质量参数。图像质量参数可以表征抓拍图像的图像质量。比如,图像质量参数越高,则抓拍图像的图像质量越高。In this way, the image quality parameters of all captured images can be determined. The image quality parameter can characterize the image quality of the captured image. For example, the higher the image quality parameter, the higher the image quality of the captured image.
步骤S300中,利用各个抓拍图像和抓拍图像的图像质量参数训练出所述图像质量模型。In step S300, the image quality model is trained by using each captured image and the image quality parameters of the captured image.
可以将第一预定图像集合中的部分或所有抓拍图像作为训练样本集,将抓拍图像的图像质量参数作为监督信息,实现图像质量模型的训练。具体训练方式不限,只要能够利用各个抓拍图像和抓拍图像的图像质量参数训练出用于确定图像质量的图像质量模型即可。It is possible to use part or all of the captured images in the first predetermined image set as the training sample set, and use the image quality parameters of the captured images as the supervision information to realize the training of the image quality model. The specific training method is not limited, as long as the image quality model for determining the image quality can be trained by using each captured image and the image quality parameters of the captured image.
在一个实施例中,参看图4,所述图像特征模型通过以下方式训练,包括:In one embodiment, referring to Fig. 4, the image feature model is trained in the following ways, including:
T100:建立第一初始模型和第二初始模型;T100: Establish the first initial model and the second initial model;
T200:将第二预定图像集合中任一目标对象的抓拍图像输入至所述第一初始模型, 以使所述第一初始模型从输入的抓拍图像中提取图像特征并输出至所述第二初始模型,所述第二初始模型基于输入的图像特征预测该目标对象的标签信息;T200: Input a captured image of any target object in the second predetermined image set to the first initial model, so that the first initial model extracts image features from the input captured image and outputs it to the second initial model Model, the second initial model predicts the label information of the target object based on the input image features;
T300:基于所述第二初始模型输出的预测标签信息与该目标对象的标准标签信息优化所述第一初始模型;T300: Optimize the first initial model based on the predicted label information output by the second initial model and the standard label information of the target object;
T400:检查当前是否满足设定的第一训练结束条件,如果是,确定当前优化后的第一初始模型为所述图像特征模型。T400: Check whether the set first training end condition is currently met, and if so, determine that the currently optimized first initial model is the image feature model.
步骤T100中,建立第一初始模型和第二初始模型。In step T100, a first initial model and a second initial model are established.
可以将第一初始模型和第二初始模型级联在一起,构造成一个端到端的整体,共同进行训练。第一初始模型和第二初始模型可以采用CNN模型来构造,具体层结构不限。The first initial model and the second initial model can be cascaded together to form an end-to-end whole for joint training. The first initial model and the second initial model can be constructed using a CNN model, and the specific layer structure is not limited.
第一初始模型可以是一个特征提取器,第二初始模型可以是一个分类器。当然,第二初始模型可以根据任务来确定,比如,在目标分类任务时,第二初始模型可以是分类器;在字符等识别任务时,第二初始模型可以是解码器。The first initial model can be a feature extractor, and the second initial model can be a classifier. Of course, the second initial model can be determined according to the task. For example, in a target classification task, the second initial model can be a classifier; in a character recognition task, the second initial model can be a decoder.
步骤T200中,将第二预定图像集合中任一目标对象的抓拍图像输入至所述第一初始模型,以使所述第一初始模型从输入的抓拍图像中提取图像特征并输出至所述第二初始模型,所述第二初始模型基于输入的图像特征预测标签信息。该标签信息代表了该目标对象的预测结果,可以是数字、字符、图片等等,本实施例并不对标签信息的表现形式进行限制。In step T200, the captured image of any target object in the second predetermined image set is input to the first initial model, so that the first initial model extracts image features from the input captured image and outputs the captured image to the first initial model. Two initial models, the second initial model predicts label information based on the input image features. The label information represents the prediction result of the target object, and can be numbers, characters, pictures, etc., and this embodiment does not limit the expression form of the label information.
第二预定图像集合与第一预定图像集合类似,包含多个目标对象各自的抓拍图像和标准图像。用于训练图像质量模型的第一预定图像集合,与用于训练图像特征模型的第二预定图像集合可以相同,也可以不同。The second predetermined image set is similar to the first predetermined image set, and includes respective captured images and standard images of multiple target objects. The first predetermined image set used to train the image quality model and the second predetermined image set used to train the image feature model may be the same or different.
第一初始模型负责对抓拍图像提取图像特征,第二初始模型负责根据图像特征预测标签信息,通过第一初始模型和第二初始模型的配合完成对图像集合中每一抓拍图像的标签信息的预测。The first initial model is responsible for extracting image features from captured images, and the second initial model is responsible for predicting label information based on image features. Through the cooperation of the first initial model and the second initial model, the prediction of the label information of each captured image in the image set is completed .
第一初始模型和第二初始模型的模型参数发生变化,预测结果也可能会有所变化,训练就是通过改变模型参数,使得预测结果能够更准确,更逼近所需要的结果。When the model parameters of the first initial model and the second initial model change, the prediction results may also change. Training is to change the model parameters to make the prediction results more accurate and closer to the required results.
步骤T300中,基于所述第二初始模型输出的预测标签信息与该目标对象的标准标签信息优化所述第一初始模型。In step T300, the first initial model is optimized based on the predicted label information output by the second initial model and the standard label information of the target object.
每一目标对象的标准标签信息可以预先标定好,每当第二初始模型输出一个标签信 息,便将输出的标签信息与已获取的该目标对象(输入第一初始模型的抓拍图像中的目标对象)的标准标签信息进行比对,根据比对结果来优化第一初始模型,以减小后续预测的标签信息与标准标签信息的差异。当然,在优化第一初始模型的同时,也可以对第二初始模型进行优化。The standard label information of each target object can be calibrated in advance. Whenever the second initial model outputs a label information, the output label information is combined with the acquired target object (input target object in the captured image of the first initial model). The standard label information of) is compared, and the first initial model is optimized according to the comparison result, so as to reduce the difference between the subsequent predicted label information and the standard label information. Of course, while optimizing the first initial model, the second initial model can also be optimized.
随着第一初始模型和第二初始模型不断被优化,模型参数被改变,预测出的标签信息会逐渐逼近于输入的抓拍图像中的目标对象的标准标签信息。通过训练,级联的第一初始模型和第二初始模型学习了各目标对象的抓拍图像到目标对象的预测标签信息的映射关系。As the first initial model and the second initial model are continuously optimized and the model parameters are changed, the predicted label information will gradually approach the standard label information of the target object in the input captured image. Through training, the cascaded first initial model and second initial model learn the mapping relationship between the captured images of each target object and the predicted label information of the target object.
标准标签信息可以是标准图像。那么,第一初始模型对输入的抓拍图像提取图像特征,第二初始模型基于提取的图像特征计算得到预测标签;比较该预测标签与输入的抓拍图像中目标对象的标准图像,依据比较结果优化第一初始模型和第二初始模型,以减小后续预测结果与标准图像的差异。The standard label information may be a standard image. Then, the first initial model extracts image features from the input captured image, and the second initial model calculates a predicted label based on the extracted image features; compares the predicted label with the standard image of the target object in the input captured image, and optimizes the first image based on the comparison result. An initial model and a second initial model to reduce the difference between the subsequent prediction results and the standard image.
标准标签信息也可以是代表目标对象的类别的标签信息,称为“标准类别标签信息”。一个标签可以对应分类任务中的一个类别。比如在人脸识别任务中,标签可以代表某个具体的人(人物A、人物B、人物C等);又比如,在车辆品牌识别中,标签就代表生产商及其品牌(丰田凯美瑞、大众帕萨特、比亚迪唐等)。The standard label information may also be label information representing the category of the target object, which is called "standard category label information". A label can correspond to a category in the classification task. For example, in the task of face recognition, the label can represent a specific person (person A, person B, person C, etc.); for example, in vehicle brand recognition, the label represents the manufacturer and its brand (Toyota Camry, Volkswagen, etc.) Passat, BYD Tang, etc.).
那么,第一初始模型对输入的抓拍图像提取图像特征,第二初始模型基于提取的图像特征计算得到代表预测类别的标签信息,称为“预测类别标签信息”;比较该预测类别标签信息与输入的抓拍图像中目标对象的标准类别标签信息,依据比较结果优化第一初始模型和第二初始模型,以减小后续预测的预测类别标签信息与标准类别标签信息的差异。Then, the first initial model extracts image features from the input captured image, and the second initial model calculates the label information representing the predicted category based on the extracted image features, which is called "predicted category label information"; compare the predicted category label information with the input According to the standard category label information of the target object in the captured image, the first initial model and the second initial model are optimized according to the comparison result to reduce the difference between the predicted category label information and the standard category label information of subsequent predictions.
步骤T400中,检查当前是否满足设定的第一训练结束条件,如果是,确定当前优化后的第一初始模型为所述图像特征模型。In step T400, it is checked whether the set first training end condition is currently met, and if so, it is determined that the currently optimized first initial model is the image feature model.
第一训练结束条件可以有多种,比如,可以是训练次数达到指定次数;或者,第一初始模型和第二初始模型的性能达到设定指标;或者,图像集合中没有了未输入至第一初始模型的抓拍图像,等等。The first training end conditions can be multiple, for example, the number of training times can reach a specified number; or, the performance of the first initial model and the second initial model reach the set index; or, there is no image set that has not been input to the first A snapshot of the initial model, etc.
在当前满足第一训练结束条件时,确定当前优化后的第一初始模型为所述图像特征模型,第二初始模型可以不再被使用,否则,可以继续进行训练。When the first training end condition is currently met, it is determined that the currently optimized first initial model is the image feature model, and the second initial model may no longer be used, otherwise, the training may continue.
可选的,如果当前未满足第一训练结束条件,继续从所述图像集合中选择未输入至 第一初始模型的目标对象的抓拍图像并输入至第一初始模型的操作。通过上述循环,得到所需的图像特征模型。当然,具体训练方式也不限于此。Optionally, if the first training end condition is not currently met, continue the operation of selecting a captured image of the target object that is not input to the first initial model from the image set and inputting it to the first initial model. Through the above cycle, the required image feature model is obtained. Of course, the specific training method is not limited to this.
本实施例中,图像特征模型是利用获取的各个目标对象的抓拍图像训练得到的,这样图像特征模型相比于其他图像训练出的模型而言,可以更准确地提取各抓拍图像的第一特征,并且,训练图像质量模型需要哪些目标对象的抓拍图像的图像质量参数,就可利用相应目标对象的抓拍图像来训练出图像特征模型,不受场景和对象类型的局限,保证训练出的图像质量模型在各种复杂场景中的稳定性和泛化能力。In this embodiment, the image feature model is trained by using the captured images of each target object, so that the image feature model can extract the first feature of each captured image more accurately than models trained on other images. And, if the image quality parameters of the captured images of the target objects are needed for training the image quality model, the captured images of the corresponding target objects can be used to train the image feature model, which is not limited by the scene and object type, and guarantees the quality of the trained images The stability and generalization ability of the model in various complex scenarios.
在一个实施例中,步骤S200中,基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数,包括:In one embodiment, in step S200, determining the image quality parameter of the input captured image based on the first feature and the second feature output by the image feature model includes:
S201:计算所述第一特征与第二特征之间的相似度;S201: Calculate the similarity between the first feature and the second feature;
S202:利用所述相似度确定所述抓拍图像的图像质量参数。S202: Determine the image quality parameter of the captured image by using the similarity.
可以利用SIFT算法、SURF算法、直方图匹配算法、均值哈希算法、欧氏距离算法、余弦距离算法中的任一种来计算第一特征与第二特征之间的相似度。Any one of the SIFT algorithm, the SURF algorithm, the histogram matching algorithm, the mean hash algorithm, the Euclidean distance algorithm, and the cosine distance algorithm may be used to calculate the similarity between the first feature and the second feature.
比如,以余弦距离算法为例,第一特征、第二特征以向量形式表示,可以计算第一特征与第二特征之间的向量夹角的余弦值,将计算出的余弦值作为第一特征与第二特征之间的相似度。For example, taking the cosine distance algorithm as an example, the first feature and the second feature are expressed in vector form, and the cosine value of the vector angle between the first feature and the second feature can be calculated, and the calculated cosine value is used as the first feature Similarity with the second feature.
计算出第一特征与第二特征之间的相似度后,就可以确定所述抓拍图像与所述抓拍图像中目标对象的标准图像之间的相似情况,相似度越高,说明抓拍图像与标准图像越相似,反之则越不相似。因此,以标准图像为高质量标准,根据相似度可以确定抓拍图像的图像质量参数,具体确定方式不限。After calculating the similarity between the first feature and the second feature, the similarity between the captured image and the standard image of the target object in the captured image can be determined. The higher the similarity, the higher the similarity between the captured image and the standard image. The more similar the images are, the less similar they are on the contrary. Therefore, taking the standard image as the high quality standard, the image quality parameters of the captured image can be determined according to the similarity, and the specific determination method is not limited.
在一个实施例中,步骤S202中,所述利用相似度确定所述抓拍图像的图像质量参数,包括:将所述相似度确定为所述抓拍图像的图像质量参数。换言之,可以将计算出的第一特征与第二特征之间的相似度直接作为所述抓拍图像的图像质量参数。In one embodiment, in step S202, the determining the image quality parameter of the captured image by using the similarity includes: determining the similarity as the image quality parameter of the captured image. In other words, the calculated similarity between the first feature and the second feature can be directly used as the image quality parameter of the captured image.
或者,从预设的相似度区间与图像质量参数的对应关系中确定出包含所述相似度的目标相似度区间,将所述目标相似度区间对应的图像质量参数确定为所述抓拍图像的图像质量参数。Alternatively, the target similarity interval containing the similarity is determined from the corresponding relationship between the preset similarity interval and the image quality parameter, and the image quality parameter corresponding to the target similarity interval is determined as the image of the captured image Quality parameters.
可以预先将覆盖所有可能的相似度取值的相似度取值范围划分成若干相似度区间,不同相似度区间对应不同的图像质量参数。预设的相似度区间与图像质量参数的对应关 系可以记录在电子设备中,比如可以以表的形式保存。The similarity value range covering all possible similarity values can be divided into several similarity intervals in advance, and different similarity intervals correspond to different image quality parameters. The corresponding relationship between the preset similarity interval and the image quality parameter can be recorded in the electronic device, for example, can be saved in the form of a table.
计算出相似度后,可从预设的相似度区间与图像质量参数的对应关系中确定出所述相似度所处的目标相似度区间,并将所述目标相似度区间对应的图像质量参数确定为该抓拍图像的图像质量参数。After the similarity is calculated, the target similarity interval in which the similarity is located can be determined from the corresponding relationship between the preset similarity interval and the image quality parameter, and the image quality parameter corresponding to the target similarity interval is determined It is the image quality parameter of the captured image.
比如,相似度取值范围为0~100,将该范围划分成0~30、31~60、61~100三个相似度区间,对应的图像质量参数分别为表示低、中、高的数值,具体数值不限。当计算出的相似度为80时,目标相似度区间就是61~100,所述目标相似度区间对应的图像质量参数为表示高的数值,将表示高的数值作为该抓拍图像的图像质量参数。当然,此处的取值范围、划分粒度均是举例,具体不限于此,比如划分粒度可以更细。For example, the similarity value range is 0-100, and the range is divided into three similarity intervals 0-30, 31-60, 61-100, and the corresponding image quality parameters are numerical values representing low, medium, and high, respectively. The specific value is not limited. When the calculated similarity is 80, the target similarity interval is 61-100, the image quality parameter corresponding to the target similarity interval is a high value, and the high value is used as the image quality parameter of the captured image. Of course, the value range and the division granularity here are all examples, and are not specifically limited to this. For example, the division granularity can be finer.
通过将相似度取值范围划分成多档,每次将相似度归到一档中,将所归一档的图像质量参数作为抓拍图像的图像质量参数,如此,图像质量模型的输出也就包括这几挡图像质量参数,减少图像质量模型的数据处理复杂度。By dividing the similarity value range into multiple files, the similarity is classified into one file each time, and the image quality parameters of the normalized file are used as the image quality parameters of the captured image. In this way, the output of the image quality model also includes These blocks of image quality parameters reduce the data processing complexity of the image quality model.
本实施例中,利用第一特征和第二特征之间的相似度实现了图像质量参数的量化,相比于人工打分而言,更为简便,也不掺杂主观因素。In this embodiment, the quantification of image quality parameters is realized by using the similarity between the first feature and the second feature, which is simpler than manual scoring and does not involve subjective factors.
在一个实施例中,步骤S300中,利用各个抓拍图像和抓拍图像的图像质量参数训练出所述图像质量模型,包括:In one embodiment, in step S300, the image quality model is trained by using each captured image and the image quality parameters of the captured image, including:
S301:建立第三初始模型;S301: Establish a third initial model;
S302:将第一预定图像集合中的任一抓拍图像输入至所述第三初始模型,以使所述第三初始模型基于输入的抓拍图像预测图像质量参数并输出;S302: Input any captured image in the first predetermined image set to the third initial model, so that the third initial model predicts and outputs image quality parameters based on the input captured image;
S303:基于所述第三初始模型输出的图像质量参数与输入的抓拍图像的图像质量参数优化所述第三初始模型;S303: Optimizing the third initial model based on the image quality parameters output by the third initial model and the image quality parameters of the captured image input;
S304:检查当前是否满足设定的第二训练结束条件,如果是,确定当前优化后的第三初始模型为所述图像质量模型。S304: Check whether the set second training end condition is currently met, and if so, determine that the currently optimized third initial model is the image quality model.
第三初始模型是一个预测器,可以由任意一种能够实现回归任务的模型构成,比如逻辑回归模型、树模型、神经网络模型等,具体不限。The third initial model is a predictor, which can be composed of any model that can implement regression tasks, such as logistic regression model, tree model, neural network model, etc., and the specifics are not limited.
步骤S302中,将第一预定图像集合中的任一抓拍图像输入至所述第三初始模型,以使所述第三初始模型基于输入的抓拍图像预测图像质量参数并输出。In step S302, any captured image in the first predetermined image set is input to the third initial model, so that the third initial model predicts and outputs image quality parameters based on the input captured image.
第三初始模型负责预测抓拍图像的图像质量参数。第三初始模型的模型参数发生变 化,预测结果也可能会有所变化,训练就是通过改变模型参数,使得预测结果能够更准确,更逼近所需要的结果。The third initial model is responsible for predicting the image quality parameters of the captured image. The model parameters of the third initial model change, and the prediction results may also change. Training is to change the model parameters to make the prediction results more accurate and closer to the required results.
步骤S303中,基于所述第三初始模型输出的图像质量参数与输入的抓拍图像的图像质量参数优化所述第三初始模型。In step S303, the third initial model is optimized based on the image quality parameters output by the third initial model and the image quality parameters of the captured image input.
每当第三初始模型输出一个图像质量参数,便将输出的图像质量参数与输入的抓拍图像的图像质量参数进行比对。这里,用于比对的输入的抓拍图像的图像质量参数指抓拍图像的已知的实际图像质量参数。根据比对结果来优化第三初始模型,以减小后续预测的图像质量参数与抓拍图像的图像质量参数之间的差异。Whenever the third initial model outputs an image quality parameter, the output image quality parameter is compared with the image quality parameter of the input captured image. Here, the image quality parameter of the captured image input used for comparison refers to the known actual image quality parameter of the captured image. The third initial model is optimized according to the comparison result to reduce the difference between the subsequently predicted image quality parameter and the image quality parameter of the captured image.
随着第三初始模型不断被优化,模型参数被改变,预测出的图像质量参数会逐渐逼近于输入的抓拍图像的图像质量参数。通过训练,第三初始模型学习了各抓拍图像到抓拍图像的图像质量参数的映射关系。As the third initial model is continuously optimized and the model parameters are changed, the predicted image quality parameters will gradually approach the image quality parameters of the input captured image. Through training, the third initial model learns the mapping relationship between each captured image and the image quality parameter of the captured image.
步骤S304中,检查当前是否满足设定的第二训练结束条件,如果是,确定当前优化后的第三初始模型为所述图像质量模型。In step S304, it is checked whether the set second training end condition is currently met, and if so, it is determined that the currently optimized third initial model is the image quality model.
第二训练结束条件可以有多种,比如,可以是训练次数达到指定次数;或者,第三初始模型的性能达到设定指标;或者,图像集合中没有了未输入至第三初始模型的抓拍图像,等等。The second training end conditions can be multiple, for example, it can be that the number of training times reaches the specified number; or, the performance of the third initial model reaches the set index; or, there are no captured images in the image set that have not been input to the third initial model ,and many more.
在当前满足第二训练结束条件时,确定当前优化后的第三初始模型为所述图像质量模型,否则,可以继续进行训练。When the second training end condition is currently met, it is determined that the currently optimized third initial model is the image quality model; otherwise, training can be continued.
可选的,如果当前未满足第二训练结束条件,继续从所述图像集合中选择未输入至第三初始模型的抓拍图像并输入至第三初始模型的操作。通过上述循环,可得到所需的图像质量模型。当然,具体训练方式也不限于此。Optionally, if the second training end condition is not currently met, continue the operation of selecting a captured image from the image set that has not been input to the third initial model and inputting it to the third initial model. Through the above cycle, the required image quality model can be obtained. Of course, the specific training method is not limited to this.
本公开还提供一种图像质量确定装置,参看图2,图像质量确定装置100包括:待检测图像获取模块101,用于获取待检测图像;图像质量确定模块102,用于将所述待检测图像输入至已训练的图像质量模型,得到所述待检测图像的图像质量参数;其中,所述图像质量模型是依据第一预定图像集合中的图像训练得到的,所述第一预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像,所述标准图像的图像质量满足设定要求。The present disclosure also provides an image quality determination device. Referring to FIG. 2, the image quality determination device 100 includes: a to-be-detected image acquisition module 101 for acquiring a to-be-detected image; an image quality determination module 102 for combining the to-be-detected image Input to the trained image quality model to obtain the image quality parameters of the image to be detected; wherein, the image quality model is obtained by training according to the images in the first predetermined image set, and the image quality parameters in the first predetermined image set The image includes respective captured images and standard images of multiple target objects, and the image quality of the standard images meets the set requirements.
在一个实施例中,所述图像质量模型通过以下模块训练:特征提取模块,用于将第一预定图像集合中任一目标对象的抓拍图像和标准图像输入至已训练的图像特征 模型,以由图像特征模型分别从输入的抓拍图像中提取第一特征、以及从标准图像中提取第二特征并输出第一特征和第二特征;抓拍图像质量确定模块,用于基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数;图像质量模型训练模块,用于利用各个抓拍图像和抓拍图像的图像质量参数训练出所述图像质量模型。In one embodiment, the image quality model is trained by the following modules: a feature extraction module, which is used to input the captured image and standard image of any target object in the first predetermined image set into the trained image feature model for The image feature model extracts the first feature from the input captured image and the second feature from the standard image and outputs the first feature and the second feature; the captured image quality determination module is used for the output based on the image feature model The first feature and the second feature determine the image quality parameters of the input captured image; the image quality model training module is used to train the image quality model by using each captured image and the image quality parameters of the captured image.
在一个实施例中,所述图像特征模型是依据第二预定图像集合中的图像训练得到的,所述第二预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像;所述图像特征模型通过以下模块训练:模型建立模块,用于建立第一初始模型和第二初始模型;标签信息预测模块,用于将第二预定图像集合中任一目标对象的抓拍图像输入至所述第一初始模型,以使所述第一初始模型从输入的抓拍图像中提取图像特征并输出至所述第二初始模型,所述第二初始模型基于输入的图像特征预测该目标对象的标签信息;模型优化模块,用于基于所述第二初始模型输出的预测标签信息与该目标对象的标准标签信息优化所述第一初始模型;模型确定模块,用于检查当前是否满足设定的第一训练结束条件,如果是,确定当前优化后的第一初始模型为所述图像特征模型。In one embodiment, the image feature model is obtained by training based on images in a second predetermined image set, and the images in the second predetermined image set include respective captured images and standard images of multiple target objects; The image feature model is trained through the following modules: a model building module, used to establish a first initial model and a second initial model; a label information prediction module, used to input a captured image of any target object in the second predetermined image set to the A first initial model, so that the first initial model extracts image features from the input captured image and outputs to the second initial model, and the second initial model predicts the label information of the target object based on the input image features Model optimization module, used to optimize the first initial model based on the predicted label information output by the second initial model and standard label information of the target object; model determination module, used to check whether the current set first Training end condition, if yes, it is determined that the currently optimized first initial model is the image feature model.
在一个实施例中,所述抓拍图像质量确定模块基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数时,具体用于:计算所述第一特征与第二特征之间的相似度;利用所述相似度确定所述抓拍图像的图像质量参数。In one embodiment, when the captured image quality determination module determines the image quality parameters of the input captured image based on the first feature and the second feature output by the image feature model, it is specifically used to: calculate the first feature and the second feature. The similarity between the second features; the similarity is used to determine the image quality parameter of the captured image.
在一个实施例中,所述抓拍图像质量确定模块利用相似度确定所述抓拍图像的图像质量参数时,具体用于:将所述相似度确定为所述抓拍图像的图像质量参数;或者,从预设的相似度区间与图像质量参数的对应关系中确定出包含所述相似度的目标相似度区间,将所述目标相似度区间对应的图像质量参数确定为所述抓拍图像的图像质量参数。In one embodiment, when the captured image quality determination module uses similarity to determine the image quality parameter of the captured image, it is specifically configured to: determine the similarity as the image quality parameter of the captured image; or, from A target similarity interval containing the similarity is determined from the correspondence between the preset similarity interval and the image quality parameter, and the image quality parameter corresponding to the target similarity interval is determined as the image quality parameter of the captured image.
在一个实施例中,图像质量模型训练模块通过以下方式训练图像质量模型:建立第三初始模型;将第一预定图像集合中的任一抓拍图像输入至所述第三初始模型,以使所述第三初始模型基于输入的抓拍图像预测图像质量参数并输出;基于所述第三初始模型输出的图像质量参数与输入的抓拍图像的图像质量参数优化所述第三初始模型;检查当前是否满足设定的第二训练结束条件,如果是,确定当前优化后的第三初始模型为所述图像质量模型。In one embodiment, the image quality model training module trains the image quality model in the following manner: establish a third initial model; input any captured image in the first predetermined image set to the third initial model, so that the The third initial model predicts and outputs image quality parameters based on the input captured image; optimizes the third initial model based on the image quality parameters output by the third initial model and the image quality parameters of the input captured image; If the second training end condition is determined, it is determined that the currently optimized third initial model is the image quality model.
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For the implementation process of the functions and roles of each unit in the above-mentioned device, refer to the implementation process of the corresponding steps in the above-mentioned method for details, which will not be repeated here.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元。For the device embodiment, since it basically corresponds to the method embodiment, the relevant part can refer to the part of the description of the method embodiment. The device embodiments described above are merely illustrative, where the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units.
本公开还提供一种电子设备,包括处理器及机器可读存储介质;所述机器可读存储介质存储有可被处理器调用的程序;其中,所述处理器执行所述程序时,实现如前述实施例中所述的图像质量确定方法。The present disclosure also provides an electronic device, including a processor and a machine-readable storage medium; the machine-readable storage medium stores a program that can be called by the processor; wherein, when the processor executes the program, the following The image quality determination method described in the foregoing embodiment.
本公开图像质量确定装置的实施例可以应用在电子设备上。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在电子设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,如图5所示,图5是本公开根据一示例性实施例示出的图像质量确定装置100所在电子设备的一种硬件结构图,除了图5所示的处理器510、内存530、网络接口520、以及非易失性存储介质540之外,实施例中装置100所在的电子设备通常根据该电子设备的实际功能,还可以包括其他硬件,对此不再赘述。The embodiments of the image quality determining apparatus of the present disclosure can be applied to electronic equipment. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the electronic device where it is located. From a hardware perspective, as shown in FIG. 5, FIG. 5 is a hardware structure diagram of an electronic device where the image quality determining apparatus 100 is shown according to an exemplary embodiment of the present disclosure, except for the processor 510, In addition to the memory 530, the network interface 520, and the non-volatile storage medium 540, the electronic device in which the apparatus 100 is located in the embodiment generally may include other hardware according to the actual function of the electronic device, which will not be repeated.
本公开还提供一种机器可读存储介质,其上存储有程序,该程序被处理器执行时,实现如前述实施例中任意一项所述的图像质量确定方法。The present disclosure also provides a machine-readable storage medium with a program stored thereon, and when the program is executed by a processor, the method for determining image quality as described in any one of the foregoing embodiments is implemented.
本公开可采用在一个或多个其中包含有程序代码的存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。机器可读存储介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。机器可读存储介质的例子包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The present disclosure may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program codes. Machine-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of machine-readable 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, CD-ROM, digital versatile disc (DVD) or other optical storage , Magnetic cassette tape, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by computing devices.
以上所述仅为本公开的较佳实施例而已,并不用以限制本公开,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开保护的范围之内。The above are only the preferred embodiments of the present disclosure and are not intended to limit the present disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the present disclosure. Within the scope of protection.

Claims (14)

  1. 一种图像质量确定方法,其特征在于,包括:An image quality determination method, characterized in that it comprises:
    获取待检测图像;Obtain the image to be detected;
    将所述待检测图像输入至已训练的图像质量模型,得到所述待检测图像的图像质量参数;Input the image to be detected into a trained image quality model to obtain image quality parameters of the image to be detected;
    其中,所述图像质量模型是依据第一预定图像集合中的图像训练得到的,所述第一预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像,所述标准图像的图像质量满足设定要求。Wherein, the image quality model is obtained by training based on images in a first predetermined image set, and the images in the first predetermined image set include respective captured images and standard images of multiple target objects, and the images of the standard images The quality meets the set requirements.
  2. 如权利要求1所述的图像质量确定方法,其特征在于,所述图像质量模型通过以下方式训练:8. The image quality determination method according to claim 1, wherein the image quality model is trained in the following manner:
    将所述第一预定图像集合中任一目标对象的抓拍图像和标准图像输入至已训练的图像特征模型,以由图像特征模型分别从输入的抓拍图像中提取第一特征、以及从标准图像中提取第二特征并输出第一特征和第二特征;Input the captured image and standard image of any target object in the first predetermined image set to the trained image feature model, so that the image feature model extracts the first feature from the input captured image and the standard image. Extract the second feature and output the first feature and the second feature;
    基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数;Determining the image quality parameters of the input captured image based on the first feature and the second feature output by the image feature model;
    利用各个抓拍图像和抓拍图像的图像质量参数训练出所述图像质量模型。The image quality model is trained by using each captured image and the image quality parameters of the captured image.
  3. 如权利要求2所述的图像质量确定方法,其特征在于,所述图像特征模型是依据第二预定图像集合中的图像训练得到的,所述第二预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像;The image quality determination method according to claim 2, wherein the image feature model is obtained by training based on images in a second predetermined image set, and the images in the second predetermined image set include multiple target objects Respective captured images and standard images;
    所述图像特征模型通过以下方式训练:The image feature model is trained in the following manner:
    建立第一初始模型和第二初始模型;Establish the first initial model and the second initial model;
    将第二预定图像集合中任一目标对象的抓拍图像输入至所述第一初始模型,以使所述第一初始模型从输入的抓拍图像中提取图像特征并输出至所述第二初始模型,所述第二初始模型基于输入的图像特征预测该目标对象的标签信息;Inputting a captured image of any target object in the second predetermined image set to the first initial model, so that the first initial model extracts image features from the input captured image and output to the second initial model, The second initial model predicts the label information of the target object based on the input image features;
    基于所述第二初始模型输出的预测标签信息与该目标对象的标准标签信息优化所述第一初始模型;Optimizing the first initial model based on the predicted label information output by the second initial model and the standard label information of the target object;
    检查当前是否满足设定的第一训练结束条件,如果是,确定当前优化后的第一初始模型为所述图像特征模型。It is checked whether the set first training end condition is currently met, and if so, it is determined that the currently optimized first initial model is the image feature model.
  4. 如权利要求2所述的图像质量确定方法,其特征在于,基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数,包括:3. The image quality determination method of claim 2, wherein determining the image quality parameters of the input captured image based on the first feature and the second feature output by the image feature model comprises:
    计算所述第一特征与第二特征之间的相似度;Calculating the similarity between the first feature and the second feature;
    利用所述相似度确定所述抓拍图像的图像质量参数。The image quality parameter of the captured image is determined by using the similarity.
  5. 如权利要求4所述的图像质量确定方法,其特征在于,所述利用所述相似度确定所述抓拍图像的图像质量参数,包括:5. The image quality determination method according to claim 4, wherein said determining the image quality parameter of the captured image by using the similarity comprises:
    将所述相似度确定为所述抓拍图像的图像质量参数;或者,Determining the similarity as the image quality parameter of the captured image; or,
    从预设的相似度区间与图像质量参数的对应关系中确定出包含所述相似度的目标相似度区间,将所述目标相似度区间对应的图像质量参数确定为所述抓拍图像的图像质量参数。Determine the target similarity interval containing the similarity from the corresponding relationship between the preset similarity interval and the image quality parameter, and determine the image quality parameter corresponding to the target similarity interval as the image quality parameter of the captured image .
  6. 如权利要求1所述的图像质量确定方法,其特征在于,所述图像质量模型通过以下方式训练:8. The image quality determination method according to claim 1, wherein the image quality model is trained in the following manner:
    建立第三初始模型;Establish the third initial model;
    将所述第一预定图像集合中的任一抓拍图像输入至所述第三初始模型,以使所述第三初始模型基于输入的抓拍图像预测图像质量参数并输出;Inputting any captured image in the first predetermined image set to the third initial model, so that the third initial model predicts and outputs image quality parameters based on the input captured image;
    基于所述第三初始模型输出的图像质量参数与输入的抓拍图像的图像质量参数优化所述第三初始模型;Optimizing the third initial model based on the image quality parameters output by the third initial model and the image quality parameters of the captured image input;
    检查当前是否满足设定的第二训练结束条件,如果是,确定当前优化后的第三初始模型为所述图像质量模型。It is checked whether the set second training end condition is currently met, and if so, it is determined that the currently optimized third initial model is the image quality model.
  7. 一种图像质量确定装置,其特征在于,包括:An image quality determining device, characterized in that it comprises:
    待检测图像获取模块,用于获取待检测图像;The image acquisition module to be detected is used to acquire the image to be detected;
    图像质量确定模块,用于将所述待检测图像输入至已训练的图像质量模型,得到所述待检测图像的图像质量参数;An image quality determination module, configured to input the image to be detected into a trained image quality model to obtain image quality parameters of the image to be detected;
    其中,所述图像质量模型是依据第一预定图像集合中的图像训练得到的,所述第一预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像,所述标准图像的图像质量满足设定要求。Wherein, the image quality model is obtained by training based on images in a first predetermined image set, and the images in the first predetermined image set include respective captured images and standard images of multiple target objects, and the images of the standard images The quality meets the set requirements.
  8. 如权利要求7所述的图像质量确定装置,其特征在于,所述图像质量模型通过以下模块训练:8. The image quality determining device according to claim 7, wherein the image quality model is trained through the following modules:
    特征提取模块,用于将所述第一预定图像集合中任一目标对象的抓拍图像和标准图像输入至已训练的图像特征模型,以由图像特征模型分别从输入的抓拍图像中提取第一特征、以及从标准图像中提取第二特征并输出第一特征和第二特征;The feature extraction module is used to input the captured image and standard image of any target object in the first predetermined image set into the trained image feature model, so that the image feature model extracts the first feature from the input captured image respectively , And extracting the second feature from the standard image and outputting the first feature and the second feature;
    抓拍图像质量确定模块,用于基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数;The captured image quality determination module is configured to determine the image quality parameters of the input captured image based on the first feature and the second feature output by the image feature model;
    图像质量模型训练模块,用于利用各个抓拍图像和抓拍图像的图像质量参数训练出 所述图像质量模型。The image quality model training module is used to train the image quality model by using each captured image and the image quality parameters of the captured image.
  9. 如权利要求8所述的图像质量确定装置,其特征在于,所述图像特征模型是依据第二预定图像集合中的图像训练得到的,所述第二预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像;8. The image quality determining device according to claim 8, wherein the image feature model is obtained by training based on images in a second predetermined image set, and the images in the second predetermined image set include a plurality of target objects Respective captured images and standard images;
    所述图像特征模型通过以下模块训练:The image feature model is trained through the following modules:
    模型建立模块,用于建立第一初始模型和第二初始模型;The model establishment module is used to establish the first initial model and the second initial model;
    标签信息预测模块,用于将第二预定图像集合中任一目标对象的抓拍图像输入至所述第一初始模型,以使所述第一初始模型从输入的抓拍图像中提取图像特征并输出至所述第二初始模型,所述第二初始模型基于输入的图像特征预测该目标对象的标签信息;The label information prediction module is used to input a captured image of any target object in the second predetermined image set to the first initial model, so that the first initial model extracts image features from the input captured image and outputs it to The second initial model, which predicts the label information of the target object based on the input image features;
    模型优化模块,用于基于所述第二初始模型输出的预测标签信息与该目标对象的标准标签信息优化所述第一初始模型;A model optimization module, configured to optimize the first initial model based on the predicted label information output by the second initial model and the standard label information of the target object;
    模型确定模块,用于检查当前是否满足设定的第一训练结束条件,如果是,确定当前优化后的第一初始模型为所述图像特征模型。The model determination module is used to check whether the set first training end condition is currently met, and if so, determine that the currently optimized first initial model is the image feature model.
  10. 如权利要求8所述的图像质量确定装置,其特征在于,所述抓拍图像质量确定模块基于所述图像特征模型输出的第一特征和第二特征确定输入的抓拍图像的图像质量参数时,具体用于:8. The image quality determining device according to claim 8, wherein when the captured image quality determining module determines the image quality parameters of the input captured image based on the first feature and the second feature output by the image feature model, the specific Used for:
    计算所述第一特征与第二特征之间的相似度;Calculating the similarity between the first feature and the second feature;
    利用所述相似度确定所述抓拍图像的图像质量参数。The image quality parameter of the captured image is determined by using the similarity.
  11. 如权利要求10所述的图像质量确定装置,其特征在于,所述抓拍图像质量确定模块利用所述相似度确定所述抓拍图像的图像质量参数时,具体用于:10. The image quality determining device according to claim 10, wherein when the captured image quality determining module uses the similarity to determine the image quality parameters of the captured image, it is specifically configured to:
    将所述相似度确定为所述抓拍图像的图像质量参数;或者,Determining the similarity as the image quality parameter of the captured image; or,
    从预设的相似度区间与图像质量参数的对应关系中确定出包含所述相似度的目标相似度区间,将所述目标相似度区间对应的图像质量参数确定为所述抓拍图像的图像质量参数。Determine the target similarity interval containing the similarity from the corresponding relationship between the preset similarity interval and the image quality parameter, and determine the image quality parameter corresponding to the target similarity interval as the image quality parameter of the captured image .
  12. 如权利要求8所述的图像质量确定装置,其特征在于,图像质量模型训练模块通过以下方式训练所述图像质量模型:8. The image quality determining device according to claim 8, wherein the image quality model training module trains the image quality model in the following manner:
    建立第三初始模型;Establish the third initial model;
    将所述第一预定图像集合中的任一抓拍图像输入至所述第三初始模型,以使所述第三初始模型基于输入的抓拍图像预测图像质量参数并输出;Inputting any captured image in the first predetermined image set to the third initial model, so that the third initial model predicts and outputs image quality parameters based on the input captured image;
    基于所述第三初始模型输出的图像质量参数与输入的抓拍图像的图像质量参数优化所述第三初始模型;Optimizing the third initial model based on the image quality parameters output by the third initial model and the image quality parameters of the captured image input;
    检查当前是否满足设定的第二训练结束条件,如果是,确定当前优化后的第三初始模型为所述图像质量模型。It is checked whether the set second training end condition is currently met, and if so, it is determined that the currently optimized third initial model is the image quality model.
  13. 一种电子设备,包括处理器及机器可读存储介质;所述存储介质存储有可被处理器调用的程序;其中,所述处理器执行所述程序时被促使:An electronic device including a processor and a machine-readable storage medium; the storage medium stores a program that can be called by the processor; wherein, when the processor executes the program, it is prompted:
    获取待检测图像;Obtain the image to be detected;
    将所述待检测图像输入至已训练的图像质量模型,得到所述待检测图像的图像质量参数;Input the image to be detected into a trained image quality model to obtain image quality parameters of the image to be detected;
    其中,所述图像质量模型是依据第一预定图像集合中的图像训练得到的,所述第一预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像,所述标准图像的图像质量满足设定要求。Wherein, the image quality model is obtained by training based on images in a first predetermined image set, and the images in the first predetermined image set include respective captured images and standard images of multiple target objects, and the images of the standard images The quality meets the set requirements.
  14. 一种机器可读存储介质,其上存储有机器可执行指令,所述机器可执行指令被处理器执行以促使所述处理器:A machine-readable storage medium having machine-executable instructions stored thereon, and the machine-executable instructions are executed by a processor to cause the processor to:
    获取待检测图像;Obtain the image to be detected;
    将所述待检测图像输入至已训练的图像质量模型,得到所述待检测图像的图像质量参数;Input the image to be detected into a trained image quality model to obtain image quality parameters of the image to be detected;
    其中,所述图像质量模型是依据第一预定图像集合中的图像训练得到的,所述第一预定图像集合中的图像包括多个目标对象各自的抓拍图像和标准图像,所述标准图像的图像质量满足设定要求。Wherein, the image quality model is obtained by training based on images in a first predetermined image set, and the images in the first predetermined image set include respective captured images and standard images of multiple target objects, and the images of the standard images The quality meets the set requirements.
PCT/CN2020/113559 2019-09-11 2020-09-04 Image quality determination method, apparatus and device WO2021047453A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910860819.8 2019-09-11
CN201910860819.8A CN112488985A (en) 2019-09-11 2019-09-11 Image quality determination method, device and equipment

Publications (1)

Publication Number Publication Date
WO2021047453A1 true WO2021047453A1 (en) 2021-03-18

Family

ID=74866873

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/113559 WO2021047453A1 (en) 2019-09-11 2020-09-04 Image quality determination method, apparatus and device

Country Status (2)

Country Link
CN (1) CN112488985A (en)
WO (1) WO2021047453A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067980A (en) * 2021-03-23 2021-07-02 北京澎思科技有限公司 Image acquisition method and device, electronic equipment and storage medium
CN113810610A (en) * 2021-09-16 2021-12-17 杭州海康威视数字技术股份有限公司 Object snapshot method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447884A (en) * 2015-12-21 2016-03-30 宁波大学 Objective image quality evaluation method based on manifold feature similarity
CN105894507A (en) * 2016-03-31 2016-08-24 西安电子科技大学 Image quality evaluation method based on image information content natural scenario statistical characteristics
CN106600597A (en) * 2016-12-22 2017-04-26 华中科技大学 Non-reference color image quality evaluation method based on local binary pattern
CN107610093A (en) * 2017-08-02 2018-01-19 西安理工大学 Full-reference image quality evaluating method based on similarity feature fusion
US10176404B2 (en) * 2015-12-07 2019-01-08 Dassault Systemes Recognition of a 3D modeled object from a 2D image

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017162056A (en) * 2016-03-08 2017-09-14 株式会社Nttドコモ Image evaluation apparatus and image evaluation program
CN106204523A (en) * 2016-06-23 2016-12-07 中国科学院深圳先进技术研究院 A kind of image quality evaluation method and device
CN107609493B (en) * 2017-08-25 2021-04-13 广州视源电子科技股份有限公司 Method and device for optimizing human face image quality evaluation model
CN108171256A (en) * 2017-11-27 2018-06-15 深圳市深网视界科技有限公司 Facial image matter comments model construction, screening, recognition methods and equipment and medium
CN108288027B (en) * 2017-12-28 2020-10-27 新智数字科技有限公司 Image quality detection method, device and equipment
CN108710885B (en) * 2018-03-29 2021-07-23 百度在线网络技术(北京)有限公司 Target object detection method and device
CN109919901B (en) * 2018-07-25 2023-04-28 江南大学 Image quality evaluation method based on ensemble learning and random forest
CN109241888B (en) * 2018-08-24 2022-01-28 北京旷视科技有限公司 Neural network training and object recognition method, device and system and storage medium
CN109508648A (en) * 2018-10-22 2019-03-22 成都臻识科技发展有限公司 A kind of face snap method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10176404B2 (en) * 2015-12-07 2019-01-08 Dassault Systemes Recognition of a 3D modeled object from a 2D image
CN105447884A (en) * 2015-12-21 2016-03-30 宁波大学 Objective image quality evaluation method based on manifold feature similarity
CN105894507A (en) * 2016-03-31 2016-08-24 西安电子科技大学 Image quality evaluation method based on image information content natural scenario statistical characteristics
CN106600597A (en) * 2016-12-22 2017-04-26 华中科技大学 Non-reference color image quality evaluation method based on local binary pattern
CN107610093A (en) * 2017-08-02 2018-01-19 西安理工大学 Full-reference image quality evaluating method based on similarity feature fusion

Also Published As

Publication number Publication date
CN112488985A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
US11544831B2 (en) Utilizing an image exposure transformation neural network to generate a long-exposure image from a single short-exposure image
WO2021093468A1 (en) Video classification method and apparatus, model training method and apparatus, device and storage medium
CN107122744B (en) Living body detection system and method based on face recognition
JP6798183B2 (en) Image analyzer, image analysis method and program
CN110889672B (en) Student card punching and class taking state detection system based on deep learning
KR102629380B1 (en) Method for Distinguishing a Real Three-Dimensional Object from a Two-Dimensional Spoof of the Real Object
CN112926410B (en) Target tracking method, device, storage medium and intelligent video system
US20190095701A1 (en) Living-body detection method, device and storage medium
CN109145766B (en) Model training method and device, recognition method, electronic device and storage medium
CN107958235B (en) Face image detection method, device, medium and electronic equipment
KR20190069457A (en) IMAGE BASED VEHICLES LOSS EVALUATION METHOD, DEVICE AND SYSTEM,
US9633044B2 (en) Apparatus and method for recognizing image, and method for generating morphable face images from original image
CN112446270A (en) Training method of pedestrian re-identification network, and pedestrian re-identification method and device
CA2934514A1 (en) System and method for identifying faces in unconstrained media
CN110678873A (en) Attention detection method based on cascade neural network, computer device and computer readable storage medium
WO2021047453A1 (en) Image quality determination method, apparatus and device
CN110598638A (en) Model training method, face gender prediction method, device and storage medium
CN107767358B (en) Method and device for determining ambiguity of object in image
KR20190076288A (en) System and method for estimating subject image quality using visual saliency and a recording medium having computer readable program for executing the method
US10915739B2 (en) Face recognition device, face recognition method, and computer readable storage medium
CN112528939A (en) Quality evaluation method and device for face image
CN115147936A (en) Living body detection method, electronic device, storage medium, and program product
US20190304152A1 (en) Method and device for processing image
CN108257117B (en) Image exposure evaluation method and device
US11341612B1 (en) Method and system for automatic correction and generation of facial images

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20862113

Country of ref document: EP

Kind code of ref document: A1

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 22/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20862113

Country of ref document: EP

Kind code of ref document: A1