Automobile air conditioner housing detection method and system

By constructing features in the hole area of ​​the automotive air conditioner shell and adjusting the camera shooting direction, combined with the circumferential fill light technology, the problem of difficulty in detecting the boss characteristics in the existing technology is solved, and the effective definition and detection of the qualification level of the automotive air conditioner shell is achieved.

CN118442921BActive Publication Date: 2025-04-08常熟华新汽车零部件有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410621602.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2025-04-08
Estimated Expiration
2044-05-20

AI Technical Summary

Technical Problem

The prior art is difficult to detect the boss characteristics of the automotive air conditioner shell. These characteristics affect the air outlet direction and are difficult to accurately present in the hole area, resulting in the inability to effectively define the qualification level of the automotive air conditioner shell.

Method used

By constructing hole characteristics in the hole position area, adjusting the shooting direction of the camera to capture the hole position image, and triggering annular fill light to show edge brightness and size, ensuring that the boss features are clearly presented in the image. The passing level of the car air conditioner housing is defined based on the deviation between the wind sway direction and the preset direction.

Benefits of technology

Accurate detection and presentation of the boss features of the car air conditioner shell is realized. By controlling the pass level by the deviation amount, the accuracy and fairness of the inspection are improved, and the problem that the boss features cannot be viewed due to the influence of brightness are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118442921B_ABST
    Figure CN118442921B_ABST
Patent Text Reader

Abstract

The present invention discloses a detection method and system for an automobile air-conditioning shell, which constructs a hole feature based on a hole region, and adjusts the shooting direction of a camera according to the orientation of the hole feature, so as to output a hole image when the camera is facing the hole feature. At the same time, the camera's circumferential fill light is triggered according to the edge brightness and edge size of the hole feature, thereby ensuring the presentation of the boss feature in the hole image and avoiding the boss feature being unable to be viewed due to the brightness influence in the hole region. Furthermore, a wind deflection direction is defined according to the wind guide direction responsible for the hole feature and the orientations of multiple boss features, and a qualified grade of the automobile air-conditioning shell is defined based on the deviation between the wind deflection direction and a preset direction, so as to control the qualified grade of the automobile air-conditioning shell through the deviation, and introduces the influence of the deviation on the qualified grade of the automobile air-conditioning shell, which is not only limited by tolerance, but is reflected based on the overall effect of the wind deflection direction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of automobile air-conditioning shell detection, and in particular to an automobile air-conditioning shell detection method and system. Background Art

[0002] With the development of science and technology, automobile air conditioners are applied to automobiles. The automobile air conditioner casing is the shell part of the automobile air conditioner and is provided with vents. The vents are often presented through hole features. For example, the vents are hole features located on the front side of the automobile air conditioner casing. In the prior art, the automobile air conditioner casing is formed by injection molding based on a mold. When the hole features are formed in the automobile air conditioner casing, boss features are easily formed. The distribution of the boss features will affect the air outlet direction of the automobile air conditioner casing. However, the boss features are not easy to be detected in the prior art, and the qualified grade of the automobile air conditioner casing cannot be defined based on the wind deflection direction. Summary of the invention

[0003] The purpose of the present invention is to overcome the deficiencies of the prior art. The present invention provides a method and system for detecting an automobile air-conditioning casing. A hole feature is constructed based on a hole region, and the shooting direction of a camera is adjusted according to the orientation of the hole feature, so as to output a hole image when the camera is facing the hole feature. At the same time, the camera's circumferential fill light is triggered according to the edge brightness and edge size of the hole feature, thereby ensuring the presentation of the boss feature in the hole image and avoiding the inability to view the boss feature due to the brightness influence in the hole region. Furthermore, a wind deflection direction is defined according to the wind guide direction that the hole feature is responsible for and the orientation of multiple boss features, and the qualified grade of the automobile air-conditioning casing is defined based on the deviation between the wind deflection direction and the preset direction, so as to control the qualified grade of the automobile air-conditioning casing through the deviation, and introduce the influence of the deviation on the qualified grade of the automobile air-conditioning casing, which is not only limited by tolerance, but is reflected based on the overall effect of the wind deflection direction.

[0004] In order to solve the above technical problems, an embodiment of the present invention provides a method for detecting an automobile air-conditioning shell, which is applied to the detection scenario of the automobile air-conditioning shell; the method for detecting the automobile air-conditioning shell comprises:

[0005] During the inspection of the automobile air-conditioning shell, an image of the automobile air-conditioning shell is collected;

[0006] Locate the hole area based on the image of the automobile air conditioner shell, and construct the hole feature based on the hole area;

[0007] The corresponding camera is triggered based on the aspect ratio of the hole feature, and the shooting direction of the camera is adjusted according to the orientation of the hole feature;

[0008] When the camera shoots the hole feature of the automobile air conditioner housing, the edge brightness of the hole feature is collected, and the camera's circumferential fill light is triggered according to the edge brightness and edge size of the hole feature;

[0009] Collecting hole position images based on a camera, and determining a plurality of boss features based on the hole position images;

[0010] The wind deflection direction is defined according to the wind direction that the hole feature is responsible for and the orientation of multiple boss features;

[0011] The qualified grade of the automobile air conditioner housing is defined based on the deviation between the wind deflection direction and the preset direction.

[0012] Optionally, during the detection process of the automobile air conditioner housing, collecting an image of the automobile air conditioner housing includes:

[0013] Obtain the arrival signal of the automobile air-conditioning casing;

[0014] activating a plurality of first cameras located around the housing of the automobile air conditioner based on a signal of arrival of the housing of the automobile air conditioner;

