WO2022151589A1 - Image enhancement method, apparatus and device, and storage medium - Google Patents

Image enhancement method, apparatus and device, and storage medium Download PDF

Info

Publication number
WO2022151589A1
WO2022151589A1 PCT/CN2021/083502 CN2021083502W WO2022151589A1 WO 2022151589 A1 WO2022151589 A1 WO 2022151589A1 CN 2021083502 W CN2021083502 W CN 2021083502W WO 2022151589 A1 WO2022151589 A1 WO 2022151589A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
target
enhancement
preset
image enhancement
Prior art date
Application number
PCT/CN2021/083502
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 WO2022151589A1 publication Critical patent/WO2022151589A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Definitions

  • the present application relates to the field of image processing, and in particular, to an image enhancement method, apparatus, device, and storage medium.
  • the main purpose of this application is to improve the accuracy and timeliness of auto insurance claims settlement, and to solve the technical problem of low claim settlement efficiency.
  • a first aspect of the present application provides an image enhancement method, comprising: acquiring on-site image data of a traffic accident scene; identifying the on-site image data through a preset image recognition model, and judging the on-site image data Whether the preset image standard is met; if not, prompt the user to re-shoot; if so, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into the preset image enhancement
  • the model performs image enhancement on the target accident vehicle image to generate a target enhanced image.
  • a second aspect of the present application provides an image enhancement device, comprising a memory, a processor, and computer-readable instructions stored on the memory and executable on the processor, the processor executing the computer-readable instructions
  • the following steps are implemented: acquiring on-site image data of the traffic accident scene; identifying the on-site image data through a preset image recognition model, and judging whether the on-site image data meets the preset image standard; if not, prompting the user to restart the Shooting; if yes, then enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into a preset image enhancement model, and perform image enhancement on the target accident vehicle image to generate Target-enhanced image.
  • a third aspect of the present application provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed on a computer, the computer is caused to perform the following steps: acquiring the traffic accident scene On-site image data; identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standards; if not, prompt the user to re-shoot; if so, enter the next shooting task , obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into a preset image enhancement model, perform image enhancement on the target accident vehicle image, and generate a target enhanced image.
  • a fourth aspect of the present application provides an image enhancement device, comprising: a first acquisition module for acquiring on-site image data of a traffic accident scene; a first judgment module for analyzing the on-site image data through a preset image recognition model Recognition is performed to determine whether the on-site image data meets the preset image standard; the prompting module is used to prompt the user to re-shoot when the on-site image data does not meet the preset image standard; the shooting module is used when the on-site image data does not meet the preset image standard.
  • the image enhancement module is used for inputting the target accident vehicle image into a preset image enhancement model, and for the target accident vehicle image
  • the vehicle image is image-enhanced to generate a target-enhanced image.
  • the present application uses a preset image recognition model to identify on-site image data obtained from the scene of a traffic accident to determine whether the on-site image data meets the preset image standards; if the on-site image data does not meet the preset image standards, the user is prompted to re-shoot; If the on-site image data meets the preset image standards, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into the preset image enhancement model for image enhancement to generate the target enhanced image.
  • This solution only needs high-quality images to learn the mapping function to complete the conversion of low-quality to high-quality images, improve the accuracy and processing time of auto insurance claims, and solve the technical problem of low claim settlement efficiency.
  • FIG. 1 is a schematic diagram of the first embodiment of the image enhancement method of the present application
  • FIG. 2 is a schematic diagram of a second embodiment of the image enhancement method of the present application.
  • FIG. 3 is a schematic diagram of a third embodiment of the image enhancement method of the present application.
  • FIG. 4 is a schematic diagram of a fourth embodiment of the image enhancement method of the present application.
  • FIG. 5 is a schematic diagram of a fifth embodiment of the image enhancement method of the present application.
  • FIG. 6 is a schematic diagram of a first embodiment of an image enhancement apparatus of the present application.
  • FIG. 7 is a schematic diagram of a second embodiment of the image enhancement apparatus of the present application.
  • FIG. 8 is a schematic diagram of an embodiment of an image enhancement device of the present application.
  • the embodiments of the present application provide an image enhancement method, device, device, and storage medium, which improve the accuracy and processing time of auto insurance claims, and solve the technical problem of low claim settlement efficiency.
  • the first embodiment of the image enhancement method in the embodiment of the present application includes:
  • the user in order to ensure sufficient information is obtained, the user needs to take a 360-degree photograph around the accident vehicle and photograph key damaged parts at the scene of the traffic accident.
  • users need to take pictures of the corresponding parts of the vehicle on the spot through their personal mobile phones according to the guidelines, including the frame number, damaged parts, pictures of the whole vehicle with license plates, and pictures of the whole body of the vehicle.
  • the accuracy of the subsequent steps will be directly determined, and ordinary users often do not have the operating skills of professionals.
  • the device is a camera that comes with an ordinary mobile phone, and the shooting conditions of the location cannot be determined when car insurance damage is determined. Therefore, the captured images or videos may often have wrong shooting targets, unreasonable shooting angles, blurred images, underexposure or strong light reflection. Therefore, it is necessary to identify the on-site image data of the accident vehicle taken by the user through the preset image recognition model, determine whether it is the corresponding photo required in the guide through the identification model, and quickly determine whether it conforms to the preset through solutions such as edge detection. standard.
  • the captured image conforms to the corresponding shooting standard, whether it is the corresponding photo required in the guide by the identification model, and whether there is blurring through solutions such as edge detection. If it does not meet the standard, the user will be prompted to shoot again.
  • the next shooting task is entered to obtain a relatively high-quality image including brightness, contrast, white balance, latitude, noise, details, color transition, etc. , which is the target-enhanced image.
  • the low-quality image of the target accident vehicle captured by the mobile phone is input into the target image enhancement model, and the comprehensive improvement including brightness, contrast, white balance, tolerance, noise, details, color transition, etc. is completed, and an image based on The original picture content and the enhanced picture that approximates the visual effect of professional digital cameras.
  • the image enhancement method is to add some information or transform data to the original image by certain means, selectively highlight the interesting features in the image or suppress (mask) some unnecessary features in the image, so that the image is different from the original image.
  • Visual response characteristics to match In the process of image enhancement, the reason for image degradation is not analyzed, and the processed image is not necessarily close to the original image.
  • Image enhancement technology can be divided into two categories: spatial domain-based algorithms and frequency domain-based algorithms according to the different spaces in which the enhancement process is performed.
  • the on-site image data obtained from the traffic accident scene is identified by a preset image recognition model, and it is judged whether the on-site image data meets the preset image standard; if the on-site image data does not meet the preset image standard, the user is prompted Re-shoot; if the on-site image data meets the preset image standards, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into the preset image enhancement model for image enhancement, and generate the target enhanced image .
  • This solution only needs high-quality images to learn the mapping function to complete the conversion of low-quality to high-quality images, improve the accuracy and processing time of auto insurance claims, and solve the technical problem of low claim settlement efficiency.
  • the second embodiment of the image enhancement method in the embodiment of the present application includes:
  • a target image of at least one accident vehicle at the scene of the traffic accident is obtained, and these target images can reflect the specific situation of the accident scene, such as the license plate number, damaged part and degree of damage of the accident vehicle.
  • a plurality of original image samples in various auto insurance claim scenarios can be obtained from the database first.
  • the original image samples can be images taken by the user from the accident scene, or taken by a company professional with a professional camera images, etc. For example, photos taken by SLR cameras have less noise and richer details.
  • image enhancement is performed on the image parameters of each of the original image samples to generate an enhanced image sample after image enhancement.
  • each original image sample can be adjusted by a professional special effect designer to obtain an enhanced image sample after image enhancement, so that the enhanced image sample has better brightness and saturation.
  • image enhancement refers to enhancing the useful information in the image, which may be a distortion process, the purpose of which is to improve the visual effect of the image, and is aimed at the application occasion of a given image. Purposefully emphasize the overall or local characteristics of the image, make the original unclear image clear or emphasize some interesting features, expand the difference between the features of different objects in the image, suppress the uninteresting features, and improve the image. Quality, rich information, strengthen image interpretation and recognition effect, to meet the needs of some special analysis.
  • the training sample data is input into a preset image enhancement generator to train the image enhancement generator.
  • the specific implementation steps include: inputting an original low-quality image x, and generating a
  • the texture and color discriminator calculates the texture and color loss functions by comparing y with the image z captured by a professional camera, and trains the generator with secondary feedback.
  • the low-quality image y' is generated in reverse by applying the generator G' to the image y, and the generation control of the generator G is achieved by calculating the content loss with the original image x.
  • 204 Acquire on-site image data of the traffic accident scene; 205. Identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standard; 206. When the on-site image data does not meet the preset image standard, Prompt the user to re-shoot; 207. When the on-site image data meets the preset image standard, enter the next shooting task to obtain the target accident vehicle image at the scene of the traffic accident; 208. Input the target accident vehicle image into the preset image enhancement model. The image of the accident vehicle is image-enhanced to generate a target-enhanced image.
  • Steps 204-208 in this embodiment are similar to steps 101-105 in the first embodiment, and are not repeated here.
  • the third embodiment of the image enhancement method in the embodiment of the present application includes:
  • 301 Acquire historical vehicle images at the accident site from a preset database; 302. Use the historical vehicle images as training samples to construct a training sample data set; 303. Input the training sample data set into a preset image enhancement generator, and apply the image enhancement generator to the image enhancement generator. Carry out training to obtain a target image enhancement model; 304, obtain on-site image data of the traffic accident scene; 305, obtain a plurality of training pictures from a preset training picture database, and input the training pictures into the preset neural network model to obtain the training picture. predict class labels;
  • the pictures of the accident vehicles taken at the scene of the vehicle accident in the past are obtained from the preset database as the pictures to be identified, and the predicted category labels of the pictures to be identified are obtained; wherein the pre-trained picture identification model adopts the convolutional neural network model , and the convolutional neural network model includes at least one layer of kernel pooling layer that upgrades the channel dimension from one-dimensional to multi-dimensional.
  • the parameters in the image recognition model are constantly changing, that is, the image recognition model is constantly changing.
  • the image recognition model used is the image recognition model updated in the previous training.
  • each parameter adopts a preset initial value.
  • the dimension of the predicted category label is determined during training. For example, if several training pictures in the training picture database include n pictures in total, the dimension of the predicted category label output by the picture recognition model can be set to n.
  • the true category label of the category of the training picture can be generated according to the category of the training picture.
  • the true category label of the training picture is also in the form of a vector. In the vector, only the value of the element at the position corresponding to the category of the training picture is 1, and the rest of the positions are 0.
  • the difference between the predicted category label of the training picture and the actual category label of the training picture can be known, and the training picture can be generated according to the difference.
  • loss function In the process of training the image recognition model in this embodiment, the value of the loss function should be gradually reduced, so that the trained image recognition model is more accurate.
  • the feature difference values of the labels are calculated respectively, the multiple feature difference values calculated according to the corresponding loss functions are sorted, and the loss function corresponding to the feature difference value with the largest ranking is used as the final The loss function, which adjusts the weights back to the model.
  • the loss function represents a value descending in the gradient direction
  • the larger the loss function value the less accurate the predicted category label output by the image recognition model after processing the input image.
  • the gradient of the final point of the loss function is 0.
  • the smaller the value of the loss function the more accurate the processing result of the image recognition model. That is, the derivative of the loss function of the training picture to each parameter in the picture recognition model is calculated, and each parameter in the picture recognition model is updated according to each parameter in the picture recognition model and the derivative of each parameter of the loss function corresponding to the training picture, so that Determine the image recognition model after this training.
  • the loss function also known as the cost function, is a function that maps the value of a random event or its related random variables to non-negative real numbers to represent the "risk" or "loss" of the random event.
  • loss functions are often associated with optimization problems as learning criteria, i.e. solving and evaluating models by minimizing the loss function. For example, it is used for parametric estimation of models in statistics and machine learning.
  • the loss function is pre-built and used to calculate the feature difference between the real feature and the predicted feature.
  • each parameter in the image recognition model is updated according to each parameter in the image recognition model and the derivative of the loss function of the training image to each parameter to obtain the target image recognition model.
  • the loss function can also be regarded as a function of the parameters in the image recognition model.
  • the loss function of the training image can be calculated.
  • the derivative of each parameter in the image recognition model; for each parameter in the image recognition model, when updating, the parameter in the image recognition model can be updated to the parameter minus the derivative of the loss function to the parameter, that is, every training Update the image recognition model.
  • the loss function represents a value that declines in the gradient direction
  • the larger the loss function value the less accurate the predicted category label output by the image recognition model after processing the input image.
  • the loss is adjusted continuously. function so that the gradient of the final point of the loss function is 0.
  • the smaller the value of the loss function the more accurate the processing result of the image recognition model.
  • the loss function is continuously optimized, and the parameters of the image recognition model are continuously updated, so as to continuously update the image recognition model, so that the final image recognition model can recognize images very accurately.
  • 309 Identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standard; 310. When the on-site image data does not meet the preset image standard, prompt the user to re-shoot; 311. When the on-site image data does not meet the preset image standard When the preset image standard is met, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; 312. Input the target accident vehicle image into the preset image enhancement model, perform image enhancement on the target accident vehicle image, and generate the target enhanced image .
  • Steps 301 - 303 and 309 - 312 in this embodiment are similar to steps 201 - 203 and 102 - 105 in the first embodiment, and are not repeated here.
  • the fourth embodiment of the image enhancement method in the embodiment of the present application includes:
  • a plurality of low-quality images are obtained from a preset database as training sample data, and these images are enhanced to obtain a preset number of original image samples and a corresponding preset number of enhanced image samples.
  • the collected target original images are input into the CNN image enhancement network in the preset image enhancement generator, and an output image corresponding to each target original image can be obtained.
  • the loss function is pre-built and is used to calculate the feature difference between the real feature and the predicted feature, and sorts the multiple feature differences calculated according to the corresponding loss function, and sorts the feature difference with the largest one.
  • the loss function corresponding to the value is used as the final loss function. After the loss function value is obtained, the training of the CNN image enhancement network is supervised and the network parameters are updated based on the loss function value.
  • the output image and the enhanced image may be blurred by using the mean blurring method, and the mean error value of the blurred output image and the enhanced image may be calculated to obtain the color_loss value.
  • the mean blurring method to blur the output image and the enhanced image, the interference of high-frequency information is eliminated, and the network learns more color information.
  • the mean pooling layer in the CNN image enhancement network can be used and stride is set to 1 to realize end2end training, so as to perform l2loss (ie Mean Square Error Loss) on the blurred output image and the enhanced image to obtain Get the color_loss value.
  • vgg_loss is a semantic type of loss, which can better generate semantic information.
  • this embodiment may use vgg19 as a network structure for generating feature maps of different layers, and at the same time initialize the vgg19 network with network parameters trained on the ImageNet dataset. The output image and the enhanced image are subjected to l2loss on the feature map output by the same layer through the vgg19 network to obtain the vgg_loss value.
  • texture_loss also known as texture loss, can add texture details on the basis of the above to ensure image enhancement without losing detail information.
  • the training of the CNN image enhancement network is supervised and network parameters are updated based on the loss function value, until the CNN image enhancement network converges to obtain the target image enhancement model;
  • the method of judging whether the CNN image enhancement network reaches the training convergence condition may be: judging whether the change value of the loss value is less than a preset value, and if the change value of the loss value is less than the preset value, then It is determined that the CNN image enhancement network has reached the training convergence condition, otherwise it is determined that the CNN image enhancement network has not reached the training convergence condition.
  • the preset value can be set according to actual needs. For example, the preset value can be set to a value close to 0, or can also be set to 0. If the preset value is 0, the loss value does not change. When it is determined that the CNN image enhancement network has reached the training convergence condition, otherwise it is determined that the CNN image enhancement network has not reached the training convergence condition. If the CNN image enhancement network does not reach the training convergence condition, repeat the above steps to continue training.
  • the image enhancement model can perform image enhancement on the input image.
  • the to-be-processed image may be input into the image enhancement model to obtain an enhanced image corresponding to the to-be-processed image.
  • the user inputs the image captured by the mobile phone as the image to be processed into the trained image enhancement model, and then obtains the corresponding enhanced image through the layer-by-layer calculation of the network, and the corresponding enhanced image is the target enhanced image.
  • Steps 407-411 in this embodiment are similar to steps 101-105 in the first embodiment, and are not repeated here.
  • the fifth embodiment of the image enhancement method in the embodiment of the present application includes:
  • 501 Acquire on-site image data of the traffic accident scene; 502. Identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standard; 503. When the on-site image data does not meet the preset image standard, Prompt the user to re-shoot; 504. When the on-site image data meets the preset image standard, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; 505. Perform down-sampling processing on the target accident vehicle image to obtain a down-sampled image ;
  • the image when image enhancement processing needs to be performed on a certain image, the image can be used as the target enhancement image to be enhanced.
  • the target-enhanced image may be a high-resolution image.
  • the target-enhanced image can be a single-channel image or a multi-channel image.
  • the color space of the multi-channel image may be: RGB (Red, Green, Blue, red, green, blue), YUV (Luminance, Chrominance, Chroma, brightness, chromaticity, density) or other color spaces.
  • RGB Red, Green, Blue, red, green, blue
  • YUV Luminance, Chrominance, Chroma, brightness, chromaticity, density
  • the electronic device can take an enhanced image of the target through a built-in or external camera, and can also communicate with other devices to receive enhanced images of the target sent by other devices. The present disclosure does not limit the manner in which the electronic device obtains the target enhanced image.
  • the electronic device After the electronic device acquires the target enhanced image, it can perform down-sampling processing on the target enhanced image, thereby obtaining the down-sampled image.
  • the obtained down-sampled image can be further input into a deep learning network, and the deep learning network performs image enhancement processing on the down-sampled image.
  • the target enhanced image may be down-sampled by x times, so that the resolution, width and height of the obtained down-sampled image are all 1/x times the corresponding parameters of the target enhanced image.
  • the deep learning network in order to perform image enhancement processing on the down-sampled image, can be trained according to the sample image and the sample enhanced image corresponding to the sample image in advance to obtain a trained deep learning network.
  • the sample images and the corresponding sample-enhanced images are training samples used for training.
  • Sample images and corresponding sample-enhanced images can be obtained from the existing training library as training samples.
  • the sample-enhanced image may be obtained by using a multi-exposure fusion method, or may be obtained by using other single-frame image enhancement methods, which is not limited in the present disclosure.
  • the structure of the deep learning network may be any existing deep learning network model. Specifically, during training, the number of training samples can be determined according to actual needs. At the same time, a reasonable loss function or objective function and corresponding target value can also be set to determine whether the deep learning network is well trained.
  • the network parameters of the deep learning network are determined. Since the deep learning network is trained according to the sample image and the corresponding sample enhanced image, after the down-sampled image is input into the trained deep learning network, the image enhancement data corresponding to the down-sampled image can be obtained.
  • the image enhancement data is data representing the degree of enhancement of the downsampled image enhanced image relative to the downsampled image.
  • the image enhancement data can be in various forms.
  • the image enhancement data may include mapping parameters for mapping each pixel in the down-sampled image to a corresponding pixel, wherein the corresponding pixel of any pixel is the down-sampled image.
  • the pixel in the image after image enhancement has the same position as the pixel.
  • the image enhancement data may include a downsampled image enhanced image.
  • the output result of the deep learning network is of the same type as the image enhancement data corresponding to the downsampled image, that is, when the output result of the deep learning network is the mapping parameter, the image enhancement data corresponding to the downsampled image is of the same type. is the mapping parameter, and when the output result of the deep learning network is an enhanced image, the image enhancement data corresponding to the downsampled image is the image enhanced by the downsampled image.
  • the image enhancement data corresponding to the down-sampled image does not correspond to the target enhanced image.
  • the matching point of each pixel in the target enhanced image in the down-sampled image may be determined first, then the target enhancement parameter corresponding to the pixel is determined, and finally , and use the target enhancement parameter to adjust the pixel value of the pixel.
  • the corresponding pixel in the down-sampled image is determined, and in the search area with the corresponding pixel as the center and the size is M ⁇ N, find the corresponding pixel in the down-sampled image. For the pixel point with the smallest absolute value of the difference between the pixel values of the pixel point, the found pixel point is used as the matching point of the pixel point in the down-sampled image.
  • the target enhancement parameter corresponding to the pixel can be determined based on the enhancement data corresponding to the matching point , and further adjust the pixel value of the pixel based on the target enhancement parameter.
  • the form of the image enhancement data is different, and the way of determining the target enhancement parameter corresponding to each pixel in the target enhancement image is also different. Two ways are given below for description.
  • the image enhancement data may include: each pixel in the down-sampled image is mapped to a mapping parameter of a corresponding pixel, and the corresponding pixel of any pixel is the same as the pixel in the enhanced image of the down-sampled image. of pixels.
  • mapping a pixel point to a corresponding pixel point specifically refers to: adjusting the pixel value of a pixel point to the pixel value of the corresponding pixel point.
  • determining the target enhancement parameter corresponding to the pixel point based on the enhancement data corresponding to the matching point of the pixel point in the image enhancement data may include: For each pixel, the target parameter corresponding to the matching point of the pixel is determined from the respective mapping parameters, and the determined target parameter is used as the target enhancement parameter corresponding to the pixel.
  • the pixel value of the pixel can be adjusted based on the target enhancement parameter.
  • This adjustment process is the process of image enhancement processing on the target enhanced image.
  • the accident type, the relative position information of the accident vehicle, the first vehicle identifier of the accident vehicle, the damaged position of the accident vehicle, and the damage degree of the accident vehicle are sent to the described client.
  • the accident type is the premise for determining the damage of the accident vehicle.
  • Different accident types will affect the damaged position and damage degree of the accident vehicle.
  • the damaged position of the accident vehicle is the front and rear ends of the accident vehicle, and most of them are collision damage, and the degree of damage is relatively heavier than the scratch accident;
  • the damaged position of the accident vehicle It is the two sides of the accident vehicle, and most of them are scratch damage;
  • the damaged position of the accident vehicle is one side and the front end of the accident vehicle, and there are both collision damage and scratch damage. Therefore, it is necessary to determine the accident type through the accident image. According to the owner's identity information entered by the user and the damage information of the accident vehicle, the vehicle is claimed.
  • the claim settlement request uploaded by the user includes the target enhanced image (that is, the target enhanced image in this embodiment) and the claim information, wherein the target enhanced image is the user taking pictures of the damaged part of the vehicle when a vehicle accident occurs For example, a picture of a rear-end collision of a vehicle, a picture of a rollover of a vehicle, and a picture of a vehicle scratching.
  • Claim information refers to the user uploading information related to claims to the insurance company after a vehicle accident, such as the car model, the cause of damage, and the policy number, etc.
  • the user fills in the basic vehicle information and the cause of the accident through the mobile terminal 10, takes a picture of the damaged vehicle on site, and uploads the target enhanced image and claim information to the insurance company's server to generate a claim request.
  • the trained convolutional neural network model is called, and the target enhanced image is input into the convolutional neural network model for prediction, and the claim settlement probability of the target enhanced image is obtained, that is, the target The probability of whether the enhanced image should be claimed.
  • a classifier SVM Small Vector Machine
  • SVM Small Vector Machine
  • the classifier maps the one-dimensional feature vector to a value in the range of 0 to 1, which is the claim settlement probability.
  • the claim settlement probability of the target enhanced image is compared with a preset threshold, and the preset threshold is 0.7.
  • the preset threshold is 0.7.
  • the claim settlement probability corresponding to the target enhanced image is greater than the preset threshold, it means that the target enhanced image is very close to the target accident vehicle image that has already been claimed, and it is determined that the target enhanced image is claimable.
  • the claim settlement probability corresponding to the target enhanced image is less than the preset threshold, it indicates that the target enhanced image has a risk of insurance fraud or fraud, and it is determined that the target enhanced image is not eligible for claim settlement.
  • the claim settlement probability is 0.8, then the claim settlement probability is greater than the preset threshold, and it is determined that the target enhanced image can be claimed.
  • all claim settlement cases are screened from the preset database, claim settlement cases that have already been settled are selected, and claim settlement information of the screened claim settlement cases is obtained.
  • Claims that have been settled can be obtained by selecting the marked claim cases; then, the claim information of the screened claim cases and the claim information uploaded by the user are matched according to preset rules, wherein the preset rules are, for example, according to the vehicle. Match the model, vehicle age, and damaged parts. For example, if the vehicle model uploaded by the user is type A, the vehicle age is 2 years, and the damaged part is the rear of the vehicle, the corresponding claim information will be searched for one-to-one matching. Claim settlement information, and use the claimed amount in the matching claim settlement information as the estimated claim settlement amount, and send the estimated claim settlement amount to the user.
  • Steps 501-504 in this embodiment are similar to steps 101-104 in the first embodiment, and are not repeated here.
  • the on-site image data obtained from the traffic accident scene is identified by a preset image recognition model, and it is judged whether the on-site image data meets the preset image standard; if the on-site image data does not meet the preset image standard, a prompt is displayed The user re-shoots; if the on-site image data meets the preset image standards, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into the preset image enhancement model for image enhancement to generate target enhancement image.
  • This solution only needs high-quality images to learn the mapping function to complete the conversion of low-quality to high-quality images, improve the accuracy and processing time of auto insurance claims, and solve the technical problem of low claim settlement efficiency.
  • the image enhancement method in the embodiment of the present application has been described above, and the image enhancement device in the embodiment of the present application is described below. Please refer to FIG. 6 .
  • the first embodiment of the image enhancement device in the embodiment of the present application includes: a first acquisition module 601, for acquiring on-site image data of a traffic accident scene; a first judgment module 602, for identifying the on-site image data through a preset image recognition model, and judging whether the on-site image data satisfies the preset image standard; prompting
  • the module 603 is used for prompting the user to re-shoot when the on-site image data does not meet the preset image standard;
  • the shooting module 604 is used for entering the next shooting task when the on-site image data meets the preset image standard, and obtaining the The target accident vehicle image at the scene of the traffic accident;
  • the image enhancement module 605 is configured to input the target accident vehicle image into a preset image enhancement model, perform image enhancement on the target accident vehicle image, and generate a target enhanced image
  • the image enhancement apparatus specifically includes:
  • the first acquisition module 601 is used to acquire the on-site image data of the traffic accident scene; the first judgment module 602 is used to identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset requirements.
  • Image standard the prompting module 603 is used to prompt the user to re-shoot when the on-site image data does not meet the preset image standard; the shooting module 604 is used to enter the next shooting when the on-site image data meets the preset image standard
  • the task is to obtain the target accident vehicle image at the traffic accident scene; the image enhancement module 605 is used to input the target accident vehicle image into a preset image enhancement model, and perform image enhancement on the target accident vehicle image to generate a target enhanced image. .
  • the image enhancement device further includes:
  • the second acquisition module 605 is used to acquire historical vehicle images of the accident scene from the preset database; the construction module 606 is used to construct a training sample data set using the historical vehicle images as training samples; the training module 607 is used to The training sample data set is input to a preset image enhancement generator, and the image enhancement generator is trained to obtain a target image enhancement model.
  • the image enhancement device further includes:
  • the input module 608 is used to obtain a plurality of training pictures from the preset training picture database, and the training pictures are preset to the neural network model to obtain the predicted category label of the training pictures; the generation module 609 is used for according to the The category of the training picture, the true category label of the training picture is generated; the first loss function of the training picture is generated according to the predicted category label of the training picture and the true category label of the training picture; the update module 610 uses The parameters in the neural network model are updated according to the first loss function to obtain a target image recognition model.
  • the training module 607 is specifically used for:
  • the image enhancement unit 6071 is used to perform image enhancement on the training sample data set to obtain a preset number of target original images and corresponding enhanced images; the input unit 6072 is used to input the target original image into the preset image enhancement In the CNN image enhancement network in the generator, the output image corresponding to the target original image is obtained; the determining unit 6073 is used to determine the second loss function between the output image and the enhanced image; the iterative training unit 6074 is used for Based on the second loss function, the CNN image enhancement network in the image enhancement generator is performed until the CNN image enhancement network converges to obtain a target image enhancement model.
  • the image enhancement module 605 is specifically used for:
  • the image enhancement device further includes:
  • the third obtaining module 611 is configured to obtain the vehicle owner identity information of the user and the damage information of the accident vehicle, wherein the vehicle information includes the car insurance information of the accident vehicle;
  • the prediction module 612 is configured to receive the upload from the user and input the target enhanced image into the trained convolutional neural network model for prediction, and obtain the claim settlement probability of the target enhanced image;
  • the second judgment module 613 is used to judge the claim settlement of the target enhanced image Whether the probability is greater than a preset threshold;
  • the determination module 614 is used to determine that the target enhanced image can be claimed when the claim settlement probability of the target enhanced image is greater than the preset threshold;
  • the claim settlement module 615 is used based on the user's vehicle owner identity information and the identification information of the accident vehicle, and make a claim for the accident vehicle.
  • a preset image recognition model is used to identify the on-site image data obtained from the scene of a traffic accident to determine whether the on-site image data meets the preset image standard; if the on-site image data does not meet the preset image standard, the user is prompted to Re-shoot; if the on-site image data meets the preset image standards, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into the preset image enhancement model for image enhancement, and generate the target enhanced image .
  • This solution only needs high-quality pictures to learn the mapping function to complete the conversion of low-quality to high-quality images, improve the accuracy and processing time of auto insurance claims, and solve the technical problem of low claim settlement efficiency.
  • FIGS 6 and 7 above describe in detail the image enhancement apparatus in the embodiment of the present application from the perspective of modular functional entities, and the following describes the image enhancement device in the embodiment of the present application in detail from the perspective of hardware processing.
  • the image enhancement device 800 may vary greatly due to different configurations or performance, and may include one or more processors (central processing units, CPUs) ) 810 (eg, one or more processors) and memory 820, one or more storage media 830 (eg, one or more mass storage devices) storing application programs 833 or data 832.
  • the memory 820 and the storage medium 830 may be short-term storage or persistent storage.
  • the program stored in the storage medium 830 may include one or more modules (not shown in the figure), and each module may include a series of instructions to operate on the image enhancement apparatus 800 .
  • the processor 810 may be configured to communicate with the storage medium 830, and execute a series of instruction operations in the storage medium 830 on the image enhancement device 800, so as to implement the steps of the image enhancement method provided by the above method embodiments.
  • Image enhancement device 800 may also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input and output interfaces 860, and/or, one or more operating systems 831, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD and more.
  • operating systems 831 such as Windows Server, Mac OS X, Unix, Linux, FreeBSD and more.
  • the present application also provides an image enhancement device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, the memory and the at least one processor are interconnected by a line; the at least one processor calls the at least one processor The instructions in the memory are used to cause the image enhancement device to perform the steps in the image enhancement method described above.
  • the present application also provides a computer-readable storage medium, and the computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium.
  • the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on the computer, the computer performs the following steps:
  • the next shooting task is to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into a preset image enhancement model, and perform image enhancement on the target accident vehicle image to generate a target enhanced image.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution.
  • the computer software product is stored in a storage medium, including a number of instructions for So that a computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, removable hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

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)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

