US11386499B2 - Car damage picture angle correction method, electronic device, and readable storage medium - Google Patents
Car damage picture angle correction method, electronic device, and readable storage medium Download PDFInfo
- Publication number
- US11386499B2 US11386499B2 US16/084,993 US201716084993A US11386499B2 US 11386499 B2 US11386499 B2 US 11386499B2 US 201716084993 A US201716084993 A US 201716084993A US 11386499 B2 US11386499 B2 US 11386499B2
- Authority
- US
- United States
- Prior art keywords
- rotation
- category
- picture
- preset
- car damage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active, expires
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/82—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- G06K9/6256—
-
- G06K9/6267—
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0464—Convolutional networks [CNN, ConvNet]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/09—Supervised learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/60—Rotation of whole images or parts thereof
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/60—Rotation of whole images or parts thereof
- G06T3/608—Rotation of whole images or parts thereof by skew deformation, e.g. two-pass or three-pass rotation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/30—Determination of transform parameters for the alignment of images, i.e. image registration
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/24—Aligning, centring, orientation detection or correction of the image
- G06V10/242—Aligning, centring, orientation detection or correction of the image by image rotation, e.g. by 90 degrees
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
- G06V10/443—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components by matching or filtering
- G06V10/449—Biologically inspired filters, e.g. difference of Gaussians [DoG] or Gabor filters
- G06V10/451—Biologically inspired filters, e.g. difference of Gaussians [DoG] or Gabor filters with interaction between the filter responses, e.g. cortical complex cells
- G06V10/454—Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/764—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/10—Terrestrial scenes
- G06V20/13—Satellite images
Definitions
- This disclosure relates to the technical field of computers, and more particularly relates to a car damage picture angle correction method, an electronic device, and a readable storage medium.
- a claim adjuster artificially checks a picture with a direction display error, and manually rotates the picture with the direction display error through the picture browser, so as to achieve normal classification and identification of pictures.
- This existing solution is inefficient and error-prone.
- a main objective of the disclosure is to provide a car damage picture angle correction method, an electronic device, and a readable storage medium, intended to efficiently and correctly realize a car damage picture angle correction.
- the disclosure provides a car damage picture angle correction method, the method including the following steps:
- the disclosure also provides an electronic device, including a memory, a processor, and a car damage picture angle correction system stored on the memory and operable on the processor, and when executed by the processor, the car damage picture angle correction system implements the following steps:
- the rotation control parameter including a rotation angle and a rotation direction
- the disclosure also provides a computer-readable storage medium, the computer-readable storage medium stores a car damage picture angle correction system, and the car damage picture angle correction system is executable by at least one processor, such that the at least one processor executes the steps of the foregoing car damage picture angle correction method.
- a rotation category corresponding to a car damage picture to be identified is identified by using a pre-trained picture rotation category identification model, a rotation control parameter corresponding to the identified rotation category is determined according to a pre-determined mapping relation between rotation categories and rotation control parameters, and the received car damage picture is rotated according to the determined rotation control parameter.
- each car damage picture can be identified by using a pre-trained picture rotation category identification model, the car damage picture is rotated to an angle-normal picture by finding a rotation control parameter corresponding to the rotation category thereof, it is unnecessary to perform rotation depending on EXIF information in the picture, and car damage picture angle correction can be performed more comprehensively and more effectively with no need to artificially perform angle identification on a car damage picture and to manually rotate the picture, thereby achieving a higher efficiency and accuracy.
- FIG. 1 is an illustrative operating environment diagram of a preferred embodiment of a car damage picture angle correction system 10 in accordance with the disclosure.
- FIG. 2 is an illustrative functional module diagram of an embodiment of a car damage picture angle correction system in accordance with the disclosure.
- FIG. 3 is an illustrative functional module diagram of another embodiment of a car damage picture angle correction system in accordance with the disclosure.
- FIG. 4 is an illustrative flowchart of an embodiment of a car damage picture angle correction method in accordance with the disclosure.
- FIG. 1 is an illustrative operating environment diagram of a preferred embodiment of a car damage picture angle correction system 10 in accordance with the disclosure.
- the car damage picture angle correction system 10 is installed and operated in an electronic device 1 .
- the electronic device 1 may include, but is not limited to, a memory 11 , a processor 12 , and a display 13 .
- FIG. 1 only illustrates an electronic device 1 having components 11 to 13 . However, it will be appreciated that all illustrated components are not required to be implemented, but more or fewer components may be implemented instead.
- the memory 11 may be an internal storage unit of the electronic device 1 , such as a hard disk or a memory of the electronic device 1 , in some embodiments.
- the memory 11 may also be external storage equipment of the electronic device 1 in some other embodiments, such as a plug-in hard disk equipped on the electronic device 1 , a smart media card (SMC), a secure digital (SD) card, and a flash card. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and external storage equipment.
- the memory 11 is used to store application software and various types of data installed in the electronic device 1 , such as program codes of the car damage picture angle correction system 10 .
- the memory 11 may also be used to temporarily store data that has been output or will be output.
- the processor 12 may be a central processing unit (CPU), a microprocessor or other data processing chips in some embodiments, used to run program codes or processing data stored in the memory 11 , e.g., to execute the car damage picture angle correction system 10 and the like.
- CPU central processing unit
- microprocessor or other data processing chips in some embodiments, used to run program codes or processing data stored in the memory 11 , e.g., to execute the car damage picture angle correction system 10 and the like.
- the display 13 may be an LED display, a liquid crystal display, a touch liquid crystal display, an organic light-emitting diode (OLED) touch sensor and the like in some embodiments.
- the display 13 is used to display information processed in the electronic device 1 and to display a visual user interface, such as an application menu interface and an application icon interface.
- Components 11 to 13 of the electronic device 1 communicate with each other via a system bus.
- FIG. 2 is an illustrative functional module diagram of a preferred embodiment of a car damage picture angle correction system 10 in accordance with the disclosure.
- the car damage picture angle correction system 10 may be divided into one or more modules, and the one or more modules are stored in the memory 11 and executed by one or more processors (the processor 12 in this embodiment), so as to complete the disclosure.
- the car damage picture angle correction system 10 may be divided into an identification module 01 , a determination module 02 , and a rotation module 03 , and each of the foregoing modules includes a series of computer program instruction segments. These computer program instruction segments may be executed by the processor 12 , so as to realize corresponding functions provided by each embodiment of this application.
- the following description will specifically introduce the functions of the modules 01 to 03 .
- FIG. 2 is an illustrative functional module diagram of an embodiment of a car damage picture angle correction system in accordance with the disclosure.
- the car damage picture angle correction system includes an identification module 01 , a determination module 02 , and a rotation module 03 .
- the identification module 01 is configured to identify, after receiving a car damage picture to be classified and identified, a rotation category corresponding to the received car damage picture by using a pre-trained picture rotation category identification model.
- the car damage picture angle correction system receives an automatic picture angle correction request sent by a user and containing a to-be-classified and identified car damage picture, e.g., receives an automatic picture angle correction request sent by a user through a mobile phone, a tablet computer, self-service terminal equipment, or other terminals, e.g., receives an automatic picture angle correction request sent by a user from a pre-installed client in a mobile phone, a tablet computer, self-service terminal equipment, or other terminals, or receives an automatic picture angle correction request sent by a user from a browser system in a mobile phone, a tablet computer, self-service terminal equipment, or other terminals.
- the car damage picture angle correction system After receiving the automatic picture angle correction request sent by the user, the car damage picture angle correction system identifies a received car damage picture by using a pre-trained picture rotation category identification model, and identifies a rotation category corresponding to the received car damage picture, wherein the rotation category may include a parameter such as the deflection direction and angle of the received car damage picture relative to the angle-normal car damage picture, such as a clockwise deflection of 90 degrees or a counterclockwise deflection of 90 degrees.
- the picture rotation category identification model may be continuously trained, learned, and optimized by identifying a large number of car damage picture samples of different rotation angles in advance, so as to be trained into a model capable of accurately identifying rotation categories corresponding to different car damage pictures.
- the picture rotation category identification model may adopt a neural networks (NN) model or the like.
- the determination module 02 is configured to determine a rotation control parameter corresponding to the identified rotation category according to a pre-determined mapping relation between rotation categories and rotation control parameters, the rotation control parameter including a rotation angle and a rotation direction.
- a corresponding rotation control parameter such as a correction direction and angle may be preset according to deflection directions and angles in different rotation categories. For example, if the deflection direction in the identified rotation category corresponding to the car damage picture is clockwise and the deflection angle is 90 degrees, a corresponding rotation control parameter may be set to a counterclockwise rotation direction and a rotation angle of 90 degrees, or a corresponding rotation control parameter may also be set to a clockwise rotation direction and a rotation angle of 270 degrees. The same purpose of rotation control can be achieved. That is to say, the deflected car damage picture can be corrected to an angle-normal car damage picture by rotation.
- the setting manner for a rotation control parameter is not limited herein.
- a rotation control parameter corresponding to the identified rotation category may be determined according to a pre-determined mapping relation between rotation categories and rotation control parameters, the rotation control parameter including, but not limited to, a rotation angle and a rotation direction.
- the rotation module 03 is configured to rotate the received car damage picture according to the determined rotation control parameter, so as to generate an angle-normal car damage picture.
- the received car damage picture may be rotated by using the determined rotation control parameter, so as to rotate the received deflected car damage picture for a certain angle in a corresponding rotation direction, and to automatically correct it as an angle-normal car damage picture.
- the determined rotation control parameter corresponding to the rotation category thereof is a counterclockwise rotation direction and a rotation angle of 90 degrees, so that the received car damage picture may be rotated for 90 degrees in a counterclockwise direction, so as to correct the deflected car damage picture as an angle-normal car damage picture.
- a rotation category corresponding to a car damage picture to be identified is identified by using a pre-trained picture rotation category identification model, a rotation control parameter corresponding to the identified rotation category is determined according to a pre-determined mapping relation between rotation categories and rotation control parameters, and the received car damage picture is rotated according to the determined rotation control parameter.
- each car damage picture can be identified by using a pre-trained picture rotation category identification model, the car damage picture is rotated to an angle-normal picture by finding a rotation control parameter corresponding to the rotation category thereof, it is unnecessary to perform rotation depending on EXIF information in the picture, and car damage picture angle correction can be performed more comprehensively and more effectively with no need to artificially perform angle identification on a car damage picture and to manually rotate the picture, thereby achieving a higher efficiency and accuracy.
- the picture rotation category identification model is a deep convolutional neural network (CNN) model
- CNN deep convolutional neural network
- a preset number (e.g., 10,000) of angle-normal car damage picture samples are acquired, wherein for example, a preset number of angle-normal car damage picture samples may be randomly extracted from a preset car damage picture database.
- a preset number of angle rotations are performed on each car damage picture sample respectively in accordance with a preset rotation direction (e.g., clockwise or counterclockwise) to generate a rotation picture corresponding to each car damage picture sample, wherein a rotation angle for performing a preset number of angle rotations on each car damage picture sample respectively is n*a, where a represents a preset interval angle between two adjacent angle rotations, n represents an angle rotation sequence, and n is a positive integer; and if 360/a is a positive integer, the preset number is equal to (360/a), or, if 360/a is a decimal number, the preset number is equal to an integer part of (360/a).
- a preset rotation direction e.g., clockwise or counterclockwise
- an interval angle a between two adjacent angle rotations is set to be 30 degrees
- a rotation angle after the first angle rotation of the car damage picture sample is (1*30), i.e., 30 degrees
- a rotation angle after the second angle rotation of the car damage picture sample is (2*30), i.e., 60 degrees
- . . . , and (360/30) is a positive integer of 12 so the preset number of angle rotations is equal to (360/30), i.e., 12.
- an interval angle a between two adjacent angle rotations is set to be 35 degrees
- a rotation angle after the first angle rotation of the car damage picture sample is (1*35), i.e., 35 degrees
- a rotation angle after the second angle rotation of the car damage picture sample is (2*35), i.e., 70 degrees, . . .
- (360/35) is a decimal number of 10.29
- the preset number of angle rotations is equal to an integer part of (360/35), i.e., 10.
- each car damage picture sample and the corresponding rotation picture thereof may be labeled with a corresponding rotation category.
- the rotation category may include a preset rotation direction (e.g., clockwise direction, or counterclockwise direction), a rotation angle, etc., wherein after performing a preset number of angle rotations in the preset rotation direction, pictures with different rotation angles may be correspondingly labeled with different rotation categories, and pictures with the same rotation direction and the same rotation angle may be correspondingly labeled with the same rotation category, each car damage picture sample corresponding to a first preset rotation category.
- the first preset rotation category corresponding to each car damage picture sample is regarded as a category that does not rotate the picture. For example, the first preset rotation category may be “clockwise rotation of 0 degree” or “clockwise rotation of 360 degrees”.
- Each car damage picture sample labeled with a rotation category and a corresponding rotation picture thereof serve as a picture training subset, and all picture training subsets are divided into a training set with a first proportion (e.g., 70%) and a verification set with a second proportion (e.g., 30%).
- a first proportion e.g. 70%
- a verification set e.g. 30%
- the training set is used to train the picture rotation category identification model.
- the verification set is used to verify the accuracy of the trained picture rotation category identification model. If the accuracy is greater than or equal to a preset accuracy, training is ended. Or, if the accuracy is smaller than a preset accuracy, the number of car damage picture samples is increased, and S2, S3, S4, and S5 are re-executed until the accuracy of the trained picture rotation category identification model is greater than or equal to the preset accuracy.
- the car damage picture angle correction system further includes:
- an analysis module 04 configured to analyze whether the identified rotation category corresponding to the car damage picture is a second preset rotation category or a third preset rotation category.
- the second preset rotation category may be “clockwise rotation of 90 degrees”
- the third preset rotation category may be “clockwise rotation of 270 degrees”
- the second preset rotation category may be “clockwise rotation of 270 degrees”
- the third preset rotation category may be “clockwise rotation of 90 degrees”.
- the determination module 02 may be configured to:
- the rotation module 03 may be configured to:
- the identification module 01 is further configured to: identify, by using the pre-trained picture rotation category identification model, a secondary identification rotation category corresponding to the rotation picture to be secondarily identified.
- the determination module 02 is further configured to: determine, if the secondary identification rotation category is a first preset rotation category, the rotation picture to be secondarily identified as an angle-normal car damage picture; determine, if the secondary identification rotation category is a fourth preset rotation category (e.g., the fourth preset rotation category may be “clockwise rotation of 180 degrees”, or, “counterclockwise rotation of 180 degrees”), the identified rotation category as a third preset rotation category, determine a rotation control parameter corresponding to the third preset rotation category according to the pre-determined mapping relation between rotation categories and rotation control parameters, and call the rotation module 03 to rotate the received car damage picture according to the determined rotation control parameter to generate an angle-normal car damage picture.
- the fourth preset rotation category e.g., the fourth preset rotation category may be “clockwise rotation of 180 degrees”, or, “counterclockwise rotation of 180 degrees”
- the received car damage picture is rotated according to a rotation control parameter corresponding to the identified rotation category. Further, the rotated picture is used as a rotation picture to be secondarily identified, and the secondary identification of the rotation picture to be secondarily identified is continued.
- the secondary identification rotation category is a first preset rotation category (e.g., “clockwise rotation of 0 degree” or “clockwise rotation of 360 degrees”), it is indicated that the rotation picture to be secondarily identified is an angle-normal car damage picture, that is, no confusion errors occur. If the secondary identification rotation category is a fourth preset rotation category, it may be determined that confusion errors occur when the rotation category of the received car damage picture is first identified, and it may be further determined that a correct rotation category of this car damage picture is different from the rotation category that was first identified, and is a rotation category that is easily confused with the rotation category that was first identified.
- a first preset rotation category e.g., “clockwise rotation of 0 degree” or “clockwise rotation of 360 degrees”
- a rotation category corresponding to a car damage picture prone to confusion errors is identified and verified by using a secondary identification manner, so as to further improve the accuracy of car damage picture angle correction.
- the determination module 02 is further configured to:
- analysis module 04 is further configured to:
- the identified rotation category corresponding to the received car damage picture is a first preset rotation category (e.g., the first preset rotation category may be “clockwise rotation of 0 degree”, or “clockwise rotation of 360 degrees”);
- the identified rotation category is the first preset rotation category, the received car damage picture as an angle-normal car damage picture, thereby making it unnecessary to rotate the picture;
- the disclosure further provides a car damage picture angle correction method.
- FIG. 4 is an illustrative flowchart of an embodiment of a car damage picture angle correction method in accordance with the disclosure.
- the car damage picture angle correction method includes the steps as follows.
- the car damage picture angle correction system receives an automatic picture angle correction request sent by a user and containing a to-be-classified and identified car damage picture, e.g., receives an automatic picture angle correction request sent by a user through a mobile phone, a tablet computer, self-service terminal equipment, or other terminals, e.g., receives an automatic picture angle correction request sent by a user from a pre-installed client in a mobile phone, a tablet computer, self-service terminal equipment, or other terminals, or receives an automatic picture angle correction request sent by a user from a browser system in a mobile phone, a tablet computer, self-service terminal equipment, or other terminals.
- the car damage picture angle correction system After receiving the automatic picture angle correction request sent by the user, the car damage picture angle correction system identifies a received car damage picture by using a pre-trained picture rotation category identification model, and identifies a rotation category corresponding to the received car damage picture, wherein the rotation category may include a parameter such as the deflection direction and angle of the received car damage picture relative to the angle-normal car damage picture, such as a clockwise deflection of 90 degrees or a counterclockwise deflection of 90 degrees.
- the picture rotation category identification model may be continuously trained, learned, and optimized by identifying a large number of car damage picture samples of different rotation angles in advance, so as to be trained into a model capable of accurately identifying rotation categories corresponding to different car damage pictures.
- the picture rotation category identification model may adopt an NN model or the like.
- a rotation control parameter corresponding to the identified rotation category is determined according to a pre-determined mapping relation between rotation categories and rotation control parameters, the rotation control parameter including a rotation angle and a rotation direction.
- a corresponding rotation control parameter such as a correction direction and angle may be preset according to deflection directions and angles in different rotation categories. For example, if the deflection direction in the identified rotation category corresponding to the car damage picture is clockwise and the deflection angle is 90 degrees, a corresponding rotation control parameter may be set to a counterclockwise rotation direction and a rotation angle of 90 degrees, or a corresponding rotation control parameter may also be set to a clockwise rotation direction and a rotation angle of 270 degrees. The same purpose of rotation control can be achieved. That is to say, the deflected car damage picture can be corrected to an angle-normal car damage picture by rotation.
- the setting manner for a rotation control parameter is not limited herein.
- a rotation control parameter corresponding to the identified rotation category may be determined according to a pre-determined mapping relation between rotation categories and rotation control parameters, the rotation control parameter including, but not limited to, a rotation angle and a rotation direction.
- S30 The received car damage picture is rotated according to the determined rotation control parameter, so as to generate an angle-normal car damage picture.
- the received car damage picture may be rotated by using the determined rotation control parameter, so as to rotate the received deflected car damage picture for a certain angle in a corresponding rotation direction, and to automatically correct it as an angle-normal car damage picture.
- the determined rotation control parameter corresponding to the rotation category thereof is a counterclockwise rotation direction and a rotation angle of 90 degrees, so that the received car damage picture may be rotated for 90 degrees in a counterclockwise direction, so as to correct the deflected car damage picture as an angle-normal car damage picture.
- a rotation category corresponding to a car damage picture to be identified is identified by using a pre-trained picture rotation category identification model, a rotation control parameter corresponding to the identified rotation category is determined according to a pre-determined mapping relation between rotation categories and rotation control parameters, and the received car damage picture is rotated according to the determined rotation control parameter.
- each car damage picture can be identified by using a pre-trained picture rotation category identification model, the car damage picture is rotated to an angle-normal picture by finding a rotation control parameter corresponding to the rotation category thereof, it is unnecessary to perform rotation depending on EXIF information in the picture, and car damage picture angle correction can be performed more comprehensively and more effectively with no need to artificially perform angle identification on a car damage picture and to manually rotate the picture, thereby achieving a higher efficiency and accuracy.
- the picture rotation category identification model is a deep CNN model
- the training process of the picture rotation category identification model is as follows.
- a preset number (e.g., 10,000) of angle-normal car damage picture samples are acquired, wherein for example, a preset number of angle-normal car damage picture samples may be randomly extracted from a preset car damage picture database.
- a preset number of angle rotations are performed on each car damage picture sample respectively in accordance with a preset rotation direction (e.g., clockwise or counterclockwise) to generate a rotation picture corresponding to each car damage picture sample, wherein a rotation angle for performing a preset number of angle rotations on each car damage picture sample respectively is n*a, where a represents a preset interval angle between two adjacent angle rotations, n represents an angle rotation sequence, and n is a positive integer; and if 360/a is a positive integer, the preset number is equal to (360/a), or if 360/a is a decimal number, the preset number is equal to an integer part of (360/a).
- a preset rotation direction e.g., clockwise or counterclockwise
- an interval angle a between two adjacent angle rotations is set to be 30 degrees
- a rotation angle after the first angle rotation of the car damage picture sample is (1*30), i.e., 30 degrees
- a rotation angle after the second angle rotation of the car damage picture sample is (2*30), i.e., 60 degrees
- . . . , and (360/30) is a positive integer of 12 so the preset number of angle rotations is equal to (360/30), i.e., 12.
- an interval angle a between two adjacent angle rotations is set to be 35 degrees
- a rotation angle after the first angle rotation of the car damage picture sample is (1*35), i.e., 35 degrees
- a rotation angle after the second angle rotation of the car damage picture sample is (2*35), i.e., 70 degrees, . . .
- (360/35) is a decimal number of 10.29
- the preset number of angle rotations is equal to an integer part of (360/35), i.e., 10.
- each car damage picture sample and the corresponding rotation picture thereof may be labeled with a corresponding rotation category.
- the rotation category may include a preset rotation direction (e.g., clockwise direction, or counterclockwise direction), a rotation angle, etc., wherein after performing a preset number of angle rotations in the preset rotation direction, pictures with different rotation angles may be correspondingly labeled with different rotation categories, and pictures with the same rotation direction and the same rotation angle may be correspondingly labeled with the same rotation category, each car damage picture sample corresponding to a first preset rotation category.
- the first preset rotation category corresponding to each car damage picture sample is regarded as a category that does not rotate the picture. For example, the first preset rotation category may be “clockwise rotation of 0 degree” or “clockwise rotation of 360 degrees”.
- Each car damage picture sample labeled with a rotation category and a corresponding rotation picture thereof serve as a picture training subset, and all picture training subsets are divided into a training set with a first proportion (e.g., 70%) and a verification set with a second proportion (e.g., 30%).
- a first proportion e.g. 70%
- a verification set e.g. 30%
- the training set is used to train the picture rotation category identification model.
- the verification set is used to verify the accuracy of the trained picture rotation category identification model. If the accuracy is greater than or equal to a preset accuracy, training is ended. Or, if the accuracy is smaller than a preset accuracy, the number of car damage picture samples is increased, and S2, S3, S4, and S5 are re-executed until the accuracy of the trained picture rotation category identification model is greater than or equal to the preset accuracy.
- the method further includes:
- the identified rotation category corresponding to the received car damage picture is a first preset rotation category (e.g., the first preset rotation category may be “clockwise rotation of 0 degree”, or “clockwise rotation of 360 degrees”);
- the method further includes:
- the second preset rotation category may be “clockwise rotation of 90 degrees”
- the third preset rotation category may be “clockwise rotation of 270 degrees”
- the second preset rotation category may be “clockwise rotation of 270 degrees”
- the third preset rotation category may be “clockwise rotation of 90 degrees”.
- S20 may include:
- S30 may include:
- the method further includes:
- the rotation picture determining, if the secondary identification rotation category is a first preset rotation category, the rotation picture to be secondarily identified as an angle-normal car damage picture;
- the secondary identification rotation category is a fourth preset rotation category (e.g., the fourth preset rotation category may be “clockwise rotation of 180 degrees”, or, “counterclockwise rotation of 180 degrees”), the identified rotation category as the third preset rotation category, determining a rotation control parameter corresponding to the third preset rotation category according to the pre-determined mapping relation between rotation categories and rotation control parameters, and rotating the received car damage picture according to the determined rotation control parameter to generate an angle-normal car damage picture.
- the fourth preset rotation category may be “clockwise rotation of 180 degrees”, or, “counterclockwise rotation of 180 degrees”
- the received car damage picture is rotated according to a rotation control parameter corresponding to the identified rotation category. Further, the rotated picture is used as a rotation picture to be secondarily identified, and the secondary identification of the rotation picture to be secondarily identified is continued.
- the secondary identification rotation category is a first preset rotation category (e.g., “clockwise rotation of 0 degree” or “clockwise rotation of 360 degrees”), it is indicated that the rotation picture to be secondarily identified is an angle-normal car damage picture, that is, no confusion errors occur. If the secondary identification rotation category is a fourth preset rotation category, it may be determined that confusion errors occur when the rotation category of the received car damage picture is first identified, and it may be further determined that a correct rotation category of this car damage picture is different from the rotation category that was first identified, and is a rotation category that is easily confused with the rotation category that was first identified.
- a first preset rotation category e.g., “clockwise rotation of 0 degree” or “clockwise rotation of 360 degrees”
- a rotation category corresponding to a car damage picture prone to confusion errors is identified and verified by using a secondary identification manner, so as to further improve the accuracy of car damage picture angle correction.
- S20 further includes:
- the disclosure also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a car damage picture angle correction system, the car damage picture angle correction system is executable by at least one processor, such that the at least one processor executes the steps of the car damage picture angle correction method in the foregoing embodiment, and the specific implementation process of S10, S20, S30 and the like of the car damage picture angle correction method is as mentioned above, and will not be elaborated herein.
- Computer software products can be stored in a storage medium (e.g., a ROM/RAM, a magnetic disk, or an optical disc) and may include multiple instructions that, when executed, can cause terminal equipment (e.g., a mobile phone, a computer, a server, an air conditioner, or network equipment), to execute the methods described in the various embodiments of the disclosure.
- a storage medium e.g., a ROM/RAM, a magnetic disk, or an optical disc
- terminal equipment e.g., a mobile phone, a computer, a server, an air conditioner, or network equipment
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Technology Law (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Biodiversity & Conservation Biology (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
- Astronomy & Astrophysics (AREA)
- Remote Sensing (AREA)
Abstract
Description
Claims (17)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710313201.0A CN107180413B (en) | 2017-05-05 | 2017-05-05 | Vehicle damages picture angle correcting method, electronic device and readable storage medium storing program for executing |
| CN201710313201.0 | 2017-05-05 | ||
| PCT/CN2017/105002 WO2018201665A1 (en) | 2017-05-05 | 2017-09-30 | Car damage image angle correction method, electronic device and readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20210090176A1 US20210090176A1 (en) | 2021-03-25 |
| US11386499B2 true US11386499B2 (en) | 2022-07-12 |
Family
ID=59831051
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/084,993 Active 2040-05-29 US11386499B2 (en) | 2017-05-05 | 2017-09-30 | Car damage picture angle correction method, electronic device, and readable storage medium |
Country Status (8)
| Country | Link |
|---|---|
| US (1) | US11386499B2 (en) |
| EP (1) | EP3428848A4 (en) |
| JP (1) | JP6660475B2 (en) |
| KR (1) | KR102170930B1 (en) |
| CN (1) | CN107180413B (en) |
| AU (1) | AU2017408804B2 (en) |
| SG (1) | SG11201900259QA (en) |
| WO (1) | WO2018201665A1 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107180413B (en) * | 2017-05-05 | 2019-03-15 | 平安科技(深圳)有限公司 | Vehicle damages picture angle correcting method, electronic device and readable storage medium storing program for executing |
| CN108255995A (en) * | 2017-12-29 | 2018-07-06 | 北京奇虎科技有限公司 | A kind of method and device for exporting image |
| CN109583445B (en) * | 2018-11-26 | 2024-08-02 | 平安科技(深圳)有限公司 | Text image correction processing method, device, equipment and storage medium |
| CN110991388B (en) * | 2019-12-16 | 2023-07-14 | 小哆智能科技(北京)有限公司 | Method for calculating azimuth correction angle of character illumination view |
| CN111553268A (en) * | 2020-04-27 | 2020-08-18 | 深圳壹账通智能科技有限公司 | Vehicle component identification method, device, computer equipment and storage medium |
| CN114240783A (en) * | 2021-12-17 | 2022-03-25 | 深圳壹账通智能科技有限公司 | Picture correction method, device and equipment and readable storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010052830A1 (en) | 2008-11-06 | 2010-05-14 | 日本電気株式会社 | Image orientation determination device, image orientation determination method, and image orientation determination program |
| US20150063685A1 (en) | 2013-08-30 | 2015-03-05 | National Central University | Image distortion correction method and image distortion correction device using the same |
| CN104732225A (en) * | 2013-12-24 | 2015-06-24 | 中国科学院深圳先进技术研究院 | Image rotation processing method |
| US20160104047A1 (en) * | 2014-10-10 | 2016-04-14 | Application Solutions (Electronics and Vision) Ltd. | Image recognition system for a vehicle and corresponding method |
| CN105825243A (en) | 2015-01-07 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Method and device for certificate image detection |
| WO2017055878A1 (en) | 2015-10-02 | 2017-04-06 | Tractable Ltd. | Semi-automatic labelling of datasets |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6959109B2 (en) * | 2002-06-20 | 2005-10-25 | Identix Incorporated | System and method for pose-angle estimation |
| US8903167B2 (en) * | 2011-05-12 | 2014-12-02 | Microsoft Corporation | Synthesizing training samples for object recognition |
| CN103488965B (en) * | 2013-08-20 | 2016-06-15 | 成都我来啦网格信息科技有限公司 | Waybill typing and colored color lump coding/decoding system |
| CN103729649B (en) * | 2014-01-14 | 2017-03-01 | 三星电子(中国)研发中心 | A kind of image rotation angle detection method and device |
| CN104778448B (en) * | 2015-03-24 | 2017-12-15 | 孙建德 | A kind of face identification method based on structure adaptive convolutional neural networks |
| CN105607835A (en) * | 2015-12-21 | 2016-05-25 | 惠州Tcl移动通信有限公司 | Mobile terminal with automatic picture direction adjusting function and display method thereof |
| CN107180413B (en) * | 2017-05-05 | 2019-03-15 | 平安科技(深圳)有限公司 | Vehicle damages picture angle correcting method, electronic device and readable storage medium storing program for executing |
-
2017
- 2017-05-05 CN CN201710313201.0A patent/CN107180413B/en active Active
- 2017-09-30 KR KR1020187024868A patent/KR102170930B1/en active Active
- 2017-09-30 SG SG11201900259QA patent/SG11201900259QA/en unknown
- 2017-09-30 EP EP17904353.4A patent/EP3428848A4/en not_active Withdrawn
- 2017-09-30 AU AU2017408804A patent/AU2017408804B2/en active Active
- 2017-09-30 WO PCT/CN2017/105002 patent/WO2018201665A1/en not_active Ceased
- 2017-09-30 JP JP2018538153A patent/JP6660475B2/en active Active
- 2017-09-30 US US16/084,993 patent/US11386499B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010052830A1 (en) | 2008-11-06 | 2010-05-14 | 日本電気株式会社 | Image orientation determination device, image orientation determination method, and image orientation determination program |
| US20150063685A1 (en) | 2013-08-30 | 2015-03-05 | National Central University | Image distortion correction method and image distortion correction device using the same |
| CN104732225A (en) * | 2013-12-24 | 2015-06-24 | 中国科学院深圳先进技术研究院 | Image rotation processing method |
| US20160104047A1 (en) * | 2014-10-10 | 2016-04-14 | Application Solutions (Electronics and Vision) Ltd. | Image recognition system for a vehicle and corresponding method |
| CN105825243A (en) | 2015-01-07 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Method and device for certificate image detection |
| WO2017055878A1 (en) | 2015-10-02 | 2017-04-06 | Tractable Ltd. | Semi-automatic labelling of datasets |
Non-Patent Citations (5)
| Title |
|---|
| English Translation of CN 104732225 A, "Li et al., 2015" (Year: 2015). * |
| Hiroshi Ninomiya et al., A Study on Deep Manifold Embedding for 3D Object Pose Estimation, Proceedings of the 2016 IEICE General Conference, Mar. 15-18, 2016, p. 102. |
| Philipp Fischer et al. Image Orientation Estimation with Convolutional Networks, GCPR 2015, LNCS 9358, 2015, pp. 368-378, Springer International Publishing Switzerland 2015. |
| Search Report of counterpart European Patent Application No. 17904353.4 dated Nov. 11, 2019. |
| Srimal Jayawardena, Image Based Automatic Vehicle Damage Detection, A thesis submitted for the degree of Doctor of Philosophy at The Australian National University, Nov. 2013. |
Also Published As
| Publication number | Publication date |
|---|---|
| AU2017408804A1 (en) | 2018-11-22 |
| SG11201900259QA (en) | 2019-02-27 |
| KR102170930B1 (en) | 2020-10-29 |
| CN107180413A (en) | 2017-09-19 |
| AU2017408804B2 (en) | 2020-01-16 |
| EP3428848A4 (en) | 2019-12-11 |
| CN107180413B (en) | 2019-03-15 |
| JP2019516147A (en) | 2019-06-13 |
| WO2018201665A1 (en) | 2018-11-08 |
| JP6660475B2 (en) | 2020-03-11 |
| US20210090176A1 (en) | 2021-03-25 |
| EP3428848A1 (en) | 2019-01-16 |
| KR20190021190A (en) | 2019-03-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11386499B2 (en) | Car damage picture angle correction method, electronic device, and readable storage medium | |
| EP3432197B1 (en) | Method and device for identifying characters of claim settlement bill, server and storage medium | |
| CN110245716B (en) | Sample labeling auditing method and device | |
| CN107766809B (en) | Electronic device, ticket information identification method, and computer-readable storage medium | |
| CN111639648B (en) | Certificate identification method, device, computing equipment and storage medium | |
| CN111078908A (en) | Data annotation detection method and device | |
| CN113946510A (en) | WEB page testing method, device, equipment and computer storage medium | |
| CN102479138A (en) | System and method for error detection using images | |
| CN111382740B (en) | Text picture analysis method, text picture analysis device, computer equipment and storage medium | |
| CN115269359A (en) | Terminal interface testing method and device | |
| CN108491866A (en) | Porny identification method, electronic device and readable storage medium storing program for executing | |
| CN111062374A (en) | Identification method, device, system, equipment and readable medium of identity card information | |
| CN113807416B (en) | Model training method and device, electronic equipment and storage medium | |
| CN111124863A (en) | Intelligent equipment performance testing method and device and intelligent equipment | |
| CN110503089A (en) | OCR recognition model training method, device and computer equipment based on crowdsourcing technology | |
| CN114116512A (en) | Test methods, apparatus, electronic equipment and storage media | |
| CN117115823A (en) | Tamper identification method, device, computer equipment and storage medium | |
| US20170344461A1 (en) | Automated exception resolution during a software development session based on previous exception encounters | |
| CN110532186B (en) | Method, device, electronic device and storage medium for testing using verification code | |
| WO2019062007A1 (en) | Data transmission method and apparatus, terminal device, and medium | |
| CN111177387A (en) | User list information processing method, electronic device and computer-readable storage medium | |
| CN111027371A (en) | Intelligent vehicle checking method and system, computer equipment and storage medium | |
| CN112966671A (en) | Contract detection method and device, electronic equipment and storage medium | |
| CN116363352A (en) | Method, device, equipment and medium for label frame verification | |
| CN117437649B (en) | File signing method, device, computer equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| AS | Assignment |
Owner name: PING AN TECHNOLOGY (SHENZHEN) CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:WANG, JIANZONG;WANG, CHENYU;MA, JIN;AND OTHERS;REEL/FRAME:046885/0359 Effective date: 20180625 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: APPLICATION DISPATCHED FROM PREEXAM, NOT YET DOCKETED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT RECEIVED |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |