A method and device for rapidly detecting defects on the outer surface of a plastic product
Patent Information
- Application Number
- CN202610961472.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-30
- Publication Date
- 2026-10-23
AI Technical Summary
[0005]为了克服现有图像识别技术易受塑料制品内部微小颗粒、气泡等干扰点影响而产生误判,本发明提供一种塑料制品外表缺陷快速检测方法及装置
采用塑料制品表面残留和检测端凹陷划痕结合的检测逻辑,解决了传统检测中凸起无残留导致的漏检问题,实现缺陷全覆盖;
Smart Images

Figure REF-OBJ-1782810405366-000002 
Figure REF-OBJ-1782810405366-000003 
Figure REF-OBJ-1782810405366-000004
Abstract
Description
Technical Field
[0001] This invention relates to the field of plastic product surface inspection technology, and in particular to a rapid detection method and apparatus for surface defects in plastic products. Background Technology
[0002] Plastic products are widely used in building decoration. The smoothness of their outer surface and the presence of defects such as dents and protrusions directly determine the appearance quality and safety of the products.
[0003] Image detection technology, with its advantages of non-contact detection and fast detection speed, has been gradually applied to the detection of surface defects in plastic products. This type of technology mainly uses a camera to collect top-view images of the surface of plastic products and relies on image recognition algorithms to determine whether there are abnormal features in the image, thereby determining whether there are defects on the outer surface of the plastic products.
[0004] Regarding the aforementioned technologies, relying on image recognition technology to detect surface defects in plastic products is easily affected by interference points such as tiny particles and bubbles on the surface of the plastic products, leading to recognition errors and misjudgments. At the same time, it cannot identify hidden protruding defects that have not left any residue on the surface, resulting in missed defects and inaccurate detection results. Summary of the Invention
[0005] To overcome the susceptibility of existing image recognition technologies to misjudgments caused by interference points such as tiny particles and bubbles inside plastic products, this invention provides a method and apparatus for rapid detection of surface defects in plastic products.
[0006] In a first aspect, the present invention provides a rapid detection method for surface defects in plastic products, employing the following technical solution: A rapid detection method for surface defects in plastic products includes: Step S1: In response to the surface detection signal of the plastic product, acquire a top view image of the plastic product; Step S2: Determine the size and location of the plastic product based on the top view image of the plastic product; Step S3: Determine the number of horizontal and vertical plastic product detection ranges based on the size of the plastic product and the preset detection end size, and determine the current sliding direction based on the number of horizontal and vertical plastic product detection ranges. Step S4: Divide the plastic product into multiple detection ranges based on the current sliding direction, the size of the plastic product, and the position of the plastic product, and determine the sequence of plastic product detection ranges based on the multiple detection ranges; Step S5: Determine the current detection range of the plastic product based on the detection range sequence of the plastic product; Step S50: Determine the target slip start point and target slip end point based on the current plastic product inspection range, and generate a slip scheme according to the target slip start point and target slip end point; Step S51: Control the detection component to perform the sliding operation according to the sliding scheme, acquire the top view image of the sliding plastic product after the sliding operation is completed, and determine the sliding feature points based on the top view image of the sliding plastic product; Step S52: When a slippage feature point exists, output an external appearance defect signal; Step S53: When there are no slip feature points, update the detection range sequence of plastic products and redetermine the current detection range of plastic products, and execute steps S50 to S52; Step S6: Based on the detection range sequence of plastic products, obtain the number of detection ranges of plastic products in real time, and output an appearance qualified signal when the number of detection ranges of plastic products is 0.
[0007] By employing the above technical solution, a top-view image of the plastic product is acquired, and the surface of the plastic product is divided into multiple independent inspection areas. These areas are then ordered to form a sequence of inspection areas. The current inspection area to be inspected is determined from the sequence, and the target sliding start and end points of the inspection component within that area are identified. The inspection component is then controlled to perform a sliding operation according to this scheme, identifying any sliding feature points, which correspond to defects or flaws on the surface of the plastic product. If a sliding feature point is detected, a surface defect signal is immediately output; if not detected, the plastic product inspection area sequence is updated, the next current inspection area is redefined, and the process from determining the sliding scheme to detecting feature points is repeated. Simultaneously, the remaining quantity in the plastic product inspection area sequence is monitored in real time. When the quantity decreases to 0, it means that all areas of the plastic product surface have been inspected and no defects have been found, at which point a surface pass signal is output. This area-based, sequence-based inspection method can cover the entire surface of the plastic product, effectively avoiding omissions and achieving accurate detection of surface defects.
[0008] Optionally, methods for updating the testing range sequence for plastic products and redefining the current testing range for plastic products include: Step S530: Obtain the sliding surface image information corresponding to the detection component; Step S531: Determine the concave features of the slip surface based on the slip surface image information; Step S532: When there is no slip surface depression feature, update the plastic product detection range sequence and redetermine the current plastic product detection range; Step S533: When there is a slip surface depression feature, analyze the slip surface depression feature to determine the feature start point, feature end point, feature length, and feature extension direction; Step S534: Determine the expected complete feature length based on the slip surface image information, feature start point, feature end point, feature length, and feature extension direction; Step S535: When the feature length is equal to the expected complete feature length, output an appearance defect signal.
[0009] By employing the above technical solution, image information of the slip surface is acquired. Based on this image information, an image analysis algorithm is used to identify and determine whether there are any depression features on the slip surface. If analysis determines that there are no depression features on the slip surface, it indicates that the current area is defect-free, and the sequence can be updated to continue detecting the next area. When the actual detected feature length is equal to the expected complete feature length, it indicates that the depression feature is a feature that meets the defect criteria, and at this time, an external appearance non-compliance signal is output. This improves the accuracy of detection.
[0010] Optionally, it also includes a method for outputting an appearance defect signal when the feature length is less than the expected complete feature length, the method comprising: Step S536: Determine the characteristics of the foreign object based on the slip surface image information; Step S537: When foreign object features are present, output the sliding surface update signal; Step S538: When there are no foreign object features, determine the current verification range of the protruding plastic product based on the current sliding direction and the current detection range of the plastic product; Step S539: Determine the starting point and ending point of the protrusion verification sliding based on the current verification range of the protruding plastic product; Step S540: Determine the protrusion verification sliding scheme based on the current sliding direction, the protrusion verification sliding start point, and the protrusion verification sliding end point; Step S541: Control the detection component to perform the protrusion verification sliding operation according to the protrusion verification sliding scheme; Step S542: After the protrusion verification sliding operation, obtain the verification sliding surface image information; Step S543: Determine the length of the depression feature based on the verified slip surface image information; Step S544: When the feature length of the indentation is equal to the feature length, output an external surface defect signal; Step S545: When the feature length of the depression is not equal to the feature length, perform the impurity removal operation.
[0011] By employing the above technical solution, when the feature length is less than the expected complete feature length, the presence of foreign object features is identified based on the slip surface image information. If a foreign object feature is detected, it may mean that the incompleteness of the depression feature is caused by foreign object occlusion. In this case, a slip surface update signal is output to clean the slip surface or re-detect it. If no foreign object feature is found, the current verification range of the protruding plastic product is further determined based on the current slip direction and the current detection range of the plastic product. This range is used to specifically verify the impact of possible protruding areas on the detection of depression features, ensuring the accuracy of the detection.
[0012] Optionally, methods for performing the impurity removal operation include: Step S5450: Generate the impurity cleaning start point and impurity cleaning end point based on the current inspection range of the raised plastic product; Step S5451: Find the preset impurity cleaning pressure, and generate an impurity cleaning plan based on the impurity cleaning pressure, the impurity cleaning start point, and the impurity cleaning end point; Step S5452: Control the detection component to perform the impurity removal operation according to the impurity cleaning plan.
[0013] By adopting the above technical solution, the starting and ending points of impurity cleaning are determined to ensure that the cleaning path can cover areas where impurities may exist. The impurity cleaning is integrated according to parameters such as pressure, starting point, and ending point to generate an impurity cleaning plan. The actuator of the detection component is controlled to move smoothly from the starting point to the ending point according to the impurity cleaning plan, pushing the impurities away from the detection area through physical contact.
[0014] Optional, also includes: Step S510: Acquire the sliding resistance in real time during the sliding operation; Step S511: When the sliding resistance falls into the preset abnormal sliding resistance range, determine the abnormal resistance point and perform the detection end kneading and moisturizing operation; Step S512: After performing the kneading and moisturizing operation at the detection end, perform a rapid sliding operation based on the abnormal resistance point; Step S513: After performing the rapid sliding operation, obtain abnormal sliding feature points. If abnormal sliding feature points exist, output an external non-compliance signal.
[0015] By adopting the above technical solution, when the monitored sliding resistance value falls within the abnormal sliding resistance range, the system will immediately determine that there is an abnormal resistance point at that location. At this time, in order to eliminate the abnormal resistance caused by factors such as poor contact between the detection end and the product surface or local dryness, a kneading and moisturizing operation will be performed on the detection end. The gentle kneading action will increase the adhesion between the detection end and the surface and add an appropriate amount of moisture to ensure the accuracy of subsequent detection.
[0016] Optionally, it also includes a method for outputting an external appearance defect signal when there are no abnormal slip feature points, the method comprising: Step S514: Obtain the image information of the slip surface and determine the features of the slip surface depression and foreign objects; Step S515: When there are no foreign matter features but there are sliding surface depression features, output an external appearance defect signal; Step S516: When there is a foreign object feature and a sliding surface depression feature, determine the end point of the foreign object feature and the end point of the sliding surface depression feature based on the current sliding direction; Step S517: When the endpoint of the foreign object feature and the endpoint of the sliding surface depression feature coincide, continue the sliding operation; Step S518: When the end point of the foreign object feature and the end point of the sliding surface depression feature do not coincide, output an external appearance defect signal.
[0017] By adopting the above technical solution, even in the absence of sliding feature points, secondary defect verification can still be achieved by using the concave features of the sliding surface at the detection end and the foreign object features. By comparing the overlap between the end point of the foreign object feature and the end point of the concave feature of the sliding surface, movable foreign impurities and inherent protrusion defects of the plastic product itself can be distinguished, thus avoiding misjudging removable impurities as product quality problems.
[0018] Optionally, step S518 may also include: Step S5180: When the endpoint of the foreign object feature and the endpoint of the sliding surface depression feature do not coincide, determine the repeat verification point based on the endpoint of the sliding surface depression feature; Step S5181: Output a foreign object removal signal for the sliding surface and determine the vertical sliding direction based on repeated verification points; Step S5182: Perform a corrected fast slide operation based on the repeated check points and the vertical slide direction; Step S5183: After performing the corrected fast sliding operation, acquire the sliding surface image information to determine the concave features of the corrected sliding surface; Step S5184: Determine the concave point based on the corrected slip surface concave features and the slip surface concave features, and determine the current foreign object position based on the concave point. Step S5185: Perform foreign object verification operation based on the current foreign object location.
[0019] By adopting the above technical solution, the end of the concave feature of the sliding surface is used as the repeated verification point. After removing foreign objects from the sliding surface, the measurement is repeated in the vertical direction. This can eliminate interference from the original detection end, locate the suspected foreign object position, reduce misjudgment, and improve the detection closed loop.
[0020] Optionally, methods for performing foreign object verification operations based on the current foreign object location include: Step S51850: When a foreign object is present, perform a verification sliding operation based on the current foreign object position, the current sliding direction, and the vertical sliding direction; Step S51851: Determine the position of the foreign object to be corrected after performing the verification sliding operation; Step S51852: Determine the foreign object position offset based on the corrected foreign object position and the current foreign object position; Step S51853: When the offset of the foreign object position does not fall within the preset effective foreign object offset range, output an external defect signal.
[0021] By adopting the above technical solution and calculating the offset of foreign object position, movable impurities and inherent protrusion defects in plastic products can be distinguished, avoiding misjudgment and improving detection accuracy and reliability.
[0022] Secondly, the present invention provides a rapid detection device for surface defects in plastic products, which adopts the following technical solution: A rapid detection device for surface defects of plastic products includes a detection stage, a detection component slidably connected to the detection stage, and an image acquisition component slidably connected to the detection stage. The detection assembly includes a detection base, a detection body fixedly connected to the detection base, a detection bracket slidably connected to the detection body, and a detection head slidably connected to the detection bracket.
[0023] By adopting the above technical solution, the testing platform provides a stable support foundation for the entire device. The testing components are slidably connected to the testing platform via the testing base, allowing the testing components to move horizontally on the testing platform and expand the testing range. The testing body is fixedly connected to the testing base, providing support for the testing bracket, which can slide up and down along the testing body, thereby adjusting the height of the testing head to adapt to the testing needs of plastic products of different thicknesses. The slidable connection between the testing head and the testing bracket allows for further fine-tuning of the testing head's position on the horizontal plane, ensuring it is aligned with the area to be tested, enabling close-range, sliding testing of the plastic product's surface. The slidable connection between the image acquisition component and the testing platform allows it to cooperate with the movement of the testing components to acquire images of the plastic product's surface from different angles and positions.
[0024] Optionally, the image acquisition component includes an acquisition base, a support cylinder rotatably connected to the acquisition base, an acquisition arm slidably connected to the support cylinder, and a camera fixedly connected to the acquisition arm.
[0025] By adopting the above technical solution, the supporting cylinder is rotatably connected to the acquisition base, allowing the entire acquisition arm and camera to rotate around the axis of the supporting cylinder. This enables flexible adjustment of the camera's shooting position, ensuring that images of the plastic product's surface are captured from different angles. The acquisition arm is slidably connected to the supporting cylinder, allowing it to move up and down along the height of the supporting cylinder, thereby adjusting the camera's shooting height to meet the inspection needs of plastic products of different sizes.
[0026] In summary, the present invention has at least one of the following beneficial technical effects: By employing a detection logic that combines surface residue on plastic products with indented scratches at the detection end, the problem of missed detection caused by the absence of residue on raised areas in traditional detection is solved, achieving full coverage of defects. Through a series of progressive verification steps, such as foreign object feature identification, comparison of the end points of foreign objects and dent features, and verification of foreign object position offset, it is possible to distinguish between the inherent protrusion defects of plastic products and movable foreign impurities. This avoids misjudging removable foreign impurities as product quality problems and effectively identifies the true inherent defects under random foreign object interference. It integrates functions such as kneading and moisturizing at the detection end, automatic impurity pushing away, and real-time handling of abnormal sliding resistance. It can automatically deal with detection anomalies such as drying at the detection end, impurity residue, and sliding jamming, ensuring the stability and continuity of the detection process. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of the structure of a rapid detection device for surface defects of plastic products according to an embodiment of this application; Figure 2 This is an exploded view of the detection component in the embodiments of this application; Figure 3 This is a schematic diagram of the structure of the detection bracket and detection head in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of the image acquisition component in an embodiment of this application; Figure 5 This is a flowchart illustrating a rapid detection method for surface defects in plastic products according to an embodiment of this application. Figure 6 This is a schematic diagram illustrating the current detection range of plastic products in an embodiment of this application; Figure 7 This is a schematic diagram of the current inspection range of the raised plastic product in the embodiments of this application.
[0028] The parts referred to by the numbers in the above attached diagrams are as follows: 1. Detection platform; 2. Detection component; 3. Image acquisition component; 11. Detection sliding groove; 21. Detection base; 22. Detection body; 221. Lifting sliding groove; 23. Detection bracket; 231. Detection head sliding groove; 24. Detection head; 31. Acquisition base; 32. Supporting cylinder; 33. Acquisition arm; 34. Camera. Detailed Implementation
[0029] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.
[0030] This invention discloses a rapid detection method for surface defects in plastic products. (Refer to...) Figure 1 A rapid detection device for surface defects of plastic products includes a detection platform 1, a detection component 2, and an image acquisition component 3.
[0031] Reference Figure 2 The testing platform 1 has a testing sliding groove 11 at one end. The testing assembly 2 includes a testing base 21, a testing body 22, a testing bracket 23, and a testing head 24. One end of the testing base 21 is embedded in the testing sliding groove 11 and slides along the length of the testing sliding groove 11. One end of the testing body 22 is fixedly connected to the end of the testing base 21 away from the testing sliding groove 11. A lifting sliding groove 221 is provided on one side of the testing body 22. One end of the testing bracket 23 is embedded in the lifting sliding groove 221 and slides along the length of the lifting sliding groove 221. (Refer to...) Figure 3 The detection bracket 23 has a detection head sliding groove 231 at one end near the detection table 1. The detection end of the detection head 24 carries a soft plastic material such as clay. The end of the detection head 24 furthest from the detection end is embedded in the detection head sliding groove 231 and slides along the length of the groove. The length of the detection head sliding groove 231 is the same as the side length of the detection table 1. Figure 1 The test station 1 in the diagram is rectangular, but the actual test station 1 is a square with the same length and width.
[0032] Reference Figure 4The image acquisition component 3 includes an acquisition base 31, a support cylinder 32, an acquisition arm 33, and a camera 34. One end of the acquisition base 31 is embedded in a detection sliding groove 11 and slides along the length of the detection sliding groove 11. One end of the support cylinder 32 is rotatably connected to one end of the acquisition base 31. The acquisition arm 33 has a sliding hole. The sliding hole is coaxially arranged with the support cylinder 32, and the acquisition arm 33 is slidably connected to the support cylinder 32 through the sliding hole. The end of the acquisition arm 33 near the detection table 1 and the end away from the detection table 1 are respectively fixedly connected to the camera 34, wherein there are two cameras 34. The camera 34 at the end of the acquisition arm 33 near the detection table 1 is used to capture a top view image of the plastic product. The camera 34 at the end of the acquisition arm 33 away from the detection table 1 is used to capture image information of the sliding surface.
[0033] Based on the same inventive concept, embodiments of the present invention provide a rapid detection method for surface defects in plastic products.
[0034] Reference Figure 5 A rapid detection method for surface defects in plastic products, comprising: Step S1: In response to the surface detection signal of the plastic product, acquire a top view image of the plastic product.
[0035] The plastic product surface inspection signal refers to the trigger signal received by the inspection equipment to start the plastic product surface defect inspection process. The pressure sensor detects that the plastic product has been placed and is in position on the inspection table 1. The plastic product top-view image refers to a two-dimensional top-view image taken by camera 34 from directly above the plastic product, containing the overall outline and placement position of the plastic product, used for plastic product positioning and size calculation.
[0036] Step S2: Determine the size and location of the plastic product based on the top view image of the plastic product.
[0037] The dimensions of plastic products refer to the geometric parameters such as length, width, and outline size of the plastic product extracted and calculated from a top-view image of the plastic product.
[0038] The position of a plastic product refers to its coordinates on the testing platform.
[0039] Step S3: Determine the number of horizontal and vertical plastic product detection ranges based on the size of the plastic product and the preset detection end size, and determine the current sliding direction based on the number of horizontal and vertical plastic product detection ranges.
[0040] The detection end size refers to the physical size of the soft plastic detection end (such as modeling clay) mounted on the detection head 24.
[0041] The number of transverse plastic product inspection ranges refers to the total number of plastic product inspection ranges that can be obtained when dividing the plastic product along the transverse direction, based on the plastic product size (plastic product width) and the inspection end size (inspection end width).
[0042] The number of vertical plastic product inspection ranges refers to the total number of plastic product inspection ranges that can be obtained when dividing the plastic product vertically, based on the plastic product dimensions (plastic product length) and inspection end dimensions (inspection end length).
[0043] The current sliding direction refers to the sliding direction selected from the horizontal and vertical sliding directions, corresponding to the smaller number of detection ranges. That is, when the number of horizontal plastic product detection ranges is less than the number of vertical plastic product detection ranges, the current sliding direction is horizontal; otherwise, it is vertical.
[0044] Step S4: Divide the plastic product into multiple detection ranges based on the current sliding direction, plastic product size, and plastic product position, and determine the plastic product detection range sequence based on the multiple plastic product detection ranges.
[0045] The detection range of plastic products refers to the division of the entire outer surface of the plastic product into several independent sub-regions based on the current sliding direction, the size of the plastic product, and the position of the plastic product. Each sub-region is the detection area that can be completely covered by a single sliding operation of the detection component 2, and the size of each sub-region matches the size of the detection end.
[0046] The plastic product detection range sequence refers to the sequence of plastic product detection ranges that are divided and sorted according to a preset order (e.g., from left to right when the current sliding direction is vertical, and from top to bottom when the current sliding direction is horizontal). This sequence is used to control the detection component 2 to complete the sliding detection of each sub-region in sequence.
[0047] Step S5: Determine the current detection range of plastic products based on the detection range sequence of plastic products.
[0048] Reference Figure 6 The current plastic product testing range refers to a single plastic product testing sub-region selected from the plastic product testing range sequence, which is about to undergo a sliding operation.
[0049] Step S50: Determine the target sliding start point and target sliding end point based on the current plastic product detection range, and generate a sliding scheme according to the target sliding start point and target sliding end point.
[0050] The target sliding start point refers to the starting position of the edge of the current plastic product detection range, which corresponds to the specific coordinate point of the plastic product on the detection platform. It is the starting point for the detection head 24 to start contacting the surface of the plastic product and start the sliding action.
[0051] The target sliding end point refers to the edge termination position of the current plastic product detection range, which corresponds to the specific coordinate point of the plastic product on the detection platform. It is the endpoint where the detection head 24 completes this sliding operation and detaches from the surface of the plastic product.
[0052] The sliding scheme refers to a complete execution command generated based on the target sliding start point and target sliding end point, including the sliding path, sliding speed, and preset sliding pressure. The sliding pressure refers to the vertical pressure applied to the detection head 24 when it contacts and slides with the surface of the plastic product, obtained through multiple experimental data.
[0053] Step S51: Control the detection component 2 to perform the sliding operation according to the sliding scheme, acquire the top view image of the sliding plastic product after the sliding operation is completed, and determine the sliding feature points based on the top view image of the sliding plastic product.
[0054] The sliding operation refers to the process where the soft plastic detection material, such as clay, on the detection head 24 slides linearly on the outer surface of the plastic product with a pre-set sliding pressure according to the sliding scheme, so that the protrusions or depressions on the surface of the plastic product trap and adhere the soft material on the sliding surface of the detection end of the detection component 2.
[0055] The top-view image of the sliding plastic product refers to a two-dimensional top-view image of the surface of the plastic product, which is captured by the camera 34 from directly above the plastic product after a single sliding operation. It includes the current detection range area of the plastic product and is used to analyze the surface images of the plastic product before and after the sliding operation to determine whether there is residual material adhering to the detection end on the surface of the plastic product.
[0056] Slip feature points refer to the residual points, traces, or areas of soft material adhering to the slip surface of the plastic product in the top view image of the slipped plastic product.
[0057] Step S52: When a slip feature point exists, output an external appearance defect signal.
[0058] The surface defect signal refers to the output signal used to clearly indicate that the outer surface of a plastic product has protrusions or depressions and does not meet the quality standards.
[0059] When slippage feature points are present, it indicates that there are protruding or concave defects on the surface of the plastic product within the current plastic product inspection range. During the slippage process, the soft material at the inspection end is scraped and trapped by the protrusion or stuck and adhered by the concave, resulting in some material remaining on the surface of the plastic product and forming residue, and the surface quality of the plastic product is unqualified.
[0060] Step S53: When there are no slip feature points, update the detection range sequence of plastic products and redetermine the current detection range of plastic products, and execute steps S50 to S52.
[0061] When there are no slip feature points, it means that the surface of the plastic product within the current inspection range is flat and smooth, without any protruding or dented defects. This area is qualified for inspection. After updating the plastic product inspection range sequence, the next area will be inspected.
[0062] Step S6: Based on the detection range sequence of plastic products, obtain the number of detection ranges of plastic products in real time, and output an appearance qualified signal when the number of detection ranges of plastic products is 0.
[0063] The number of plastic product testing ranges refers to the number of remaining plastic product testing sub-regions in the plastic product testing range sequence that have not yet completed slippage testing.
[0064] The appearance qualification signal refers to the output signal used to clearly indicate that all outer surfaces of plastic products have been inspected, there are no protruding defects, and they meet the quality standards. It can trigger related actions such as the transfer of qualified products and the start of the next process.
[0065] When the number of inspection ranges for plastic products is 0, it means that all the inspection ranges for plastic products have been inspected for slippage, and no slippage feature points have been detected in any area. The overall outer surface of the plastic product is flat and without defects, and the appearance quality is qualified.
[0066] Among them, the methods for updating the detection range sequence of plastic products and redetermining the current detection range of plastic products when there are no slip feature points include: Step S530: Obtain the sliding surface image information corresponding to the detection component 2.
[0067] The sliding surface image information refers to the complete image information of the sliding surface of the soft plastic detection head 24 (like clay) in the detection component 2 in contact with the surface of the plastic product, captured by camera 34. This image is used to identify whether there are any indentations on the sliding surface of the detection head 24 caused by the pressure of protrusions on the surface of the plastic product. Because if there are indentations on the surface of the plastic product, the soft material on the detection end surface will inevitably be trapped after the sliding operation; however, if there are protrusions on the surface of the plastic product, the soft material on the detection end surface may not be trapped, but it will definitely leave scratches on the sliding surface of the detection end.
[0068] Step S531: Determine the concave features of the slip surface based on the slip surface image information.
[0069] The sliding surface depression feature refers to the corresponding depression scratches formed on the surface of the soft plastic detection head 24 under the sliding extrusion action due to the presence of raised defects on the surface of the plastic product.
[0070] Step S532: When there is no slip surface depression feature, update the plastic product detection range sequence and redetermine the current plastic product detection range.
[0071] When there is no concave feature on the sliding surface, it means that the overall outer surface of the plastic product corresponding to the current plastic product detection range has no concave or convex features, and the sliding surface of the detection head 24 has no concave marks caused by any convex extrusion, and no convex defects that are missed. Therefore, the current plastic product detection range can be redefined and the sliding operation can be performed.
[0072] Step S533: When there is a slip surface depression feature, analyze the slip surface depression feature to determine the feature start point, feature end point, feature length, and feature extension direction.
[0073] When there is a concave feature on the sliding surface, it indicates that there is a protruding defect on the surface of the plastic product within the current plastic product inspection range. Although the protrusion does not trap the soft object at the inspection end on the surface of the plastic product, it forms a concave scratch by squeezing the sliding surface at the inspection end.
[0074] The feature starting point refers to the initial position where the slip surface depression feature begins to appear on the slip surface at the detection end.
[0075] The feature termination point refers to the end position where the sliding surface depression feature terminates on the sliding surface at the detection end.
[0076] Feature length refers to the actual distance between the feature start point and the feature end point, that is, the actual length of the indentation scratch formed by the protrusion and compression on the sliding surface of the detection end.
[0077] The feature extension direction refers to the direction in which the concave feature of the sliding surface extends from the feature start point to the feature end point, which is consistent with the sliding direction of the detection component 2 and corresponds to the extension direction of the protrusion of the plastic product.
[0078] Step S534: Determine the expected complete feature length based on the slip surface image information, feature start point, feature end point, feature length, and feature extension direction.
[0079] The expected complete feature length refers to the total length (or total width, determined according to the current sliding direction) of the soft plastic detection end mounted on the detection head 24. That is, if there is a complete protrusion defect within the current plastic product detection range, the standard length of the scratch that should be formed on the sliding surface after the protrusion squeezes the detection end, covering the entire length (or width) of the detection end (because the size of the detection end is smaller than the detection range of the plastic product, the protrusion on the surface of the plastic product will leave scratches on the entire contact surface of the detection end).
[0080] Step S535: When the feature length is equal to the expected complete feature length, output an appearance defect signal.
[0081] When the feature length is equal to the expected complete feature length, it indicates that the indentation and scratch on the sliding surface of the detection end are formed by the extrusion of the protrusion that exists within the current detection range of the plastic product, and the surface quality of the plastic product is unqualified.
[0082] If the feature length is less than the expected complete feature length, it indicates that the protrusion on the surface of the plastic product may have disappeared midway during the sliding process. Therefore, the resulting scratch does not cover the total length or width of the detection end. Further analysis is needed to determine whether the protrusion still exists on the surface of the plastic product. Another possibility is that the protrusion on the surface of the plastic product is at the end of the current detection range. (Refer to...) Figure 7 As shown, when the impurity is at the midpoint of the current protruding plastic product inspection range, the detection bracket 23 lifts when it slides into the current protruding plastic product inspection range. Then the feature length is exactly half the length of the current protruding plastic product inspection range. However, it is not possible to determine whether the protruding foreign object is an impurity unrelated to the plastic product or a protrusion caused by the non-compliance of the surface quality of the plastic product based solely on the fact that the feature length is less than the expected complete feature length. Therefore, further analysis is required.
[0083] This also includes a method for outputting an appearance defect signal when the feature length is less than the expected complete feature length, the method comprising: Step S536: Determine the characteristics of the foreign object based on the slip surface image information.
[0084] Foreign object features refer to scratches caused by non-plastic product surface protrusions identified in the slip surface image. Specifically, the protrusions on the surface of the plastic product are stuck to the slip surface by the clay at the detection end, forming local protrusions or residual blocks, resulting in interrupted scratches or insufficient length.
[0085] Step S537: When foreign object features are present, output the sliding surface update signal.
[0086] The slip surface update signal is the execution command signal used to replace the clay detection end. It is installed and replaced manually.
[0087] When foreign objects are present, it indicates that the protrusions on the surface of the plastic product are stuck to the sliding surface by the clay at the detection end, directly causing the protrusions to disappear midway in the sliding path, thus interrupting the scratch and resulting in insufficient length. Therefore, it is necessary to output a sliding surface update signal.
[0088] Step S538: When there are no foreign object features, determine the current verification range of the protruding plastic product based on the current sliding direction and the current detection range of the plastic product.
[0089] When no foreign object features are found, it means that the possibility of the protrusion being stuck to the detection component 2 during the sliding operation has been ruled out. It is possible that the detection component 2 pushed it away from the surface of the plastic product during the sliding process, or that the foreign object is still on the surface of the plastic product, or that it is a protrusion on the surface of the plastic product.
[0090] Reference Figure 7 The current inspection range for raised plastic products refers to the single plastic product inspection sub-region selected from the inspection range sequence for which the sliding operation will be performed this time. The size of this region is based on the size of the inspection end.
[0091] Reference Figure 7 It can be determined that the current calibration range for the protruding plastic product is the end region of the current inspection range for the plastic product. Since the feature length is less than the expected complete feature length, the protrusion on the surface of the plastic product is caused by impurities that can be pushed by the detection component 2. Therefore, when the detection component 2 performs a sliding operation on the current inspection range of the plastic product, it will lift the detection bracket 23 at the target sliding end point. If there are no impurities on the sliding surface at the detection end, and if the impurities are foreign objects unrelated to the surface of the plastic product, it means that the impurities are left in the area corresponding to the size of the detection end at the target sliding end point. Therefore, the current calibration range for the protruding plastic product starts the sliding operation from the end region of the current inspection range for the plastic product. If the impurities are surface protrusions caused by abnormal quality of the plastic product, a surface defect signal needs to be output.
[0092] Step S539: Determine the starting point and ending point of the protrusion verification slippage based on the current verification range of the protruding plastic product.
[0093] Reference Figure 7 The starting point of the protrusion verification sliding refers to the starting position of the edge of the current sliding direction and the current protrusion plastic product verification range, corresponding to the specific coordinate point of the plastic product on the detection platform. It is the starting point for the detection head 24 to start contacting the surface of the plastic product and start the sliding operation.
[0094] The end point of the protrusion verification sliding refers to the edge end position according to the current sliding direction and the current verification range of the protruding plastic product, corresponding to the specific coordinate point of the plastic product on the detection platform, and is the end point of the sliding operation of the detection head 24.
[0095] Step S540: Determine the protrusion verification sliding scheme based on the current sliding direction, the protrusion verification sliding start point, and the protrusion verification sliding end point.
[0096] The protrusion verification sliding scheme refers to the sliding execution command for the current protruding plastic product verification range based on the protrusion verification sliding start point and protrusion verification sliding end point.
[0097] Step S541: Control the detection component 2 to perform the protrusion verification sliding operation according to the protrusion verification sliding scheme.
[0098] The protrusion verification sliding operation refers to the operation of using the detection end of the detection component 2 to slide within the current protrusion plastic product verification range in the current sliding direction.
[0099] Step S542: After the protrusion verification sliding operation, obtain the verification sliding surface image information.
[0100] Verification of slip surface image information refers to the image information corresponding to the slip surface of the detection end obtained after performing the protrusion verification slip operation.
[0101] Step S543: Determine the length of the depression feature based on the verification slip surface image information.
[0102] The indentation feature length refers to the actual length of the scratch on the sliding surface of the detection end after the protrusion verification sliding operation is performed.
[0103] Step S544: When the feature length of the indentation is equal to the feature length, output an external defect signal.
[0104] When the indentation feature length equals the feature length, it indicates that the protrusions on the surface of the plastic product within the current inspection range are inherent defects caused by the product's own quality abnormalities, rather than external impurities that can be pushed by the detection component 2. If they were external impurities, the detection component 2 would further push them out of the current inspection range during the protrusion inspection sliding operation, preventing the inspection sliding surface from forming an indentation scratch equal to the feature length.
[0105] Step S545: When the feature length of the depression is not equal to the feature length, perform the impurity removal operation.
[0106] The impurity removal operation refers to the process of cleaning foreign objects from the surface of plastic products. The specific operation will be detailed later. When the indentation feature length is not equal to the feature length, it indicates that the protrusion on the surface of the plastic product within the current inspection range is likely an external impurity that can be pushed by the detection component 2, rather than an inherent defect of the plastic product itself. This is because during the protrusion inspection sliding operation, if the protrusion is an external impurity, the detection component 2 may push it out of the current inspection range or change its position on the plastic product surface during the sliding process, resulting in the indentation feature length on the new inspection sliding surface image being no longer equal to the previous feature length. Furthermore, since protrusions caused by the surface quality of the plastic product will not lead to a situation where the indentation feature length and feature length are not equal, it can be directly determined here that the protrusion on the surface of the plastic product is an external impurity.
[0107] The methods for performing the impurity removal operation include: Step S5450: Generate the impurity cleaning start point and impurity cleaning end point based on the current inspection range of the raised plastic product.
[0108] The impurity removal starting point refers to the starting position of the edge of the current protruding plastic product verification range along the current sliding direction, which corresponds to the coordinate point of the plastic product on the detection platform. It is the pressing starting point for the detection component 2 to start performing the impurity pushing operation.
[0109] The impurity removal endpoint refers to the edge termination position of the current protruding plastic product inspection range along the current sliding direction, corresponding to the coordinate point of the plastic product on the inspection platform. It is the lifting endpoint of the inspection component 2 to complete the impurity pushing operation, used to completely push the movable impurities away from the current plastic product inspection range.
[0110] Step S5451: Find the preset impurity cleaning pressure, and generate an impurity cleaning plan based on the impurity cleaning pressure, the impurity cleaning start point, and the impurity cleaning end point.
[0111] The impurity cleaning pressure refers to a preset vertical pressing pressure that is slightly higher than the conventional sliding detection pressure. This pressure ensures that the detection end makes full contact with the surface of the plastic product to move movable impurities without scratching the surface of the plastic product.
[0112] An impurity cleaning scheme refers to a complete set of execution instructions generated based on the impurity cleaning pressure, the impurity cleaning start point, and the impurity cleaning end point.
[0113] Step S5452: Control the detection component 2 to perform the impurity removal operation according to the impurity cleaning plan.
[0114] The impurity pushing-away operation refers to the cleaning action in which the detection component 2, equipped with a soft plastic detection end similar to clay, starts from the impurity cleaning starting point and presses vertically on the surface of the plastic product with impurity cleaning pressure according to the impurity cleaning plan. It moves smoothly along the current sliding direction to the impurity cleaning endpoint, pushing the movable impurities within the current plastic product's inspection range away from the current plastic product's detection range, and then vertically lifts the detection end to detach it from the surface of the plastic product.
[0115] This also includes: Step S510: Obtain the sliding resistance in real time during the sliding operation.
[0116] Sliding resistance refers to the real-time frictional resistance generated when the clay detection end of the detection component 2 performs a sliding operation on the surface of the plastic product due to the contact and compression between the detection end and the surface, protrusions or impurities of the plastic product.
[0117] Step S511: When the sliding resistance falls into the preset abnormal sliding resistance range, determine the abnormal resistance point and perform the detection end kneading and moisturizing operation.
[0118] The abnormal slip resistance range refers to a threshold interval established through multiple experiments to determine when the frictional resistance of a soft object mounted on the detection end becomes abnormal due to drying, decreased viscosity, or surface hardening. The abnormal resistance point refers to the specific coordinates at which the slip resistance falls within the abnormal slip resistance range.
[0119] The kneading and moisturizing operation at the testing end refers to squeezing, twisting and kneading the soft object mounted on the testing end, and adding a small amount of moisture to restore the plasticity and viscosity of the dried and hardened soft object.
[0120] When the sliding resistance falls into the abnormal sliding resistance range, it indicates that the soft object mounted on the detection end has dried and hardened, lacks plasticity, or that there are hard protrusions on the surface of the plastic product, causing the sliding to become stuck.
[0121] Step S512: After performing the kneading and moisturizing operation at the detection end, perform a rapid sliding operation based on the abnormal resistance point.
[0122] Rapid sliding operation refers to a short-distance retest sliding operation performed on a local area where an abnormal resistance point is located.
[0123] Step S513: After performing the rapid sliding operation, obtain abnormal sliding feature points. If abnormal sliding feature points exist, output an external non-compliance signal.
[0124] Abnormal slippage feature points refer to the clay residue that adheres to the surface of plastic products after a rapid slippage operation.
[0125] When abnormal slippage feature points are present, it indicates that there are inherent quality defects such as protrusions or damage on the surface of the plastic product. The original abnormal resistance is caused by the inherent defects on the surface of the plastic product, and not by the drying of the detection end.
[0126] This also includes a method for outputting an external appearance defect signal when there are no abnormal slip feature points, the method comprising: Step S514: Obtain the image information of the slip surface and determine the features of the slip surface depression and foreign objects.
[0127] The sliding surface depression feature refers to the corresponding depression scratches formed on the sliding surface of the plastic product when the raised part of the plastic product presses against the clay testing end.
[0128] Foreign matter characteristics refer to residual blocks formed when protrusions on the surface of plastic products are stuck to the detection end or remain on the sliding surface.
[0129] Step S515: When there are no foreign matter features but there are sliding surface depression features, output an external appearance defect signal.
[0130] When there are no foreign matter features but there are slippage and depression features, it indicates that the plastic product's surface has inherent protrusion defects, and the plastic product's surface quality is unqualified. This is because after the kneading and moisturizing operation, the detection end becomes more sticky to impurities; if there are no foreign matter features, only unevenness on the surface of the plastic product will be present.
[0131] Step S516: When there is a foreign object feature and a sliding surface depression feature, determine the end point of the foreign object feature and the end point of the sliding surface depression feature based on the current sliding direction.
[0132] The endpoint of the foreign object feature refers to the termination position of the foreign object feature on the sliding surface of the detection end along the current sliding direction.
[0133] The endpoint of the sliding surface depression feature refers to the termination position of the sliding surface depression feature on the sliding surface at the detection end along the current sliding direction.
[0134] When both foreign object characteristics and sliding surface depressions are present, it indicates that the plastic product may have surface protrusions, but there must be foreign objects stuck and adhering to the detection end. In this case, it cannot be determined whether the sliding surface depressions are caused by foreign objects stuck to the detection end; further analysis is required.
[0135] Step S517: When the end point of the foreign object feature coincides with the end point of the sliding surface concave feature, continue to perform the sliding operation.
[0136] When the endpoint of the foreign object feature coincides with the endpoint of the sliding surface depression feature, it indicates that the foreign object is stuck at the same position as the end of the raised scratch. This is a normal impurity being pushed and stuck, and there is no inherent defect in the plastic product. Testing can continue.
[0137] Step S518: When the end point of the foreign object feature and the end point of the sliding surface depression feature do not coincide, output an external appearance defect signal.
[0138] When the endpoints of the foreign object feature and the sliding surface depression feature do not coincide, it indicates that the foreign object is a random interference feature, and the surface of the plastic product still has a real inherent protrusion defect, and the surface quality of the plastic product is unqualified.
[0139] Step S518 further includes: Step S5180: When the endpoint of the foreign object feature and the endpoint of the sliding surface depression feature do not coincide, determine the repeat verification point based on the endpoint of the sliding surface depression feature.
[0140] Repeated verification points refer to coordinate points on the surface of plastic products, which are based on the end point of the concave feature of the slip surface. They are used to re-measure the position of suspected inherent protrusions in plastic products to eliminate interference from foreign objects.
[0141] When the endpoint of the foreign object feature and the endpoint of the sliding surface depression feature do not coincide, it indicates that the foreign object jamming and the termination position of the raised scratch on the surface of the plastic product are inconsistent. There are two situations: the first is that the foreign object and the protrusion exist at the same time, and the second is that there are two foreign objects on the straight line in the current sliding direction. One foreign object is stuck to the detection end, while the other foreign object is still attached to the outer surface of the plastic product.
[0142] Step S5181: Output a foreign object removal signal for the sliding surface and determine the vertical sliding direction based on repeated verification points.
[0143] The foreign object removal signal on the sliding surface refers to the control signal used to instruct manual removal of foreign objects stuck on the sliding surface of the detection end. The vertical sliding direction refers to the sliding direction perpendicular to the current sliding direction, used to perform cross-checking of repeated verification points from a vertical angle.
[0144] Step S5182: Perform a corrected fast slide operation based on the repeated check points and the vertical slide direction.
[0145] The corrected rapid sliding operation refers to the short-distance sliding retest operation performed by the detection head 24 along the vertical sliding direction for the local area where the repeated verification point is located.
[0146] Step S5183: After performing the corrected fast slip operation, acquire slip surface image information to determine the corrected slip surface concavity features.
[0147] Correcting the concave features of the sliding surface refers to the concave scratches formed on the sliding surface of the detection end after performing a correction rapid sliding operation.
[0148] Step S5184: Determine the concave overlap point based on the modified slip surface concave features and the slip surface concave features, and determine the current foreign object position based on the concave overlap point.
[0149] The concavity overlap point refers to the position where the concavity feature of the corrected slip surface overlaps with the concavity feature of the original slip surface, corresponding to the coordinate point on the slip surface of the detection end.
[0150] The current foreign object location refers to the coordinate position of the plastic product surface corresponding to the point of overlap of the depression, that is, the specific location of the suspected foreign object or the inherent protrusion of the plastic product.
[0151] Step S5185: Perform foreign object verification operation based on the current foreign object location.
[0152] Foreign object inspection refers to the process of determining whether a protrusion at a given location is a movable foreign object or an inherent defect in the plastic product itself.
[0153] The methods for performing foreign object verification operations based on the current location of the foreign object include: Step S51850: When a foreign object is present, perform a verification sliding operation based on the current foreign object position, the current sliding direction, and the vertical sliding direction.
[0154] The verification sliding operation refers to the detection component 2 performing a cross-sliding retest operation along the current sliding direction and the vertical sliding direction on the local area where the foreign object is located, in order to verify the mobility of the protrusion at that position.
[0155] Step S51851: Determine the position of the foreign object to be corrected after performing the verification sliding operation.
[0156] The corrected foreign object position refers to the coordinate position of the plastic product surface corresponding to the newly formed concave overlap point of the sliding surface of the detection end after the verification sliding operation, that is, the actual position of the foreign object or inherent protrusion after the cross sliding.
[0157] Step S51852: Determine the foreign object position offset based on the corrected foreign object position and the current foreign object position.
[0158] Foreign object position offset refers to the distance between the corrected foreign object position and the current foreign object position.
[0159] Step S51853: When the offset of the foreign object position does not fall within the preset effective foreign object offset range, output an external defect signal.
[0160] The effective foreign object offset range refers to the range of normal positional offset values obtained from multiple experimental data after a movable foreign object is pushed by the detection end. The offset within this range indicates that the protrusion can be pushed and belongs to foreign impurities.
[0161] When the offset of the foreign object position does not fall within the effective foreign object offset range, it indicates that the protrusion at the current foreign object position cannot be pushed by the detection end, and the offset exceeds the normal range of movable foreign objects. This protrusion is an inherent protrusion defect of the plastic product itself, and the surface quality of the plastic product is unqualified.
[0162] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. A rapid detection method for surface defects in plastic products, characterized in that, include: Step S1: In response to the surface detection signal of the plastic product, acquire a top view image of the plastic product; Step S2: Determine the size and location of the plastic product based on the top view image of the plastic product; Step S3: Determine the number of horizontal and vertical plastic product detection ranges based on the size of the plastic product and the preset detection end size, and determine the current sliding direction based on the number of horizontal and vertical plastic product detection ranges. Step S4: Divide the plastic product into multiple detection ranges based on the current sliding direction, the size of the plastic product, and the position of the plastic product, and determine the sequence of plastic product detection ranges based on the multiple detection ranges; Step S5: Determine the current detection range of the plastic product based on the detection range sequence of the plastic product; Step S50: Determine the target slip start point and target slip end point based on the current plastic product inspection range, and generate a slip scheme according to the target slip start point and target slip end point; Step S51: Control the detection component (2) to perform the sliding operation according to the sliding scheme, obtain the top view image of the sliding plastic product after the sliding operation is completed, and determine the sliding feature points based on the top view image of the sliding plastic product; Step S52: When a slippage feature point exists, output an external appearance defect signal; Step S53: When there are no slip feature points, update the detection range sequence of plastic products and redetermine the current detection range of plastic products, and execute steps S50 to S52; Step S6: Based on the detection range sequence of plastic products, obtain the number of detection ranges of plastic products in real time, and output an appearance qualified signal when the number of detection ranges of plastic products is 0.
2. The rapid detection method for surface defects of plastic products according to claim 1, characterized in that, Methods for updating the testing scope sequence for plastic products and redefining the current testing scope for plastic products include: Step S530: Obtain the sliding surface image information corresponding to the detection component (2); Step S531: Determine the concave features of the slip surface based on the slip surface image information; Step S532: When there is no slip surface depression feature, update the plastic product detection range sequence and redetermine the current plastic product detection range; Step S533: When there is a slip surface depression feature, analyze the slip surface depression feature to determine the feature start point, feature end point, feature length, and feature extension direction; Step S534: Determine the expected complete feature length based on the slip surface image information, feature start point, feature end point, feature length, and feature extension direction; Step S535: When the feature length is equal to the expected complete feature length, output an appearance defect signal.
3. The rapid detection method for surface defects of plastic products according to claim 2, characterized in that, It also includes a method for outputting an appearance defect signal when the feature length is less than the expected complete feature length, the method comprising: Step S536: Determine the characteristics of the foreign object based on the slip surface image information; Step S537: When foreign object features are present, output the sliding surface update signal; Step S538: When there are no foreign object features, determine the current verification range of the protruding plastic product based on the current sliding direction and the current detection range of the plastic product; Step S539: Determine the starting point and ending point of the protrusion verification sliding based on the current verification range of the protruding plastic product; Step S540: Determine the protrusion verification sliding scheme based on the current sliding direction, the protrusion verification sliding start point, and the protrusion verification sliding end point; Step S541: Control the detection component (2) to perform the protrusion verification sliding operation according to the protrusion verification sliding scheme; Step S542: After the protrusion verification sliding operation, obtain the verification sliding surface image information; Step S543: Determine the length of the depression feature based on the verified slip surface image information; Step S544: When the feature length of the indentation is equal to the feature length, output an external surface defect signal; Step S545: When the feature length of the depression is not equal to the feature length, perform the impurity removal operation.
4. The rapid detection method for surface defects of plastic products according to claim 3, characterized in that, Methods for performing impurity removal operations include: Step S5450: Generate the impurity cleaning start point and impurity cleaning end point based on the current inspection range of the raised plastic product; Step S5451: Find the preset impurity cleaning pressure, and generate an impurity cleaning plan based on the impurity cleaning pressure, the impurity cleaning start point, and the impurity cleaning end point; Step S5452: Control the detection component (2) to perform the impurity removal operation according to the impurity cleaning plan.
5. The rapid detection method for surface defects of plastic products according to claim 3, characterized in that, Also includes: Step S510: Acquire the sliding resistance in real time during the sliding operation; Step S511: When the sliding resistance falls into the preset abnormal sliding resistance range, determine the abnormal resistance point and perform the detection end kneading and moisturizing operation; Step S512: After performing the kneading and moisturizing operation at the detection end, perform a rapid sliding operation based on the abnormal resistance point; Step S513: After performing the rapid sliding operation, obtain abnormal sliding feature points. If abnormal sliding feature points exist, output an external non-compliance signal.
6. The rapid detection method for surface defects of plastic products according to claim 5, characterized in that, It also includes a method for outputting an external appearance defect signal when there are no abnormal slip feature points, the method comprising: Step S514: Obtain the image information of the slip surface and determine the features of the slip surface depression and foreign objects; Step S515: When there are no foreign matter features but there are sliding surface depression features, output an external appearance defect signal; Step S516: When there is a foreign object feature and a sliding surface depression feature, determine the end point of the foreign object feature and the end point of the sliding surface depression feature based on the current sliding direction; Step S517: When the endpoint of the foreign object feature and the endpoint of the sliding surface depression feature coincide, continue to perform the sliding operation; Step S518: When the end point of the foreign object feature and the end point of the sliding surface depression feature do not coincide, output an external appearance defect signal.
7. The rapid detection method for surface defects of plastic products according to claim 6, characterized in that, Step S518 also includes: Step S5180: When the endpoint of the foreign object feature and the endpoint of the sliding surface depression feature do not coincide, determine the repeat verification point based on the endpoint of the sliding surface depression feature; Step S5181: Output a foreign object removal signal for the sliding surface and determine the vertical sliding direction based on repeated verification points; Step S5182: Perform a corrected fast slide operation based on the repeated check points and the vertical slide direction; Step S5183: After performing the corrected fast sliding operation, acquire the sliding surface image information to determine the concave features of the corrected sliding surface; Step S5184: Determine the concave point based on the corrected slip surface concave features and the slip surface concave features, and determine the current foreign object position based on the concave point. Step S5185: Perform foreign object verification operation based on the current foreign object location.
8. The rapid detection method for surface defects of plastic products according to claim 7, characterized in that, Methods for performing foreign object verification operations based on the current location of the foreign object include: Step S51850: When a foreign object is present, perform a verification sliding operation based on the current foreign object position, the current sliding direction, and the vertical sliding direction; Step S51851: Determine the position of the foreign object to be corrected after performing the verification sliding operation; Step S51852: Determine the foreign object position offset based on the corrected foreign object position and the current foreign object position; Step S51853: When the offset of the foreign object position does not fall within the preset effective foreign object offset range, output an external defect signal.
9. A rapid detection device for surface defects of plastic products, applied to the rapid detection method for surface defects of plastic products as described in any one of claims 1 to 8, characterized in that, It includes a detection stage (1), a detection component (2) slidably connected to the detection stage (1), and an image acquisition component (3) slidably connected to the detection stage (1). The detection component (2) includes a detection base (21), a detection body (22) fixedly connected to the detection base (21), a detection bracket (23) slidably connected to the detection body (22), and a detection head (24) slidably connected to the detection bracket (23).
10. A rapid detection device for surface defects of plastic products according to claim 9, characterized in that, The image acquisition component (3) includes an acquisition base (31), a support cylinder (32) rotatably connected to the acquisition base (31), an acquisition arm (33) slidably connected to the support cylinder (32), and a camera (34) fixedly connected to the acquisition arm (33).