Vehicle display screen component screening method, device, equipment and storage medium

By collecting and analyzing corner images of vehicle display components, extracting straight edge features and calculating contour dimensions, the problem of insufficient accuracy and reliability in traditional screening methods is solved, achieving a more accurate screening effect.

CN122176029APending Publication Date: 2026-06-09WUHAN HAIWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
WUHAN HAIWEI TECH CO LTD
Filing Date
2026-02-02
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Traditional methods for screening automotive display components are susceptible to errors in accuracy and reliability when acquiring key contour features for size calculations. This can lead to biases in judging whether components are compliant, affecting production yield and efficiency.

Method used

The corner images of the four corner areas of the vehicle display component to be inspected are acquired, the straight edge features of each corner area are extracted, the contour size is calculated based on the straight edge features, and it is compared with the preset standard for screening.

Benefits of technology

By extracting the straight edge features of the four corner areas of a component and calculating its contour dimensions, the actual size of the component can be reflected more accurately, thereby improving the accuracy of component selection for vehicle display screens.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122176029A_ABST
    Figure CN122176029A_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, and storage medium for screening vehicle display screen components, relating to the field of visual inspection technology. The method for screening vehicle display screen components includes: acquiring corner images of four corner regions of a vehicle display screen component to be inspected; extracting straight edge features of each corner region from the corner images; calculating the contour dimensions of the vehicle display screen component to be inspected based on the straight edge features; and screening the vehicle display screen component to be inspected based on the contour dimensions. This application can improve the accuracy of vehicle display screen component screening.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of visual inspection technology, and in particular to a method, apparatus, device, and storage medium for screening components of an in-vehicle display screen. Background Technology

[0002] In the manufacturing of automotive displays, high-precision dimensional screening of core components such as die-cast parts and screen covers is a crucial preliminary step to ensure the final product's assembly quality and display effect. Traditional screening methods are susceptible to interference in the accuracy and reliability of obtaining key contour features used for dimensional calculations, leading to biases in judging the compliance of components. This directly impacts production yield and efficiency. Therefore, improving the accuracy of automotive display component screening remains a problem that needs to be solved.

[0003] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this application is to provide a method, apparatus, device, and storage medium for screening automotive display screen components, aiming to solve the technical problem of how to improve the accuracy of screening automotive display screen components.

[0005] To achieve the above objectives, this application proposes a method for screening vehicle display screen components, the method comprising:

[0006] Capture corner images of the four corner areas of the vehicle display component to be inspected; Extract the straight edge features of each corner region from the corner image; The outline dimensions of the vehicle display component to be detected are calculated based on the straight edge features. The vehicle display components to be inspected are screened based on the outline dimensions.

[0007] In one embodiment, the step of acquiring corner images of the four corner areas of the vehicle-mounted display component to be inspected includes: The target light source is determined based on the type of the vehicle display component to be tested; After illuminating the vehicle display screen component under test by turning on the target light source, the vehicle display screen component under test is photographed to obtain corner images of the four corner areas.

[0008] In one embodiment, the step of extracting the straight edge features of each corner region from the corner image includes: The corner image is smoothed and filtered to obtain a filtered image; The filtered image is then subjected to image enhancement processing to obtain an enhanced image; The enhanced image is subjected to adaptive threshold segmentation to obtain a segmented image; Identify and extract straight line edge features in the horizontal and vertical directions from the segmented image.

[0009] In one embodiment, the step of calculating the contour dimensions of the vehicle display component to be detected based on the straight edge features includes: The image coordinates of the intersection point of the straight line edges in the horizontal and vertical directions are determined based on the straight line edge features. Convert the intersection point image coordinates into actual physical coordinates; The outline dimensions of the vehicle display component to be tested are calculated based on the actual physical coordinates.

[0010] In one embodiment, the step of screening the vehicle display component to be inspected based on the contour size includes: The outline dimension is compared with the corresponding preset standard length to obtain the size error; The error level of the vehicle display component to be tested is determined based on the dimensional error. The vehicle display components to be tested are screened according to the error level.

[0011] In one embodiment, before the step of acquiring corner images of the four corner areas of the vehicle display component to be inspected, the method further includes: Acquire images of the calibration platform that has been set with size scale markings; Multiple dimensional reference points were identified from the image of the calibration platform; Based on the aforementioned size reference points, a transformation relationship between the image coordinate system and the actual physical coordinate system is established.