An image enhancement method, apparatus and device, and a storage medium. The method comprises: a preset image recognition model recognizing on-site image data acquired from a traffic accident site, and determining whether the on-site image data meets a preset image standard; if the on-site image data does not meet the preset image standard, prompting a user to perform photographing again; if the on-site image data meets the preset image standard, conducting the next photographing task to obtain a target accident vehicle image of the traffic accident site; and inputting the target accident vehicle image into a preset image enhancement model for image enhancement, so as to generate a target enhanced image. According to the method, conversion from low-quality images to high-quality images can be completed merely by means of performing mapping function learning on high-quality pictures, the accuracy and the handling time effectiveness of vehicle insurance claim settlement are improved, and the technical problem of low claim settlement efficiency is solved.

Description

图像增强方法、装置、设备及存储介质Image enhancement method, device, device and storage medium
本申请要求于2021年01月18日提交中国专利局、申请号为202110064519.6、发明名称为“图像增强方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of the Chinese patent application with the application number 202110064519.6 and the invention title "Image Enhancement Method, Apparatus, Equipment and Storage Medium" filed with the China Patent Office on January 18, 2021, the entire contents of which are incorporated by reference in Applying.
技术领域technical field
本申请涉及图像处理领域,尤其涉及一种图像增强方法、装置、设备及存储介质。The present application relates to the field of image processing, and in particular, to an image enhancement method, apparatus, device, and storage medium.
背景技术Background technique
随着个人手机的普及和科技的进步,传统车险理赔流程中的影像化处理流程由于通常需要专业团队,使用较为专业的摄影器材,并根据一套完整的采集流程对各个区域进行拍摄采集图像数据。而面对日益增多的私家车保有量和各类小型事故,对车险理赔造成了较大的压力,无论是人员的数量还是处理的效率都无法满足目前的需求,因此近年来出现的自助式服务、在线提交材料、快捷理赔甚至全自动理赔,已经成为互联网保险理赔服务的标志性卖点。With the popularization of personal mobile phones and the advancement of technology, the image processing process in the traditional auto insurance claims process usually requires a professional team, using more professional photographic equipment, and shooting and collecting image data for each area according to a complete collection process. . In the face of the increasing number of private cars and various small accidents, it has caused great pressure on auto insurance claims. Neither the number of personnel nor the processing efficiency can meet the current needs. Therefore, self-service services that have appeared in recent years , online submission of materials, quick claim settlement and even automatic claim settlement have become the iconic selling points of Internet insurance claim settlement services.
然而由于对车险理赔材料的拍摄、上传这一步所采集的图像或视频信息的质量,将直接决定后续步骤的准确率,而普通用户往往不具备专业人员的操作技能,所使用的设备是普通手机自带的相机,而车险定损时往往无法确定所在地的拍摄条件,因此所拍摄的图像或视频往往可能存在拍摄目标错误、拍摄角度不合理、成像模糊、曝光不足或强光反射等问题,发明人意识到,这些问题相比由专业人员采集的图像相差较多,会加大后期的OCR识别或人工审核难度,无法提升处理效率。However, due to the quality of the images or video information collected in the step of shooting and uploading auto insurance claims materials, the accuracy of the subsequent steps will be directly determined, and ordinary users often do not have the operating skills of professionals, and the equipment used is ordinary mobile phones. The self-contained camera, and the shooting conditions of the location cannot be determined when car accident damage is determined, so the images or videos taken may often have problems such as wrong shooting target, unreasonable shooting angle, blurred image, insufficient exposure or strong light reflection, etc. People realize that these problems are much different from the images collected by professionals, which will increase the difficulty of OCR identification or manual review in the later stage, and cannot improve the processing efficiency.
发明内容SUMMARY OF THE INVENTION
本申请的主要目的是提升车险理赔的准确性和处理时效,解决理赔效率低下的技术问题。The main purpose of this application is to improve the accuracy and timeliness of auto insurance claims settlement, and to solve the technical problem of low claim settlement efficiency.
为实现上述目的,本申请第一方面提供了一种图像增强方法,包括:获取交通事故现场的现场图像数据;通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;若否,则提示用户重新拍摄;若是,则进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。In order to achieve the above purpose, a first aspect of the present application provides an image enhancement method, comprising: acquiring on-site image data of a traffic accident scene; identifying the on-site image data through a preset image recognition model, and judging the on-site image data Whether the preset image standard is met; if not, prompt the user to re-shoot; if so, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into the preset image enhancement The model performs image enhancement on the target accident vehicle image to generate a target enhanced image.
本申请第二方面提供了一种图像增强设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:获取交通事故现场的现场图像数据;通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;若否,则提示用户重新拍摄;若是,则进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。A second aspect of the present application provides an image enhancement device, comprising a memory, a processor, and computer-readable instructions stored on the memory and executable on the processor, the processor executing the computer-readable instructions When instructing, the following steps are implemented: acquiring on-site image data of the traffic accident scene; identifying the on-site image data through a preset image recognition model, and judging whether the on-site image data meets the preset image standard; if not, prompting the user to restart the Shooting; if yes, then enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into a preset image enhancement model, and perform image enhancement on the target accident vehicle image to generate Target-enhanced image.
本申请第三方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如下步骤:获取交通事故现场的现场图像数据;通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;若否,则提示用户重新拍摄;若是,则进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。A third aspect of the present application provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed on a computer, the computer is caused to perform the following steps: acquiring the traffic accident scene On-site image data; identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standards; if not, prompt the user to re-shoot; if so, enter the next shooting task , obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into a preset image enhancement model, perform image enhancement on the target accident vehicle image, and generate a target enhanced image.
本申请第四方面提供了一种图像增强装置,包括:第一获取模块,用于获取交通事故现场的现场图像数据;第一判断模块,用于通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;提示模块,用于当所述现场图像 数据不满足预设图像标准时,提示用户重新拍摄;拍摄模块,用于当所述现场图像数据满足预设图像标准时,进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;图像增强模块,用于将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。A fourth aspect of the present application provides an image enhancement device, comprising: a first acquisition module for acquiring on-site image data of a traffic accident scene; a first judgment module for analyzing the on-site image data through a preset image recognition model Recognition is performed to determine whether the on-site image data meets the preset image standard; the prompting module is used to prompt the user to re-shoot when the on-site image data does not meet the preset image standard; the shooting module is used when the on-site image data does not meet the preset image standard. When the preset image standard is met, enter the next shooting task, and obtain the target accident vehicle image of the traffic accident scene; the image enhancement module is used for inputting the target accident vehicle image into a preset image enhancement model, and for the target accident vehicle image The vehicle image is image-enhanced to generate a target-enhanced image.
本申请通过预置图像识别模型对从交通事故现场获取的现场图像数据进行识别,判断现场图像数据是否满足预设图像标准;若现场图像数据不满足预设图像标准,则提示用户重新拍摄;若现场图像数据满足预设图像标准,则进入下一张拍摄任务,得到交通事故现场的目标事故车辆图像;将目标事故车辆图像输入预置图像增强模型进行图像增强,生成目标增强图像。本方案只需要高质量的图片进行映射函数的学习即可完成低质量到高质量图像的转化,提升车险理赔的准确性和处理时效,解决了理赔效率低下的技术问题。The present application uses a preset image recognition model to identify on-site image data obtained from the scene of a traffic accident to determine whether the on-site image data meets the preset image standards; if the on-site image data does not meet the preset image standards, the user is prompted to re-shoot; If the on-site image data meets the preset image standards, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into the preset image enhancement model for image enhancement to generate the target enhanced image. This solution only needs high-quality images to learn the mapping function to complete the conversion of low-quality to high-quality images, improve the accuracy and processing time of auto insurance claims, and solve the technical problem of low claim settlement efficiency.
附图说明Description of drawings
图1为本申请图像增强方法的第一个实施例示意图;FIG. 1 is a schematic diagram of the first embodiment of the image enhancement method of the present application;
图2为本申请图像增强方法的第二个实施例示意图;2 is a schematic diagram of a second embodiment of the image enhancement method of the present application;
图3为本申请图像增强方法的第三个实施例示意图;3 is a schematic diagram of a third embodiment of the image enhancement method of the present application;
图4为本申请图像增强方法的第四个实施例示意图;4 is a schematic diagram of a fourth embodiment of the image enhancement method of the present application;
图5为本申请图像增强方法的第五个实施例示意图;5 is a schematic diagram of a fifth embodiment of the image enhancement method of the present application;
图6为本申请图像增强装置的第一个实施例示意图;FIG. 6 is a schematic diagram of a first embodiment of an image enhancement apparatus of the present application;
图7为本申请图像增强装置的第二个实施例示意图;FIG. 7 is a schematic diagram of a second embodiment of the image enhancement apparatus of the present application;
图8为本申请图像增强设备的一个实施例示意图。FIG. 8 is a schematic diagram of an embodiment of an image enhancement device of the present application.
具体实施方式Detailed ways
本申请实施例提供了一种图像增强方法、装置、设备及存储介质,提升了车险理赔的准确性和处理时效,解决了理赔效率低下的技术问题。The embodiments of the present application provide an image enhancement method, device, device, and storage medium, which improve the accuracy and processing time of auto insurance claims, and solve the technical problem of low claim settlement efficiency.
为便于理解,下面对本申请实施例的具体流程进行描述,请参阅图1,本申请实施例中图像增强方法的第一个实施例包括:For ease of understanding, the following describes the specific process of the embodiment of the present application, referring to FIG. 1 , the first embodiment of the image enhancement method in the embodiment of the present application includes:
101、获取交通事故现场的现场图像数据;101. Obtain on-site image data of a traffic accident scene;
本实施例中,为了保证获取足够的信息,用户需要在交通事故现场围绕事故车辆进行360度的拍摄和关键受损部位的拍摄。比如,用户需要根据指引在现场通过个人手机拍摄对应车辆部位的图像,包括车架号、受损部位、车整带牌照片以及车辆全身照片等。In this embodiment, in order to ensure sufficient information is obtained, the user needs to take a 360-degree photograph around the accident vehicle and photograph key damaged parts at the scene of the traffic accident. For example, users need to take pictures of the corresponding parts of the vehicle on the spot through their personal mobile phones according to the guidelines, including the frame number, damaged parts, pictures of the whole vehicle with license plates, and pictures of the whole body of the vehicle.
102、通过预置图像识别模型对现场图像数据进行识别,判断现场图像数据是否满足预设图像标准;102. Identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standard;
本实施例中,由于对车险理赔材料的拍摄、上传这一步所采集的图像或视频信息的质量,将直接决定后续步骤的准确率,而普通用户往往不具备专业人员的操作技能,所使用的设备是普通手机自带的相机,而车险定损时往往无法确定所在地的拍摄条件,因此所拍摄的图像或视频往往可能存在拍摄目标错误、拍摄角度不合理、成像模糊、曝光不足或强光反射等问题,所以需要通过预置的图像识别模型对用户拍摄的事故车辆的现场图像数据进行识别,通过识别模型判断是否为指引中要求的对应照片,以及通过边缘检测等方案快速判断是否符合预设标准。In this embodiment, due to the quality of the images or video information collected in the steps of shooting and uploading the auto insurance claim materials, the accuracy of the subsequent steps will be directly determined, and ordinary users often do not have the operating skills of professionals. The device is a camera that comes with an ordinary mobile phone, and the shooting conditions of the location cannot be determined when car insurance damage is determined. Therefore, the captured images or videos may often have wrong shooting targets, unreasonable shooting angles, blurred images, underexposure or strong light reflection. Therefore, it is necessary to identify the on-site image data of the accident vehicle taken by the user through the preset image recognition model, determine whether it is the corresponding photo required in the guide through the identification model, and quickly determine whether it conforms to the preset through solutions such as edge detection. standard.
103、当现场图像数据不满足预设图像标准时,提示用户重新拍摄;103. When the on-site image data does not meet the preset image standard, prompt the user to re-shoot;
本实施例中,本地判断拍摄图像是否符合对应的拍摄标准,通过识别模型判断是否为指引中要求的对应照片,以及通过边缘检测等方案快速判断是否存在模糊情况。如不符合标准则重新提示用户拍摄。In this embodiment, it is determined locally whether the captured image conforms to the corresponding shooting standard, whether it is the corresponding photo required in the guide by the identification model, and whether there is blurring through solutions such as edge detection. If it does not meet the standard, the user will be prompted to shoot again.
104、当现场图像数据满足预设图像标准时,则进入下一张拍摄任务,得到交通事故现场的目标事故车辆图像;104. When the on-site image data meets the preset image standard, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene;
本实施例中,如果用户现场拍摄的图片符合预设要求,则进入下一张拍摄任务,得到包括亮度、对比度、白平衡、宽容度、噪点、细节、色彩过渡等方面都比较高质量的图像,也就是目标增强图像。In this embodiment, if the picture taken by the user on the spot meets the preset requirements, the next shooting task is entered to obtain a relatively high-quality image including brightness, contrast, white balance, latitude, noise, details, color transition, etc. , which is the target-enhanced image.
105、将目标事故车辆图像输入预置图像增强模型,对目标事故车辆图像进行图像增强,生成目标增强图像。105. Input the target accident vehicle image into a preset image enhancement model, perform image enhancement on the target accident vehicle image, and generate a target enhanced image.
本实施例中,将手机拍摄的低质量的目标事故车辆图像输入目标图像增强模型,完成包括亮度、对比度、白平衡、宽容度、噪点、细节、色彩过渡等方面进行全面提升,生成一副基于原始图片内容并达到近似专业数码相机拍摄视觉效果的增强图片。In this embodiment, the low-quality image of the target accident vehicle captured by the mobile phone is input into the target image enhancement model, and the comprehensive improvement including brightness, contrast, white balance, tolerance, noise, details, color transition, etc. is completed, and an image based on The original picture content and the enhanced picture that approximates the visual effect of professional digital cameras.
本实施例中,图像增强的方法是通过一定手段对原图像附加一些信息或变换数据,有选择地突出图像中感兴趣的特征或者抑制(掩盖)图像中某些不需要的特征,使图像与视觉响应特性相匹配。在图像增强过程中,不分析图像降质的原因,处理后的图像不一定逼近原始图像。图像增强技术根据增强处理过程所在的空间不同,可分为基于空域的算法和基于频域的算法两大类。In this embodiment, the image enhancement method is to add some information or transform data to the original image by certain means, selectively highlight the interesting features in the image or suppress (mask) some unnecessary features in the image, so that the image is different from the original image. Visual response characteristics to match. In the process of image enhancement, the reason for image degradation is not analyzed, and the processed image is not necessarily close to the original image. Image enhancement technology can be divided into two categories: spatial domain-based algorithms and frequency domain-based algorithms according to the different spaces in which the enhancement process is performed.
本申请实施例中,通过预置图像识别模型对从交通事故现场获取的现场图像数据进行识别,判断现场图像数据是否满足预设图像标准;若现场图像数据不满足预设图像标准,则提示用户重新拍摄;若现场图像数据满足预设图像标准,则进入下一张拍摄任务,得到交通事故现场的目标事故车辆图像;将目标事故车辆图像输入预置图像增强模型进行图像增强,生成目标增强图像。本方案只需要高质量的图片进行映射函数的学习即可完成低质量到高质量图像的转化,提升车险理赔的准确性和处理时效,解决了理赔效率低下的技术问题。In the embodiment of the present application, the on-site image data obtained from the traffic accident scene is identified by a preset image recognition model, and it is judged whether the on-site image data meets the preset image standard; if the on-site image data does not meet the preset image standard, the user is prompted Re-shoot; if the on-site image data meets the preset image standards, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into the preset image enhancement model for image enhancement, and generate the target enhanced image . This solution only needs high-quality images to learn the mapping function to complete the conversion of low-quality to high-quality images, improve the accuracy and processing time of auto insurance claims, and solve the technical problem of low claim settlement efficiency.
请参阅图2,本申请实施例中图像增强方法的第二个实施例包括:Referring to FIG. 2, the second embodiment of the image enhancement method in the embodiment of the present application includes:
201、从预置数据库中获取事故现场的历史车辆图像;201. Obtain historical vehicle images at the accident scene from a preset database;
本实施例中,在发生交通事故后,获取交通事故现场的至少一个事故车辆的目标图像,这些目标图像能够反映事故现场的具体情况,如事故车辆的车牌号、受损部位和受损程度。In this embodiment, after a traffic accident occurs, a target image of at least one accident vehicle at the scene of the traffic accident is obtained, and these target images can reflect the specific situation of the accident scene, such as the license plate number, damaged part and degree of damage of the accident vehicle.
202、将历史车辆图像作为训练样本构建训练样本数据集;202. Use historical vehicle images as training samples to construct a training sample data set;
本实施例中,首先可以从数据库中获取各种车险理赔场景下的多个原始图像样本,所述原始图像样本可以是用户从事故现场拍摄的图像,也可以是由公司专业人员用专业相机拍摄的图像等。例如,单反相机拍出的照片噪点少、细节信息丰富。接着,响应用户操作,对每个所述原始图像样本的图像参数进行图像增强,生成图像增强后的增强图像样本。例如,可以通过专业的特效设计师来调整每张原始图像样本,得到图像增强后的增强图像样本,使得增强图像样本具又有比较好的明暗和饱和度。In this embodiment, a plurality of original image samples in various auto insurance claim scenarios can be obtained from the database first. The original image samples can be images taken by the user from the accident scene, or taken by a company professional with a professional camera images, etc. For example, photos taken by SLR cameras have less noise and richer details. Next, in response to a user operation, image enhancement is performed on the image parameters of each of the original image samples to generate an enhanced image sample after image enhancement. For example, each original image sample can be adjusted by a professional special effect designer to obtain an enhanced image sample after image enhancement, so that the enhanced image sample has better brightness and saturation.
203、将训练样本数据集输入预置图像增强生成器,对图像增强生成器进行训练,得到目标图像增强模型;203. Input the training sample data set into a preset image enhancement generator, and train the image enhancement generator to obtain a target image enhancement model;
本实施例中,图像增强是指增强图像中的有用信息,它可以是一个失真的过程,其目的是要改善图像的视觉效果,针对给定图像的应用场合。有目的地强调图像的整体或局部特性,将原来不清晰的图像变得清晰或强调某些感兴趣的特征,扩大图像中不同物体特征之间的差别,抑制不感兴趣的特征,使之改善图像质量、丰富信息量,加强图像判读和识别效果,满足某些特殊分析的需要。In this embodiment, image enhancement refers to enhancing the useful information in the image, which may be a distortion process, the purpose of which is to improve the visual effect of the image, and is aimed at the application occasion of a given image. Purposefully emphasize the overall or local characteristics of the image, make the original unclear image clear or emphasize some interesting features, expand the difference between the features of different objects in the image, suppress the uninteresting features, and improve the image. Quality, rich information, strengthen image interpretation and recognition effect, to meet the needs of some special analysis.
本实施例中,将所述训练样本数据输入预置图像增强生成器对图像增强生成器进行训练,具体实现步骤包括:通过输入原始低质量的图像x,通过生成器生成一幅在亮度、曝光度等多方面均有提升的图像y,纹理和彩色判别器通过对比y与专业相机拍摄的图片z进行纹理和色彩损失函数的计算,并以次反馈训练生成器。同时通过对图像y应用生成器G’反向生成低质量图片y’,并通过计算与原始图片x的内容损失达到对生成器G的生成 控制。In this embodiment, the training sample data is input into a preset image enhancement generator to train the image enhancement generator. The specific implementation steps include: inputting an original low-quality image x, and generating a The texture and color discriminator calculates the texture and color loss functions by comparing y with the image z captured by a professional camera, and trains the generator with secondary feedback. At the same time, the low-quality image y' is generated in reverse by applying the generator G' to the image y, and the generation control of the generator G is achieved by calculating the content loss with the original image x.
204、获取交通事故现场的现场图像数据;205、通过预置图像识别模型对现场图像数据进行识别,判断现场图像数据是否满足预设图像标准;206、当现场图像数据不满足预设图像标准时,提示用户重新拍摄;207、当现场图像数据满足预设图像标准时,进入下一张拍摄任务,得到交通事故现场的目标事故车辆图像;208、将目标事故车辆图像输入预置图像增强模型,对目标事故车辆图像进行图像增强,生成目标增强图像。204. Acquire on-site image data of the traffic accident scene; 205. Identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standard; 206. When the on-site image data does not meet the preset image standard, Prompt the user to re-shoot; 207. When the on-site image data meets the preset image standard, enter the next shooting task to obtain the target accident vehicle image at the scene of the traffic accident; 208. Input the target accident vehicle image into the preset image enhancement model. The image of the accident vehicle is image-enhanced to generate a target-enhanced image.
本实施例中步骤204-208与第一实施例中的步骤101-105类似,此处不再赘述。Steps 204-208 in this embodiment are similar to steps 101-105 in the first embodiment, and are not repeated here.
本申请实施例中,只需要高质量的图片进行映射函数的学习即可完成低质量到高质量图像的转化,提升车险理赔的准确性和处理时效,解决了理赔效率低下的技术问题。In the embodiment of the present application, only high-quality pictures are needed to learn the mapping function to complete the conversion of low-quality to high-quality images, which improves the accuracy and processing time of auto insurance claims, and solves the technical problem of low claim settlement efficiency.
请参阅图3,本申请实施例中图像增强方法的第三个实施例包括:Referring to FIG. 3, the third embodiment of the image enhancement method in the embodiment of the present application includes:
301、从预置数据库中获取事故现场的历史车辆图像;302、将历史车辆图像作为训练样本构建训练样本数据集;303、将训练样本数据集输入预置图像增强生成器,对图像增强生成器进行训练,得到目标图像增强模型;304、获取交通事故现场的现场图像数据;305、从预置训练图片数据库中获取多张训练图片,并将训练图片输入预置神经网络模型,得到训练图片的预测类别标签;301. Acquire historical vehicle images at the accident site from a preset database; 302. Use the historical vehicle images as training samples to construct a training sample data set; 303. Input the training sample data set into a preset image enhancement generator, and apply the image enhancement generator to the image enhancement generator. Carry out training to obtain a target image enhancement model; 304, obtain on-site image data of the traffic accident scene; 305, obtain a plurality of training pictures from a preset training picture database, and input the training pictures into the preset neural network model to obtain the training picture. predict class labels;
本实施例中,从预置数据库中获取以往的车辆事故现场拍摄的事故车辆的图片作为待识别图片,获取待识别的图片的预测类别标签;其中预先训练的图片识别模型采用卷积神经网络模型,且卷积神经网络模型中包括至少一层将通道维度由一维升阶为多维的核池化层。In this embodiment, the pictures of the accident vehicles taken at the scene of the vehicle accident in the past are obtained from the preset database as the pictures to be identified, and the predicted category labels of the pictures to be identified are obtained; wherein the pre-trained picture identification model adopts the convolutional neural network model , and the convolutional neural network model includes at least one layer of kernel pooling layer that upgrades the channel dimension from one-dimensional to multi-dimensional.
本实施例中,在训练图片识别模型的过程中,图片识别模型中的参数是不断地变化的,即图片识别模型是在不断地变化。在每一次训练时,所采用的图片识别模型均为上一次训练更新后的图片识别模型。而本实施例的图片识别模型被初次使用时各参数采用的是预设的初始值。其中预测类别标签的维度在训练时确定,例如若训练图片数据库中的数张训练图片共包括n个分类的图片,则可以设置图片识别模型输出的预测类别标签的维度为n。In this embodiment, in the process of training the image recognition model, the parameters in the image recognition model are constantly changing, that is, the image recognition model is constantly changing. In each training, the image recognition model used is the image recognition model updated in the previous training. However, when the image recognition model of this embodiment is used for the first time, each parameter adopts a preset initial value. The dimension of the predicted category label is determined during training. For example, if several training pictures in the training picture database include n pictures in total, the dimension of the predicted category label output by the picture recognition model can be set to n.
306、根据训练图片的类别,生成训练图片的真实类别标签;306. Generate a true category label of the training picture according to the category of the training picture;
本实施例中,由于训练图片的类别是已知的,可以根据训练图片的类别,生成该训练图片的类别的真实类别标签。同理,该训练图片的真实类别标签也为向量的形式,该向量中,仅该训练图片的类别对应的位置的元素的数值为1,其余位置均为0。In this embodiment, since the category of the training picture is known, the true category label of the category of the training picture can be generated according to the category of the training picture. Similarly, the true category label of the training picture is also in the form of a vector. In the vector, only the value of the element at the position corresponding to the category of the training picture is 1, and the rest of the positions are 0.
307、根据训练图片的预测类别标签和训练图片的真实类别标签,生成训练图片的第一损失函数;307. Generate a first loss function of the training picture according to the predicted category label of the training picture and the real category label of the training picture;
本实施例中,根据得到的训练图片的预测类别标签和得到的训练图片的真实类别标签,可以知道训练图片的预测类别标签与训练图片的真实类别标签的差距,并根据该差距生成训练图片的损失函数。本实施例在训练图片识别模型的过程中,要将该损失函数的值逐渐变小,从而使得训练的图片识别模型越准确。本实施例中有两个以上的损失函数,分别计算标签的特征差值,并将根据对应损失函数计算的多个特征差值进行排序,将排序最大的特征差值对应的损失函数作为最终的损失函数,对模型进行回传调整权重。In this embodiment, according to the obtained predicted category label of the training picture and the obtained real category label of the training picture, the difference between the predicted category label of the training picture and the actual category label of the training picture can be known, and the training picture can be generated according to the difference. loss function. In the process of training the image recognition model in this embodiment, the value of the loss function should be gradually reduced, so that the trained image recognition model is more accurate. There are two or more loss functions in this embodiment, the feature difference values of the labels are calculated respectively, the multiple feature difference values calculated according to the corresponding loss functions are sorted, and the loss function corresponding to the feature difference value with the largest ranking is used as the final The loss function, which adjusts the weights back to the model.
本实施例中,因为损失函数表征的是一个向梯度方向下降的值,损失函数值越大,表示图片识别模型的对输入的图片进行处理后输出的预测类别标签越不准确,本实施例中通过不断地调整损失函数,使得损失函数的最终点的梯度为0。损失函数的值越小,表示图片识别模型的处理结果越准确。也即,计算训练图片的损失函数对图片识别模型中各参数的导数,根据图片识别模型中的各参数以及训练图片对应的损失函数对各参数的导数,更新图片识别模型中的各参数,从而确定本次训练后的图片识别模型。In this embodiment, because the loss function represents a value descending in the gradient direction, the larger the loss function value, the less accurate the predicted category label output by the image recognition model after processing the input image. By continuously adjusting the loss function, the gradient of the final point of the loss function is 0. The smaller the value of the loss function, the more accurate the processing result of the image recognition model. That is, the derivative of the loss function of the training picture to each parameter in the picture recognition model is calculated, and each parameter in the picture recognition model is updated according to each parameter in the picture recognition model and the derivative of each parameter of the loss function corresponding to the training picture, so that Determine the image recognition model after this training.
损失函数(loss function)又叫代价函数(cost function)是将随机事件或其有关 随机变量的取值映射为非负实数以表示该随机事件的“风险”或“损失”的函数。在应用中,损失函数通常作为学习准则与优化问题相联系,即通过最小化损失函数求解和评估模型。例如在统计学和机器学习中被用于模型的参数估计(parametric estimation)。本实施例中,损失函数是预先构建好的,用来计算真实特征和预测特征之间的特征差值。The loss function, also known as the cost function, is a function that maps the value of a random event or its related random variables to non-negative real numbers to represent the "risk" or "loss" of the random event. In applications, loss functions are often associated with optimization problems as learning criteria, i.e. solving and evaluating models by minimizing the loss function. For example, it is used for parametric estimation of models in statistics and machine learning. In this embodiment, the loss function is pre-built and used to calculate the feature difference between the real feature and the predicted feature.
308、根据第一损失函数对神经网络模型中的参数进行更新,得到目标图片识别模型;308. Update parameters in the neural network model according to the first loss function to obtain a target image recognition model;
本实施例中,根据图片识别模型中的各参数以及训练图片的损失函数对各参数的导数,更新图片识别模型中的各参数,得到目标图像识别模型。In this embodiment, each parameter in the image recognition model is updated according to each parameter in the image recognition model and the derivative of the loss function of the training image to each parameter to obtain the target image recognition model.
具体地,由于图片识别模型中是包括多个参数,当输入的训练图片确定时,也可以将损失函数看作是关于图片识别模型中的参数的函数,此时可以计算训练图片的损失函数对图片识别模型中各参数的导数;对于图片识别模型中的每一个参数,在更新时,可以将图片识别模型中该参数更新为该参数减去损失函数对该参数的导数,即每一次训练都对图片识别模型进行更新。Specifically, since the image recognition model includes multiple parameters, when the input training image is determined, the loss function can also be regarded as a function of the parameters in the image recognition model. At this time, the loss function of the training image can be calculated. The derivative of each parameter in the image recognition model; for each parameter in the image recognition model, when updating, the parameter in the image recognition model can be updated to the parameter minus the derivative of the loss function to the parameter, that is, every training Update the image recognition model.
因为损失函数表征的是一个向梯度方向下降的值,损失函数值越大,表示图片识别模型的对输入的图片进行处理后输出的预测类别标签越不准确,本实施例中通过不断地调整损失函数,使得损失函数的最终点的梯度为0。损失函数的值越小,表示图片识别模型的处理结果越准确。上述实施例的技术方案,在更新图片识别模型的时候,具体是在朝着损失函数逐渐降低的方向更新。因此,通过不断的训练,不断地优化损失函数,不断地更新图片识别模型的参数,从而不断的更新图片识别模型,使得最终得到的图片识别模型能够非常准确地对图片进行识别处理。Because the loss function represents a value that declines in the gradient direction, the larger the loss function value, the less accurate the predicted category label output by the image recognition model after processing the input image. In this embodiment, the loss is adjusted continuously. function so that the gradient of the final point of the loss function is 0. The smaller the value of the loss function, the more accurate the processing result of the image recognition model. In the technical solutions of the above embodiments, when the image recognition model is updated, it is specifically updated in a direction in which the loss function gradually decreases. Therefore, through continuous training, the loss function is continuously optimized, and the parameters of the image recognition model are continuously updated, so as to continuously update the image recognition model, so that the final image recognition model can recognize images very accurately.
309、通过预置图像识别模型对现场图像数据进行识别,判断现场图像数据是否满足预设图像标准;310、当现场图像数据不满足预设图像标准时,提示用户重新拍摄;311、当现场图像数据满足预设图像标准时,进入下一张拍摄任务,得到交通事故现场的目标事故车辆图像;312、将目标事故车辆图像输入预置图像增强模型,对目标事故车辆图像进行图像增强,生成目标增强图像。309. Identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standard; 310. When the on-site image data does not meet the preset image standard, prompt the user to re-shoot; 311. When the on-site image data does not meet the preset image standard When the preset image standard is met, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; 312. Input the target accident vehicle image into the preset image enhancement model, perform image enhancement on the target accident vehicle image, and generate the target enhanced image .
本实施例中步骤301-303、309-312与第一实施例中的步骤201-203、102-105类似,此处不再赘述。Steps 301 - 303 and 309 - 312 in this embodiment are similar to steps 201 - 203 and 102 - 105 in the first embodiment, and are not repeated here.
本申请实施例中,只需要高质量的图片进行映射函数的学习即可完成低质量到高质量图像的转化,提升车险理赔的准确性和处理时效,解决了理赔效率低下的技术问题。In the embodiment of the present application, only high-quality pictures are needed to learn the mapping function to complete the conversion of low-quality to high-quality images, which improves the accuracy and processing time of auto insurance claims, and solves the technical problem of low claim settlement efficiency.
请参阅图4,本申请实施例中图像增强方法的第四个实施例包括:Referring to FIG. 4 , the fourth embodiment of the image enhancement method in the embodiment of the present application includes:
401、从预置数据库中获取事故现场的历史车辆图像;402、将历史车辆图像作为训练样本构建训练样本数据集;403、对训练样本数据集进行图像增强,得到预设数量个目标原始图像和对应的增强图像;401. Acquire historical vehicle images at the accident site from a preset database; 402. Use the historical vehicle images as training samples to construct a training sample data set; 403. Perform image enhancement on the training sample data set to obtain a preset number of target original images and the corresponding enhanced image;
本实施例中,从预置数据库中获取多张低质量图像作为训练样本数据,并对这些图像图像增强,得到预设数量个原始图像样本和对应的预设数量个增强图像样本。接着,针对选取出的每个原始图像样本和对应的预设数量个增强图像样本,在该原始图像样本和对应的增强图像样本中的相同位置处随机裁剪目标尺寸的图像,以得到预设数量个目标尺寸的原始图像和对应的增强图像。In this embodiment, a plurality of low-quality images are obtained from a preset database as training sample data, and these images are enhanced to obtain a preset number of original image samples and a corresponding preset number of enhanced image samples. Next, for each selected original image sample and a corresponding preset number of enhanced image samples, randomly crop an image of the target size at the same position in the original image sample and the corresponding enhanced image sample to obtain a preset number of The original image and the corresponding enhanced image of the target size.
404、将目标原始图像输入到预置图像增强生成器中的CNN图像增强网络中,得到目标原始图像对应的输出图像;404. Input the target original image into the CNN image enhancement network in the preset image enhancement generator to obtain an output image corresponding to the target original image;
本实施例中,将收集到的目标原始图像输入到预置图像增强生成器中的CNN图像增强网络中,可以得到每个目标原始图像对应的输出图像。In this embodiment, the collected target original images are input into the CNN image enhancement network in the preset image enhancement generator, and an output image corresponding to each target original image can be obtained.
405、确定输出图像和增强图像之间的第二损失函数;405. Determine a second loss function between the output image and the enhanced image;
本实施例中,损失函数是预先构建好的,用来计算真实特征和预测特征之间的特征差 值,并将根据对应损失函数计算的多个特征差值进行排序,将排序最大的特征差值对应的损失函数作为最终的损失函数,在得到所述损失函数值后,基于该损失函数值监督所述CNN图像增强网络的训练并更新网络参数。In this embodiment, the loss function is pre-built and is used to calculate the feature difference between the real feature and the predicted feature, and sorts the multiple feature differences calculated according to the corresponding loss function, and sorts the feature difference with the largest one. The loss function corresponding to the value is used as the final loss function. After the loss function value is obtained, the training of the CNN image enhancement network is supervised and the network parameters are updated based on the loss function value.
本实施例中,可以利用均值模糊方法对所述输出图像和所述增强图像进行模糊处理,并计算模糊处理后的输出图像和增强图像的均值误差值,得到color_loss值。通过利用均值模糊方法对所述输出图像和所述增强图像进行模糊处理,以此来消除高频信息的干扰,而让网络更多地学习颜色信息。在实际实现中,可以用CNN图像增强网络中的均值池化层并设置stride为1来实现end2end的训练,从而对模糊处理后的输出图像和增强图像进行l2loss(也即Mean Square Error Loss)以得到所述color_loss值。In this embodiment, the output image and the enhanced image may be blurred by using the mean blurring method, and the mean error value of the blurred output image and the enhanced image may be calculated to obtain the color_loss value. By using the mean blurring method to blur the output image and the enhanced image, the interference of high-frequency information is eliminated, and the network learns more color information. In actual implementation, the mean pooling layer in the CNN image enhancement network can be used and stride is set to 1 to realize end2end training, so as to perform l2loss (ie Mean Square Error Loss) on the blurred output image and the enhanced image to obtain Get the color_loss value.
进一步地,将所述输出图像和所述增强图像经过所述CNN图像增强网络在同一个层输出的特征图进行误差计算,得到vgg_loss值。其中,vgg_loss是一种语义类型的loss,可以更好地生成语义信息。示例性地,本实施例可以使用vgg19作为生成不同层特征图(feature map)的网络结构,同时使用在ImageNet数据集上训练好的网络参数初始化vgg19网络。所述输出图像和所述增强图像经过vgg19网络在同一个层输出的特征图上进行l2loss以得到vgg_loss值。Further, the error calculation is performed on the output image and the enhanced image through the feature map output by the CNN image enhancement network in the same layer to obtain the vgg_loss value. Among them, vgg_loss is a semantic type of loss, which can better generate semantic information. Exemplarily, this embodiment may use vgg19 as a network structure for generating feature maps of different layers, and at the same time initialize the vgg19 network with network parameters trained on the ImageNet dataset. The output image and the enhanced image are subjected to l2loss on the feature map output by the same layer through the vgg19 network to obtain the vgg_loss value.
进一步地,分别获取所述输出图像的灰度图和所述增强图像的灰度图,并对所述输出图像的灰度图和所述增强图像的灰度图进行误差计算,得到texture_loss值。texture_loss也即纹理loss,可以在上述的基础上增加纹理细节,保证图像增强的同时不丢失细节信息。Further, the grayscale image of the output image and the grayscale image of the enhanced image are obtained respectively, and an error calculation is performed on the grayscale image of the output image and the grayscale image of the enhanced image to obtain a texture_loss value. texture_loss, also known as texture loss, can add texture details on the basis of the above to ensure image enhancement without losing detail information.
406、基于第二损失函数,对图像增强生成器中的CNN图像增强网络进行迭代训练,直到CNN图像增强网络收敛得到目标图像增强模型;406. Based on the second loss function, iteratively train the CNN image enhancement network in the image enhancement generator until the CNN image enhancement network converges to obtain the target image enhancement model;
本实施例中,在得到损失函数值后,基于该损失函数值监督所述CNN图像增强网络的训练并更新网络参数,直到所述CNN图像增强网络收敛得到目标图像增强模型;In this embodiment, after the loss function value is obtained, the training of the CNN image enhancement network is supervised and network parameters are updated based on the loss function value, until the CNN image enhancement network converges to obtain the target image enhancement model;
本实施例中,判断所述CNN图像增强网络是否达到训练收敛条件的方式可以是:判断所述loss值的变化值是否小于预设值,若所述loss值的变化值小于预设值,则判定所述CNN图像增强网络达到训练收敛条件,否则判定所述CNN图像增强网络未达到训练收敛条件。所述预设值可以根据实际需求进行设置,例如所述预设值可以设置为接近0的数值,或者也可以设置为0,如果所述预设值为0,则所述loss值不产生变化时,判定所述CNN图像增强网络达到训练收敛条件,否则判定所述CNN图像增强网络未达到训练收敛条件。若所述CNN图像增强网络未达到训练收敛条件,则重复上述步骤继续进行训练。In this embodiment, the method of judging whether the CNN image enhancement network reaches the training convergence condition may be: judging whether the change value of the loss value is less than a preset value, and if the change value of the loss value is less than the preset value, then It is determined that the CNN image enhancement network has reached the training convergence condition, otherwise it is determined that the CNN image enhancement network has not reached the training convergence condition. The preset value can be set according to actual needs. For example, the preset value can be set to a value close to 0, or can also be set to 0. If the preset value is 0, the loss value does not change. When it is determined that the CNN image enhancement network has reached the training convergence condition, otherwise it is determined that the CNN image enhancement network has not reached the training convergence condition. If the CNN image enhancement network does not reach the training convergence condition, repeat the above steps to continue training.
当所述CNN图像增强网络达到训练收敛条件时,更新所述述CNN图像增强网络的网络参数,从而输出对应的图像增强模型。所述图像增强模型可以对输入的图像进行图像增强。详细地,在接收到待处理图像后,可将所述待处理图像输入到所述图像增强模型中,得到该待处理图像对应的增强图像。例如,用户将手机拍摄的图像作为待处理图像,输入到训练好的所述图像增强模型中,再经过网络的层层计算得到对应的增强图像,所述对应的增强图像即为目标增强图像。When the CNN image enhancement network reaches the training convergence condition, the network parameters of the CNN image enhancement network are updated, thereby outputting the corresponding image enhancement model. The image enhancement model can perform image enhancement on the input image. In detail, after receiving the to-be-processed image, the to-be-processed image may be input into the image enhancement model to obtain an enhanced image corresponding to the to-be-processed image. For example, the user inputs the image captured by the mobile phone as the image to be processed into the trained image enhancement model, and then obtains the corresponding enhanced image through the layer-by-layer calculation of the network, and the corresponding enhanced image is the target enhanced image.
407、获取交通事故现场的现场图像数据;408、通过预置图像识别模型对现场图像数据进行识别,判断现场图像数据是否满足预设图像标准;409、当现场图像数据不满足预设图像标准时,提示用户重新拍摄;410、当现场图像数据满足预设图像标准时,进入下一张拍摄任务,得到交通事故现场的目标事故车辆图像;411、将目标事故车辆图像输入预置图像增强模型,对目标事故车辆图像进行图像增强,生成目标增强图像。407. Acquire on-site image data of the traffic accident scene; 408. Identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standard; 409. When the on-site image data does not meet the preset image standard, Prompt the user to re-shoot; 410. When the on-site image data meets the preset image standard, enter the next shooting task, and obtain the target accident vehicle image at the traffic accident scene; 411. Input the target accident vehicle image into the preset image enhancement model, and the target accident vehicle image The image of the accident vehicle is image-enhanced to generate a target-enhanced image.
本实施例中步骤407-411与第一实施例中的步骤101-105类似,此处不再赘述。Steps 407-411 in this embodiment are similar to steps 101-105 in the first embodiment, and are not repeated here.
本申请实施例中,只需要高质量的图片进行映射函数的学习即可完成低质量到高质量 图像的转化,提升车险理赔的准确性和处理时效,解决了理赔效率低下的技术问题。In the embodiment of the present application, only high-quality pictures are needed to learn the mapping function to complete the conversion of low-quality to high-quality images, which improves the accuracy and processing time of auto insurance claims, and solves the technical problem of low claim settlement efficiency.
请参阅图5,本申请实施例中图像增强方法的第五个实施例包括:Referring to FIG. 5 , the fifth embodiment of the image enhancement method in the embodiment of the present application includes:
501、获取交通事故现场的现场图像数据;502、通过预置图像识别模型对现场图像数据进行识别,判断现场图像数据是否满足预设图像标准;503、当现场图像数据不满足预设图像标准,提示用户重新拍摄;504、当现场图像数据满足预设图像标准时,进入下一张拍摄任务,得到交通事故现场的目标事故车辆图像;505、对目标事故车辆图像进行下采样处理,得到下采样图像;501. Acquire on-site image data of the traffic accident scene; 502. Identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standard; 503. When the on-site image data does not meet the preset image standard, Prompt the user to re-shoot; 504. When the on-site image data meets the preset image standard, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; 505. Perform down-sampling processing on the target accident vehicle image to obtain a down-sampled image ;
本实施例中,需要对某一图像进行图像增强处理时,可以将该图像作为待增强的目标增强图像。目标增强图像可以是高分辨率的图像。而且,目标增强图像可以是单通道图像,也可以是多通道图像。其中,多通道图像的颜色空间可以是:RGB(Red,Green,Blue,红绿蓝)、YUV(Luminance,Chrominance,Chroma,明亮度,色度,浓度)或其他颜色空间,本公开对此并不限定。电子设备可以通过内置或外置的摄像装置拍摄目标增强图像,也可以与其他设备进行通信,接收其他设备发送的目标增强图像。本公开对电子设备获取目标增强图像的方式并不限定。In this embodiment, when image enhancement processing needs to be performed on a certain image, the image can be used as the target enhancement image to be enhanced. The target-enhanced image may be a high-resolution image. Moreover, the target-enhanced image can be a single-channel image or a multi-channel image. Wherein, the color space of the multi-channel image may be: RGB (Red, Green, Blue, red, green, blue), YUV (Luminance, Chrominance, Chroma, brightness, chromaticity, density) or other color spaces. Not limited. The electronic device can take an enhanced image of the target through a built-in or external camera, and can also communicate with other devices to receive enhanced images of the target sent by other devices. The present disclosure does not limit the manner in which the electronic device obtains the target enhanced image.
当电子设备获取目标增强图像后,可以对该目标增强图像进行下采样处理,从而得到下采样图像。所得到的下采样图像可以进一步地被输入深度学习网络,由深度学习网络对下采样图像进行图像增强处理。After the electronic device acquires the target enhanced image, it can perform down-sampling processing on the target enhanced image, thereby obtaining the down-sampled image. The obtained down-sampled image can be further input into a deep learning network, and the deep learning network performs image enhancement processing on the down-sampled image.
本实施例中,可以对目标增强图像进行x倍的下采样处理,这样,所得到的下采样图像的分辨率、宽度和高度均为目标增强图像的相应参数的1/x倍。In this embodiment, the target enhanced image may be down-sampled by x times, so that the resolution, width and height of the obtained down-sampled image are all 1/x times the corresponding parameters of the target enhanced image.
506、将下采样图像输入目标图像增强模型,得到目标图像增强模型对应的图像增强数据;506. Input the down-sampled image into the target image enhancement model to obtain image enhancement data corresponding to the target image enhancement model;
本实施例中,为了对下采样图像进行图像增强处理,可以预先根据样本图像和样本图像对应的样本增强图像,对深度学习网络进行训练,得到训练好的深度学习网络。其中,样本图像和对应的样本增强图像是用于训练的训练样本。可以在现有的训练库中获取样图像和对应的样本增强图像作为训练样本。样本增强图像可以采用多曝光融合的方式得到,也可以采用其他的单帧图像增强方法得到,本公开对此不进行限定。In this embodiment, in order to perform image enhancement processing on the down-sampled image, the deep learning network can be trained according to the sample image and the sample enhanced image corresponding to the sample image in advance to obtain a trained deep learning network. Among them, the sample images and the corresponding sample-enhanced images are training samples used for training. Sample images and corresponding sample-enhanced images can be obtained from the existing training library as training samples. The sample-enhanced image may be obtained by using a multi-exposure fusion method, or may be obtained by using other single-frame image enhancement methods, which is not limited in the present disclosure.
本实施例中,深度学习网络的结构可以为现有的任一种深度学习的网络模型。具体在训练时,可以根据实际需要,确定训练样本的个数。同时,也可以设定合理的损失函数或目标函数以及对应的目标值,来确定深度学习网络是否训练好。In this embodiment, the structure of the deep learning network may be any existing deep learning network model. Specifically, during training, the number of training samples can be determined according to actual needs. At the same time, a reasonable loss function or objective function and corresponding target value can also be set to determine whether the deep learning network is well trained.
当深度学习网络训练好后,深度学习网络的网络参数就确定了。由于深度学习网络是根据样本图像和对应的样本增强图像进行训练的,因而将下采样图像输入训练好的深度学习网络后,可以得到下采样图像对应的图像增强数据。该图像增强数据是表征下采样图像增强后的图像相对于下采样图像的增强程度的数据。该图像增强数据的形式可以有多种,例如:图像增强数据可以包括下采样图像中每一像素点映射为相应像素点的映射参数,其中,任一像素点的相应像素点为所述下采样图像增强后的图像中与该像素点位置相同的像素点。又例如,图像增强数据可以包括下采样图像增强后的图像。而且,可以理解的是,深度学习网络的输出结果与下采样图像对应的图像增强数据的类型相同,也就是说,当深度学习网络的输出结果为映射参数时,下采样图像对应的图像增强数据为映射参数,而当深度学习网络的输出结果为增强图像时,下采样图像对应的图像增强数据为下采样图像增强后的图像。After the deep learning network is trained, the network parameters of the deep learning network are determined. Since the deep learning network is trained according to the sample image and the corresponding sample enhanced image, after the down-sampled image is input into the trained deep learning network, the image enhancement data corresponding to the down-sampled image can be obtained. The image enhancement data is data representing the degree of enhancement of the downsampled image enhanced image relative to the downsampled image. The image enhancement data can be in various forms. For example, the image enhancement data may include mapping parameters for mapping each pixel in the down-sampled image to a corresponding pixel, wherein the corresponding pixel of any pixel is the down-sampled image. The pixel in the image after image enhancement has the same position as the pixel. As another example, the image enhancement data may include a downsampled image enhanced image. Moreover, it can be understood that the output result of the deep learning network is of the same type as the image enhancement data corresponding to the downsampled image, that is, when the output result of the deep learning network is the mapping parameter, the image enhancement data corresponding to the downsampled image is of the same type. is the mapping parameter, and when the output result of the deep learning network is an enhanced image, the image enhancement data corresponding to the downsampled image is the image enhanced by the downsampled image.
507、确定目标事故车辆图像中的每一像素点在下采样图像中的匹配点;507. Determine the matching point of each pixel in the target accident vehicle image in the down-sampled image;
本实施例中,由于下采样图像的分辨率低于目标增强图像的分辨率,所以下采样图像对应的图像增强数据与目标增强图像并不对应。为了得到目标增强图像对应的增强图像, 在本实施例中,可以先确定出目标增强图像中每一像素点在下采样图像中的匹配点,然后,再确定该像素点对应的目标增强参数,最后,利用该目标增强参数对该像素点的像素值进行调整。In this embodiment, since the resolution of the down-sampled image is lower than the resolution of the target enhanced image, the image enhancement data corresponding to the down-sampled image does not correspond to the target enhanced image. In order to obtain the enhanced image corresponding to the target enhanced image, in this embodiment, the matching point of each pixel in the target enhanced image in the down-sampled image may be determined first, then the target enhancement parameter corresponding to the pixel is determined, and finally , and use the target enhancement parameter to adjust the pixel value of the pixel.
本实施例中,针对目标增强图像中的每一像素点,确定该像素点在下采样图像中的对应像素点,在以对应像素点为中心且大小为M×N的搜索区域内,查找与对应像素点的像素值之差的绝对值最小的像素点,将查找到的像素点作为该像素点在下采样图像中的匹配点。In this embodiment, for each pixel in the target enhanced image, the corresponding pixel in the down-sampled image is determined, and in the search area with the corresponding pixel as the center and the size is M×N, find the corresponding pixel in the down-sampled image. For the pixel point with the smallest absolute value of the difference between the pixel values of the pixel point, the found pixel point is used as the matching point of the pixel point in the down-sampled image.
508、基于图像增强数据中像素点的匹配点所对应的增强数据,确定像素点对应的目标增强参数;508. Determine the target enhancement parameter corresponding to the pixel point based on the enhancement data corresponding to the matching point of the pixel point in the image enhancement data;
本实施例中,针对目标增强图像中的每一像素点,确定出该像素点在下采样图像中的匹配点之后,就可以基于该匹配点对应的增强数据,确定该像素点对应的目标增强参数,并进一步基于该目标增强参数对该像素点的像素值进行调整。具体的,图像增强数据的形式不同,确定目标增强图像中每一像素点对应的目标增强参数的方式也不同。以下给出两种方式进行说明。In this embodiment, after determining the matching point of the pixel in the down-sampled image for each pixel in the target enhancement image, the target enhancement parameter corresponding to the pixel can be determined based on the enhancement data corresponding to the matching point , and further adjust the pixel value of the pixel based on the target enhancement parameter. Specifically, the form of the image enhancement data is different, and the way of determining the target enhancement parameter corresponding to each pixel in the target enhancement image is also different. Two ways are given below for description.
可选地,图像增强数据可以包括:下采样图像中每一像素点映射为相应像素点的映射参数,任一像素点的相应像素点为下采样图像增强后的图像中与该像素点位置相同的像素点。所谓的将一像素点映射为相应像素点,具体指:将一像素点的像素值调整为相应像素点的像素值。Optionally, the image enhancement data may include: each pixel in the down-sampled image is mapped to a mapping parameter of a corresponding pixel, and the corresponding pixel of any pixel is the same as the pixel in the enhanced image of the down-sampled image. of pixels. The so-called mapping a pixel point to a corresponding pixel point specifically refers to: adjusting the pixel value of a pixel point to the pixel value of the corresponding pixel point.
相应地,针对目标增强图像中的每一像素点,基于图像增强数据中该像素点的匹配点所对应的增强数据,确定该像素点对应的目标增强参数,可以包括:针对目标增强图像中的每一像素点,从各个映射参数中,确定与该像素点的匹配点所对应的目标参数,将所确定的目标参数作为该像素点对应的目标增强参数。Correspondingly, for each pixel point in the target enhanced image, determining the target enhancement parameter corresponding to the pixel point based on the enhancement data corresponding to the matching point of the pixel point in the image enhancement data, may include: For each pixel, the target parameter corresponding to the matching point of the pixel is determined from the respective mapping parameters, and the determined target parameter is used as the target enhancement parameter corresponding to the pixel.
509、基于像素点对应的目标增强参数,调整像素点的像素值,得到目标事故车辆图像对应的目标增强图像;509. Based on the target enhancement parameter corresponding to the pixel point, adjust the pixel value of the pixel point to obtain the target enhanced image corresponding to the target accident vehicle image;
本实施例中,针对目标增强图像中的每一像素点,在确定出该像素点对应的目标增强参数后,就可以基于该目标增强参数对该像素点的像素值进行调整。这个调整过程就是对目标增强图像进行图像增强处理的过程。In this embodiment, for each pixel in the target enhancement image, after the target enhancement parameter corresponding to the pixel is determined, the pixel value of the pixel can be adjusted based on the target enhancement parameter. This adjustment process is the process of image enhancement processing on the target enhanced image.
510、获取用户的车主身份信息和事故车辆的受损信息,其中,车辆信息包括事故车辆的车险信息;510. Acquire vehicle owner identity information of the user and damage information of the accident vehicle, where the vehicle information includes auto insurance information of the accident vehicle;
本实施例中,将所述事故类型、所述事故车辆的相对位置信息、所述事故车辆的第一车辆标识、所述事故车辆的受损位置和所述事故车辆的受损程度发送给所述客户端。In this embodiment, the accident type, the relative position information of the accident vehicle, the first vehicle identifier of the accident vehicle, the damaged position of the accident vehicle, and the damage degree of the accident vehicle are sent to the described client.
事故类型是判定事故车辆损伤的前提,不同的事故类型会影响事故车辆的受损位置和受损程度,事故类型包括:追尾、刮擦、并线碰撞、拐弯碰撞等。对于追尾事故,事故车辆的受损位置为事故车辆的前端和后端,且多为碰撞损伤,受损程度相对刮擦事故较重;对于并线碰撞和刮擦事故,事故车辆的受损位置为事故车辆的两侧,且多为刮擦损伤;对于拐弯碰撞事故,事故车辆的受损位置为事故车辆的一侧和前端,且既有碰撞损伤又有刮擦损伤。因此,需要通过事故图像确定事故类型。根据用户输入的车主身份信息和事故车辆的受损信息,对车辆进行理赔。The accident type is the premise for determining the damage of the accident vehicle. Different accident types will affect the damaged position and damage degree of the accident vehicle. For rear-end collisions, the damaged position of the accident vehicle is the front and rear ends of the accident vehicle, and most of them are collision damage, and the degree of damage is relatively heavier than the scratch accident; for parallel collisions and scratch accidents, the damaged position of the accident vehicle It is the two sides of the accident vehicle, and most of them are scratch damage; for a cornering collision accident, the damaged position of the accident vehicle is one side and the front end of the accident vehicle, and there are both collision damage and scratch damage. Therefore, it is necessary to determine the accident type through the accident image. According to the owner's identity information entered by the user and the damage information of the accident vehicle, the vehicle is claimed.
511、接收用户上传的理赔请求,并将目标增强图像输入训练后的卷积神经网络模型中进行预测,得到目标增强图像的理赔概率;511. Receive the claim settlement request uploaded by the user, and input the target enhanced image into the trained convolutional neural network model for prediction, and obtain the claim settlement probability of the target enhanced image;
本实施例中,用户上传的理赔请求中包括目标增强图像(也就是本实施例中的目标增强图像)和理赔信息,其中,目标增强图像是用户在发生车辆事故对车辆的受损部位进行拍摄的图片,例如为,车辆追尾的图片,车辆侧翻的图片以及车辆刮蹭的图片。理赔信息指的是用户在发生车辆事故后向保险公司上传与理赔相关的信息,例如,汽车型号、受损 原因、保单编号等。用户在发生车辆事故后,通过移动终端10填写基本的车辆信息,事故原因,现场拍摄受损的车辆图片,将目标增强图像和理赔信息上传到保险公司的服务器以生成理赔请求。当接收到用户上传的理赔请求后,调用训练好的卷积神经网络模型,将所述目标增强图像输入到该卷积神经网络模型中进行预测,得到该目标增强图像的理赔概率,即该目标增强图像是否应该被理赔的概率大小。In this embodiment, the claim settlement request uploaded by the user includes the target enhanced image (that is, the target enhanced image in this embodiment) and the claim information, wherein the target enhanced image is the user taking pictures of the damaged part of the vehicle when a vehicle accident occurs For example, a picture of a rear-end collision of a vehicle, a picture of a rollover of a vehicle, and a picture of a vehicle scratching. Claim information refers to the user uploading information related to claims to the insurance company after a vehicle accident, such as the car model, the cause of damage, and the policy number, etc. After a vehicle accident occurs, the user fills in the basic vehicle information and the cause of the accident through the mobile terminal 10, takes a picture of the damaged vehicle on site, and uploads the target enhanced image and claim information to the insurance company's server to generate a claim request. After receiving the claim settlement request uploaded by the user, the trained convolutional neural network model is called, and the target enhanced image is input into the convolutional neural network model for prediction, and the claim settlement probability of the target enhanced image is obtained, that is, the target The probability of whether the enhanced image should be claimed.
512、判断目标增强图像的理赔概率是否大于预设阈值;512. Determine whether the claim settlement probability of the target enhanced image is greater than a preset threshold;
本实施例中,采用分类器SVM(支持向量机)进行分类,其为一个二分类模型,用于对目标增强图像进行二分类,一类划分为属于理赔,另一类划分为不属于理赔。当得到一维特征向量后,将一维特征向量输入到分类器中,由分类器将一维特征向量映射到一个0到1范围内的数值,该数值即为理赔概率。In this embodiment, a classifier SVM (Support Vector Machine) is used for classification, which is a two-class model for classifying the target enhanced image into two classes, one class is classified as belonging to claim settlement, and the other class is classified as not belonging to claim settlement. When the one-dimensional feature vector is obtained, the one-dimensional feature vector is input into the classifier, and the classifier maps the one-dimensional feature vector to a value in the range of 0 to 1, which is the claim settlement probability.
513、当目标增强图片的理赔概率大于预设阈值时,确定目标增强图像可理赔;513. When the claim settlement probability of the target enhanced image is greater than a preset threshold, determine that the target enhanced image can be claimed;
本实施例中,在得到目标增强图像的理赔概率后,将理赔概率与预设阈值进行对比,预设阈值为0.7,当然可以理解的是,还可以是其他的任意数值。当目标增强图像对应的理赔概率大于预设阈值时,说明该目标增强图像非常接近已理赔过的目标事故车辆图像,判定该目标增强图像属于可理赔。当目标增强图像对应的理赔概率小于预设阈值时,说明该目标增强图像存在骗保或欺诈的风险,判定该目标增强图像不属于可理赔。例如,当理赔概率为0.8时,那么该理赔概率大于预设阈值,则判定该目标增强图像可理赔。In this embodiment, after the claim settlement probability of the target enhanced image is obtained, the claim settlement probability is compared with a preset threshold, and the preset threshold is 0.7. Of course, it can be understood that it can be any other value. When the claim settlement probability corresponding to the target enhanced image is greater than the preset threshold, it means that the target enhanced image is very close to the target accident vehicle image that has already been claimed, and it is determined that the target enhanced image is claimable. When the claim settlement probability corresponding to the target enhanced image is less than the preset threshold, it indicates that the target enhanced image has a risk of insurance fraud or fraud, and it is determined that the target enhanced image is not eligible for claim settlement. For example, when the claim settlement probability is 0.8, then the claim settlement probability is greater than the preset threshold, and it is determined that the target enhanced image can be claimed.
514、基于用户的车主身份信息和事故车辆的标识信息,对事故车辆进行理赔。514. Based on the user's owner identity information and the identification information of the accident vehicle, make a claim for the accident vehicle.
本实施例中,从预设数据库中对所有的理赔案件进行筛选,选取已理赔的理赔案件并获取所筛选的理赔案件的理赔信息,其中,已理赔的理赔案件在理赔完成后进行标记,因此可通过选取带有标记的理赔案件从而筛选得到已理赔的理赔案件;然后将所筛选的理赔案件的理赔信息与用户上传的理赔信息按照预设规则进行匹配,其中,预设规则例如为按照车辆型号、车辆年限以及受损部位进行匹配,例如,若用户上传的车辆型号是A型,车辆年限为2年,受损部位为车尾,那么与之对应地从理赔信息中查找一一匹配的理赔信息,并将所匹配的理赔信息中已理赔的金额作为理赔预估金额,将理赔预估金额发送给用户。In this embodiment, all claim settlement cases are screened from the preset database, claim settlement cases that have already been settled are selected, and claim settlement information of the screened claim settlement cases is obtained. Claims that have been settled can be obtained by selecting the marked claim cases; then, the claim information of the screened claim cases and the claim information uploaded by the user are matched according to preset rules, wherein the preset rules are, for example, according to the vehicle. Match the model, vehicle age, and damaged parts. For example, if the vehicle model uploaded by the user is type A, the vehicle age is 2 years, and the damaged part is the rear of the vehicle, the corresponding claim information will be searched for one-to-one matching. Claim settlement information, and use the claimed amount in the matching claim settlement information as the estimated claim settlement amount, and send the estimated claim settlement amount to the user.
本实施例中步骤501-504与第一实施例中的101-104类似,此处不再赘述。Steps 501-504 in this embodiment are similar to steps 101-104 in the first embodiment, and are not repeated here.
在本申请实施例中,通过预置图像识别模型对从交通事故现场获取的现场图像数据进行识别,判断现场图像数据是否满足预设图像标准;若现场图像数据不满足预设图像标准,则提示用户重新拍摄;若现场图像数据满足预设图像标准,则进入下一张拍摄任务,得到交通事故现场的目标事故车辆图像;将目标事故车辆图像输入预置图像增强模型进行图像增强,生成目标增强图像。本方案只需要高质量的图片进行映射函数的学习即可完成低质量到高质量图像的转化,提升车险理赔的准确性和处理时效,解决了理赔效率低下的技术问题。In the embodiment of the present application, the on-site image data obtained from the traffic accident scene is identified by a preset image recognition model, and it is judged whether the on-site image data meets the preset image standard; if the on-site image data does not meet the preset image standard, a prompt is displayed The user re-shoots; if the on-site image data meets the preset image standards, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into the preset image enhancement model for image enhancement to generate target enhancement image. This solution only needs high-quality images to learn the mapping function to complete the conversion of low-quality to high-quality images, improve the accuracy and processing time of auto insurance claims, and solve the technical problem of low claim settlement efficiency.
上面对本申请实施例中图像增强方法进行了描述,下面对本申请实施例中图像增强装置进行描述,请参阅图6,本申请实施例中图像增强装置的第一个实施例包括:第一获取模块601,用于获取交通事故现场的现场图像数据;第一判断模块602,用于通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;提示模块603,用于当所述现场图像数据不满足预设图像标准时,提示用户重新拍摄;拍摄模块604,用于当所述现场图像数据满足预设图像标准时,进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;图像增强模块605,用于将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。The image enhancement method in the embodiment of the present application has been described above, and the image enhancement device in the embodiment of the present application is described below. Please refer to FIG. 6 . The first embodiment of the image enhancement device in the embodiment of the present application includes: a first acquisition module 601, for acquiring on-site image data of a traffic accident scene; a first judgment module 602, for identifying the on-site image data through a preset image recognition model, and judging whether the on-site image data satisfies the preset image standard; prompting The module 603 is used for prompting the user to re-shoot when the on-site image data does not meet the preset image standard; the shooting module 604 is used for entering the next shooting task when the on-site image data meets the preset image standard, and obtaining the The target accident vehicle image at the scene of the traffic accident; the image enhancement module 605 is configured to input the target accident vehicle image into a preset image enhancement model, perform image enhancement on the target accident vehicle image, and generate a target enhanced image.
本申请实施例中,只需要高质量的图片进行映射函数的学习即可完成低质量到高质量图像的转化,提升车险理赔的准确性和处理时效,解决了理赔效率低下的技术问题。In the embodiment of the present application, only high-quality pictures are needed to learn the mapping function to complete the conversion of low-quality to high-quality images, which improves the accuracy and processing time of auto insurance claims, and solves the technical problem of low claim settlement efficiency.
请参阅图7,本申请实施例中图像增强装置的第二个实施例,该图像增强装置具体包括:Please refer to FIG. 7 , the second embodiment of the image enhancement apparatus in the embodiment of the present application, the image enhancement apparatus specifically includes:
第一获取模块601,用于获取交通事故现场的现场图像数据;第一判断模块602,用于通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;提示模块603,用于当所述现场图像数据不满足预设图像标准时,提示用户重新拍摄;拍摄模块604,用于当所述现场图像数据满足预设图像标准时,进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;图像增强模块605,用于将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。The first acquisition module 601 is used to acquire the on-site image data of the traffic accident scene; the first judgment module 602 is used to identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset requirements. Image standard; the prompting module 603 is used to prompt the user to re-shoot when the on-site image data does not meet the preset image standard; the shooting module 604 is used to enter the next shooting when the on-site image data meets the preset image standard The task is to obtain the target accident vehicle image at the traffic accident scene; the image enhancement module 605 is used to input the target accident vehicle image into a preset image enhancement model, and perform image enhancement on the target accident vehicle image to generate a target enhanced image. .
本实施例中,所述图像增强装置还包括:In this embodiment, the image enhancement device further includes:
第二获取模块605,用于从预置数据库中获取事故现场的历史车辆图像;构建模块606,用于将所述历史车辆图像作为训练样本构建训练样本数据集;训练模块607,用于将所述训练样本数据集输入预置图像增强生成器,对所述图像增强生成器进行训练,得到目标图像增强模型。The second acquisition module 605 is used to acquire historical vehicle images of the accident scene from the preset database; the construction module 606 is used to construct a training sample data set using the historical vehicle images as training samples; the training module 607 is used to The training sample data set is input to a preset image enhancement generator, and the image enhancement generator is trained to obtain a target image enhancement model.
本实施例中,所述图像增强装置还包括:In this embodiment, the image enhancement device further includes:
输入模块608,用于从预置训练图片数据库中获取多张训练图片,并将所述训练图片预置神经网络模型,得到所述训练图片的预测类别标签;生成模块609,用于根据所述训练图片的类别,生成所述训练图片的真实类别标签;根据所述训练图片的预测类别标签和所述训练图片的真实类别标签,生成所述训练图片的第一损失函数;更新模块610,用于根据所述第一损失函数对所述神经网络模型中的参数进行更新,得到目标图片识别模型。The input module 608 is used to obtain a plurality of training pictures from the preset training picture database, and the training pictures are preset to the neural network model to obtain the predicted category label of the training pictures; the generation module 609 is used for according to the The category of the training picture, the true category label of the training picture is generated; the first loss function of the training picture is generated according to the predicted category label of the training picture and the true category label of the training picture; the update module 610 uses The parameters in the neural network model are updated according to the first loss function to obtain a target image recognition model.
本实施例中,所述训练模块607具体用于:In this embodiment, the training module 607 is specifically used for:
图像增强单元6071,用于对所述训练样本数据集进行图像增强,得到预设数量个目标原始图像和对应的增强图像;输入单元6072,用于将所述目标原始图像输入到预置图像增强生成器中的CNN图像增强网络中,得到所述目标原始图像对应的输出图像;确定单元6073,用于确定所述输出图像和增强图像之间的第二损失函数;迭代训练单元6074,用于基于所述第二损失函数,对所述图像增强生成器中的CNN图像增强网络进行,直到所述CNN图像增强网络收敛得到目标图像增强模型。The image enhancement unit 6071 is used to perform image enhancement on the training sample data set to obtain a preset number of target original images and corresponding enhanced images; the input unit 6072 is used to input the target original image into the preset image enhancement In the CNN image enhancement network in the generator, the output image corresponding to the target original image is obtained; the determining unit 6073 is used to determine the second loss function between the output image and the enhanced image; the iterative training unit 6074 is used for Based on the second loss function, the CNN image enhancement network in the image enhancement generator is performed until the CNN image enhancement network converges to obtain a target image enhancement model.
本实施例中,所述图像增强模块605具体用于:In this embodiment, the image enhancement module 605 is specifically used for:
对所述目标事故车辆图像进行下采样处理,得到下采样图像;将所述下采样图像输入所述目标图像增强模型,得到所述目标事故车辆图像对应的图像增强数据;确定所述目标事故车辆图像中的每一像素点在所述下采样图像中的匹配点;基于所述图像增强数据中所述像素点的匹配点所对应的增强数据,确定所述像素点对应的目标增强参数;基于所述像素点对应的目标增强参数,调整所述像素点的像素值,得到所述目标事故车辆图像对应的目标增强图像。Perform down-sampling processing on the target accident vehicle image to obtain a down-sampled image; input the down-sampled image into the target image enhancement model to obtain image enhancement data corresponding to the target accident vehicle image; determine the target accident vehicle a matching point of each pixel in the image in the down-sampled image; based on the enhancement data corresponding to the matching point of the pixel in the image enhancement data, determine the target enhancement parameter corresponding to the pixel; based on The target enhancement parameter corresponding to the pixel point is adjusted, and the pixel value of the pixel point is adjusted to obtain the target enhancement image corresponding to the target accident vehicle image.
本实施例中,所述图像增强装置还包括:In this embodiment, the image enhancement device further includes:
第三获取模块611,用于获取用户的车主身份信息和所述事故车辆的受损信息,其中,所述车辆信息包括所述事故车辆的车险信息;预测模块612,用于接收所述用户上传的理赔请求,并将所述目标增强图像输入训练后的卷积神经网络模型中进行预测,得到所述目标增强图像的理赔概率;第二判断模块613,用于判断所述目标增强图像的理赔概率是否大于预设阈值;确定模块614,用于当所述目标增强图片的理赔概率大于预设阈值时,确定所述目标增强图像可理赔;理赔模块615,用于基于所述用户的车主身份信息和所述事故车辆的标识信息,对所述事故车辆进行理赔。The third obtaining module 611 is configured to obtain the vehicle owner identity information of the user and the damage information of the accident vehicle, wherein the vehicle information includes the car insurance information of the accident vehicle; the prediction module 612 is configured to receive the upload from the user and input the target enhanced image into the trained convolutional neural network model for prediction, and obtain the claim settlement probability of the target enhanced image; the second judgment module 613 is used to judge the claim settlement of the target enhanced image Whether the probability is greater than a preset threshold; the determination module 614 is used to determine that the target enhanced image can be claimed when the claim settlement probability of the target enhanced image is greater than the preset threshold; the claim settlement module 615 is used based on the user's vehicle owner identity information and the identification information of the accident vehicle, and make a claim for the accident vehicle.
本申请实施例中,通过预置图像识别模型对从交通事故现场获取的现场图像数据进行 识别,判断现场图像数据是否满足预设图像标准;若现场图像数据不满足预设图像标准,则提示用户重新拍摄;若现场图像数据满足预设图像标准,则进入下一张拍摄任务,得到交通事故现场的目标事故车辆图像;将目标事故车辆图像输入预置图像增强模型进行图像增强,生成目标增强图像。本方案只需要高质量的图片进行映射函数的学习即可完成低质量到高质量图像的转化,提升车险理赔的准确性和处理时效,解决了理赔效率低下的技术问题。In the embodiment of the present application, a preset image recognition model is used to identify the on-site image data obtained from the scene of a traffic accident to determine whether the on-site image data meets the preset image standard; if the on-site image data does not meet the preset image standard, the user is prompted to Re-shoot; if the on-site image data meets the preset image standards, enter the next shooting task to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into the preset image enhancement model for image enhancement, and generate the target enhanced image . This solution only needs high-quality pictures to learn the mapping function to complete the conversion of low-quality to high-quality images, improve the accuracy and processing time of auto insurance claims, and solve the technical problem of low claim settlement efficiency.
上面图6和图7从模块化功能实体的角度对本申请实施例中的图像增强装置进行详细描述,下面从硬件处理的角度对本申请实施例中图像增强设备进行详细描述。Figures 6 and 7 above describe in detail the image enhancement apparatus in the embodiment of the present application from the perspective of modular functional entities, and the following describes the image enhancement device in the embodiment of the present application in detail from the perspective of hardware processing.
图8是本申请实施例提供的一种图像增强设备的结构示意图,该图像增强设备800可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(central processing units,CPU)810(例如,一个或一个以上处理器)和存储器820,一个或一个以上存储应用程序833或数据832的存储介质830(例如一个或一个以上海量存储设备)。其中,存储器820和存储介质830可以是短暂存储或持久存储。存储在存储介质830的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对图像增强设备800中的一系列指令操作。更进一步地,处理器810可以设置为与存储介质830通信,在图像增强设备800上执行存储介质830中的一系列指令操作,以实现上述各方法实施例提供的图像增强方法的步骤。8 is a schematic structural diagram of an image enhancement device provided by an embodiment of the present application. The image enhancement device 800 may vary greatly due to different configurations or performance, and may include one or more processors (central processing units, CPUs) ) 810 (eg, one or more processors) and memory 820, one or more storage media 830 (eg, one or more mass storage devices) storing application programs 833 or data 832. Among them, the memory 820 and the storage medium 830 may be short-term storage or persistent storage. The program stored in the storage medium 830 may include one or more modules (not shown in the figure), and each module may include a series of instructions to operate on the image enhancement apparatus 800 . Further, the processor 810 may be configured to communicate with the storage medium 830, and execute a series of instruction operations in the storage medium 830 on the image enhancement device 800, so as to implement the steps of the image enhancement method provided by the above method embodiments.
图像增强设备800还可以包括一个或一个以上电源840,一个或一个以上有线或无线网络接口850,一个或一个以上输入输出接口860,和/或,一个或一个以上操作系统831,例如Windows Serve,Mac OS X,Unix,Linux,FreeBSD等等。本领域技术人员可以理解,图8示出的图像增强设备结构并不构成对本申请提供的图像增强设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。 Image enhancement device 800 may also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input and output interfaces 860, and/or, one or more operating systems 831, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD and more. Those skilled in the art can understand that the structure of the image enhancement device shown in FIG. 8 does not constitute a limitation to the image enhancement device provided in this application, and may include more or less components than those shown in the figure, or combine some components, or different component layout.
本申请还提供一种图像增强设备,包括:存储器和至少一个处理器,所述存储器中存储有指令,所述存储器和所述至少一个处理器通过线路互连;所述至少一个处理器调用所述存储器中的所述指令,以使得所述图像增强设备执行上述图像增强方法中的步骤。The present application also provides an image enhancement device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, the memory and the at least one processor are interconnected by a line; the at least one processor calls the at least one processor The instructions in the memory are used to cause the image enhancement device to perform the steps in the image enhancement method described above.
本申请还提供一种计算机可读存储介质,该计算机可读存储介质可以为非易失性计算机可读存储介质,也可以为易失性计算机可读存储介质。计算机可读存储介质存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如下步骤:The present application also provides a computer-readable storage medium, and the computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on the computer, the computer performs the following steps:
获取交通事故现场的现场图像数据;通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;若否,则提示用户重新拍摄;若是,则进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。Obtain on-site image data of the traffic accident scene; identify the on-site image data through a preset image recognition model, and determine whether the on-site image data meets the preset image standard; if not, prompt the user to re-shoot; if so, enter the The next shooting task is to obtain the target accident vehicle image at the traffic accident scene; input the target accident vehicle image into a preset image enhancement model, and perform image enhancement on the target accident vehicle image to generate a target enhanced image.
本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution. The computer software product is stored in a storage medium, including a number of instructions for So that a computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (20)

  1. 一种图像增强方法,包括:An image enhancement method comprising:
    获取交通事故现场的现场图像数据;Obtain the scene image data of the traffic accident scene;
    通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;Identifying the on-site image data through a preset image recognition model, and judging whether the on-site image data satisfies the preset image standard;
    若否,则提示用户重新拍摄;If not, prompt the user to shoot again;
    若是,则进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;If so, enter the next photographing task to obtain the target accident vehicle image at the traffic accident scene;
    将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。The target accident vehicle image is input into a preset image enhancement model, and image enhancement is performed on the target accident vehicle image to generate a target enhanced image.
  2. 根据权利要求1所述的图像增强方法,其中,在所述获取交通事故现场的现场图像数据之前,还包括:The image enhancement method according to claim 1, wherein before acquiring the scene image data of the traffic accident scene, the method further comprises:
    从预置数据库中获取事故现场的历史车辆图像;Obtain historical vehicle images at the accident scene from a pre-built database;
    将所述历史车辆图像作为训练样本构建训练样本数据集;Using the historical vehicle images as training samples to construct a training sample data set;
    将所述训练样本数据集输入预置图像增强生成器,对所述图像增强生成器进行训练,得到目标图像增强模型。The training sample data set is input into a preset image enhancement generator, and the image enhancement generator is trained to obtain a target image enhancement model.
  3. 根据权利要求1所述的图像增强方法,其中,在所述通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准之前,还包括:The image enhancement method according to claim 1, wherein before identifying the on-site image data by using a preset image recognition model and judging whether the on-site image data satisfies a preset image standard, the method further comprises:
    从预置训练图片数据库中获取多张训练图片,并将所述训练图片输入预置神经网络模型,得到所述训练图片的预测类别标签;Obtain a plurality of training pictures from the preset training picture database, and input the training pictures into the preset neural network model to obtain the predicted category label of the training pictures;
    根据所述训练图片的类别,生成所述训练图片的真实类别标签;According to the category of the training picture, generate the true category label of the training picture;
    根据所述训练图片的预测类别标签和所述训练图片的真实类别标签,生成所述训练图片的第一损失函数;Generate the first loss function of the training picture according to the predicted category label of the training picture and the real category label of the training picture;
    根据所述第一损失函数对所述神经网络模型中的参数进行更新,得到目标图片识别模型。The parameters in the neural network model are updated according to the first loss function to obtain a target image recognition model.
  4. 根据权利要求2所述的图像增强方法,其中,所述将所述训练样本数据集输入预置图像增强生成器,对所述图像增强生成器进行训练,得到目标图像增强模型包括:The image enhancement method according to claim 2, wherein the inputting the training sample data set into a preset image enhancement generator, and training the image enhancement generator to obtain the target image enhancement model comprises:
    对所述训练样本数据集进行图像增强,得到预设数量个目标原始图像和对应的增强图像;Perform image enhancement on the training sample data set to obtain a preset number of target original images and corresponding enhanced images;
    将所述目标原始图像输入到预置图像增强生成器中的CNN图像增强网络中,得到所述目标原始图像对应的输出图像;Inputting the target original image into the CNN image enhancement network in the preset image enhancement generator to obtain an output image corresponding to the target original image;
    确定所述输出图像和增强图像之间的第二损失函数;determining a second loss function between the output image and the enhanced image;
    基于所述第二损失函数,对所述图像增强生成器中的CNN图像增强网络进行迭代训练,直到所述CNN图像增强网络收敛得到目标图像增强模型。Based on the second loss function, the CNN image enhancement network in the image enhancement generator is iteratively trained until the CNN image enhancement network converges to obtain a target image enhancement model.
  5. 根据权利要求1所述的图像增强方法,其中,所述将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像包括:The image enhancement method according to claim 1, wherein the inputting the target accident vehicle image into a preset image enhancement model, performing image enhancement on the target accident vehicle image, and generating the target enhanced image comprises:
    对所述目标事故车辆图像进行下采样处理,得到下采样图像;Perform down-sampling processing on the target accident vehicle image to obtain a down-sampled image;
    将所述下采样图像输入所述目标图像增强模型,得到所述目标事故车辆图像对应的图像增强数据;Inputting the down-sampled image into the target image enhancement model to obtain image enhancement data corresponding to the target accident vehicle image;
    确定所述目标事故车辆图像中的每一像素点在所述下采样图像中的匹配点;determining the matching point of each pixel in the target accident vehicle image in the down-sampled image;
    基于所述图像增强数据中所述像素点的匹配点所对应的增强数据,确定所述像素点对应的目标增强参数;Determine the target enhancement parameter corresponding to the pixel point based on the enhancement data corresponding to the matching point of the pixel point in the image enhancement data;
    基于所述像素点对应的目标增强参数,调整所述像素点的像素值,得到所述目标事故车辆图像对应的目标增强图像。Based on the target enhancement parameter corresponding to the pixel point, the pixel value of the pixel point is adjusted to obtain the target enhancement image corresponding to the target accident vehicle image.
  6. 根据权利要求1所述的图像增强方法,其中,在所述将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像之后,还包括:The image enhancement method according to claim 1, wherein after inputting the target accident vehicle image into a preset image enhancement model, performing image enhancement on the target accident vehicle image, and generating the target enhanced image, the method further comprises:
    获取用户的车主身份信息和所述事故车辆的受损信息,其中,所述车辆信息包括所述事故车辆的车险信息;Acquiring vehicle owner identity information of the user and damage information of the accident vehicle, wherein the vehicle information includes auto insurance information of the accident vehicle;
    接收所述用户上传的理赔请求,并将所述目标增强图像输入训练后的卷积神经网络模型中进行预测,得到所述目标增强图像的理赔概率;Receive the claim settlement request uploaded by the user, input the target enhanced image into the trained convolutional neural network model for prediction, and obtain the claim settlement probability of the target enhanced image;
    判断所述目标增强图像的理赔概率是否大于预设阈值;judging whether the claim settlement probability of the target enhanced image is greater than a preset threshold;
    若所述目标增强图片的理赔概率大于预设阈值,则确定所述目标增强图像可理赔;If the claim settlement probability of the target enhanced image is greater than a preset threshold, determining that the target enhanced image can be claimed;
    基于所述用户的车主身份信息和所述事故车辆的标识信息,对所述事故车辆进行理赔。A claim is made for the accident vehicle based on the vehicle owner identity information of the user and the identification information of the accident vehicle.
  7. 一种图像增强设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:An image enhancement device, comprising a memory, a processor, and computer-readable instructions stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer-readable instructions:
    获取交通事故现场的现场图像数据;Obtain the scene image data of the traffic accident scene;
    通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;Identifying the on-site image data through a preset image recognition model, and judging whether the on-site image data satisfies the preset image standard;
    若否,则提示用户重新拍摄;If not, prompt the user to shoot again;
    若是,则进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;If so, enter the next photographing task to obtain the target accident vehicle image at the traffic accident scene;
    将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。The target accident vehicle image is input into a preset image enhancement model, and image enhancement is performed on the target accident vehicle image to generate a target enhanced image.
  8. 根据权利要求7所述的图像增强设备,所述处理器执行所述计算机程序时还实现以下步骤:The image enhancement device according to claim 7, wherein the processor further implements the following steps when executing the computer program:
    从预置数据库中获取事故现场的历史车辆图像;Obtain historical vehicle images at the accident scene from a pre-built database;
    将所述历史车辆图像作为训练样本构建训练样本数据集;Using the historical vehicle images as training samples to construct a training sample data set;
    将所述训练样本数据集输入预置图像增强生成器,对所述图像增强生成器进行训练,得到目标图像增强模型。The training sample data set is input into a preset image enhancement generator, and the image enhancement generator is trained to obtain a target image enhancement model.
  9. 根据权利要求7所述的图像增强设备,所述处理器执行所述计算机程序时还实现以下步骤:The image enhancement device according to claim 7, wherein the processor further implements the following steps when executing the computer program:
    从预置训练图片数据库中获取多张训练图片,并将所述训练图片输入预置神经网络模型,得到所述训练图片的预测类别标签;Obtain a plurality of training pictures from the preset training picture database, and input the training pictures into the preset neural network model to obtain the predicted category label of the training pictures;
    根据所述训练图片的类别,生成所述训练图片的真实类别标签;According to the category of the training picture, generate the true category label of the training picture;
    根据所述训练图片的预测类别标签和所述训练图片的真实类别标签,生成所述训练图片的第一损失函数;Generate the first loss function of the training picture according to the predicted category label of the training picture and the real category label of the training picture;
    根据所述第一损失函数对所述神经网络模型中的参数进行更新,得到目标图片识别模型。The parameters in the neural network model are updated according to the first loss function to obtain a target image recognition model.
  10. 根据权利要求8所述的图像增强设备,所述处理器执行所述计算机程序时还实现以下步骤:The image enhancement device according to claim 8, wherein the processor further implements the following steps when executing the computer program:
    对所述训练样本数据集进行图像增强,得到预设数量个目标原始图像和对应的增强图像;Perform image enhancement on the training sample data set to obtain a preset number of target original images and corresponding enhanced images;
    将所述目标原始图像输入到预置图像增强生成器中的CNN图像增强网络中,得到所述目标原始图像对应的输出图像;Inputting the target original image into the CNN image enhancement network in the preset image enhancement generator to obtain an output image corresponding to the target original image;
    确定所述输出图像和增强图像之间的第二损失函数;determining a second loss function between the output image and the enhanced image;
    基于所述第二损失函数,对所述图像增强生成器中的CNN图像增强网络进行迭代训练,直到所述CNN图像增强网络收敛得到目标图像增强模型。Based on the second loss function, the CNN image enhancement network in the image enhancement generator is iteratively trained until the CNN image enhancement network converges to obtain a target image enhancement model.
  11. 根据权利要求7所述的图像增强设备,所述处理器执行所述计算机程序时还实现以下步骤:The image enhancement device according to claim 7, wherein the processor further implements the following steps when executing the computer program:
    对所述目标事故车辆图像进行下采样处理,得到下采样图像;Perform down-sampling processing on the target accident vehicle image to obtain a down-sampled image;
    将所述下采样图像输入所述目标图像增强模型,得到所述目标事故车辆图像对应的图像增强数据;Inputting the down-sampled image into the target image enhancement model to obtain image enhancement data corresponding to the target accident vehicle image;
    确定所述目标事故车辆图像中的每一像素点在所述下采样图像中的匹配点;determining the matching point of each pixel in the target accident vehicle image in the down-sampled image;
    基于所述图像增强数据中所述像素点的匹配点所对应的增强数据,确定所述像素点对应的目标增强参数;Determine the target enhancement parameter corresponding to the pixel point based on the enhancement data corresponding to the matching point of the pixel point in the image enhancement data;
    基于所述像素点对应的目标增强参数,调整所述像素点的像素值,得到所述目标事故车辆图像对应的目标增强图像。Based on the target enhancement parameter corresponding to the pixel point, the pixel value of the pixel point is adjusted to obtain the target enhancement image corresponding to the target accident vehicle image.
  12. 根据权利要求7所述的图像增强设备,所述处理器执行所述计算机程序时还实现以下步骤:The image enhancement device according to claim 7, wherein the processor further implements the following steps when executing the computer program:
    获取用户的车主身份信息和所述事故车辆的受损信息,其中,所述车辆信息包括所述事故车辆的车险信息;Acquiring vehicle owner identity information of the user and damage information of the accident vehicle, wherein the vehicle information includes auto insurance information of the accident vehicle;
    接收所述用户上传的理赔请求,并将所述目标增强图像输入训练后的卷积神经网络模型中进行预测,得到所述目标增强图像的理赔概率;Receive the claim settlement request uploaded by the user, input the target enhanced image into the trained convolutional neural network model for prediction, and obtain the claim settlement probability of the target enhanced image;
    判断所述目标增强图像的理赔概率是否大于预设阈值;judging whether the claim settlement probability of the target enhanced image is greater than a preset threshold;
    若所述目标增强图片的理赔概率大于预设阈值,则确定所述目标增强图像可理赔;If the claim settlement probability of the target enhanced image is greater than a preset threshold, determining that the target enhanced image can be claimed;
    基于所述用户的车主身份信息和所述事故车辆的标识信息,对所述事故车辆进行理赔。A claim is made for the accident vehicle based on the vehicle owner identity information of the user and the identification information of the accident vehicle.
  13. 一种计算机可读存储介质,所述计算机可读存储介质中存储计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如下步骤:A computer-readable storage medium, storing computer instructions in the computer-readable storage medium, when the computer instructions are executed on a computer, the computer is made to perform the following steps:
    获取交通事故现场的现场图像数据;Obtain the scene image data of the traffic accident scene;
    通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;Identifying the on-site image data through a preset image recognition model, and judging whether the on-site image data satisfies the preset image standard;
    若否,则提示用户重新拍摄;If not, prompt the user to shoot again;
    若是,则进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;If so, enter the next photographing task to obtain the target accident vehicle image at the traffic accident scene;
    将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。The target accident vehicle image is input into a preset image enhancement model, and image enhancement is performed on the target accident vehicle image to generate a target enhanced image.
  14. 根据权利要求13所述的计算机可读存储介质,当所述计算机指令在计算机上运行时,使得计算机还执行以下步骤:The computer-readable storage medium of claim 13, when the computer instructions are executed on a computer, causing the computer to further perform the following steps:
    从预置数据库中获取事故现场的历史车辆图像;Obtain historical vehicle images at the accident scene from a pre-built database;
    将所述历史车辆图像作为训练样本构建训练样本数据集;Using the historical vehicle images as training samples to construct a training sample data set;
    将所述训练样本数据集输入预置图像增强生成器,对所述图像增强生成器进行训练,得到目标图像增强模型。The training sample data set is input into a preset image enhancement generator, and the image enhancement generator is trained to obtain a target image enhancement model.
  15. 根据权利要求13所述的计算机可读存储介质,当所述计算机指令在计算机上运行时,使得计算机还执行以下步骤:The computer-readable storage medium of claim 13, when the computer instructions are executed on a computer, causing the computer to further perform the following steps:
    从预置训练图片数据库中获取多张训练图片,并将所述训练图片输入预置神经网络模型,得到所述训练图片的预测类别标签;Obtain a plurality of training pictures from the preset training picture database, and input the training pictures into the preset neural network model to obtain the predicted category label of the training pictures;
    根据所述训练图片的类别,生成所述训练图片的真实类别标签;According to the category of the training picture, generate the true category label of the training picture;
    根据所述训练图片的预测类别标签和所述训练图片的真实类别标签,生成所述训练图片的第一损失函数;Generate the first loss function of the training picture according to the predicted category label of the training picture and the real category label of the training picture;
    根据所述第一损失函数对所述神经网络模型中的参数进行更新,得到目标图片识别模型。The parameters in the neural network model are updated according to the first loss function to obtain a target image recognition model.
  16. 根据权利要求14所述的计算机可读存储介质,当所述计算机指令在计算机上运行时,使得计算机还执行以下步骤:The computer-readable storage medium of claim 14, which, when executed on a computer, causes the computer to further perform the following steps:
    对所述训练样本数据集进行图像增强,得到预设数量个目标原始图像和对应的增强图像;Perform image enhancement on the training sample data set to obtain a preset number of target original images and corresponding enhanced images;
    将所述目标原始图像输入到预置图像增强生成器中的CNN图像增强网络中,得到所述目标原始图像对应的输出图像;Inputting the target original image into the CNN image enhancement network in the preset image enhancement generator to obtain an output image corresponding to the target original image;
    确定所述输出图像和增强图像之间的第二损失函数;determining a second loss function between the output image and the enhanced image;
    基于所述第二损失函数,对所述图像增强生成器中的CNN图像增强网络进行迭代训练,直到所述CNN图像增强网络收敛得到目标图像增强模型。Based on the second loss function, the CNN image enhancement network in the image enhancement generator is iteratively trained until the CNN image enhancement network converges to obtain a target image enhancement model.
  17. 如权利要求13所述的计算机可读存储介质,当所述计算机指令在计算机上运行时,使得计算机还执行以下步骤:The computer-readable storage medium of claim 13, which, when executed on a computer, causes the computer to further perform the following steps:
    对所述目标事故车辆图像进行下采样处理,得到下采样图像;Perform down-sampling processing on the target accident vehicle image to obtain a down-sampled image;
    将所述下采样图像输入所述目标图像增强模型,得到所述目标事故车辆图像对应的图像增强数据;Inputting the down-sampled image into the target image enhancement model to obtain image enhancement data corresponding to the target accident vehicle image;
    确定所述目标事故车辆图像中的每一像素点在所述下采样图像中的匹配点;determining the matching point of each pixel in the target accident vehicle image in the down-sampled image;
    基于所述图像增强数据中所述像素点的匹配点所对应的增强数据,确定所述像素点对应的目标增强参数;Determine the target enhancement parameter corresponding to the pixel point based on the enhancement data corresponding to the matching point of the pixel point in the image enhancement data;
    基于所述像素点对应的目标增强参数,调整所述像素点的像素值,得到所述目标事故车辆图像对应的目标增强图像。Based on the target enhancement parameter corresponding to the pixel point, the pixel value of the pixel point is adjusted to obtain the target enhancement image corresponding to the target accident vehicle image.
  18. 根据权利要求13所述的计算机可读存储介质,当所述计算机指令在计算机上运行时,使得计算机还执行以下步骤:The computer-readable storage medium of claim 13, when the computer instructions are executed on a computer, causing the computer to further perform the following steps:
    获取用户的车主身份信息和所述事故车辆的受损信息,其中,所述车辆信息包括所述事故车辆的车险信息;Acquiring vehicle owner identity information of the user and damage information of the accident vehicle, wherein the vehicle information includes auto insurance information of the accident vehicle;
    接收所述用户上传的理赔请求,并将所述目标增强图像输入训练后的卷积神经网络模型中进行预测,得到所述目标增强图像的理赔概率;Receive the claim settlement request uploaded by the user, input the target enhanced image into the trained convolutional neural network model for prediction, and obtain the claim settlement probability of the target enhanced image;
    判断所述目标增强图像的理赔概率是否大于预设阈值;judging whether the claim settlement probability of the target enhanced image is greater than a preset threshold;
    若所述目标增强图片的理赔概率大于预设阈值,则确定所述目标增强图像可理赔;If the claim settlement probability of the target enhanced image is greater than a preset threshold, determining that the target enhanced image can be claimed;
    基于所述用户的车主身份信息和所述事故车辆的标识信息,对所述事故车辆进行理赔。A claim is made for the accident vehicle based on the vehicle owner identity information of the user and the identification information of the accident vehicle.
  19. 一种图像增强装置,其中,所述图像增强装置包括:An image enhancement device, wherein the image enhancement device comprises:
    第一获取模块,用于获取交通事故现场的现场图像数据;The first acquisition module is used to acquire the scene image data of the traffic accident scene;
    第一判断模块,用于通过预置图像识别模型对所述现场图像数据进行识别,判断所述现场图像数据是否满足预设图像标准;a first judging module, configured to identify the on-site image data through a preset image recognition model, and judge whether the on-site image data satisfies a preset image standard;
    提示模块,用于当所述现场图像数据不满足预设图像标准时,提示用户重新拍摄;a prompting module, used for prompting the user to re-shoot when the on-site image data does not meet the preset image standard;
    拍摄模块,用于当所述现场图像数据满足预设图像标准时,进入下一张拍摄任务,得到所述交通事故现场的目标事故车辆图像;a photographing module, configured to enter the next photographing task when the on-site image data meets a preset image standard, and obtain an image of the target accident vehicle at the traffic accident scene;
    图像增强模块,用于将所述目标事故车辆图像输入预置图像增强模型,对所述目标事故车辆图像进行图像增强,生成目标增强图像。The image enhancement module is used for inputting the target accident vehicle image into a preset image enhancement model, and performing image enhancement on the target accident vehicle image to generate a target enhanced image.
  20. 如权利要求19所述的图像增强装置,其中,所述图像增强装置还包括:The image enhancement device of claim 19, wherein the image enhancement device further comprises:
    第二获取模块,用于从预置数据库中获取事故现场的历史车辆图像;The second acquisition module is used to acquire historical vehicle images of the accident scene from the preset database;
    构建模块,用于将所述历史车辆图像作为训练样本构建训练样本数据集;a building module for constructing a training sample data set using the historical vehicle images as training samples;
    训练模块,用于将所述训练样本数据集输入预置图像增强生成器,对所述图像增强生成器进行训练,得到目标图像增强模型。A training module, configured to input the training sample data set into a preset image enhancement generator, and train the image enhancement generator to obtain a target image enhancement model.