[0015] Collecting the placement position and orientation of the automobile air conditioner housing, and adjusting the positions of the plurality of first cameras relative to the automobile air conditioner housing according to the placement position and orientation, wherein the plurality of first cameras are arranged circumferentially along the automobile air conditioner housing;

[0016] Multiple first cameras synchronously shoot the automobile air conditioner casing and collect real-time images from multiple different directions;

[0017] The image of the automobile air-conditioning shell is formed by integrating a plurality of real-time images in different directions. The image of the automobile air-conditioning shell is a panoramic image centered on the automobile air-conditioning shell.

[0018] Optionally, locating the hole area based on the image of the automobile air conditioner housing, and constructing the hole feature based on the hole area, includes:

[0019] Freeze the image of the car air conditioner housing;

[0020] Performing region division based on the image of the automobile air-conditioning shell and forming multiple sub-regions;

[0021] Determining a hole location region based on region recognition of the plurality of sub-regions;

[0022] Highlight the closed-loop contour line of the hole area and check the runout difference at each position in the closed-loop contour line;

[0023] intercepting a plurality of runout differences in the continuous line segment, and optimizing the closed-loop contour line based on the plurality of runout differences and a central area of ​​the closed-loop contour line;

[0024] The optimized closed-loop contour line is collected, and the hole position features are constructed according to the closed-loop contour line.

[0025] Optionally, triggering a corresponding camera based on the aspect ratio of the hole feature, and adjusting the shooting direction of the camera according to the orientation of the hole feature, includes:

[0026] Traversing the hole features, collecting the arc amplitudes of the hole features, and defining the arc grade based on the arc amplitudes;

[0027] Obtain the long side parameters and narrow side parameters of the hole feature;

[0028] Defining a first length-to-narrow ratio based on the long side parameter and the narrow side parameter;

[0029] Determine the length-to-narrow ratio of the hole feature according to the first length-to-narrow ratio and the arc grade;

[0030] Matching multiple cameras based on the length-to-width ratio of the aperture feature, where the length-to-width ratio of the lens area formed by the multiple cameras matches the length-to-width ratio of the aperture feature;

[0031] The orientation of the hole feature is collected, and the shooting direction of the camera is adjusted according to the orientation of the hole feature. At this time, the lens of the camera is aligned with the opening of the hole feature.

[0032] Optionally, when the camera shoots the hole feature of the automobile air conditioner housing, the edge brightness of the hole feature is collected, and the circumferential fill light of the camera is triggered according to the edge brightness and edge size of the hole feature, including:

[0033] When the camera captures the hole feature of the automobile air conditioner housing, the edge of the hole feature is traversed;

[0034] sequentially detecting brightness along the edge portion, and marking the detected brightness on the peripheral side of the edge portion;

[0035] An edge brightness map is constructed based on the brightness of the edge portion and the mark, and the edge brightness of the hole feature is determined.

[0036] Optionally, when the camera shoots the hole feature of the automobile air conditioner housing, the edge brightness of the hole feature is collected, and the circumferential fill light of the camera is triggered according to the edge brightness and edge size of the hole feature, and further includes:

[0037] Calculate the brightness change between two adjacent brightnesses in sequence along the extension direction of the edge portion;

[0038] Compare the brightness change with a preset brightness change threshold, and remove edge brightness that exceeds the preset brightness change threshold to optimize the edge brightness map;

[0039] Associate the optimized edge brightness map and edge size;

[0040] The camera's circumferential fill light is triggered according to the edge brightness and edge size. At this time, the camera's circumferential fill light includes the position of the fill light and the brightness of the fill light.

[0041] Optionally, the collecting of hole position images based on a camera and determining a plurality of boss features based on the hole position images include:

[0042] The hole position features are photographed directly based on the camera, and the hole position images are collected;

[0043] Locate the inner circle area based on the hole position image;

[0044] Scan the inner circle area and mark the protruding parts;

[0045] Collecting multiple convex and protruding parts, and performing similar comparison based on the multiple convex and protruding parts;

[0046] If the outer contours of the multiple protruding parts are consistent, the multiple protruding parts are considered to be protruding ribs, and the protruding ribs are considered to be part of the automobile air conditioner housing;

[0047] If there is inconsistency in the outer contours of the multiple protruding parts, it is considered that there is a boss feature between the multiple protruding parts, and type recognition of the multiple protruding parts is triggered to define the multiple boss features.

[0048] Optionally, the wind deflection direction is defined according to the wind guiding direction of the hole feature and the orientation of the plurality of boss features, including:

[0049] Freeze the hole feature and collect the hole size of the hole feature;

[0050] The air guide direction of the hole feature is defined based on the hole size and the extension direction of the hole feature;

[0051] The airflow direction that the associated hole feature is responsible for and the orientation of multiple boss features;

[0052] Construct a wind virtual scene based on the wind direction of the hole features and the orientation of multiple boss features;

[0053] Conduct wind power virtualization according to wind power virtual scenarios;

[0054] Carry out wind tests based on different wind force levels and mark the wind yaw directions at different wind force levels.

[0055] Optionally, the step of defining the qualified grade of the automobile air conditioner housing based on the deviation between the wind deflection direction and the preset direction includes:

[0056] Collect wind yaw direction and preset direction;

[0057] Calculate the deviation based on the wind swing direction and the preset direction at the same position;

[0058] Associate the deviation amount and wind force level;

[0059] Matching corresponding deviations in each wind force level, and determining a level change amount based on a difference between a plurality of deviations;

[0060] Define the qualified grade of automobile air-conditioning casing according to the grade variation.