[0012] In one embodiment, prior to the step of extracting the straight edge features of each corner region from the corner image, the method further includes: Determine whether straight edge features that meet preset conditions can be extracted from the corner image; If it cannot be extracted, the appearance of the vehicle display component to be tested is deemed unqualified.

[0013] Furthermore, to achieve the above objectives, this application also proposes a vehicle display screen component screening device, which includes: The acquisition module is used to acquire corner images of the four corner areas of the vehicle display component to be inspected; The extraction module is used to extract the straight edge features of each corner region from the corner image; The calculation module is used to calculate the outline dimensions of the vehicle display component to be detected based on the straight edge features; The filtering module is used to filter the vehicle display components to be inspected based on the outline dimensions.

[0014] In addition, to achieve the above objectives, this application also proposes a vehicle display component screening device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the vehicle display component screening method described above.

[0015] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the vehicle display component screening method described above.

[0016] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the vehicle display component selection method described above.

[0017] This application provides a method for screening automotive display screen components. The method involves acquiring corner images of the four corner regions of the automotive display screen component to be inspected; extracting straight edge features from each corner region of the corner images; calculating the outline dimensions of the automotive display screen component to be inspected based on the straight edge features; and screening the automotive display screen components to be inspected based on the outline dimensions. By extracting the straight edge features of the four corner regions of the component and calculating the outline dimensions based on these features, this application can more accurately reflect the actual size of the component, thereby improving the accuracy of automotive display screen component screening. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart illustrating an embodiment of the method for selecting vehicle display screen components in this application. Figure 2This is a schematic diagram of the detection device structure provided in Embodiment 1 of the vehicle display screen component screening method of this application; Figure 3 This is a flowchart illustrating Embodiment 2 of the method for selecting vehicle display screen components in this application. Figure 4 This is a schematic diagram of the reference point selection provided in Embodiment 2 of the vehicle display screen component selection method of this application; Figure 5 This is a schematic diagram of the module structure of the vehicle display screen component screening device according to an embodiment of this application; Figure 6 This is a schematic diagram of the hardware operating environment involved in the vehicle display screen component selection method in this application embodiment.

[0021] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0022] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0023] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0024] The main solution of this application is to acquire corner images of the four corner areas of the vehicle display component to be inspected; extract the straight edge features of each corner area from the corner images; calculate the outline size of the vehicle display component to be inspected based on the straight edge features; and filter the vehicle display components to be inspected based on the outline size.

[0025] In the manufacturing of automotive displays, high-precision dimensional screening of core components such as die-cast parts and screen covers is a crucial preliminary step to ensure the final product's assembly quality and display effect. Traditional screening methods are susceptible to interference in the accuracy and reliability of obtaining key contour features used for dimensional calculations, leading to biases in judging the compliance of components. This directly impacts production yield and efficiency. Therefore, improving the accuracy of automotive display component screening remains a problem that needs to be solved.

[0026] This application extracts the straight edge features of the four corner areas of the component and calculates the contour size based on them, which can more accurately reflect the actual size of the component, thereby improving the accuracy of the selection of vehicle display components.

[0027] Based on this, embodiments of this application provide a method for selecting vehicle display screen components, referring to... Figure 1 , Figure 1This is a flowchart illustrating the first embodiment of the vehicle display screen component selection method of this application.

[0028] In this embodiment, the method for screening vehicle display screen components includes steps S10 to S40: Step S10: Acquire corner images of the four corner areas of the vehicle display component to be inspected; It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device capable of performing the above functions, such as an in-vehicle display component screening device. The following description uses an in-vehicle display component screening device as an example to illustrate this embodiment and the subsequent embodiments.

