System and method for detecting apparent defects of waste electronic products
Through image processing technology and defect area calculation, combined with compensation values, the problem of insufficient accuracy in the appearance defect detection of waste electronic products in the existing technology is solved, and efficient and accurate defect assessment and grade determination are achieved, which is suitable for a variety of electronic products. type.
Patent Information
- Application Number
- CN202410833145.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for detecting appearance defects of waste electronic products cannot comprehensively consider the impact of different factors on defect assessment, resulting in insufficient reliability of detection results, especially in the face of complex appearance defects, which cannot provide accurate quantitative analysis.
Using image processing technology, by collecting and partitioning the appearance image data of waste electronic products, it determines whether it meets the preset conditions, obtains the areas of defective areas and splicing areas, and calculates the appearance defect value and determines the defect level based on the compensation value of the product type. .
It achieves efficient and accurate detection of appearance defects of waste electronic products, reduces manual intervention, improves detection speed and accuracy, adapts to the detection needs of different types of electronic products, provides quantitative evaluation standards, and improves the scientificity and accuracy of detection. Comparability.
Smart Images

Figure CN118735879A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of electronic product defect detection, and in particular relates to a system and method for detecting appearance defects of waste electronic products. Background Art
[0002] With the rapid advancement of science and technology and the improvement of people's living standards, the popularity and usage of electronic products have continued to rise, resulting in a sharp increase in the number of waste electronic products. Waste electronic products not only take up a lot of space, but also may cause potential pollution and harm to the environment. Therefore, it is particularly important to effectively treat and recycle waste electronic products.
[0003] In the recycling process of waste electronic products, appearance defect detection is a key link. Due to the wide variety of waste electronic products, their appearance defects also present diverse characteristics, such as scratches, breakages, dents, discoloration, etc. These defects not only affect the aesthetics of the product, but may also affect the reuse value and safety of the product.
[0004] Existing methods for inspecting the appearance of waste electronic products can usually only handle simple appearance defects and cannot comprehensively consider the impact of different factors on defect assessment. When faced with complex appearance defects, they cannot provide accurate quantitative analysis, resulting in insufficient reliability of the inspection results. Summary of the invention
[0005] The purpose of the present invention is to provide a method for detecting appearance defects of waste electronic products, which can enhance its application value in the detection of appearance defects of waste electronic products through quantitative evaluation and adaptive design.
[0006] The technical solution adopted by the present invention is as follows:
[0007] A method for detecting appearance defects of waste electronic products, comprising:
[0008] Collect appearance image data of waste electronic products;
[0009] Determine whether the appearance image data meets a first preset condition, and if so, mark it as first image data;
[0010] Dividing the first image data into a plurality of image detection areas, and collecting the second image data in each image detection area;
[0011] Determining whether the second image data meets the second preset condition, and if not, marking it as abnormal image data;
[0012] Obtaining the image area of the defective region in the abnormal image data;
[0013] Acquire the area of the splicing region in the abnormal image data to obtain a first compensation value;
[0014] Acquire the corresponding type of waste electronic products according to the first image data to obtain a second compensation value;
[0015] Obtaining an appearance defect value according to the image area of the abnormal region, the first compensation value, and the second compensation value;
[0016] Determine the appearance defect level of waste electronic products based on the appearance defect value.
[0017] In a preferred embodiment, the step of determining whether the appearance image data meets the first preset condition, and if so, marking it as the first image data, comprises:
[0018] Obtain complete appearance data of waste electronic products;
[0019] Determine whether the appearance image data of the waste electronic product conforms to the complete appearance data;
[0020] If the appearance image data of the waste electronic product does not conform to the complete appearance data, it is determined that the appearance of the waste electronic product is missing;
[0021] If the appearance image data of the waste electronic product conforms to the complete appearance data, it is determined that the appearance of the waste electronic product is complete and is marked as the first image data.
[0022] In a preferred embodiment, the step of dividing the first image data into a plurality of image detection areas and collecting the second image data in each image detection area includes:
[0023] Obtain the detachable and non-detachable parts of the appearance of waste electronic products;
[0024] Acquire a first image data acquisition frequency of waste electronic products;
[0025] Dividing the appearance of detachable parts and non-detachable parts into multiple image detection areas according to the acquisition frequency;
[0026] Image data within each image detection area is collected and marked as second image data.
[0027] In a preferred embodiment, the step of determining whether the second image data meets the second preset condition and marking the second image data as abnormal image data if the second image data does not meet the second preset condition comprises:
[0028] Acquire standard image data of multiple image detection areas of waste electronic products;
[0029] determining whether the second image data conforms to standard image data;
[0030] If the second image data conforms to the standard image data, it is determined that the appearance of the waste electronic product image detection area corresponding to the second image data is normal;
[0031] If the second image data does not conform to the standard image data, it is determined that the appearance of the waste electronic product image detection area corresponding to the second image data is defective and marked as abnormal image data.
[0032] In a preferred embodiment, the step of obtaining the image area of the defective region in the abnormal image data comprises:
[0033] Obtaining the defect area contour in the abnormal image data;
[0034] Constructing a plane rectangular coordinate system according to abnormal image data;
[0035] Obtaining the coordinate points of the defect area contour in the abnormal image data according to the plane rectangular coordinate system;
[0036] Get defect function;
[0037] The coordinate points of the defect area contour in the abnormal image data are input into the defect function, and the output result is marked as the image area of the defect area.
[0038] In a preferred embodiment, the step of obtaining the area of the splicing region in the abnormal image data to obtain the first compensation value includes:
[0039] Obtaining the outline of the splicing area in the abnormal image data;
[0040] Constructing a plane rectangular coordinate system according to abnormal image data;
[0041] Obtaining coordinate points of the outline of the splicing area in the abnormal image data according to a plane rectangular coordinate system;
[0042] Obtaining the contour coordinate points of the abnormal image data detection area according to the plane rectangular coordinate system;
[0043] Obtaining a first compensation function;
[0044] The contour coordinate points of the splicing area in the abnormal image data and the contour coordinate points of the abnormal image data are input into the first compensation function, and the output result is marked as the first compensation value.
[0045] In a preferred embodiment, the step of obtaining the appearance defect value according to the image area of the abnormal region, the first compensation value and the second compensation value comprises:
[0046] Get appearance defect function;
[0047] The image area of the abnormal region, the first compensation value and the second compensation value are input into the appearance defect function, and the output result is marked as the appearance defect value.
[0048] In a preferred embodiment, the step of determining the appearance defect level of the waste electronic product according to the appearance defect value comprises:
[0049] Obtaining an appearance defect grade table, wherein the appearance defect grade table includes a plurality of appearance defect interval values and an appearance defect grade corresponding to each appearance defect interval value;
[0050] Obtaining a target appearance defect interval value according to the appearance defect value;
[0051] Obtain the corresponding appearance defect grade in the appearance defect grade table according to the target appearance defect interval value.
[0052] The present invention also provides a waste electronic product appearance defect detection system, which is used in the waste electronic product appearance defect detection method, comprising:
[0053] An image module is used to collect appearance image data of waste electronic products;
[0054] A first judging module, used to judge whether the appearance image data meets a first preset condition, and if so, mark it as first image data;
[0055] A partitioning module, used to divide the first image data into a plurality of image detection areas, and collect the second image data in each image detection area;
[0056] A second judgment module, used to judge whether the second image data meets the second preset condition, and if not, mark it as abnormal image data;
[0057] A defect module is used to obtain the image area of the defect region in the abnormal image data;
[0058] A first compensation module, used for acquiring the area of the splicing region in the abnormal image data to obtain a first compensation value;
[0059] A second compensation module, configured to obtain a corresponding type of waste electronic products according to the first image data, and obtain a second compensation value;
[0060] An appearance module, used to obtain an appearance defect value according to the image area of the abnormal region, the first compensation value and the second compensation value;
[0061] The defect grade module is used to determine the appearance defect grade of waste electronic products according to the appearance defect value.
[0062] And, a terminal for detecting appearance defects of waste electronic products, comprising:
[0063] one or more processors;
[0064] a storage device having one or more programs stored thereon;
[0065] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for detecting appearance defects of waste electronic products.
[0066] The technical effects achieved by the present invention are:
[0067] The present invention realizes efficient detection of appearance defects of waste electronic products through automated image processing technology, reduces manual intervention, and improves detection speed. Through partition detection and multi-level judgment, it can more accurately identify and analyze appearance defects and ensure the accuracy of detection results. The division and parallel processing of image detection areas can improve the detection speed and meet the needs of rapid detection of large-scale waste electronic products. The differences between different types of electronic products are taken into consideration. By calculating compensation values, it can meet the detection needs of different types of products and improve the versatility of the method. By calculating appearance defect values and determining defect levels, a quantitative evaluation standard is provided, making the appearance quality evaluation of waste electronic products more scientific and comparable. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 is a flow chart of the method provided by the present invention;
[0069] Figure 2 It is a system module diagram provided by the present invention. DETAILED DESCRIPTION
[0070] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.
[0071] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0072] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present invention. The phrase "in a preferred embodiment" that appears in different places in this specification does not refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.
[0073] Secondly, the present invention is described in detail in conjunction with schematic diagrams. When describing the embodiments of the present invention in detail, for the convenience of explanation, the schematic diagrams are only examples and should not limit the scope of protection of the present invention.
[0074] Please see attached Figure 1As shown, a method for detecting appearance defects of waste electronic products is provided, comprising:
[0075] S1. Collect appearance image data of waste electronic products;
[0076] S2, determining whether the appearance image data meets a first preset condition, and if so, marking it as first image data;
[0077] S3, dividing the first image data into a plurality of image detection areas, and collecting the second image data in each image detection area;
[0078] S4, determining whether the second image data meets the second preset condition, and if not, marking it as abnormal image data;
[0079] S5, obtaining the image area of the defective region in the abnormal image data;
[0080] S6, obtaining the area of the splicing region in the abnormal image data to obtain a first compensation value;
[0081] S7, acquiring the corresponding type of waste electronic products according to the first image data, and obtaining a second compensation value;
[0082] S8, obtaining an appearance defect value according to the image area of the abnormal region, the first compensation value and the second compensation value;
[0083] S9. Determine the appearance defect level of the waste electronic products according to the appearance defect value.
[0084] As in the above steps S1 to S9, first, the appearance image data of the waste electronic products are collected by the camera equipment. These image data include the appearance information of various angles and parts of the electronic products. According to the preset first conditions (such as a complete appearance image, etc.), the collected image data are preliminarily judged. If the image data meets these conditions, it is marked as the first image data. The image marked as the first image data is divided into multiple image detection areas. The data in each detection area will be processed separately to ensure the comprehensiveness and meticulousness of the detection. In each image detection area, detailed second image data is further collected. These data will be used for more detailed detection. The second image data is judged according to the second preset conditions (such as a special standard image, a certain defect feature). If it does not meet these conditions, it is marked as abnormal image data. For the area marked as abnormal image data, the image area of the defective area will be calculated, and the area of the splicing area in the abnormal image data will be obtained. This area will be used to calculate the first compensation value. According to the first image data, the type of the waste electronic product is determined, and accordingly The second compensation value is obtained because different types of electronic products may have different tolerance and standards for appearance defects. The final appearance defect value is calculated according to the image area of the abnormal area, the first compensation value and the second compensation value. Finally, the appearance defect level of the waste electronic product is determined according to the calculated appearance defect value. This level can be used to evaluate the recycling value and repair necessity of the electronic product. Through automated image processing technology, efficient detection of appearance defects of waste electronic products is achieved, manual intervention is reduced, and the detection speed is improved. Through partition detection and multi-level judgment, appearance defects can be more accurately identified and analyzed to ensure the accuracy of the detection results. The division of image detection areas and parallel processing can improve the detection speed and meet the needs of rapid detection of large-scale waste electronic products. The differences between different types of electronic products are taken into consideration. By calculating the compensation value, it can meet the detection needs of different types of products, improve the versatility of the method, and provide a quantitative evaluation standard by calculating the appearance defect value and determining the defect level, making the appearance quality evaluation of waste electronic products more scientific and comparable.
[0085] In a specific embodiment, the step of determining whether the appearance image data meets the first preset condition, and if so, marking it as the first image data, includes:
[0086] S201, obtaining complete appearance data of waste electronic products;
[0087] S202, determining whether the appearance image data of the waste electronic product conforms to the complete appearance data;
[0088] If the appearance image data of the waste electronic product does not conform to the complete appearance data, it is determined that the appearance of the waste electronic product is missing;
[0089] If the appearance image data of the waste electronic product conforms to the complete appearance data, it is determined that the appearance of the waste electronic product is complete and is marked as the first image data.
[0090] As in the above steps S201 to S202, firstly, the complete appearance data of the waste electronic product is obtained. These data refer to the standard appearance image data of the electronic product when it leaves the factory or in a normal state, including the appearance of all angles and parts. The collected appearance image data of the waste electronic product is compared with the standard complete appearance data. If the comparison result shows that the image data lacks some parts or is significantly different from the standard data, it is determined that the appearance of the waste electronic product is missing. In this case, it will not be marked as the first image data because it does not have a complete appearance and is not suitable for further detailed detection. If the comparison result shows that the image data completely matches the standard data, it is determined that the waste electronic product is missing. The appearance of the scrap electronic product is complete. In this case, it is marked as the first image data, indicating that it has a complete appearance and is suitable for subsequent detail detection steps. By comparing with the standard complete appearance data, the method can effectively identify scrap electronic products with missing appearance, avoid incomplete products from entering subsequent detection steps, improve the accuracy of detection, identify products with missing appearance at an early stage, and avoid unnecessary further detection of these products, thereby saving system resources and time and improving detection efficiency. By presetting complete appearance data as a benchmark, the method ensures the consistency of appearance standards during the detection process and avoids detection errors caused by inconsistent standards.
[0091] In a specific embodiment, the step of dividing the first image data into a plurality of image detection areas and collecting the second image data in each image detection area includes:
[0092] S301, obtaining detachable parts and non-detachable parts of the appearance of the waste electronic product;
[0093] S302, obtaining a first image data acquisition frequency of waste electronic products;
[0094] S303, dividing the appearance of the detachable parts and the non-detachable parts into a plurality of image detection areas according to the acquisition frequency;
[0095] S304: Collect image data in each image detection area and mark it as second image data.
[0096] As in the above steps S301 to S304, firstly, the detachable parts and non-detachable parts on the appearance of the waste electronic products are identified and obtained. According to the characteristics of the waste electronic products and the detection requirements, the acquisition frequency of the first image data is determined. The acquisition frequency refers to the number of times or quantity of image data that need to be collected per unit time or unit area. According to the acquisition frequency, the appearance of the detachable parts and non-detachable parts is divided into multiple image detection areas. The principle of division is to ensure that the image data in each detection area can cover the main features and possible defect areas of the parts. Different detection area division strategies may be required for detachable parts and non-detachable parts because they have different structures and defect characteristics. Image data is collected in each image detection area and marked as Second, the image data of each detection area will be processed separately for subsequent defect detection. By dividing multiple image detection areas, it is ensured that each component of the waste electronic products can be fully covered and detected, especially the detachable parts and the non-detachable parts are processed separately, which improves the precision of detection. It is divided according to the characteristics of the components and the acquisition frequency, so that the collected image data is more detailed and can better capture tiny defects, thereby improving the accuracy of detection. It is differentiated and processed according to the characteristics of different components. It has high flexibility and adaptability and can be applied to various types of waste electronic products. By reasonably dividing the detection areas and determining the acquisition frequency, it optimizes the resource utilization of image acquisition, avoids excessive or insufficient data acquisition, and improves efficiency.
[0097] In a specific embodiment, the step of determining whether the second image data meets the second preset condition, and if not, marking the second image data as abnormal image data, comprises:
[0098] S401, obtaining standard image data of multiple image detection areas of waste electronic products;
[0099] S402, determining whether the second image data conforms to standard image data;
[0100] If the second image data conforms to the standard image data, it is determined that the appearance of the waste electronic product image detection area corresponding to the second image data is normal;
[0101] If the second image data does not conform to the standard image data, it is determined that the appearance of the waste electronic product image detection area corresponding to the second image data is defective and marked as abnormal image data.
[0102] As in the above steps S401 to S402, firstly, standard image data of multiple image detection areas of waste electronic products are obtained. These standard image data are pre-stored in the database, representing the appearance of the product when it leaves the factory or in a normal state. The second image data is compared with the standard image data to determine whether it meets the preset standard. If the second image data is consistent with the standard image data, it is determined that the appearance of the image detection area is normal. If there is a difference between the second image data and the standard image data, it is determined that the appearance of the image detection area is defective. Such image data will be marked as abnormal image data. By comparing with the standard image data, the defects in appearance can be accurately detected, thereby improving the accuracy of detection. Using the standard image data as a reference ensures the consistency and reliability of the detection standard, avoids the influence of human subjective factors, and can accurately locate the specific image detection area, thereby quickly identifying and locating defects, providing clear guidance for subsequent repairs or processing.
[0103] In a specific embodiment, the step of obtaining the image area of the defect region in the abnormal image data includes:
[0104] S501, obtaining the defect area contour in the abnormal image data;
[0105] S502, constructing a plane rectangular coordinate system according to the abnormal image data;
[0106] S503, obtaining the coordinate points of the defect area contour in the abnormal image data according to the plane rectangular coordinate system;
[0107] S504, obtaining a defect function;
[0108] S505 , input the coordinate points of the defect area contour in the abnormal image data into the defect function, and mark the output result as the defect area image area.
[0109] As in the above steps S501 to S505, firstly, the contour of the defective area is extracted from the abnormal image data. This step is usually implemented by an image processing algorithm (such as edge detection). According to the abnormal image data, a plane rectangular coordinate system is constructed. This coordinate system is used to map the contour of the defective area to a standard two-dimensional plane for subsequent calculations. In the constructed plane rectangular coordinate system, the coordinate points of the contour of the defective area are obtained. Each contour point has a specific coordinate value on the two-dimensional plane. Based on image processing and mathematical calculations, a defect function describing the contour of the defective area is established. This function is used to calculate the area of the defective area. The defect function is: Among them, S represents the image area of the defect area, i represents the number of the defect area contour coordinate point, n represents the total number of defect area contour coordinate points, X represents the x-axis coordinate point of the defect area contour, and Y represents the y-axis coordinate point of the defect area contour. The acquired contour coordinate point is input into the defect function to calculate the area of the defect area, and the result is marked as the image area of the defect area. Through precise contour extraction and mathematical calculation, the area of the defect area can be accurately calculated, which improves the detection accuracy and quantifies the appearance defects into specific area values, which is helpful for subsequent analysis and processing, making defect assessment more scientific and intuitive, providing accurate defect area area data, and providing important decision-making basis for the repair, reuse or disposal of waste electronic products.
[0110] In a specific embodiment, the step of obtaining the area of the splicing region in the abnormal image data to obtain the first compensation value includes:
[0111] S601, obtaining the outline of the splicing area in the abnormal image data;
[0112] S602, constructing a plane rectangular coordinate system according to the abnormal image data;
[0113] S603, obtaining the coordinate points of the outline of the splicing area in the abnormal image data according to the plane rectangular coordinate system;
[0114] S604, obtaining the contour coordinate points of the abnormal image data detection area according to the plane rectangular coordinate system;
[0115] S605, obtaining a first compensation function;
[0116] S606: Input the contour coordinate points of the splicing area in the abnormal image data and the contour coordinate points of the abnormal image data into a first compensation function, and mark the output result as a first compensation value.
[0117] As in the above steps S601 to S606, the contour of the stitching area is extracted from the abnormal image data, which is usually achieved through image processing technology, such as edge detection or contour extraction algorithm. According to the abnormal image data, a plane rectangular coordinate system is constructed to map the contour of the stitching area to a two-dimensional plane for subsequent calculations. In the constructed plane rectangular coordinate system, each coordinate point of the contour of the stitching area is obtained. Each contour point has a specific coordinate value (x, y) on the two-dimensional plane. At the same time, the contour coordinate points of the detection area in the abnormal image data are obtained. These points are used for subsequent compensation calculations to ensure that the calculated area range is accurate. According to the characteristics of the stitching area and the detection area, a first compensation function is established. This function is used to describe the influence and area relationship of the stitching area in the entire detection area. The first compensation function is: Wherein, D represents the first compensation value, t represents the number of the coordinate point of the splicing area contour, m represents the total number of the coordinate points of the splicing area contour, P represents the x-axis coordinate point of the splicing area contour, J represents the y-axis coordinate point of the splicing area contour, g represents the number of the coordinate point of the detection area contour, h represents the total number of the coordinate points of the detection area contour, C represents the x-axis coordinate point of the detection area contour, and T represents the y-axis coordinate point of the detection area contour. The splicing area contour coordinate point and the detection area contour coordinate point are input into the first compensation function, and the first compensation value is obtained by calculation. This value represents the compensation effect of the splicing area on the overall detection result. By accurately calculating the area of the splicing area, its effect on the overall defect assessment can be accurately quantified, and a scientific compensation value is provided. The detection and compensation calculation of the splicing area ensure the comprehensiveness and completeness of the detection, avoid omissions or misjudgments, and use mathematical functions for compensation calculation to ensure the standardization and consistency of the compensation process, reduce the influence of human factors, and improve the accuracy and reliability of the overall detection through compensation calculation of the splicing area, which helps to more accurately evaluate the appearance defects of waste electronic products.
[0118] In a specific embodiment, the step of obtaining the appearance defect value according to the image area of the abnormal region, the first compensation value and the second compensation value includes:
[0119] S801, obtaining appearance defect function;
[0120] S802: Input the abnormal region image area, the first compensation value and the second compensation value into an appearance defect function, and mark the output result as an appearance defect value.
[0121] As in the above steps S801 to S802, an appearance defect function is pre-established. The function is based on experience and experimental data and is used to comprehensively consider the influence of the image area of the abnormal region, the first compensation value and the second compensation value on the appearance defect. The appearance defect function is W=S×K+D, wherein W represents the appearance defect value, S represents the image area of the defect region, D represents the first compensation value, and K represents the second compensation value. The image area of the abnormal region, the first compensation value and the second compensation value obtained in the previous steps are input into the appearance defect function. According to the input parameters, a specific value is obtained by calculation as the appearance defect value. By comprehensively considering the abnormal region area and the compensation value, the degree of the appearance defect can be evaluated more comprehensively and accurately. The calculation is performed using the pre-defined defect function, which ensures the standardization and consistency of the evaluation process, reduces the influence of human subjective factors, quantifies the appearance defect into a specific value, and facilitates subsequent analysis, comparison and processing. The entire calculation process can be completed automatically, which improves efficiency and reliability and reduces the need for manual intervention.
[0122] In a preferred embodiment, the step of determining the appearance defect level of the waste electronic product according to the appearance defect value comprises:
[0123] S901, obtaining an appearance defect grade table, wherein the appearance defect grade table includes a plurality of appearance defect interval values and an appearance defect grade corresponding to each appearance defect interval value;
[0124] S902, obtaining a target appearance defect interval value according to the appearance defect value;
[0125] S903. Obtain a corresponding appearance defect grade from an appearance defect grade table according to the target appearance defect interval value.
[0126] As in the above steps S901 to S903, an appearance defect level table is predefined, which contains multiple appearance defect interval values, each interval value corresponds to an appearance defect level, and the appearance defect value calculated in the previous step is interval matched to determine the appearance defect interval value in which it is located. According to the determined target appearance defect interval value, the corresponding appearance defect level is found in the appearance defect level table, and finally, the appearance defect level of the product is output. The standardization of appearance defect evaluation is achieved through the predefined appearance defect level table, ensuring the consistency and reliability of the evaluation results. According to the appearance defect level, waste electronic products can be classified and managed, which is helpful for subsequent processing and decision-making. The clear appearance defect level provides clear guidance to help relevant personnel make quick decisions, such as repair, reuse or disposal.
[0127] Please refer to the attached Figure 2 As shown, the present invention also provides a waste electronic product appearance defect detection system, which is used in the above waste electronic product appearance defect detection method, comprising:
[0128] An image module is used to collect appearance image data of waste electronic products;
[0129] A first judging module, used to judge whether the appearance image data meets a first preset condition, and if so, mark it as first image data;
[0130] A partitioning module, used to divide the first image data into a plurality of image detection areas, and collect the second image data in each image detection area;
[0131] A second judgment module, used to judge whether the second image data meets the second preset condition, and if not, mark it as abnormal image data;
[0132] A defect module is used to obtain the image area of the defect region in the abnormal image data;
[0133] A first compensation module, used for acquiring the area of the splicing region in the abnormal image data to obtain a first compensation value;
[0134] A second compensation module, configured to obtain a corresponding type of waste electronic products according to the first image data, and obtain a second compensation value;
[0135] An appearance module, used to obtain an appearance defect value according to the image area of the abnormal region, the first compensation value and the second compensation value;
[0136] The defect grade module is used to determine the appearance defect grade of waste electronic products according to the appearance defect value.
[0137] As mentioned above, the image module is responsible for collecting the appearance image data of waste electronic products as the basic data for subsequent analysis and evaluation. The first judgment module judges whether the collected appearance image data meets the requirements according to the preset first condition. If yes, it is marked as the first image data. The partition module divides the image data after the first judgment into multiple image detection areas so as to analyze the details of each area respectively. The second judgment module judges again for the second image data in each image detection area to confirm whether it meets the second preset condition. If not, it is marked as abnormal image data. The defect module extracts the image area of the defective area from the abnormal image data to quantify the degree of abnormality. The first compensation module and the second compensation module respectively obtain the area of the splicing area in the abnormal image data and the type of waste electronic products, and calculate the first compensation value and the second compensation value. The appearance module calculates a comprehensive appearance defect value according to the image area of the abnormal area, the first compensation value and the second compensation value. The defect level module queries according to the calculated appearance defect value. The predefined appearance defect grade table determines the appearance defect grade of waste electronic products, ensures that the detection system can obtain sufficient visual information, provides necessary data support for subsequent defect detection and analysis, quickly screens out image data that meets basic requirements, reduces the complexity of subsequent processing and waste of resources, enhances the local analysis capability of various parts of waste electronic products, improves the accuracy and reliability of detection, and identifies and marks defective areas early to provide accurate targets for subsequent repair or treatment. By quantifying the defect area, the system can more accurately evaluate and compare the severity of defects of different products, which is helpful for formulating subsequent treatment plans. By calculating the compensation value, the influence of different factors on defect evaluation is considered, which improves the comprehensiveness and accuracy of the evaluation. The defect value obtained after comprehensive consideration of multiple factors more accurately reflects the appearance defect situation of waste electronic products, provides a basis for subsequent decision-making, and provides a clear grade classification, which helps decision makers quickly understand the quality status of the product and take appropriate treatment measures.
[0138] And, a terminal for detecting appearance defects of waste electronic products, comprising:
[0139] one or more processors;
[0140] a storage device having one or more programs stored thereon;
[0141] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for detecting appearance defects of waste electronic products.
[0142] The above is only a preferred embodiment of the present invention. It should be noted that, for those skilled in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention. The structures, devices and operating methods not specifically described and explained in the present invention shall be implemented according to the conventional means in the art unless otherwise specified and limited.
Claims
1. A method for detecting appearance defects of waste electronic products, characterized in that: include: Collect appearance image data of waste electronic products; Determine whether the appearance image data meets a first preset condition, and if so, mark it as first image data; Dividing the first image data into a plurality of image detection areas, and collecting the second image data in each image detection area; Determining whether the second image data meets the second preset condition, and if not, marking it as abnormal image data; Obtaining the image area of the defective region in the abnormal image data; Acquire the area of the splicing region in the abnormal image data to obtain a first compensation value; Acquire the corresponding type of waste electronic products according to the first image data to obtain a second compensation value; Obtaining an appearance defect value according to the image area of the abnormal region, the first compensation value, and the second compensation value; Determine the appearance defect level of waste electronic products based on the appearance defect value.
2. The method for detecting appearance defects of waste electronic products according to claim 1, characterized in that: The step of determining whether the appearance image data meets the first preset condition, and if so, marking it as the first image data, comprises: Obtain complete appearance data of waste electronic products; Determine whether the appearance image data of the waste electronic product conforms to the complete appearance data; If the appearance image data of the waste electronic product does not conform to the complete appearance data, it is determined that the appearance of the waste electronic product is missing; If the appearance image data of the waste electronic product conforms to the complete appearance data, it is determined that the appearance of the waste electronic product is complete and is marked as the first image data.
3. The method for detecting appearance defects of waste electronic products according to claim 1, characterized in that: The step of dividing the first image data into a plurality of image detection areas and collecting the second image data in each image detection area comprises: Obtain the detachable and non-detachable parts of the appearance of waste electronic products; Acquire a first image data acquisition frequency of waste electronic products; Dividing the appearance of detachable parts and non-detachable parts into multiple image detection areas according to the acquisition frequency; Image data within each image detection area is collected and marked as second image data.
4. The method for detecting appearance defects of waste electronic products according to claim 1, characterized in that: The step of determining whether the second image data meets the second preset condition, and if not, marking the second image data as abnormal image data, comprises: Acquire standard image data of multiple image detection areas of waste electronic products; determining whether the second image data conforms to standard image data; If the second image data conforms to the standard image data, it is determined that the appearance of the waste electronic product image detection area corresponding to the second image data is normal; If the second image data does not conform to the standard image data, it is determined that the appearance of the waste electronic product image detection area corresponding to the second image data is defective and marked as abnormal image data.
5. The method for detecting appearance defects of waste electronic products according to claim 1, characterized in that: The step of obtaining the image area of the defect region in the abnormal image data comprises: Obtaining the defect area contour in the abnormal image data; Constructing a plane rectangular coordinate system according to abnormal image data; Obtaining the coordinate points of the defect area contour in the abnormal image data according to the plane rectangular coordinate system; Get defect function; The coordinate points of the defect area contour in the abnormal image data are input into the defect function, and the output result is marked as the image area of the defect area.
6. The method for detecting appearance defects of waste electronic products according to claim 1, characterized in that: The step of obtaining the area of the splicing region in the abnormal image data to obtain the first compensation value includes: Obtaining the outline of the splicing area in the abnormal image data; Constructing a plane rectangular coordinate system according to abnormal image data; Obtaining coordinate points of the outline of the splicing area in the abnormal image data according to a plane rectangular coordinate system; Obtaining the contour coordinate points of the abnormal image data detection area according to the plane rectangular coordinate system; Obtaining a first compensation function; The contour coordinate points of the splicing area in the abnormal image data and the contour coordinate points of the abnormal image data are input into the first compensation function, and the output result is marked as the first compensation value.
7. The method for detecting appearance defects of waste electronic products according to claim 1, characterized in that: The step of obtaining the appearance defect value according to the image area of the abnormal region, the first compensation value and the second compensation value comprises: Get appearance defect function; The image area of the abnormal region, the first compensation value and the second compensation value are input into the appearance defect function, and the output result is marked as the appearance defect value.
8. The method for detecting appearance defects of waste electronic products according to claim 1, characterized in that: The step of determining the appearance defect level of the waste electronic product according to the appearance defect value comprises: Obtaining an appearance defect grade table, wherein the appearance defect grade table includes a plurality of appearance defect interval values and an appearance defect grade corresponding to each appearance defect interval value; Obtaining a target appearance defect interval value according to the appearance defect value; Obtain the corresponding appearance defect grade in the appearance defect grade table according to the target appearance defect interval value.
9. A waste electronic product appearance defect detection system, applied to the waste electronic product appearance defect detection method according to any one of claims 1 to 8, characterized in that: include: An image module is used to collect appearance image data of waste electronic products; A first judging module, used to judge whether the appearance image data meets a first preset condition, and if so, mark it as first image data; A partitioning module, used to divide the first image data into a plurality of image detection areas, and collect the second image data in each image detection area; A second judgment module, used to judge whether the second image data meets the second preset condition, and if not, mark it as abnormal image data; A defect module is used to obtain the image area of the defect region in the abnormal image data; A first compensation module, used for acquiring the area of the splicing region in the abnormal image data to obtain a first compensation value; A second compensation module, configured to obtain a corresponding type of waste electronic products according to the first image data, and obtain a second compensation value; An appearance module, used to obtain an appearance defect value according to the image area of the abnormal region, the first compensation value and the second compensation value; The defect grade module is used to determine the appearance defect grade of waste electronic products according to the appearance defect value.
10. A terminal for detecting appearance defects of waste electronic products, characterized in that: include: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method for detecting appearance defects of waste electronic products as described in any one of claims 1-8.