[0061] Optionally, a detection system for an automobile air-conditioning shell is provided, wherein the detection system for the automobile air-conditioning shell is applied to the above-mentioned detection method for the automobile air-conditioning shell, and the detection system for the automobile air-conditioning shell comprises:

[0062] The acquisition module is used to acquire the image of the automobile air conditioner shell during the detection process of the automobile air conditioner shell;

[0063] A hole location module is used to locate the hole location area based on the image of the automobile air conditioner housing and to construct hole location features based on the hole location area;

[0064] A direction module is used to trigger the corresponding camera based on the aspect ratio of the hole feature and adjust the shooting direction of the camera according to the orientation of the hole feature;

[0065] A fill light module is used to collect the edge brightness of the hole feature when the camera shoots the hole feature of the automobile air conditioner housing, and trigger the camera's circumferential fill light according to the edge brightness and edge size of the hole feature;

[0066] A boss feature module is used to collect hole position images based on a camera and determine multiple boss features based on the hole position images;

[0067] A deflection module is used to define the wind deflection direction according to the wind direction that the hole feature is responsible for and the orientation of multiple boss features;

[0068] The qualified grade module is used to define the qualified grade of the automobile air-conditioning casing based on the deviation between the wind deflection direction and the preset direction.

[0069] In an embodiment of the present invention, through the method in the embodiment of the present invention, during the inspection process of the automobile air-conditioning shell, an image of the automobile air-conditioning shell is collected; the hole area is located based on the image of the automobile air-conditioning shell, and the hole feature is constructed based on the hole area; the corresponding camera is triggered based on the aspect ratio of the hole feature, and the shooting direction of the camera is adjusted according to the orientation of the hole feature; when the camera shoots the hole feature of the automobile air-conditioning shell, the edge brightness of the hole feature is collected, and the circumferential fill light of the camera is triggered according to the edge brightness and edge size of the hole feature; the hole image is collected based on the camera, and multiple boss features are determined for the hole image; the wind deflection direction is defined according to the wind guide direction responsible for the hole feature and the orientation of multiple boss features; the qualified grade of the automobile air-conditioning shell is defined based on the deviation between the wind deflection direction and the preset direction. When the hole feature is constructed based on the hole area, the shooting direction of the camera is adjusted according to the orientation of the hole feature, so that the hole image is output when the camera is facing the hole feature. At the same time, the edge brightness and edge size of the hole feature trigger the circumferential fill light of the camera, so as to ensure the presentation of the boss feature in the hole image and avoid the boss feature being unable to be viewed due to the brightness influence in the hole area. Furthermore, the wind deflection direction is defined according to the wind guide direction responsible for the hole feature and the orientation of multiple boss features, and the qualified grade of the automobile air-conditioning shell is defined based on the deviation between the wind deflection direction and the preset direction, so as to control the qualified grade of the automobile air-conditioning shell through the deviation, and introduce the influence of the deviation on the qualified grade of the automobile air-conditioning shell, which is not only limited by the tolerance, but is reflected based on the overall effect of the wind deflection direction. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0071] Figure 1 is a flow chart of a method for detecting an automobile air-conditioning housing in an embodiment of the present invention;

[0072] Figure 2 is a flow chart of S11 in the method for detecting the casing of an automobile air conditioner in an embodiment of the present invention;

[0073] Figure 3 is a flow chart of S12 in the method for detecting the casing of an automobile air conditioner in an embodiment of the present invention;

[0074] Figure 4 is a flow chart of S13 in the method for detecting the casing of an automobile air conditioner in an embodiment of the present invention;

[0075] Figure 5 is a flow chart of S14 in the method for detecting the casing of an automobile air conditioner in an embodiment of the present invention;

[0076] Figure 6 is a flow chart of S15 in the method for detecting the casing of an automobile air conditioner in an embodiment of the present invention;

[0077] Figure 7 is a flow chart of S16 in the method for detecting the casing of an automobile air conditioner in an embodiment of the present invention;

[0078] Figure 8 Schematic diagram of the structure of the detection system of the automobile air-conditioning housing in the embodiment of the present invention;

[0079] Fig. 9 The figure is a hardware diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0080] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0081] Example

[0082] See also Figures 1 to 9 , a method for detecting an automobile air-conditioning shell, which is applied to the detection scenario of the automobile air-conditioning shell; the method for detecting the automobile air-conditioning shell comprises:

[0083] Step S11: during the detection process of the automobile air conditioner housing, collecting an image of the automobile air conditioner housing;

[0084] Step S12: locating the hole area based on the image of the automobile air conditioner housing, and constructing a hole feature based on the hole area;

[0085] Step S13: triggering a corresponding camera based on the length-to-width ratio of the hole feature, and adjusting the shooting direction of the camera according to the orientation of the hole feature;

[0086] Step S14: when the camera shoots the hole feature of the automobile air conditioner housing, the edge brightness of the hole feature is collected, and the circumferential fill light of the camera is triggered according to the edge brightness and edge size of the hole feature;

[0087] Step S15: collecting a hole position image based on a camera, and determining a plurality of boss features based on the hole position image;

[0088] Step S16: defining the wind deflection direction according to the wind guiding direction of the hole feature and the orientation of the plurality of boss features;

[0089] Step S17: defining the qualified grade of the automobile air conditioner casing based on the deviation between the wind deflection direction and the preset direction.