[0029] It should be noted that the vehicle display components to be tested include die-cast parts, screen covers, and other components. A schematic diagram of a specific testing device can be found below. Figure 2 , Figure 2 The detection device consists of three parts. The first is a marble base: at each of the four corners of the marble base, there are grids engraved with dimensional information, namely Dimension Grid 1, Dimension Grid 2, Dimension Grid 3, and Dimension Grid 4. Each grid consists of n... It consists of n (n is an even number) small squares, each with a side length of 2 millimeters. There are a total of (n-1) squares in the center of each square. There are (n-1) intersection points, with the central intersection point being the dimension reference point. There are a total of 4 dimension reference points across the four grids, denoted as dimension reference point C1, C2, C3, and C4. These four dimension reference points form a standard rectangle with fixed length and width, denoted as H and W respectively. Secondly, the die-cast part or screen cover to be inspected: Four infrared planar light sources are installed directly below the four corners of the die-cast part or screen cover to be inspected, namely infrared planar light source 1, infrared planar light source 2, infrared planar light source 3, and infrared planar light source 4. Each infrared planar light source is connected to a translation mechanism, namely translation mechanism 1, translation mechanism 2, translation mechanism 3, and translation mechanism 4. The four infrared light sources and four translation mechanisms are connected to the host computer via control bus 2, allowing the host computer to control the opening and closing of the infrared planar light sources at appropriate times. Simultaneously, the host computer can control translation mechanisms 1 and 2 to move infrared planar light sources 1 and 2 to the left, so that these two light sources are moved out of the area below the die-cast part or screen cover to be tested. Similarly, the host computer can control translation mechanisms 3 and 4 to move infrared planar light sources 3 and 4 to the right, so that these two light sources are moved out of the area below the die-cast part or screen cover to be tested. The third configuration is a combination of four cameras and rectangular hollow light sources: four cameras, namely camera 1, camera 2, camera 3, and camera 4, are installed above the four corners of the die-cast part or screen cover to be tested. A rectangular hollow light source, namely rectangular hollow light source 1, rectangular hollow light source 2, rectangular hollow light source 3, and rectangular hollow light source 4, is positioned directly below each camera. The light from these sources shines vertically downwards. The four cameras and four rectangular hollow light sources are connected to the host computer via control bus 1. The host computer can control the four cameras to acquire images and can also control the four rectangular hollow light sources to turn on and off.

[0030] In one feasible approach, the step of acquiring corner images of the four corner areas of the vehicle-mounted display component to be inspected includes: Based on the type of the vehicle display screen component to be tested, a target light source is determined; after turning on the target light source to illuminate the vehicle display screen component to be tested, the vehicle display screen component to be tested is photographed to obtain corner images of the four corner areas.

[0031] It should be noted that when acquiring corner images of different vehicle display screen components to be tested, the required lighting conditions vary depending on the component. Therefore, appropriate target light sources can be used to illuminate the corners according to the type of component, thus obtaining clear corner images. Specifically, when the vehicle display screen component to be tested is a die-cast part, the die-cast part is placed in the testing area. The host computer controls translation mechanism 1 and translation mechanism 2 via control bus 2 to move infrared planar light source 1 and infrared planar light source 2 to below the corner of the die-cast part or screen cover. Translation mechanism 3 and translation mechanism 4 are then controlled to move infrared planar light source 3 and infrared planar light source 4 to below the corner of the die-cast part or screen cover, keeping infrared planar light source 1, infrared planar light source 2, infrared planar light source 3, and infrared planar light source 4 in the off state. The host computer then turns on rectangular hollow light source 1, rectangular hollow light source 2, rectangular hollow light source 3, and rectangular hollow light source 4 via control bus 1. The host computer, via control bus 2, controls cameras 1, 2, 3, and 4 to image the four corners of the die-cast part to be inspected, obtaining corner images of the four corner areas. When the vehicle display component to be inspected is a screen cover, the screen cover is also placed in the inspection area. The host computer, via control bus 2, controls translation mechanisms 1 and 2 to move infrared planar light sources 1 and 2 below the corner of the screen cover to be inspected, and controls translation mechanisms 3 and 4 to move infrared planar light sources 3 and 4 below the corner of the die-cast part or screen cover to be inspected. Then, the host computer, via control bus 2, turns on infrared planar light sources 1, 2, 3, and 4, and turns off rectangular hollow light sources 1, 2, 3, and 4 via control bus 1. Finally, the host computer, via control bus 2, controls cameras 1, 2, 3, and 4 to image the four corners of the screen cover to be inspected, obtaining corner images of the four corner areas.

[0032] Step S20: Extract the straight edge features of each corner region from the corner image; It should be noted that image processing algorithms can be used to analyze each corner image to identify and locate prominent straight lines representing the boundaries of components. These straight edge features reflect the physical contours of the components in the image and serve as a direct basis for dimensional calculations.