PCT/CN2021/083502 2021-01-18 2021-03-29 Image enhancement method, apparatus and device, and storage medium WO2022151589A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110064519.6A CN112862702B (en) 2021-01-18 2021-01-18 Image enhancement method, device, equipment and storage medium
CN202110064519.6 2021-01-18

Publications (1)

Publication Number Publication Date
WO2022151589A1 true WO2022151589A1 (en) 2022-07-21

Family

ID=76006710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/083502 WO2022151589A1 (en) 2021-01-18 2021-03-29 Image enhancement method, apparatus and device, and storage medium

Country Status (2)

Country Link
CN (1) CN112862702B (en)
WO (1) WO2022151589A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117033803A (en) * 2023-10-10 2023-11-10 山东爱书人家庭教育科技有限公司 Information recommendation method, system, device and medium
CN117094781A (en) * 2023-08-25 2023-11-21 国任财产保险股份有限公司 Intelligent vehicle insurance pricing and claim settlement processing method and system
CN117152733A (en) * 2023-07-10 2023-12-01 中国地质大学(武汉) Geological material identification method, system and readable storage medium
CN117271819A (en) * 2023-11-17 2023-12-22 上海闪马智能科技有限公司 Image data processing method and device, storage medium and electronic device
CN117612115A (en) * 2024-01-24 2024-02-27 山东高速信息集团有限公司 Vehicle identification method based on expressway
CN117876650A (en) * 2024-03-07 2024-04-12 中航西安飞机工业集团股份有限公司 Intelligent identifying and positioning method and system for airplane berthing in wide-area scene
CN117952841A (en) * 2024-03-26 2024-04-30 山东省地质测绘院 Remote sensing image self-adaptive enhancement method based on artificial intelligence
CN118155154A (en) * 2024-05-11 2024-06-07 东南大学 Method for detecting traffic accident in severe weather based on image recognition technology

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113239233B (en) * 2021-05-31 2024-06-25 平安科技(深圳)有限公司 Personalized image recommendation method, device, equipment and storage medium
CN113763302A (en) * 2021-09-30 2021-12-07 青岛海尔科技有限公司 Method and device for determining image detection result
CN114283288B (en) * 2021-12-24 2022-07-12 合肥工业大学智能制造技术研究院 Method, system, equipment and storage medium for enhancing night vehicle image
CN115511668B (en) * 2022-10-12 2023-09-08 金华智扬信息技术有限公司 Case supervision method, device, equipment and medium based on artificial intelligence
CN117057606B (en) * 2023-08-15 2024-08-16 广州地铁设计研究院股份有限公司 Risk prediction model training method, risk prediction method and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180293664A1 (en) * 2017-04-11 2018-10-11 Alibaba Group Holding Limited Image-based vehicle damage determining method and apparatus, and electronic device
CN109145903A (en) * 2018-08-22 2019-01-04 阿里巴巴集团控股有限公司 A kind of image processing method and device
US20190294878A1 (en) * 2018-03-23 2019-09-26 NthGen Software Inc. Method and system for obtaining vehicle target views from a video stream
CN110570358A (en) * 2018-09-04 2019-12-13 阿里巴巴集团控股有限公司 vehicle loss image enhancement method and device based on GAN network
US10685400B1 (en) * 2012-08-16 2020-06-16 Allstate Insurance Company Feedback loop in mobile damage assessment and claims processing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109606384B (en) * 2018-12-29 2021-04-20 百度在线网络技术(北京)有限公司 Vehicle control method, device, equipment and storage medium
CN110458060A (en) * 2019-07-30 2019-11-15 暨南大学 A kind of vehicle image optimization method and system based on confrontation study

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10685400B1 (en) * 2012-08-16 2020-06-16 Allstate Insurance Company Feedback loop in mobile damage assessment and claims processing
US20180293664A1 (en) * 2017-04-11 2018-10-11 Alibaba Group Holding Limited Image-based vehicle damage determining method and apparatus, and electronic device
US20190294878A1 (en) * 2018-03-23 2019-09-26 NthGen Software Inc. Method and system for obtaining vehicle target views from a video stream
CN109145903A (en) * 2018-08-22 2019-01-04 阿里巴巴集团控股有限公司 A kind of image processing method and device
CN110570358A (en) * 2018-09-04 2019-12-13 阿里巴巴集团控股有限公司 vehicle loss image enhancement method and device based on GAN network

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117152733A (en) * 2023-07-10 2023-12-01 中国地质大学(武汉) Geological material identification method, system and readable storage medium
CN117094781A (en) * 2023-08-25 2023-11-21 国任财产保险股份有限公司 Intelligent vehicle insurance pricing and claim settlement processing method and system
CN117094781B (en) * 2023-08-25 2024-02-09 国任财产保险股份有限公司 Intelligent car insurance claim settlement processing method and system
CN117033803B (en) * 2023-10-10 2024-01-09 山东爱书人家庭教育科技有限公司 Information recommendation method, system, device and medium
CN117033803A (en) * 2023-10-10 2023-11-10 山东爱书人家庭教育科技有限公司 Information recommendation method, system, device and medium
CN117271819B (en) * 2023-11-17 2024-03-01 上海闪马智能科技有限公司 Image data processing method and device, storage medium and electronic device
CN117271819A (en) * 2023-11-17 2023-12-22 上海闪马智能科技有限公司 Image data processing method and device, storage medium and electronic device
CN117612115A (en) * 2024-01-24 2024-02-27 山东高速信息集团有限公司 Vehicle identification method based on expressway
CN117612115B (en) * 2024-01-24 2024-05-03 山东高速信息集团有限公司 Vehicle identification method based on expressway
CN117876650A (en) * 2024-03-07 2024-04-12 中航西安飞机工业集团股份有限公司 Intelligent identifying and positioning method and system for airplane berthing in wide-area scene
CN117876650B (en) * 2024-03-07 2024-05-17 中航西安飞机工业集团股份有限公司 Intelligent identifying and positioning method and system for airplane berthing in wide-area scene
CN117952841A (en) * 2024-03-26 2024-04-30 山东省地质测绘院 Remote sensing image self-adaptive enhancement method based on artificial intelligence
CN117952841B (en) * 2024-03-26 2024-06-04 山东省地质测绘院 Remote sensing image self-adaptive enhancement method based on artificial intelligence
CN118155154A (en) * 2024-05-11 2024-06-07 东南大学 Method for detecting traffic accident in severe weather based on image recognition technology