[0090] In an embodiment of the present invention, through the method in the embodiment of the present invention, a hole feature is constructed based on the hole area, and the shooting direction of the camera is adjusted according to the orientation of the hole feature, so as to output a hole image when the camera is facing the hole feature. At the same time, the edge brightness and edge size of the hole feature are triggered to trigger the circumferential fill light of the camera, thereby ensuring the presentation of the boss feature in the hole image and avoiding the boss feature being unable to be viewed due to the brightness influence in the hole area. Furthermore, the wind deflection direction is defined according to the wind guide direction responsible for the hole feature and the orientation of multiple boss features, and the qualified grade of the automobile air-conditioning casing is defined based on the deviation between the wind deflection direction and the preset direction, so as to control the qualified grade of the automobile air-conditioning casing through the deviation, and introduce the influence of the deviation on the qualified grade of the automobile air-conditioning casing, which is not only limited by the tolerance, but is reflected based on the overall effect of the wind deflection direction.

[0091] In step S11, during the detection process of the automobile air conditioner housing, an image of the automobile air conditioner housing is collected;

[0092] In the specific implementation process of the present invention, the specific steps may be:

[0093] S111: Acquiring a signal indicating that the housing of the automobile air conditioner is in position;

[0094] S112: activating a plurality of first cameras located around the housing of the automobile air conditioner based on a signal indicating that the housing of the automobile air conditioner is in position;

[0095] S113: collecting the placement position and orientation of the automobile air conditioner housing, and adjusting the positions of the plurality of first cameras relative to the automobile air conditioner housing according to the placement position and orientation. At this time, the plurality of first cameras are arranged circumferentially along the automobile air conditioner housing;

[0096] S114: The plurality of first cameras synchronously photograph the automobile air conditioner housing and collect multiple real-time images in different directions;

[0097] S115: An image of the automobile air-conditioning housing is formed according to the integration of a plurality of real-time images in different directions. The image of the automobile air-conditioning housing is a panoramic image with the automobile air-conditioning housing as the center.

[0098] In an embodiment of the present application, the automobile air-conditioning shell is conveyed to an in-position position, and an in-position signal of the automobile air-conditioning shell is triggered, so as to activate multiple first cameras located on the periphery of the automobile air-conditioning shell based on the in-position signal of the automobile air-conditioning shell, thereby taking targeted photos of the automobile air-conditioning shell through the multiple first cameras located on the periphery of the automobile air-conditioning shell, so as to make full use of the multiple first cameras located on the periphery of the automobile air-conditioning shell and avoid the transfer of the cameras.

[0099] At this time, the placement position and orientation of the automobile air-conditioning shell are collected, and the positions of multiple first cameras relative to the automobile air-conditioning shell are adjusted according to the placement position and orientation. At this time, multiple first cameras are arranged circumferentially along the automobile air-conditioning shell, and a shooting system for the surrounding side of the automobile air-conditioning shell is constructed, so that multiple first cameras can synchronously shoot the automobile air-conditioning shell and collect multiple real-time images in different directions, and make full use of multiple real-time images in different directions, so as to form an image of the automobile air-conditioning shell according to the integration of multiple real-time images in different directions, and the image of the automobile air-conditioning shell is a panoramic image centered on the automobile air-conditioning shell.

[0100] Furthermore, the image of the automobile air-conditioning shell covers the features of the automobile air-conditioning shell in all directions, so as to fully present the automobile air-conditioning shell, and present it through a panoramic image centered on the automobile air-conditioning shell.

[0101] In step S12, the hole area is located based on the image of the automobile air conditioner housing, and the hole feature is constructed based on the hole area;

[0102] In the specific implementation process of the present invention, the specific steps may be:

[0103] S121: freeze frame image of automobile air conditioner housing;

[0104] S122: performing region division based on the image of the automobile air conditioner housing, and forming a plurality of sub-regions;

[0105] S123: Determine the hole location area based on the area recognition of the multiple sub-areas;

[0106] S124: highlighting the closed-loop contour line of the hole area, and checking the runout difference of each position in the closed-loop contour line;

[0107] S125: intercepting a plurality of run-out differences in the continuous line segment, and optimizing the closed-loop contour line based on the plurality of run-out differences and a central area of ​​the closed-loop contour line;

[0108] S126: Collect the optimized closed-loop contour line, and construct the hole position feature according to the closed-loop contour line.

[0109] In an embodiment of the present application, an image of a casing of an automobile air-conditioner is frozen, and image processing is performed on the image of the casing of the automobile air-conditioner, so as to divide the region based on the image of the casing of the automobile air-conditioner and form a plurality of sub-regions, thereby introducing synchronous processing of the plurality of sub-regions, improving the image processing efficiency of the image of the casing of the automobile air-conditioner, and ensuring the processing effect of the image of the casing of the automobile air-conditioner.

[0110] Furthermore, the hole area is determined based on the area recognition of multiple sub-areas, so that the hole area can be screened out through multiple sub-areas, ensuring the processing of the hole area. At this time, the closed-loop contour line of the hole area is highlighted, and the run-out difference of each position in the closed-loop contour line is checked, and the change of the contour line is presented through the run-out difference of each position in the closed-loop contour line, so as to facilitate the change of the contour line.

[0111] At this time, multiple run-out differences in the continuous line segment are intercepted, and the closed-loop contour line is optimized based on the multiple run-out differences and the central area of ​​the closed-loop contour line; the optimized closed-loop contour line is collected, and the hole position feature is constructed according to the closed-loop contour line, thereby ensuring the accuracy of the hole position feature. At the same time, some abnormal line segments of the closed-loop contour line are eliminated based on the change of the run-out difference, thereby optimizing the closed-loop contour line.

[0112] In step S13, the corresponding camera is triggered based on the aspect ratio of the hole feature, and the shooting direction of the camera is adjusted according to the orientation of the hole feature;