[0033] In one feasible approach, the step of extracting the straight edge features of each corner region from the corner image includes: performing a smoothing filter on the corner image to obtain a filtered image; performing an image enhancement process on the filtered image to obtain an enhanced image; performing adaptive threshold segmentation on the enhanced image to obtain a segmented image; and identifying and extracting straight edge features in the horizontal and vertical directions from the segmented image.

[0034] Understandably, this can be achieved by first applying a filter to the image with a kernel size of 5. A mean filter of 5 is applied to obtain the filtered image G. ib For image G ib The enhanced image G is obtained by using the following formula. ie : G ie =(1 β)×I+β×G ib +0.25×(G i +G ib ) In the formula, G i The image is the original image, and β is an adjustable parameter that is adjusted according to the actual imaging effect.

[0035] For image G ie The image G can be segmented using an adaptive thresholding algorithm based on the maximum inter-class variance method. is For the segmented image G is The straight edge features in the horizontal and vertical directions of the die casting can be extracted using the Hough transform method, denoted as L. h L v Then calculate L h L v The intersection point V of the straight lines i The coordinates of the intersection point of two straight lines in each camera image relative to the dimension reference point in the physical coordinate system are obtained by performing coordinate transformation using the following formula. i : R i =V i ×T i Among them, T i The transformation relationship between camera coordinates and actual physical coordinates can be obtained through camera calibration. The physical coordinates R1, R2, R3, and R4 of the intersection points of the horizontal and vertical straight lines at the four corners of the die-cast part relative to each dimensional reference point are obtained through the above steps. Finally, R1, R2, R3, and R4 are converted to coordinates R in the global coordinate system. r1 R r2 R r3 R r4 .

[0036] In one feasible approach, before the step of extracting the straight edge features of each corner region from the corner image, the method further includes: determining whether straight edge features that meet preset conditions can be extracted from the corner image; if they cannot be extracted, then determining that the appearance of the vehicle display component to be inspected is unqualified.

[0037] It should be noted that before performing formal dimensional calculations, a straight line edge extraction is first attempted. The system will determine whether the extracted straight lines are clear, continuous, and whether the number meets expectations. For example, it will determine whether two distinct straight lines, one horizontal and one vertical, can be extracted. If straight line features that meet the requirements cannot be extracted (for example, due to poor painting, scratches, or contamination on the surface of the component, resulting in blurred or missing edges), the system will directly determine that the component's appearance is unqualified, and no further dimensional calculations or screening are required.

[0038] Step S30: Calculate the outline dimensions of the vehicle display component to be detected based on the straight edge features; It should be noted that, based on the extracted straight edge features of multiple corners (such as the coordinates of the intersection of straight lines), the key contour dimensions of the component as a whole, such as the length of the four sides, are derived through coordinate transformation and geometric calculation.

[0039] In one feasible approach, the step of calculating the outline size of the vehicle display component to be inspected based on the straight edge features includes: determining the image coordinates of the intersection point of the straight edges in the horizontal and vertical directions based on the straight edge features; converting the intersection point image coordinates into actual physical coordinates; and calculating the outline size of the vehicle display component to be inspected based on the actual physical coordinates.

[0040] Calculate R respectively r1 With R r2 Euclidean distance L 12 R r3 With R r4 Euclidean distance L 34 R r1 With R r3 Euclidean distance L 13 R r2 With R r4 Euclidean distance L 24 .

[0041] Step S40: Screen the vehicle display components to be tested according to the outline dimensions.

[0042] It should be noted that the calculated actual contour dimensions are compared with the preset design standard dimensions and tolerance ranges. Based on the comparison results (such as whether it is within the tolerance and the error level), the system automatically determines whether the part is "qualified" or "unqualified", thereby achieving automated screening.

[0043] In one feasible approach, the step of screening the vehicle display component to be inspected based on the outline size includes: comparing the outline size with the corresponding preset standard length to obtain the size error; determining the error level of the vehicle display component to be inspected based on the size error; and screening the vehicle display component to be inspected based on the error level.

[0044] It should be noted that when performing the screening, the first step is to determine whether the dimensions of the die-cast part meet the design tolerance requirements. Only the L value needs to be checked. 12 L 34 L 13 L 24 First, check if the dimensions are within the design tolerance range. Second, subtract the design standard value A from each of these four values. 12 A 34 A 13 A 24 The actual dimensional error E is obtained. 12 E 34 E 13 E 24 ,Right now:

[0045] The dimensional errors of the die castings can then be classified. Based on the dimensional tolerance requirements of the die castings, the dimensional errors of the die castings can be divided into multiple levels, and then the dimensional error level of the die castings can be determined.

[0046] This embodiment acquires corner images of the four corner regions of the vehicle display component to be inspected; extracts the straight edge features of each corner region from the corner images; calculates the outline dimensions of the vehicle display component to be inspected based on the straight edge features; and filters the vehicle display components to be inspected based on the outline dimensions. This embodiment, by extracting the straight edge features of the four corner regions of the component and calculating the outline dimensions based on them, can more accurately reflect the actual size of the component, thereby improving the accuracy of vehicle display component screening.

[0047] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 Before step S10, the vehicle display screen component screening method further includes steps S01 to S03: Step S01: Acquire an image of the calibration platform with size scale markings already set; It should be noted that, firstly, the die-cast part or screen cover to be tested should not be placed above the marble base. Simultaneously, the host computer, via control bus 2, controls translation mechanisms 1 and 2 to move infrared planar light sources 1 and 2 to the left, so that these two light sources are no longer below the die-cast part or screen cover to be tested. Then, it controls translation mechanisms 3 and 4 to move infrared planar light sources 3 and 4 to the right, so that these two light sources are no longer below the die-cast part or screen cover to be tested. Next, the host computer, via control bus 1, activates rectangular hollow light sources 1, 2, 3, and 4. After the light sources are activated, the host computer, via control bus 1, controls camera 1 to photograph the dimensional scale grid 1 on the marble base, camera 2 to photograph the dimensional scale grid 2 on the marble base, camera 3 to photograph the dimensional scale grid 3 on the marble base, and camera 4 to photograph the dimensional scale grid 4 on the marble base.

[0048] Step S02: Identify multiple size reference points from the image of the calibration platform; It should be noted that the host computer uses a visual algorithm to extract the set of intersection points of each size scale grid. }、{ }、{ }、{ The dimensions are reference points C1, C2, C3, and C4, and the camera image rotation angles are A1, A2, A3, and A4. The process is as follows: For each image I, first apply a filter with a kernel size of 3. The mean filter of 3 is used to obtain the filtered image I. ib For image I ib The enhanced image I is obtained by using the following formula. ie :

[0049] In the formula, It is an adjustable parameter that can be adjusted according to the actual imaging effect.

[0050] For image I ie The image I is obtained by using an adaptive threshold segmentation algorithm. s ; Since the size scale is a grid, each individual grid cell is a square. For the segmented image I s The horizontal and vertical lines of the grid are extracted using the Hough transform method. After obtaining the horizontal and vertical lines, the intersection points of the horizontal and vertical lines are calculated to obtain the set of intersection points for each grid size. Each set contains (n-1) elements. There are (n-1) intersection points, with the central intersection point being the dimension reference point C. i Once the dimensional reference points are confirmed, they can be used as a reference. Figure 4 Select two intersection points, B1 and B2, to the left and right of the reference point and on the same grid line as the reference point; select two intersection points, B3 and B4, above and below the reference point and on the same grid line as the reference point.

[0051] Step S03: Establish the transformation relationship between the image coordinate system and the actual physical coordinate system based on the size reference point.

[0052] It should be noted that in the actual physical coordinate system, the dimension reference point C is denoted as... i The material coordinates are C ir (0,0), since the subgrid is a 2 mm square, let the coordinates of B1, B2, B3, and B4 be B. 1r (-2,0), B 2r (2,0), B 3r (0,2), B 4r (0, -2). For each camera, the transformation relationship between the camera's coordinates and the actual physical coordinates can be obtained. It can be obtained using the following formula:

[0053] In the formula,

[0054] Repeat the above steps to complete the local calibration of the four cameras. For the dimension reference points C1, C2, C3, and C4 extracted from the four cameras, establish a global coordinate system with dimension reference point C1 as the origin. Then, the global coordinates of dimension reference point C1 are C... r1 (0,0), the global coordinates of the dimension reference point C2 are C r2 (0,H), the global coordinates of the dimension reference point C3 are C r3 (W,0), the global coordinates of the dimension datum point C4 are C r4 (W,H).

[0055] The above steps complete the local and global calibration of the four cameras.

[0056] This embodiment pre-calibrates the camera and establishes a precise image-physical coordinate transformation relationship, fundamentally ensuring the absolute accuracy and reliability of all subsequent image measurements and size calculations, thus laying the foundation for the entire high-precision screening process.

[0057] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the method for selecting vehicle display screen components in this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0058] This application also provides a vehicle display screen component screening device, please refer to... Figure 5 The vehicle-mounted display screen component screening device includes: The acquisition module 10 is used to acquire corner images of the four corner areas of the vehicle display component to be inspected; Extraction module 20 is used to extract the straight edge features of each corner region from the corner image; The calculation module 30 is used to calculate the outline dimensions of the vehicle display component to be detected based on the straight edge features; The screening module 40 is used to screen the vehicle display component to be inspected based on the outline size.