Also Published As

Publication number Publication date
CN112862702A (en) 2021-05-28
CN112862702B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
WO2022151589A1 (en) Image enhancement method, apparatus and device, and storage medium
CN110569695B (en) Image processing method and device based on loss assessment image judgment model
EP3777122B1 (en) Image processing method and apparatus
EP3520045B1 (en) Image-based vehicle loss assessment method, apparatus, and system, and electronic device
KR102629380B1 (en) Method for Distinguishing a Real Three-Dimensional Object from a Two-Dimensional Spoof of the Real Object
CN109447169B (en) Image processing method, training method and device of model thereof and electronic system
CN108898579B (en) Image definition recognition method and device and storage medium
EP3937481A1 (en) Image display method and device
US9104914B1 (en) Object detection with false positive filtering
CN110188795A (en) Image classification method, data processing method and device
CN111767882A (en) Multi-mode pedestrian detection method based on improved YOLO model
US11790499B2 (en) Certificate image extraction method and terminal device
CN111292264A (en) Image high dynamic range reconstruction method based on deep learning
CN112966646A (en) Video segmentation method, device, equipment and medium based on two-way model fusion
CN107273870A (en) The pedestrian position detection method of integrating context information under a kind of monitoring scene
CN111598182A (en) Method, apparatus, device and medium for training neural network and image recognition
CN109377494B (en) Semantic segmentation method and device for image
CN113052170B (en) Small target license plate recognition method under unconstrained scene
WO2021184754A1 (en) Video comparison method and apparatus, computer device and storage medium
Chira et al. Image super-resolution with deep variational autoencoders
US20220070369A1 (en) Camera Image Or Video Processing Pipelines With Neural Embedding
CN112215831B (en) Method and system for evaluating quality of face image
CN110751226A (en) Crowd counting model training method and device and storage medium
CN111242176B (en) Method and device for processing computer vision task and electronic system
CN111274988B (en) Multispectral-based vehicle weight identification method and device

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

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

Country of ref document: EP

Kind code of ref document: A1