[0113] In the specific implementation process of the present invention, the specific steps may be:

[0114] S131: traversing hole features, collecting arc amplitudes of the hole features, and defining arc grades based on the arc amplitudes;

[0115] S132: Obtaining long side parameters and narrow side parameters of the hole feature;

[0116] S133: defining a first length-to-narrow ratio based on the long side parameter and the narrow side parameter;

[0117] S134: determining a length-to-narrow ratio of the hole feature according to the first length-to-narrow ratio and the arc grade;

[0118] S135: matching the multiple cameras based on the length-to-width ratio of the hole feature, where the length-to-width ratio of the lens area formed by the multiple cameras matches the length-to-width ratio of the hole feature;

[0119] S136: collecting the orientation of the hole feature, and adjusting the shooting direction of the camera according to the orientation of the hole feature. At this time, the lens of the camera is aligned with the opening of the hole feature.

[0120] In an embodiment of the present application, the long side parameters and the narrow side parameters of the hole feature are obtained, and the long side parameters and the narrow side parameters of the hole feature are controlled so as to define a first length-to-narrow ratio based on the long side parameters and the narrow side parameters, thereby presenting the ratio between the long side parameters and the narrow side parameters through the first length-to-narrow ratio.

[0121] At this time, multiple cameras are matched based on the length-to-width ratio of the hole feature. At this time, the length-to-width ratio of the lens area formed by the multiple cameras matches the length-to-width ratio of the hole feature, so that the lens area formed by the multiple cameras matches the hole feature, thereby fully presenting the hole feature in the corresponding direction, and controlling the edge part of the hole feature. Therefore, the orientation of the hole feature is collected, and the shooting direction of the camera is adjusted according to the orientation of the hole feature. At this time, the lens of the camera is aligned with the opening of the hole feature, thereby realizing the position control of the camera relative to the opening of the hole feature, and ensuring the camera's shooting of the hole feature.

[0122] S14: when the camera captures the hole feature of the automobile air conditioner housing, the edge brightness of the hole feature is collected, and the circumferential fill light of the camera is triggered according to the edge brightness and edge size of the hole feature;

[0123] In the specific implementation process of the present invention, the specific steps may be:

[0124] S141: when the camera captures the hole feature of the automobile air conditioner housing, traverse the edge portion of the hole feature;

[0125] S142: sequentially detecting brightness along the edge portion, and marking the detected brightness on the periphery of the edge portion;

[0126] S143: constructing an edge brightness map based on the brightness of the edge portion and the mark, and determining the edge brightness of the hole feature;

[0127] S144: calculating the brightness change between two adjacent brightnesses in sequence along the extension direction of the edge portion;

[0128] S145: Compare the brightness change with a preset brightness change threshold, and remove edge brightness exceeding the preset brightness change threshold to optimize the edge brightness map;

[0129] S146: Associating the optimized edge brightness map and edge size;

[0130] S147: triggering the circumferential fill light of the camera according to the edge brightness and the edge size. At this time, the circumferential fill light of the camera includes the position of the fill light and the brightness of the fill light.

[0131] In an embodiment of the present application, when a camera captures a hole feature of an automobile air-conditioning casing, the edge portion of the hole feature is traversed so as to perform targeted processing on the edge portion of the hole feature. At this time, brightness is introduced into the edge portion, and the brightness is detected sequentially along the edge portion so as to mark the detected brightness on the surrounding side of the edge portion, thereby constructing an edge brightness map based on the edge portion and the marked brightness, and determining the edge brightness of the hole feature.

[0132] Therefore, the edge brightness map fully highlights the shape and brightness of the edge part, so as to control the brightness of the edge part, so as to calculate the brightness change between two adjacent brightnesses along the extension direction of the edge part in sequence, and then compare the brightness change with the preset brightness change threshold, and eliminate the edge brightness that exceeds the preset brightness change threshold, so as to optimize the edge brightness map, thereby achieving further optimization of the edge brightness map.

[0133] Therefore, the optimized edge brightness map and edge size are associated, and the edge size is controlled, so as to trigger the camera's circumferential fill light according to the edge brightness and edge size. At this time, the camera's circumferential fill light includes the position of the fill light and the brightness of the fill light. The position of the fill light and the brightness of the fill light are relative, and different fill light brightnesses are presented at different fill light positions, thereby achieving appropriate fill light at the fill light position, so that the brightness of the edge part reaches a balanced state, thereby facilitating the camera's shooting.

[0134] S15: collecting a hole position image based on a camera, and determining a plurality of boss features based on the hole position image;

[0135] In the specific implementation process of the present invention, the specific steps may be:

[0136] S151: photographing the hole position features directly based on the camera and collecting the hole position image;

[0137] S152: locating the inner circle area according to the hole position image;

[0138] S153: Scan the inner circle area and mark the protruding part;

[0139] S154: collecting a plurality of convex and protruding parts, and performing similar comparison based on the plurality of convex and protruding parts;

[0140] S155: If the outer contours of the multiple protruding parts are consistent, the multiple protruding parts are considered to be protruding ribs, and the protruding ribs are used as part of the automobile air conditioner housing;

[0141] S156: If there is inconsistency in the outer contours of the multiple protruding parts, it is considered that there is a boss feature between the multiple protruding parts, and type recognition of the multiple protruding parts is triggered to define the multiple boss features.

[0142] In an embodiment of the present application, a hole feature is constructed based on the hole area, and the shooting direction of the camera is adjusted according to the orientation of the hole feature, so as to output a hole image when the camera is facing the hole feature. At the same time, the edge brightness and edge size of the hole feature are used to trigger the camera's circumferential fill light, thereby ensuring the presentation of the boss feature in the hole image and avoiding the boss feature being unable to be viewed due to the brightness influence in the hole area.

[0143] Furthermore, the hole position features are photographed head-on based on the camera, and the hole position image is collected; the inner circle area is located according to the hole position image to facilitate scanning of the inner circle area, and the protruding parts are marked, so as to manage and control multiple protruding parts. At this time, multiple protruding parts are collected, and similar comparisons are made based on the multiple protruding parts, so as to facilitate self-inspection between the multiple protruding parts, and realize rapid recognition of the boss features through comparison results.

[0144] Therefore, if the outer contours of multiple protruding parts are consistent, it is considered that the multiple protruding parts are all protruding ribs. As a part of the automobile air-conditioning casing, the protruding rib is not a feature that affects the air outlet and does not need to be processed.

[0145] If there is inconsistency between the outer contours of multiple protruding parts, it is considered that there are boss features between the multiple protruding parts, and the type recognition of the multiple protruding parts is triggered to define multiple boss features. The multiple boss features are managed and controlled so as to define the wind deflection direction according to the wind guide direction that the hole feature is responsible for and the orientation of the multiple boss features, and define the qualified grade of the automobile air-conditioning casing based on the deviation between the wind deflection direction and the preset direction, so as to control the qualified grade of the automobile air-conditioning casing through the deviation, and introduce the influence of the deviation on the qualified grade of the automobile air-conditioning casing, which is not only limited by tolerance, but is reflected based on the overall effect of the wind deflection direction.

[0146] S16: defining a wind deflection direction according to the wind guiding direction of the hole feature and the orientation of the plurality of boss features;

[0147] In the specific implementation process of the present invention, the specific steps may be:

[0148] S161: freeze the hole feature and collect the hole size of the hole feature;

[0149] S162: defining the air guide direction of the hole feature based on the hole size and the extension direction of the hole feature;

[0150] S163: The air guide direction of the associated hole feature and the orientation of multiple boss features;

[0151] S164: constructing a wind virtual scene according to the wind direction of the hole feature and the orientation of the plurality of boss features;

[0152] S165: Perform wind force virtualization according to the wind force virtual scene;

[0153] S166: Perform wind tests based on different wind force levels and mark the wind yaw directions at different wind force levels.

[0154] In an embodiment of the present application, the hole feature is frozen, and the hole size of the hole feature is collected, the hole size of the hole feature is introduced, and the hole size of the hole feature is further controlled so that the air guide direction that the hole feature is responsible for is defined based on the hole size and the extension direction of the hole feature, thereby controlling it along the air guide direction.

[0155] Furthermore, the wind direction that the hole feature is responsible for and the orientation of multiple boss features are associated; a wind virtual scene is constructed according to the wind direction that the hole feature is responsible for and the orientation of multiple boss features, so as to facilitate wind virtualization according to the wind virtual scene, thereby achieving wind control.

[0156] Therefore, wind virtualization is performed according to the wind virtual scene; wind tests are carried out based on different wind force levels, and the wind swing directions under different wind force levels are marked, so as to define the qualified grade of the automobile air-conditioning casing based on the deviation between the wind swing direction and the preset direction, so as to control the qualified grade of the automobile air-conditioning casing through the deviation, and introduce the influence of the deviation on the qualified grade of the automobile air-conditioning casing, which is not only limited by tolerance, but is reflected based on the overall effect of the wind swing direction.

[0157] S17: defining the qualified level of the automobile air conditioner housing based on the deviation between the wind deflection direction and the preset direction;

[0158] In the specific implementation process of the present invention, the specific steps may be:

[0159] Collect wind swing direction and preset direction; calculate deviation based on wind swing direction and preset direction at the same position; associate deviation with wind force level; match corresponding deviation in each wind force level, and determine level change based on the difference of multiple deviations; define qualified level of automobile air conditioner casing according to level change.

[0160] In an embodiment of the present invention, through the method in the embodiment of the present invention, a hole feature is constructed based on the hole area, and the shooting direction of the camera is adjusted according to the orientation of the hole feature, so as to output a hole image when the camera is facing the hole feature. At the same time, the edge brightness and edge size of the hole feature are triggered to trigger the circumferential fill light of the camera, thereby ensuring the presentation of the boss feature in the hole image and avoiding the boss feature being unable to be viewed due to the brightness influence in the hole area. Furthermore, the wind deflection direction is defined according to the wind guide direction responsible for the hole feature and the orientation of multiple boss features, and the qualified grade of the automobile air-conditioning casing is defined based on the deviation between the wind deflection direction and the preset direction, so as to control the qualified grade of the automobile air-conditioning casing through the deviation, and introduce the influence of the deviation on the qualified grade of the automobile air-conditioning casing, which is not only limited by the tolerance, but is reflected based on the overall effect of the wind deflection direction.

[0161] Example

[0162] See also Figure 8 , Figure 8 It is a schematic diagram of the structural composition of the detection system of the automobile air-conditioning housing in an embodiment of the present invention.

[0163] like Figure 8 As shown, a detection system for an automobile air-conditioning housing, the detection system for the automobile air-conditioning housing comprises:

[0164] The acquisition module 21 is used to acquire an image of the automobile air conditioner housing during the detection process of the automobile air conditioner housing;

[0165] A hole location module 22, used for locating a hole location region based on an image of the automobile air conditioner housing, and constructing a hole location feature based on the hole location region;