[0059] This embodiment acquires corner images of the four corner regions of the vehicle display component to be inspected; extracts the straight edge features of each corner region from the corner images; calculates the outline dimensions of the vehicle display component to be inspected based on the straight edge features; and filters the vehicle display components to be inspected based on the outline dimensions. This embodiment, by extracting the straight edge features of the four corner regions of the component and calculating the outline dimensions based on them, can more accurately reflect the actual size of the component, thereby improving the accuracy of vehicle display component screening.

[0060] In one embodiment, the acquisition module 10 is further configured to determine a target light source based on the type of the vehicle display component to be tested; after turning on the target light source to illuminate the vehicle display component to be tested, the module takes a picture of the vehicle display component to be tested to obtain corner images of the four corner areas.

[0061] In one embodiment, the extraction module 20 is further configured to perform smoothing filtering on the corner image to obtain a filtered image; perform image enhancement processing on the filtered image to obtain an enhanced image; perform adaptive threshold segmentation on the enhanced image to obtain a segmented image; and identify and extract straight line edge features in the horizontal and vertical directions from the segmented image.

[0062] In one embodiment, the calculation module 30 is further configured to determine the image coordinates of the intersection point of the horizontal and vertical straight line edges based on the straight line edge features; convert the intersection point image coordinates into actual physical coordinates; and calculate the contour dimensions of the vehicle display component to be detected based on the actual physical coordinates.

[0063] In one embodiment, the screening module 40 is further configured to compare the contour size with the corresponding preset standard length to obtain the size error; determine the error level of the vehicle display component to be inspected based on the size error; and screen the vehicle display component to be inspected based on the error level.

[0064] In one embodiment, the acquisition module 10 is further configured to acquire an image of a calibration platform with size scale markings; identify multiple size reference points from the image of the calibration platform; and establish a transformation relationship between the image coordinate system and the actual physical coordinate system based on the size reference points.

[0065] In one embodiment, the extraction module 20 is further configured to determine whether straight edge features that meet preset conditions can be extracted from the corner image; if they cannot be extracted, the appearance of the vehicle display component to be inspected is determined to be unqualified.

[0066] The vehicle display component screening device provided in this application, employing the vehicle display component screening method in the above embodiments, can solve the technical problem of how to improve the accuracy of vehicle display component screening. Compared with the prior art, the beneficial effects of the vehicle display component screening device provided in this application are the same as those of the vehicle display component screening method provided in the above embodiments, and other technical features in the vehicle display component screening device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0067] This application provides a vehicle display component screening device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the vehicle display component screening method in the first embodiment described above.

[0068] The following is for reference. Figure 6 The diagram illustrates a structural schematic suitable for implementing the vehicle display component screening device of the embodiments of this application. The vehicle display component screening device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), vehicle terminals (e.g., vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6The vehicle display component screening device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0069] like Figure 6 As shown, the vehicle display component sorting device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in ROM (Read Only Memory) 1002 or a program loaded from storage device 1003 into RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the vehicle display component sorting device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via bus 1005. Input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touch screens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. The communication device 1009 allows the vehicle display component screening device to communicate wirelessly or wiredly with other devices to exchange data. Although the figures show vehicle display component screening devices with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.