[0166] A direction module 23, used to trigger a corresponding camera based on the aspect ratio of the hole feature, and to adjust the shooting direction of the camera according to the orientation of the hole feature;

[0167] The fill light module 24 is used to collect the edge brightness of the hole feature when the camera shoots the hole feature of the automobile air conditioner housing, and trigger the camera's circumferential fill light according to the edge brightness and edge size of the hole feature;

[0168] The boss feature module 25 is used to collect the hole position image based on the camera and determine a plurality of boss features based on the hole position image;

[0169] A deflection module 26, used to define a wind deflection direction according to the wind guiding direction of the hole feature and the orientation of the plurality of boss features;

[0170] The qualified grade module 27 is used to define the qualified grade of the automobile air conditioner casing based on the deviation between the wind deflection direction and the preset direction.

[0171] Example

[0172] See also Fig. 9 , refer to the following Fig. 9 The electronic device 40 according to this embodiment of the present invention will be described. Fig. 9 The electronic device 40 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0173] like Fig. 9 As shown, the electronic device 40 is in the form of a general computing device. The components of the electronic device 40 may include but are not limited to: at least one processing unit 41, at least one storage unit 42, and a bus 43 connecting different system components (including the storage unit 42 and the processing unit 41).

[0174] The storage unit stores program codes, which can be executed by the processing unit 41, so that the processing unit 41 executes the steps according to various exemplary embodiments of the present invention described in the above “Embodiment Method” section of this specification.

[0175] The storage unit 42 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit 421 and / or a cache storage unit 422 , and may further include a read-only storage unit (ROM) 423 .

[0176] The storage unit 42 may also include a program / utility 424 having a set (at least one) of program modules 425, such program modules 425 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0177] Bus 43 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0178] The electronic device 40 may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 40, and / or any device that enables the electronic device 40 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 44. Furthermore, the electronic device 40 may also communicate with one or more networks (e.g., local area networks, wide area networks, and / or public networks, such as the Internet) via a network adapter 45. Fig. 9As shown, the network adapter 45 communicates with other modules of the electronic device 40 via the bus 43. It should be understood that although Fig. 9 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, tape drives, and data backup planning systems.

[0179] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0180] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: a read-only memory, a random access memory, a disk or an optical disk, etc. In addition, it stores computer program instructions, and when the computer program instructions are executed by a computer, the computer executes the above method.

[0181] In addition, the above is a detailed introduction to the detection method and system for the automobile air-conditioning casing provided in the embodiment of the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for detecting an automobile air-conditioning housing, characterized in that: Applicable to the detection scenario of automobile air-conditioning shell; the detection method of automobile air-conditioning shell includes: During the inspection of the automobile air-conditioning shell, an image of the automobile air-conditioning shell is collected; Locate the hole area based on the image of the automobile air conditioner shell, and construct the hole feature based on the hole area; The corresponding camera is triggered based on the aspect ratio of the hole feature, and the shooting direction of the camera is adjusted according to the orientation of the hole feature; When the camera shoots the hole feature of the automobile air conditioner housing, the edge brightness of the hole feature is collected, and the camera's circumferential fill light is triggered according to the edge brightness and edge size of the hole feature; Collecting hole position images based on a camera, and determining a plurality of boss features based on the hole position images; The wind deflection direction is defined according to the wind direction that the hole feature is responsible for and the orientation of multiple boss features; Defining the qualified level of the automobile air conditioner housing based on the deviation between the wind deflection direction and the preset direction; The method of locating the hole area based on the image of the automobile air-conditioning shell and constructing the hole feature based on the hole area includes: freezing the image of the automobile air-conditioning shell; dividing the area based on the image of the automobile air-conditioning shell and forming a plurality of sub-areas; determining the hole area based on the area recognition of the plurality of sub-areas; highlighting the closed-loop contour line of the hole area and checking the run-out difference at each position in the closed-loop contour line; intercepting a plurality of run-out differences in a continuous line segment and optimizing the closed-loop contour line based on the plurality of run-out differences and the central area of ​​the closed-loop contour line; collecting the optimized closed-loop contour line and constructing the hole feature based on the closed-loop contour line.

2. The method for detecting the casing of an automobile air conditioner according to claim 1, characterized in that: In the process of detecting the automobile air conditioner housing, collecting an image of the automobile air conditioner housing includes: Obtain the arrival signal of the automobile air-conditioning casing; activating a plurality of first cameras located around the housing of the automobile air conditioner based on a signal of arrival of the housing of the automobile air conditioner; Collecting the placement position and orientation of the automobile air conditioner housing, and adjusting the positions of the plurality of first cameras relative to the automobile air conditioner housing according to the placement position and orientation, wherein the plurality of first cameras are arranged circumferentially along the automobile air conditioner housing; Multiple first cameras synchronously shoot the automobile air conditioner casing and collect real-time images from multiple different directions; The image of the automobile air-conditioning shell is formed by integrating a plurality of real-time images in different directions. The image of the automobile air-conditioning shell is a panoramic image centered on the automobile air-conditioning shell.

3. The method for detecting the automobile air conditioner housing according to claim 1, characterized in that: The triggering of the corresponding camera based on the length-to-width ratio of the hole feature and adjusting the shooting direction of the camera according to the orientation of the hole feature include: Traversing the hole features, collecting the arc amplitudes of the hole features, and defining the arc grade based on the arc amplitudes; Obtain the long side parameters and narrow side parameters of the hole feature; Defining a first length-to-narrow ratio based on the long side parameter and the narrow side parameter; Determine the length-to-narrow ratio of the hole feature according to the first length-to-narrow ratio and the arc grade; Matching multiple cameras based on the length-to-width ratio of the aperture feature, where the length-to-width ratio of the lens area formed by the multiple cameras matches the length-to-width ratio of the aperture feature; The orientation of the hole feature is collected, and the shooting direction of the camera is adjusted according to the orientation of the hole feature. At this time, the lens of the camera is aligned with the opening of the hole feature.