[0070] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0071] The vehicle display component screening device provided in this application, employing the vehicle display component screening method in the above embodiments, can solve the technical problem of how to improve the accuracy of vehicle display component screening. Compared with the prior art, the beneficial effects of the vehicle display component screening device provided in this application are the same as those of the vehicle display component screening method provided in the above embodiments, and other technical features in this vehicle display component screening device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0072] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0073] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0074] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the vehicle display screen component screening method in the above embodiments.

[0075] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0076] The aforementioned computer-readable storage medium may be included in the vehicle display component sorting device; or it may exist independently and not assembled into the vehicle display component sorting device.

[0077] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the vehicle display component screening device, cause the vehicle display component screening device to: acquire corner images of four corner regions of the vehicle display component to be inspected; extract straight edge features of each corner region from the corner images; calculate the outline size of the vehicle display component to be inspected based on the straight edge features; and screen the vehicle display component to be inspected based on the outline size.

[0078] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0079] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0080] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0081] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described vehicle display component screening method, thereby solving the technical problem of how to improve the accuracy of vehicle display component screening. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the vehicle display component screening method provided in the above embodiments, and will not be repeated here.

[0082] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the vehicle display component selection method described above.

[0083] The computer program product provided in this application can solve the technical problem of how to improve the accuracy of vehicle display component selection. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the vehicle display component selection method provided in the above embodiments, and will not be repeated here.

[0084] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for screening components of an in-vehicle display screen, characterized in that, The method includes: Capture corner images of the four corner areas of the vehicle display component to be inspected; Extract the straight edge features of each corner region from the corner image; The outline dimensions of the vehicle display component to be detected are calculated based on the straight edge features. The vehicle display components to be inspected are screened based on the outline dimensions.

2. The method as described in claim 1, characterized in that, The steps of acquiring corner images of the four corner areas of the vehicle display component to be inspected include: The target light source is determined based on the type of the vehicle display component to be tested; After illuminating the vehicle display screen component under test by turning on the target light source, the vehicle display screen component under test is photographed to obtain corner images of the four corner areas.

3. The method as described in claim 1, characterized in that, The step of extracting the straight edge features of each corner region from the corner image includes: The corner image is smoothed and filtered to obtain a filtered image; The filtered image is then subjected to image enhancement processing to obtain an enhanced image; The enhanced image is subjected to adaptive threshold segmentation to obtain a segmented image; Identify and extract straight line edge features in the horizontal and vertical directions from the segmented image.

4. The method as described in claim 1, characterized in that, The step of calculating the outline dimensions of the vehicle display component to be detected based on the straight edge features includes: The image coordinates of the intersection point of the straight line edges in the horizontal and vertical directions are determined based on the straight line edge features. Convert the intersection point image coordinates into actual physical coordinates; The outline dimensions of the vehicle display component to be tested are calculated based on the actual physical coordinates.

5. The method as described in claim 1, characterized in that, The step of screening the vehicle display component to be inspected based on the outline size includes: The outline dimension is compared with the corresponding preset standard length to obtain the size error; The error level of the vehicle display component to be tested is determined based on the dimensional error. The vehicle display components to be tested are screened according to the error level.

6. The method as described in claim 1, characterized in that, Before the step of acquiring corner images of the four corner areas of the vehicle-mounted display component to be inspected, the method further includes: Acquire images of the calibration platform that has been set with size scale markings; Multiple dimensional reference points were identified from the image of the calibration platform; Based on the aforementioned size reference points, a transformation relationship between the image coordinate system and the actual physical coordinate system is established.

7. The method as described in claim 1, characterized in that, Before the step of extracting the straight edge features of each corner region from the corner image, the method further includes: Determine whether straight edge features that meet preset conditions can be extracted from the corner image; If it cannot be extracted, the appearance of the vehicle display component to be tested is deemed unqualified.

8. A vehicle-mounted display screen component screening device, characterized in that, The device includes: The acquisition module is used to acquire corner images of the four corner areas of the vehicle display component to be inspected; The extraction module is used to extract the straight edge features of each corner region from the corner image; The calculation module is used to calculate the outline dimensions of the vehicle display component to be detected based on the straight edge features; The filtering module is used to filter the vehicle display components to be inspected based on the outline dimensions.

9. A vehicle-mounted display screen component screening device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the vehicle display component screening method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the vehicle display screen component screening method as described in any one of claims 1 to 7.