4. The method for detecting the automobile air conditioner housing according to claim 3, characterized in that: When the camera shoots the hole feature of the automobile air conditioner housing, the edge brightness of the hole feature is collected, and the circumferential fill light of the camera is triggered according to the edge brightness and edge size of the hole feature, including: When the camera captures the hole feature of the automobile air conditioner housing, the edge of the hole feature is traversed; sequentially detecting brightness along the edge portion, and marking the detected brightness on the peripheral side of the edge portion; An edge brightness map is constructed based on the brightness of the edge portion and the mark, and the edge brightness of the hole feature is determined.

5. The method for detecting the automobile air conditioner housing according to claim 4, characterized in that: When the camera shoots the hole feature of the automobile air conditioner housing, the edge brightness of the hole feature is collected, and the circumferential fill light of the camera is triggered according to the edge brightness and edge size of the hole feature, and further includes: Calculate the brightness change between two adjacent brightnesses in sequence along the extension direction of the edge portion; Compare the brightness change with a preset brightness change threshold, and remove edge brightness that exceeds the preset brightness change threshold to optimize the edge brightness map; Associate the optimized edge brightness map and edge size; The camera's circumferential fill light is triggered according to the edge brightness and edge size. At this time, the camera's circumferential fill light includes the position of the fill light and the brightness of the fill light.

6. The method for detecting the automobile air conditioner housing according to claim 5, characterized in that: The method of collecting hole position images based on a camera and determining a plurality of boss features based on the hole position images includes: The hole position features are photographed directly based on the camera, and the hole position images are collected; Locate the inner circle area based on the hole position image; Scan the inner circle area and mark the protruding parts; Collecting multiple convex and protruding parts, and performing similar comparison based on the multiple convex and protruding parts; If the outer contours of the multiple protruding parts are consistent, the multiple protruding parts are considered to be protruding ribs, and the protruding ribs are considered to be part of the automobile air conditioner housing; If there is inconsistency in the outer contours of the multiple protruding parts, it is considered that there is a boss feature between the multiple protruding parts, and type recognition of the multiple protruding parts is triggered to define the multiple boss features.

7. The method for detecting the automobile air conditioner housing according to claim 6, characterized in that: Defining the wind deflection direction according to the wind guide direction of the hole feature and the orientation of the plurality of boss features includes: Freeze the hole feature and collect the hole size of the hole feature; The air guide direction of the hole feature is defined based on the hole size and the extension direction of the hole feature; The airflow direction that the associated hole feature is responsible for and the orientation of multiple boss features; Construct a wind virtual scene based on the wind direction of the hole features and the orientation of multiple boss features; Conduct wind power virtualization according to wind power virtual scenarios; Carry out wind tests based on different wind force levels and mark the wind yaw directions at different wind force levels.

8. The method for detecting the automobile air conditioner housing according to claim 7, characterized in that: The method of defining the qualified grade of the automobile air conditioner housing based on the deviation between the wind deflection direction and the preset direction includes: Collect wind yaw direction and preset direction; Calculate the deviation based on the wind swing direction and the preset direction at the same position; Associate the deviation amount and wind force level; Matching corresponding deviations in each wind force level, and determining a level change amount based on a difference between a plurality of deviations; Define the qualified grade of automobile air-conditioning casing according to the grade variation.

9. A detection system for automobile air-conditioning housing, characterized in that: The detection system of the automobile air-conditioning shell is applied to the detection method of the automobile air-conditioning shell as claimed in any one of claims 1 to 8, and the detection system of the automobile air-conditioning shell comprises: The acquisition module is used to acquire the image of the automobile air conditioner shell during the detection process of the automobile air conditioner shell; A hole location module is used to locate the hole location area based on the image of the automobile air conditioner housing and to construct hole location features based on the hole location area; A direction module is used to trigger the corresponding camera based on the aspect ratio of the hole feature and adjust the shooting direction of the camera according to the orientation of the hole feature; A fill light module is used to collect the edge brightness of the hole feature when the camera shoots the hole feature of the automobile air conditioner housing, and trigger the camera's circumferential fill light according to the edge brightness and edge size of the hole feature; A boss feature module is used to collect hole position images based on a camera and determine multiple boss features based on the hole position images; A deflection module is used to define the wind deflection direction according to the wind direction that the hole feature is responsible for and the orientation of multiple boss features; A qualified grade module, used for defining the qualified grade of the automobile air conditioner housing based on the deviation between the wind deflection direction and the preset direction; The method of locating the hole area based on the image of the automobile air-conditioning shell and constructing the hole feature based on the hole area includes: freezing the image of the automobile air-conditioning shell; dividing the area based on the image of the automobile air-conditioning shell and forming a plurality of sub-areas; determining the hole area based on the area recognition of the plurality of sub-areas; highlighting the closed-loop contour line of the hole area and checking the run-out difference at each position in the closed-loop contour line; intercepting a plurality of run-out differences in a continuous line segment and optimizing the closed-loop contour line based on the plurality of run-out differences and the central area of ​​the closed-loop contour line; collecting the optimized closed-loop contour line and constructing the hole feature based on the closed-loop contour line.

Citation Information

Patent Citations

  • Method and device for controlling flash of automobile air conditioner shell

    CN118456760A