Method for determining deviation of curved glass bending profile based on neural network
By using a neural network-based method, the preceding and following images of curved glass are acquired and processed to generate individualized target contour sequences and propagation sensitive area sequences. A new residual sequence for hot bending is constructed, which solves the accuracy and stability problems of bending contour deviation detection in existing technologies and achieves efficient bending contour deviation determination.
Patent Information
- Application Number
- CN202611513926.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies struggle to effectively distinguish between prior profile disturbances and new anomalies added during the hot bending process when detecting bending profile deviations in curved glass. Furthermore, they are difficult to adapt to different product models and workstation conditions, leading to frequent misjudgments and missed judgments, and failing to meet the production line's requirements for detection accuracy and stability.
A neural network-based approach is adopted to extract and serialize the contours of the images after edge grinding and chamfering and the images after hot bending. Individualized post-contact target contour sequences and propagation sensitive area sequences are generated, and a new residual sequence of hot bending is constructed. The recovery error sequence is obtained through inverse recovery. The segmentation judgment is performed by combining the continuity of local curvature and the consistency of corresponding segments of the left and right shoulders, and the bending contour deviation judgment result is output.
It improves the accuracy and stability of bending profile deviation judgment, reduces misjudgment and omission, reduces the pressure of manual verification, and facilitates its application on continuous manufacturing lines.
Smart Images

Figure CN123160551A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and more specifically, to a method for determining the bending profile deviation of curved glass based on neural networks. Background Technology
[0002] As display terminals increasingly demand higher precision in the shape of curved glass, computer curved glass typically undergoes a series of processes during continuous manufacturing, including edge grinding and chamfering, hot bending, film coating, and film application. Among these processes, the hot bending process has a significant impact on the final bending profile precision of the product. Therefore, production lines usually need to detect and determine the profile deviation after hot bending.
[0003] In existing technologies, common methods often involve manual visual inspection, contour extraction and comparison based on single subsequent images, or matching the hot-bent contour with a uniform standard template. These methods can achieve basic inspection on products with relatively simple structures, but for curved glass with left shoulder transition sections, bottom curvature sections, and right shoulder transition sections, they are often susceptible to defects caused by previous edge grinding and chamfering, unstable boundaries, and factors such as reflections, support contact, and local edge blurring in the hot-bent image. This leads to large fluctuations in the contour extraction results, thus affecting the accuracy of deviation judgment.
[0004] Especially in continuous manufacturing scenarios, if judgment is made based solely on a single image or a uniform template after hot bending, it is usually difficult to effectively distinguish between previous contour disturbances and new anomalies added in the hot bending process. It is also difficult to take into account the individual contour changes caused by different product models, workstation conditions, and mold differences. This can easily lead to misjudgments, omissions, or the need for extensive manual verification, making it difficult to meet the production line's requirements for detection accuracy, stability, and automated judgment capabilities. Summary of the Invention
[0005] This application provides a method for determining the bending profile deviation of curved glass based on neural networks, so as to at least solve some of the technical problems existing in the related technologies described above.
[0006] According to a first aspect of the embodiments of this application, a method for determining the bending profile deviation of curved glass based on a neural network is provided, including: Obtain the preceding image after edge grinding and chamfering and the following image after hot bending, and complete the pairing based on sample association information; Contour extraction and serialization are performed on the preceding and subsequent images respectively to obtain the preceding contour sequence, the preceding defect marker sequence, the preceding unstable marker sequence, the subsequent contour sequence, the subsequent boundary confidence value sequence, and the anomaly candidate value sequence. The preceding and following contour sequences are segmented into corresponding segments: left straight edge segment, left shoulder transition segment, bottom curved segment, right shoulder transition segment, and right straight edge segment. Based on the preceding contour sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the process context, an individualized subsequent target contour sequence and a propagation sensitive area sequence are generated. A new residual sequence for hot bending is constructed based on the subsequent contour sequence, the individualized subsequent target contour sequence, the subsequent boundary confidence value sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the propagation sensitive area sequence. Inverse recovery is performed based on the subsequent contour sequence, the individualized subsequent target contour sequence, the hot bending newly added residual sequence, the subsequent boundary confidence value sequence, and the abnormal candidate value sequence to obtain the inverse recovery preceding contour sequence, and the recovery error sequence is obtained by comparing it with the preceding contour sequence. Based on the recovery error sequence, the hot bending new residual sequence, the propagation sensitive area sequence, the subsequent boundary confidence value sequence, the local curvature continuity and the consistency of the corresponding segments of the left and right shoulders, the segment judgment result is constructed, and the bending contour deviation judgment result is output based on the segment judgment result.
[0007] As an optional approach, contour extraction and serialization processing of the preceding image are performed, including: inputting the preceding image into a preceding contour extraction model to obtain a preceding contour probability map, a preceding defect probability map, and a preceding instability probability map; performing threshold separation and boundary tracking based on the preceding contour probability map to obtain a preceding contour curve; performing pose normalization, arc length calculation, and resampling on the preceding contour curve to obtain a preceding contour sequence; and reading the values of the preceding defect probability map and the preceding instability probability map at the sampling points corresponding to the preceding contour sequence to obtain a preceding defect marker sequence and a preceding instability marker sequence, respectively.
[0008] As an optional approach, contour extraction and serialization processing are performed on the subsequent image, including: inputting the subsequent image into the subsequent contour extraction model to obtain a subsequent contour probability map, a subsequent boundary confidence map, and an anomaly candidate response map; performing boundary tracking based on the subsequent contour probability map to obtain the subsequent contour curve; performing pose normalization, arc length calculation, and resampling on the subsequent contour curve with the same reference as the preceding contour curve to obtain the subsequent contour sequence; and reading the values of the subsequent boundary confidence map and the anomaly candidate response map at the sampling points corresponding to the subsequent contour sequence to obtain the subsequent boundary confidence value sequence and the anomaly candidate value sequence, respectively.
[0009] As an optional approach, the preceding contour sequence and the following contour sequence are segmented accordingly, including: determining the boundary positions of the left straight edge segment, the left shoulder transition segment, the bottom curved segment, the right shoulder transition segment, and the right straight edge segment based on the curvature change of the preceding contour sequence; segmenting the preceding contour sequence according to the boundary positions; segmenting the following contour sequence according to the same boundary positions and sampling order as the preceding contour sequence, and establishing a mirror correspondence between the left shoulder transition segment and the right shoulder transition segment.
[0010] As an optional approach, generating individualized subsequent target contour sequences and propagation sensitive region sequences includes: inputting the preceding contour sequence into the preceding sequence encoding module, inputting the preceding defect marker sequence and the preceding unstable marker sequence into the preceding marker encoding module, and inputting the process context into the process context encoding module; inputting the outputs of the preceding sequence encoding module, the preceding marker encoding module, and the process context encoding module into the inter-segment relationship encoding module; and inputting the outputs of the inter-segment relationship encoding module into the target contour decoding module and the propagation sensitive region decoding module, respectively, to obtain the individualized subsequent target contour sequence and propagation sensitive region sequence.
[0011] As an optional approach, a new residual sequence for hot bending is constructed, comprising: for each sampling point of the subsequent contour sequence, multiplying the corresponding subsequent boundary confidence value by one minus the corresponding preceding defect marker value and one minus the corresponding preceding instability marker value to obtain a point-by-point confidence coefficient; correcting the point-by-point confidence coefficient located within the propagation sensitive area according to the propagation sensitive area sequence to obtain a corrected point-by-point confidence coefficient; obtaining the point-by-point hot bending new residual based on the difference in normal coordinates between the subsequent contour sequence and the individualized subsequent target contour sequence at the same sampling point and the corrected point-by-point confidence coefficient; and assembling the point-by-point hot bending new residuals of each sampling point into a new residual sequence for hot bending according to the sampling order.
[0012] As an optional approach, reverse recovery is performed, including: inputting the subsequent contour sequence into the subsequent sequence encoding module, inputting the hot bending new residual sequence and the individualized subsequent target contour sequence into the target difference encoding module, and inputting the subsequent boundary confidence value sequence and the abnormal candidate value sequence into the auxiliary information encoding module; inputting the outputs of the subsequent sequence encoding module, the target difference encoding module, and the auxiliary information encoding module into the inter-segment recovery module; inputting the output of the inter-segment recovery module into the preceding recovery decoding module to obtain the reverse-recovered preceding contour sequence; and comparing the reverse-recovered preceding contour sequence with the preceding contour sequence at the same sampling point to obtain the recovery error sequence.
[0013] As an optional approach, the local curvature continuity and the consistency of corresponding segments of the left and right shoulders are constructed as follows: Based on the individualized subsequent target contour sequence and subsequent contour sequence, the curvature sequences of the left shoulder transition segment, the bottom bending segment, and the right shoulder transition segment are calculated, and the local curvature continuity is determined according to the difference in curvature sequences; where the curvature difference within a local window continuously exceeds the smoothing threshold, it is recorded as a local curvature continuity anomaly; based on the mirror correspondence between the left and right shoulder transition segments, the consistency of corresponding segments of the left and right shoulders is determined according to the peak positions and distribution differences of the hot bending added residual sequence and the recovery error sequence in the corresponding segments of the left and right shoulders; where the difference in the peak position on both sides exceeds the position threshold, or the difference in the length of the high value interval on both sides exceeds the length threshold, or the difference in the distribution pattern on both sides exceeds the distribution threshold, it is recorded as a consistency anomaly of corresponding segments of the left and right shoulders.
[0014] As an optional approach, a segmented judgment result is constructed, including: when the proportion of sampling points in the corresponding functional segment whose subsequent boundary confidence value is higher than the effective boundary threshold is lower than the effective sampling point proportion threshold, the functional segment is marked as pending review; when the newly added residual interval of the high-heat bending in the corresponding functional segment falls into the corresponding interval of the propagation sensitive area sequence and the peak value of the recovery error in the newly added residual interval of the high-heat bending is lower than the recovery error threshold, the functional segment is marked as the preceding perturbation interpretation; when the peak value of the newly added residual of the hot bending in the corresponding functional segment exceeds the residual threshold, the peak value of the recovery error exceeds the recovery error threshold, and at least one of the following conditions—local curvature continuity and consistency of the corresponding segments of the left and right shoulders—satisfies the abnormal condition, the functional segment is marked as hot bending abnormal; functional segments that are not marked as pending review, preceding perturbation interpretation, or hot bending abnormal are marked as normal.
[0015] According to a second aspect of the embodiments of this application, a system for determining the bending profile deviation of curved glass based on a neural network is also provided, comprising: The sample pairing module is used to acquire the preceding image after edge grinding and chamfering and the following image after hot bending, and to complete the pairing based on the sample association information; The serialization processing module is used to extract contours and serialize the preceding and following images respectively, to obtain the preceding contour sequence, the preceding defect marker sequence and the preceding unstable marker sequence, the following contour sequence, the following boundary confidence value sequence and the anomaly candidate value sequence. The corresponding segmentation module is used to segment the preceding contour sequence and the following contour sequence into corresponding segments: left straight edge segment, left shoulder transition segment, bottom curved segment, right shoulder transition segment, and right straight edge segment. The target generation module is used to generate individualized subsequent target contour sequences and propagation sensitive region sequences based on the preceding contour sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the process context. The residual construction module is used to construct a new residual sequence for hot bending based on the subsequent contour sequence, the individualized subsequent target contour sequence, the subsequent boundary confidence value sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the propagation sensitive area sequence. The reverse recovery module is used to perform reverse recovery based on the subsequent contour sequence, the individualized subsequent target contour sequence, the hot bending new residual sequence, the subsequent boundary confidence value sequence, and the abnormal candidate value sequence to obtain the reverse recovery preceding contour sequence, and compare it with the preceding contour sequence to obtain the recovery error sequence. The judgment output module is used to construct segmented judgment results based on the recovery error sequence, the hot bending new residual sequence, the propagation sensitive area sequence, the subsequent boundary confidence value sequence, the local curvature continuity and the consistency of the corresponding segments of the left and right shoulders, and output the bending contour deviation judgment result based on the segmented judgment results.
[0016] This invention performs paired analysis on the preceding image after edge grinding and chamfering and the following image after hot bending. Based on the preceding contour sequence, the preceding defect marker sequence, the preceding instability marker sequence, and the process context, it generates an individualized following target contour sequence. This allows the subsequent contour determination to no longer rely solely on a uniform template and to more accurately adapt to different product states and process conditions. Simultaneously, by combining the propagation sensitive area sequence and the following boundary confidence value sequence, a new residual sequence for hot bending is constructed. Furthermore, a recovery error sequence is obtained through inverse recovery, which can distinguish between the influence of preceding disturbances and new anomalies in the hot bending process, thereby improving the accuracy and stability of bending contour deviation determination. Furthermore, by combining local curvature continuity, consistency of corresponding segments of the left and right shoulders, and segmentation judgment mechanism, this invention enables more detailed identification of areas prone to hidden deviations, such as the transition segment of the left shoulder, the bottom bending segment, and the transition segment of the right shoulder. This helps reduce misjudgments and omissions, lowers the pressure of manual review, and facilitates its application on existing continuous manufacturing lines.
[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Furthermore, no embodiment in this disclosure is required to achieve all the effects described above. Attached Figure Description
[0018] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0019] Figure 1 This is a schematic diagram of a method for determining the bending profile deviation of curved glass based on a neural network, provided in an embodiment of this disclosure.
[0020] Figure 2 This is a schematic diagram of the serialization process provided in the embodiments of this disclosure.
[0021] Figure 3 This is a schematic diagram of the structure of the individualized subsequent target contour generation model provided in the embodiments of this disclosure.
[0022] Figure 4 This is a schematic diagram of the reverse recovery model structure provided in the embodiments of this disclosure.
[0023] Figure 5 This is a schematic diagram of a neural network-based curved glass bending profile deviation determination system provided in an embodiment of this disclosure.
[0024] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0025] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0026] This implementation method is applicable to continuous manufacturing scenarios for curved glass used in computer applications. After edge grinding and chamfering, the glass enters a curved U-shaped bending steel equipment for hot bending, followed by lamination and film application processes. The production line acquires preceding images at the edge grinding and chamfering station and subsequent images at the hot bending station, with subsequent processing completed by the same or interconnected computing devices. A correspondence is established between the preceding and subsequent images through sample association information, subsequently yielding the preceding contour sequence, subsequent contour sequence, individualized subsequent target contour sequence, hot bending added residual sequence, reverse recovery of the preceding contour sequence, and segmented judgment results. Finally, the bending contour deviation judgment result is output.
[0027] The implementation process of the method described in this application will be described in detail below with reference to specific embodiments. It should be noted that this embodiment is only used to explain this application and is not intended to limit the scope of protection of this application. Conventional adjustments or substitutions of each step by those skilled in the art without departing from the concept of this application should be included in the scope of protection of this application.
[0028] Please see Figure 1 , Figure 1 This is a flowchart of a method for determining the bending profile deviation of curved glass based on a neural network according to an embodiment of the present invention, as shown below. Figure 1 As shown, the method includes steps S1-S7: In step S1, the preceding image after edge grinding and chamfering and the following image after hot bending are obtained, and pairing is completed based on sample association information.
[0029] In some embodiments, the execution entity includes an image acquisition unit, a sample association unit, a preceding contour processing unit, a following contour processing unit, a target contour generation unit, a residual construction unit, an inverse recovery unit, and a decision output unit. These units can be centrally deployed in the same industrial computer or distributed across edge computing devices at preceding and following workstations, as long as the preceding image, following image, and sample association information remain consistent. The preceding image comes from the glass edge region after edge grinding and chamfering, and the following image comes from the glass contour region after hot bending using a curved U-shaped steel bending machine. The imaging conditions of the two types of images do not need to be exactly the same, but in actual configuration, it is preferable to maintain a similar relationship between them in pixel resolution, optical axis direction, and reference edge orientation. This is beneficial for subsequent attitude normalization and functional segment correspondence.
[0030] The sample association unit first receives at least one of the following: the piece number, carrier number, tray slot number, and batch sequence number corresponding to the preceding image. Then, it receives similar information corresponding to the following images and establishes candidate pairing relationships based on the sample association information. Since mismatches may occur when there are large fluctuations in the time frame, the sample association unit also verifies the pairing relationships after they are established by combining the acquisition time window and the product model.
[0031] In practical applications, several candidate subsequent images can be screened out first according to the main identifier. Then, it is checked whether the acquisition time of the candidate subsequent images falls within the time window allowed by the corresponding process cycle of the preceding image, and at the same time, it is checked whether the product model is consistent. Candidate subsequent images that meet the time window and product model conditions are retained, forming a pairing result between the preceding and subsequent images. If the same preceding image corresponds to multiple verified subsequent images, one pairing result can be retained according to the principle of minimum time difference, and the remaining candidate pairings are directly discarded and do not enter the subsequent processing chain. After this processing, the preceding image, the subsequent image, and the accompanying product model, curved U-shaped bending steel equipment station identifier, and mold identifier constitute a valid sample of the same piece of glass.
[0032] Before being processed by the network, both the preceding and following images undergo standard preprocessing. The image acquisition unit performs grayscale normalization and edge cropping to eliminate the effects of camera gain and background brightness fluctuations. If a color camera is used on-site, the preceding and following images can be converted to single-channel grayscale images before being fed into the subsequent model; if it is necessary to retain the color difference of the chamfered band, a three-channel format can also be retained, but the number of input channels for each model remains consistent during training and inference. After preprocessing, the preceding and following images are fed into different contour extraction branches.
[0033] In step S2, contour extraction and serialization are performed on the preceding and following images respectively to obtain the preceding contour sequence, the preceding defect marker sequence, the preceding unstable marker sequence, the following contour sequence, the following boundary confidence value sequence, and the anomaly candidate value sequence.
[0034] Specifically, please refer to Figure 2 , Figure 2 This is a schematic diagram of the serialization processing flow provided in an embodiment of this disclosure. Figure 2 As shown, in step S201, the preceding image is subjected to contour extraction and serialization processing to obtain the preceding contour sequence, the preceding defect marker sequence, and the preceding unstable marker sequence.
[0035] The preceding contour processing unit incorporates a preceding contour extraction model. This model employs a multi-branch convolutional network structure, consisting of an encoding backbone, a preceding contour output branch, a preceding defect output branch, and a preceding unstable output branch. The encoding backbone receives the preceding image and preferably uses a four-level downsampling structure. Each downsampling level includes one stride convolutional layer and two residual convolutional blocks. The kernel size can be selected as 3x3, the normalization layer can be a batch normalization layer, and the activation function can be ReLU.
[0036] The first-level encoding output mainly preserves edge grayscale transitions and chamfer details. The second and third-level encoding outputs gradually expand the receptive field to capture the structural relationship between the missing area and the adjacent contours. The fourth-level encoding output provides global shape semantics. The preceding contour output branch upsamples from the four-level encoding features step by step and restores the spatial resolution through skip connections, outputting the preceding contour probability map. The pre-sequence defect output branch uses the same upsampling path, but adds an additional local contextual convolutional layer after each decoding stage to enhance the response to missing blocks, broken edges, and edge interruptions, outputting a pre-sequence defect probability map. The pre-sequence unstable output branch utilizes more shallow and mid-level features, highlighting chamfer bandwidth variations, abnormal edge roughness, and uneven grayscale transition areas, outputting a pre-sequence unstable probability map. The three output branches share the coding backbone, so the values of the same pixel location in the three probability maps can directly correspond.
[0037] In some embodiments, during the training of the preceding contour extraction model, the training samples come from a set of preceding images that have been paired or independently archived. The annotation methods are divided into three categories: preceding contour annotation corresponds to the actual outer boundary, preceding defect annotation corresponds to missing blocks, broken edges, and contour interruption regions, and preceding unstable annotation corresponds to regions with abrupt changes in chamfer bandwidth, abnormal edge grayscale, and abnormal edge roughness.
[0038] During training, the preceding contour output branch, the preceding defect output branch, and the preceding unstable output branch are supervised by their respective labels. The preceding contour output branch can be jointly trained using cross-entropy loss and Dice loss, the preceding defect output branch can be jointly trained using cross-entropy loss and focusing loss, and the preceding unstable output branch can be jointly trained using cross-entropy loss and boundary consistency loss.
[0039] The total loss is obtained by linearly combining the losses of each branch. The combined weights of each loss are obtained through calibration, with weight values ranging from 0 to 1 and summing to 1. The initial values can be set according to the pixel proportion of each category, and subsequently adjusted on the validation set according to branch accuracy and false positive rate. Weight updates only occur during the model training phase and are no longer updated online after model deployment.
[0040] After the preceding image is inferred by the preceding contour extraction model, the preceding contour processing unit first performs threshold separation and boundary tracking on the preceding contour probability map. The threshold can be a fixed threshold or adaptively determined based on the contour probability distribution of the current batch of preceding images; if the adaptive method is used, the upper and lower limits of the threshold are constrained according to the validation set calibration to avoid excessively wide or narrow boundaries. The preceding contour curve is obtained after boundary tracking.
[0041] The system performs attitude normalization on the preceding profile curve based on the product's reference edge direction. During attitude normalization, reference axes are established primarily using stable edge points at both ends. If a significant preceding defect exists at one end, an adjacent stable point far from the defective area is selected as the replacement. After attitude normalization, the preceding profile curve undergoes arc length calculation and resampling. The resampling interval is determined based on the product dimensions and the accuracy of subsequent thermal bending analysis. For example, in one example, it can be configured to ensure that each functional segment contains at least a sufficient number of sampling points to cover the detailed variations in the shoulder transition and bottom curvature.
[0042] After resampling, a preceding contour sequence is formed, arranged in arc length order. Values from the preceding defect probability map and the preceding instability probability map are read at the sampling point locations corresponding to the preceding contour sequence, generating a preceding defect marker sequence and a preceding instability marker sequence, respectively. Each value in the preceding defect marker sequence represents the degree to which the corresponding sampling point is located within the preceding defect region, and each value in the preceding instability marker sequence represents whether the boundary stability of the corresponding sampling point has decreased. Both retain continuous value form.
[0043] In step S202, contour extraction and serialization are performed on the subsequent images to obtain the subsequent contour sequence, the subsequent boundary confidence value sequence, and the anomaly candidate value sequence.
[0044] Similarly, the post-contour processing unit incorporates a post-contour extraction model. This model also employs a multi-branch convolutional network structure, but due to reflections, support contact, and local edge blurring in the image after hot bending, the post-contour extraction model adds a set of dilated convolutional modules after shallow encoding to expand the receptive field and maintain edge resolution.
[0045] Specifically, the subsequent contour extraction model consists of an encoding backbone, a subsequent contour output branch, a subsequent boundary confidence output branch, and an anomaly candidate output branch. The first two levels of the encoding backbone are similar to the preceding contour extraction model. The third and fourth levels are followed by dilated convolutional modules, with the dilation rate optionally increasing progressively to balance large-scale contour trends and local transition details. The subsequent contour output branch outputs a subsequent contour probability map through upsampling and layer skipping connections.
[0046] The post-boundary confidence output branch reads shallow texture features and mid-level edge consistency features, and outputs a post-boundary confidence map, which reflects the confidence level of different boundary regions. The anomaly candidate output branch focuses on utilizing mid-to-high-level features to provide responses to shoulder transition discontinuities, abrupt bottom curvature changes, and local contour rhythm anomalies, and outputs an anomaly candidate response map.
[0047] In some embodiments, during the training of the subsequent contour extraction model, the subsequent contour label corresponds to the visible contour after hot bending, the subsequent boundary confidence map label can be generated by combining the consistency of repeated annotation, image sharpness classification and manual review results, and the abnormal candidate response map label is generated from manually annotated suspected abnormal areas.
[0048] The subsequent contour output branch, subsequent boundary confidence output branch, and anomaly candidate output branch are each subject to corresponding supervision. The subsequent boundary confidence output branch should preferably use regression loss to ensure the network outputs continuous confidence values; the anomaly candidate output branch should preferably use segmentation loss or region regression loss to focus the network on anomaly candidate regions in the shoulders and bottom. After training, the subsequent image is fed into the subsequent contour extraction model to obtain the subsequent contour probability map, subsequent boundary confidence map, and anomaly candidate response map.
[0049] The subsequent contour processing unit performs boundary tracking on the subsequent contour probability map to obtain the subsequent contour curve. Then, based on the same reference as the preceding contour curve, it performs pose normalization and arc length resampling to form the subsequent contour sequence. The use of the same reference here is to ensure that each subsequent sampling point can establish a stable correspondence between the preceding contour sequence, the subsequent contour sequence, and the target contour sequence.
[0050] After serialization is completed, the values of the subsequent boundary confidence map are read at the sampling points corresponding to the subsequent contour sequence to form the subsequent boundary confidence value sequence; the values of the anomaly candidate response map are read to form the anomaly candidate value sequence.
[0051] In step S3, the preceding contour sequence and the following contour sequence are divided into corresponding segments: left straight edge segment, left shoulder transition segment, bottom curved segment, right shoulder transition segment, and right straight edge segment.
[0052] Specifically, the functional segment division is completed by the preceding contour processing unit, and the subsequent contour processing unit inherits the results according to the same boundary position and sampling order. The determination of the boundary position is based on the curvature change of the preceding contour sequence. The system first calculates the tangential change of adjacent sampling points in the preceding contour sequence to obtain the curvature sequence, and then finds the intervals from low curvature to continuous high curvature and from high curvature back to low curvature from the curvature sequence. Based on this, the boundaries of the left straight edge segment, the left shoulder transition segment, the bottom curved segment, the right shoulder transition segment, and the right straight edge segment are initially determined.
[0053] If the product has slight contour fluctuations, relying solely on curvature extrema may lead to boundary jitter. Therefore, a segmented correction network can be optionally set to correct the initial boundary. The segmented correction network takes a local window of the preceding contour sequence and its curvature sequence as input. The network consists of two one-dimensional convolutional layers, one bidirectional gated recurrent unit, and one fully connected output layer, outputting the offset of each candidate boundary. The offset is clipped to update the initial boundary, obtaining the final boundary position. Subsequent contour sequences are divided into corresponding functional segments according to this boundary position, and a mirror correspondence is established between the left shoulder transition segment and the right shoulder transition segment.
[0054] In step S4, based on the preceding contour sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the process context, an individualized subsequent target contour sequence and a propagation sensitive area sequence are generated.
[0055] A segment-by-segment correspondence has been established between the preceding and subsequent contour sequences. However, directly comparing the subsequent contour sequence using a unified template will still introduce the influence of preceding boundary disturbances. Therefore, the target contour generation unit first generates an individualized subsequent target contour sequence based on the current preceding contour state of this glass piece, and simultaneously provides a propagation sensitive area sequence. Here, the propagation sensitive area sequence represents the sampling interval where preceding defects or unstable regions may affect subsequent judgments after hot bending. The system will subsequently adjust the reliability of the newly added residual sequence after hot bending based on this sequence.
[0056] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of the individualized subsequent target contour generation model provided in an embodiment of this disclosure. Figure 3 As shown, the core network inside the target contour generation unit is an individualized post-target contour generation model, which consists of a pre-sequence encoding module, a pre-mark encoding module, a process context encoding module, an inter-segment relationship encoding module, a target contour decoding module, and a propagation sensitive area decoding module.
[0057] The preceding sequence encoding module takes the preceding contour sequence as input and outputs the preceding geometric features. This module uses a one-dimensional temporal convolutional network. Each functional segment takes a set of convolutional blocks as input. Each set of convolutional blocks consists of a one-dimensional convolutional layer, a normalization layer, an activation layer, and residual connections. The kernel size can be selected as three or five, and the dilation rate gradually increases along the layers to perceive longer contour intervals without significantly increasing the computational cost.
[0058] The preorder labeling module receives the preorder missing label sequence and the preorder unstable label sequence, first performs channel concatenation, and then extracts the preorder label features through one-dimensional convolution and gated linear units. The process context encoding module receives the product model, the station identifier of the curved U-shaped steel bending equipment, and the mold identifier, maps the discrete identifiers into embedding vectors, and then outputs the process context features through a two-layer fully connected network.
[0059] The inter-segment relationship encoding module receives preceding geometric features, preceding marker features, and process context features, preferably employing a lightweight converter encoder. This module first concatenates the features of each functional segment, adds an encoding vector representing the position of the functional segment, and then passes it through a multi-head self-attention layer and a feedforward layer to learn the relationship between the left shoulder transition segment, the bottom curvature segment, and the right shoulder transition segment. The target contour decoding module receives the inter-segment relationship encoding results and outputs an individualized post-sequence target contour sequence segment by segment through a one-dimensional deconvolution layer and a residual reconstruction layer.
[0060] The propagation-sensitive region decoding module and the target contour decoding module are set up in parallel. The input of the propagation-sensitive region decoding module is the same as that of the target contour decoding module, and the output is the propagation-sensitive region sequence. The propagation-sensitive region sequence retains the same sampling order as the contour sequence and is subsequently used in the confidence coefficient correction without the need for re-interpolation.
[0061] In some embodiments, during the training of the individualized subsequent target contour generation model, the training samples are mainly selected from glass samples whose hot bending state has been manually confirmed to be stable and whose subsequent coating and lamination processes have not shown any hot bending-related anomalies. The input consists of the preceding contour sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the process context, and the supervised output is the subsequent contour sequence of the corresponding sample.
[0062] The main loss during training is the target contour reconstruction loss, with additional intra-segment smoothing constraints and left-right corresponding segment balance constraints. Intra-segment smoothing constraints limit gradient abrupt changes at adjacent sampling points in the shoulder transition segment and bottom curvature segment, while left-right corresponding segment balance constraints limit meaningless deviations of the left and right shoulder transition segments from normal samples.
[0063] The supervision of the propagation-sensitive region decoding module can be constructed in two ways: one is to manually label the samples based on the propagation effects of preceding defects; the other is to statistically determine the range of the influence band based on the distribution of subsequent deviations near preceding defects or unstable regions in normal samples, and generate pseudo-labels. Both methods can form trainable propagation-sensitive region sequence labels. After the model training is completed, the target contour generation unit feeds the preceding contour sequence, preceding defect label sequence, preceding unstable label sequence, and process context of the sample to be tested into the model to obtain an individualized subsequent target contour sequence and propagation-sensitive region sequence.
[0064] In step S5, a new residual sequence for hot bending is constructed based on the subsequent contour sequence, the individualized subsequent target contour sequence, the subsequent boundary confidence value sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the propagation sensitive area sequence.
[0065] After the individualized subsequent target contour sequence is generated, the residual construction unit performs a point-by-point comparison between the subsequent contour sequence and the individualized subsequent target contour sequence. Here, a point-by-point confidence coefficient is first constructed so that preceding defects, preceding instability, and subsequent boundary quality jointly affect the magnitude of the newly added residual sequence in the hot bending process. For the ... Let there be sampling points, and denote the subsequent boundary confidence value as . Record the preceding defect value as . Let the value of the preorder instability tag be denoted as . Then the initial pointwise confidence coefficient Calculate using the following formula:
[0066] In the formula, , and The values are all between 0 and 1. The larger the value, the clearer the subsequent boundary; The larger the value, the closer the corresponding location is to the preceding defect area; The larger the value, the closer the corresponding location is to the preceding unstable region. Therefore, the higher the degree of preceding sequence loss or instability, the lower the confidence coefficient of the corresponding sampling point. If the propagation sensitive region sequence is in the [missing value] position... The value of each sampling point is denoted as And let the propagation correction weight coefficient be . The corrected pointwise confidence coefficient It can be obtained by the following formula:
[0067] in, A weighting coefficient between 0 and 1 is used to control the degree to which the propagation-sensitive region weakens the confidence coefficient. This weighting coefficient can be obtained through statistical analysis of calibration samples or by searching the validation set after model training. If the production line conditions are stable, It can remain fixed; if the product model or the workstation of the curved U-shaped steel bending equipment changes, it should be recalibrated according to the corresponding product model and workstation. It is also a continuous value between 0 and 1.
[0068] Let the subsequent contour sequence be the first... The coordinates of each sampling point along the local normal are: The coordinates of the individualized target contour sequence along the local normal at the corresponding sampling point are: Then the first The newly added residual from hot bending at each sampling point is:
[0069] in, and They all use the same unit, representing length, therefore The unit is still length. All sampling points The newly added residual sequence after hot bending is obtained by arranging the samples in the sampling order. This sequence retains the newly added deviation information after hot bending, while reducing the participation of regions with strong preceding disturbances or poor subsequent boundary quality.
[0070] After obtaining the new residual sequence from hot bending, the residual construction unit also calculates segmented residual statistics by functional segment, including the residual peak position, peak size, and continuous high residual intervals for each functional segment. If there are multiple adjacent high residual intervals in a functional segment, the segment with the longer length and higher peak value is retained as the main high residual interval, and the remaining high residual intervals can be retained as additional records and will not enter the subsequent main decision process.
[0071] In step S6, reverse recovery is performed based on the subsequent contour sequence, the individualized subsequent target contour sequence, the hot bending new residual sequence, the subsequent boundary confidence value sequence, and the abnormal candidate value sequence to obtain the reverse recovery preceding contour sequence, and the recovery error sequence is obtained by comparing it with the preceding contour sequence.
[0072] The aforementioned hot bending residual sequence has already reflected the difference between the subsequent contour sequence and the individualized subsequent target contour sequence. However, the residual size alone is not enough to distinguish between the real hot bending anomaly and the explainable preceding disturbance. Therefore, the reverse recovery unit starts from the subsequent contour sequence, combines the individualized subsequent target contour sequence, the hot bending residual sequence, the subsequent boundary confidence value sequence, and the anomaly candidate value sequence to recover the reverse recovery preceding contour sequence, and generates the recovery error sequence accordingly.
[0073] Specifically, please refer to Figure 4 , Figure 4 This is a schematic diagram of the reverse recovery model structure provided in an embodiment of this disclosure. Figure 4 As shown, the reverse recovery unit internally sets up a reverse recovery model consisting of a subsequent sequence encoding module, a target difference encoding module, an auxiliary information encoding module, an inter-segment recovery module, and a preceding recovery decoding module.
[0074] The post-sequence encoding module receives the post-contour sequence and can structurally employ a one-dimensional temporal convolutional network similar to the pre-sequence encoding module, outputting post-sequence geometric features. The target difference encoding module simultaneously receives the hot-bending residual sequence and the individualized post-sequence target contour sequence. It first performs channel concatenation, then passes it through two layers of one-dimensional convolution and one layer of gated recurrent units, outputting difference features. This is because while the hot-bending residual sequence alone can represent the deviation, it is difficult to distinguish the target contour background in which the deviation occurs. Adding the individualized post-sequence target contour sequence allows the model to determine whether a residual of equal size appears in the shoulder transition segment or the straight edge segment.
[0075] The auxiliary information encoding module receives the subsequent boundary confidence value sequence and the anomaly candidate value sequence. Structurally, it can employ a one-dimensional convolutional layer plus an attention-weighted layer. The attention-weighted layer uses the anomaly candidate value sequence as a guide, causing the model to focus more on the intervals with higher anomaly candidate values during inverse recovery. The inter-segment recovery module receives subsequent geometric features, differential features, and auxiliary information features, preferably using a bidirectional gated recurrent unit. This module simultaneously captures the dependencies in the forward and backward directions along the sampling sequence, enabling better reconstruction of the interaction between the bottom curved segment and the shoulder transition segment. The preceding sequence recovery decoding module receives the output from the inter-segment recovery module, passes it through two one-dimensional deconvolutional layers and one linear output layer, and obtains the inversely recovered preceding sequence contour sequence.
[0076] In some embodiments, the training order of the inverse recovery model is consistent with the entire processing chain. First, the preceding contour extraction model and the following contour extraction model are fixed, then the individualized following target contour generation model is fixed, followed by the generation of individualized following target contour sequences and hot bending added residual sequences of training samples using the fixed upstream model, and finally the inverse recovery model is trained.
[0077] In this way, the inverse recovery model only learns how to deduce the preceding contour sequence from the subsequent contour sequence under given upstream results, without changing the output logic of the upstream model. The entire training and inference sequence is consistent with the physical sequence in actual production. During training, the real preceding contour sequence is used as the supervision label, and the main loss is the recovery loss. At the same time, functional segment boundary consistency constraints and intra-segment smoothness constraints are added. Functional segment boundary consistency constraints prevent the recovery results from being misaligned across segments, and intra-segment smoothness constraints limit non-physical abrupt changes in the recovery curve.
[0078] During inference, the inverse recovery unit outputs the inversely recovered preceding contour sequence and compares it point-by-point with the preceding contour sequence at the same sampling points to obtain the recovery error sequence. If the... The coordinates of the preceding contour sequence of each sampling point are: The coordinates corresponding to the reverse recovery of the preceding contour sequence are: The recovery error can be taken as the absolute value of the difference between the two. Each item in the recovery error sequence corresponds one-to-one with the same sampling point in the newly added residual sequence of hot bending, and the peak position, peak interval and distribution pattern can be directly compared later.
[0079] In step S7, a segmented judgment result is constructed based on the recovery error sequence, the hot bending new residual sequence, the propagation sensitive area sequence, the subsequent boundary confidence value sequence, the local curvature continuity and the consistency of the corresponding segments of the left and right shoulders, and the bending contour deviation judgment result is output based on the segmented judgment result.
[0080] After obtaining the recovery error sequence, the output unit further constructs the local curvature continuity and the consistency of corresponding segments of the left and right shoulders. The local curvature continuity is generated by the curvature difference between the individualized subsequent target contour sequence and the subsequent contour sequence. The system calculates curvature sequences for the transition segment of the left shoulder, the bottom bending segment, and the transition segment of the right shoulder, respectively.
[0081] Curvature can be calculated using either a three-point local fitting method or by dividing the change in tangential direction by the change in local arc length. If the three-point local fitting method is used, each sampling point forms a local arc with its adjacent points to obtain the corresponding curvature. If the tangential change method is used, the tangential angle between adjacent sampling points is calculated first, and then the change in tangential angle is calculated.
[0082] The system then calculates the curvature difference between the individualized subsequent target contour sequence and the subsequent contour sequence at corresponding sampling points, and observes whether the difference shows a sudden increase within a local window. If the curvature difference in a certain local window continuously exceeds the smoothing threshold, the window is recorded as a local curvature continuity anomaly interval. This interval shares the same sampling coordinate system with the hot bending new residual sequence and the recovery error sequence, thus allowing for direct comparison of positional relationships.
[0083] The consistency of the corresponding segments of the left and right shoulders is calculated based on the mirror correspondence between the transition segments of the left and right shoulders. The judgment output unit first rearranges the right shoulder transition segment in mirror order, then aligns it with the left shoulder transition segment, and reads the newly added residual sequence and recovery error sequence of the hot bending on both sides to obtain the corresponding residual distribution and error distribution on the left and right sides. If the difference in the peak position on both sides exceeds the position threshold, or the difference in the length of the high value interval on both sides exceeds the length threshold, or the difference in the distribution pattern on both sides exceeds the distribution threshold, then the consistency of the corresponding segments of the left and right shoulders is recorded as abnormal.
[0084] In some embodiments, the position threshold, length threshold, and distribution threshold are calibrated separately according to the product model and the workstation of the curved U-shaped steel bending equipment, and together with the subsequent recovery error threshold, residual threshold, smoothing threshold, and effective boundary threshold, form a threshold group. The threshold group is obtained by statistically analyzing the newly added residual distribution and recovery error distribution of normal samples during hot bending, and is corrected in conjunction with confirmed abnormal samples. The update cycle for normal and abnormal samples is set according to the production line maintenance rhythm, and is generally recalibrated after product change, mold replacement, or hot bending station maintenance. If no changes occur as described above, the threshold group can remain unchanged.
[0085] When constructing segmented decision results, the decision output unit executes each decision branch in a fixed order to avoid overlapping between different branches. First, it calculates the proportion of valid sampling points for each functional segment. Valid sampling points refer to sampling points whose subsequent boundary confidence values are higher than the boundary valid threshold. Let the total number of sampling points for a certain functional segment be... The number of sampling points that satisfy the boundary conditions is Then the proportion of effective sampling points for this functional segment is .
[0086] If the proportion of valid sampling points is lower than the threshold for the proportion of valid sampling points, this functional segment is marked as pending review. The threshold for the proportion of valid sampling points is set separately for each product model and the workstation of the curved U-shaped steel bending equipment, and its calibration method is consistent with other thresholds. After entering the pending review branch, this functional segment will no longer enter the preceding disturbance interpretation branch and the hot bending anomaly branch to ensure that the branches do not overlap.
[0087] If a functional segment is not marked as pending review, the output unit continues to check whether the newly added residual interval of the high-heat bending falls within the corresponding interval of the propagation sensitive area sequence, and whether the recovery error sequence is lower than the recovery error threshold. The newly added residual interval of the high-heat bending can be determined by the continuous intervals in the newly added residual sequence of the hot bending where the absolute value exceeds the residual reference line. If the newly added residual interval of the high-heat bending is mainly located within the corresponding interval of the propagation sensitive area sequence, and the peak value of the recovery error within this interval is lower than the recovery error threshold, then the functional segment is marked as a preceding perturbation interpretation.
[0088] The combination of the propagation sensitive region sequence and the recovery error sequence is used here to distinguish between the continuation of the preceding perturbation after hot bending and the actual hot bending anomaly. When the preceding perturbation continues, although the newly added residual sequence of hot bending may be larger, the reverse recovery of the preceding contour sequence can still be well aligned with the preceding contour sequence, so the recovery error sequence will not increase synchronously.
[0089] If a functional segment is neither subject to review nor to prior disturbance interpretation, the output unit is determined to continue checking for hot bending anomaly conditions. These conditions consist of three parts: first, the peak value of the newly added residual from hot bending exceeds the residual threshold; second, the peak value of the recovery error exceeds the recovery error threshold; and third, at least one of the following conditions—local curvature continuity and consistency between corresponding segments of the left and right shoulders—meets the anomaly condition. Only when all three parts are met simultaneously is the functional segment recorded as having a hot bending anomaly.
[0090] Therefore, simple local boundary noise or simple preceding defects will not directly trigger thermal bending anomalies; only when the residual is significant, recovery is difficult, and there are abnormalities in local shape or left-right correspondence will it enter this branch. If none of the above branches are met, the functional segment is recorded as normal. The segmentation judgment results of each functional segment are finally summarized according to the left straight edge segment, left shoulder transition segment, bottom bending segment, right shoulder transition segment, and right straight edge segment to form the bending profile deviation judgment result of the entire glass piece.
[0091] When summarizing, the principle of prioritizing the most severe segment can be adopted. That is, as long as there is a hot bending abnormal segment, the overall result is recorded as hot bending abnormal; if there is no hot bending abnormal segment but there is a segment to be reviewed, the overall result is recorded as to be reviewed; if there is only a segment for explaining the preceding disturbance and the rest of the segments are normal, the overall result can be recorded as releaseable according to the process settings and accompanied by the preceding disturbance explanation label; if all segments are normal, the overall result is recorded as normal.
[0092] Optionally, the determination output unit also saves the peak position of the newly added residual in the hot bending of each segment, the peak position of the recovery error, the abnormal interval of local curvature continuity, and the consistency abnormal label of the corresponding segment of the left and right shoulders, so that on-site personnel can check the source of the abnormality.
[0093] This invention comprehensively utilizes the preceding boundary state, subsequent contour quality, individualized subsequent target contour, and reverse recovery results to generate bending contour deviation judgment results. It retains the actual deviation information of the contour after hot bending and incorporates the influence of preceding defects, preceding instability, and propagation-sensitive areas on hot bending judgment into a unified process. Furthermore, by comparing the reverse-recovered preceding contour sequence with the preceding contour sequence, it distinguishes between local morphological anomalies and explainable preceding disturbances. For areas prone to hidden deviations, such as the left shoulder transition section, the bottom bending section, and the right shoulder transition section, this method can provide more detailed segmentation results, facilitating direct reproduction and use on existing production lines.
[0094] Please see Figure 5 , Figure 5 This is a schematic diagram of a neural network-based curved glass bending profile deviation determination system provided in an embodiment of this application. Figure 5 As shown, the system includes: The sample pairing module 501 is used to acquire the preceding image after edge grinding and chamfering and the following image after hot bending, and to complete the pairing based on the sample association information; The serialization processing module 502 is used to perform contour extraction and serialization processing on the preceding image and the following image respectively, to obtain the preceding contour sequence, the preceding defect marker sequence and the preceding unstable marker sequence, the following contour sequence, the following boundary confidence value sequence and the anomaly candidate value sequence. The corresponding segmentation module 503 is used to segment the preceding contour sequence and the following contour sequence into corresponding segments: left straight edge segment, left shoulder transition segment, bottom curved segment, right shoulder transition segment, and right straight edge segment. The target generation module 504 is used to generate an individualized subsequent target contour sequence and a propagation sensitive area sequence based on the preceding contour sequence, the preceding defect marker sequence, the preceding unstable marker sequence and the process context. The residual construction module 505 is used to construct a new residual sequence for hot bending based on the subsequent contour sequence, the individualized subsequent target contour sequence, the subsequent boundary confidence value sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the propagation sensitive area sequence. The reverse recovery module 506 is used to perform reverse recovery based on the subsequent contour sequence, the individualized subsequent target contour sequence, the hot bending newly added residual sequence, the subsequent boundary confidence value sequence and the abnormal candidate value sequence to obtain the reverse recovery preceding contour sequence, and compare it with the preceding contour sequence to obtain the recovery error sequence; The judgment output module is used to construct segmented judgment results based on the recovery error sequence, the hot bending new residual sequence, the propagation sensitive area sequence, the subsequent boundary confidence value sequence, the local curvature continuity and the consistency of the corresponding segments of the left and right shoulders, and output the bending contour deviation judgment result based on the segmented judgment results.
[0095] Those skilled in the art will clearly understand that the technical solutions of the embodiments of this application can be implemented by means of software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, wherein the hardware may be, for example, a field-programmable gate array (FPGA), an integrated circuit (IC), etc.
[0096] Each processing unit and / or module in the embodiments of this application can be implemented by an analog circuit that implements the functions described in the embodiments of this application, or by software that executes the functions described in the embodiments of this application.
[0097] Please see Figure 6 It shows a schematic diagram of the structure of an electronic device according to an embodiment of this application, which can be used to implement... Figure 1 The method in the illustrated embodiment. (As shown) Figure 6 As shown, the electronic device may include: The system includes at least one processor 601, at least one network interface 604, a user interface 603, a memory 605, and at least one communication bus 602. The communication bus 602 is used to enable connection and communication between the components. The user interface 603 may include buttons, and optionally include a standard wired or wireless interface. The network interface 604 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.
[0098] The processor 601 may include one or more processing cores and connect to various parts within the electronic device through various interfaces and lines. It implements various functions and data processing of the electronic device by running or executing instructions, programs, code sets, or instruction sets stored in the memory 605, and by accessing data in the memory 605. Optionally, the processor 601 may be implemented using at least one hardware form of DSP, FPGA, or PLA. The processor 601 may also integrate one or more combinations of CPU, GPU, and modem.
[0099] Memory 605 may include random access memory (RAM) or read-only memory (ROM). Optionally, memory 605 includes a non-transitory computer-readable medium for storing instructions, programs, code, code sets, or instruction sets. Memory 605 may be divided into a program storage area and a data storage area, wherein the program storage area can be used to store instructions for implementing an operating system and instructions for implementing the foregoing method embodiments; the data storage area can be used to store data related to the relevant method embodiments. Memory 605 may also be at least one storage device located remotely from processor 601. Figure 6 As shown, the memory 605, which serves as a computer storage medium, may contain an operating system, a network communication module, a user interface module, and program instructions.
[0100] In particular, the methods and / or embodiments in this application can be implemented as computer software programs. For example, the 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 flowchart. When the computer program is executed by processor 601, it performs the functions defined in the methods of this application.
[0101] Another embodiment of this application provides a storage medium storing computer program instructions thereon, which can be executed by a processor to implement the methods and / or technical solutions of any one or more embodiments of this application.
[0102] In the above embodiments, the descriptions of each embodiment have different focuses. Parts not described in detail in a certain embodiment can be referred to in the relevant descriptions of other embodiments. The above descriptions are merely preferred embodiments of this application and explanations of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solutions formed by specific combinations of the above technical features, but should also cover other technical solutions formed by arbitrary combinations of the above technical features or their equivalent features without departing from the inventive concept.
Claims
1. A method for determining the bending profile deviation of curved glass based on neural networks, characterized in that, include: Obtain the preceding image after edge grinding and chamfering and the following image after hot bending, and complete the pairing based on sample association information; Contour extraction and serialization are performed on the preceding and subsequent images respectively to obtain the preceding contour sequence, the preceding defect marker sequence, the preceding unstable marker sequence, the subsequent contour sequence, the subsequent boundary confidence value sequence, and the anomaly candidate value sequence. The preceding and following contour sequences are segmented into corresponding segments: left straight edge segment, left shoulder transition segment, bottom curved segment, right shoulder transition segment, and right straight edge segment. Based on the preceding contour sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the process context, an individualized subsequent target contour sequence and propagation sensitive region sequence are generated. A new residual sequence for hot bending is constructed based on the subsequent contour sequence, the individualized subsequent target contour sequence, the subsequent boundary confidence value sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the propagation sensitive area sequence. Inverse recovery is performed based on the subsequent contour sequence, the individualized subsequent target contour sequence, the hot bending newly added residual sequence, the subsequent boundary confidence value sequence, and the abnormal candidate value sequence to obtain the inverse recovery preceding contour sequence, and the recovery error sequence is obtained by comparing it with the preceding contour sequence. Based on the recovery error sequence, the hot bending new residual sequence, the propagation sensitive area sequence, the subsequent boundary confidence value sequence, the local curvature continuity and the consistency of the corresponding segments of the left and right shoulders, the segment judgment result is constructed, and the bending contour deviation judgment result is output based on the segment judgment result.
2. The method according to claim 1, characterized in that, Contour extraction and serialization processing of the preceding image includes: inputting the preceding image into the preceding contour extraction model to obtain the preceding contour probability map, the preceding defect probability map, and the preceding instability probability map; performing threshold separation and boundary tracking based on the preceding contour probability map to obtain the preceding contour curve; performing pose normalization, arc length calculation, and resampling on the preceding contour curve to obtain the preceding contour sequence; and reading the values of the preceding defect probability map and the preceding instability probability map at the sampling points corresponding to the preceding contour sequence to obtain the preceding defect label sequence and the preceding instability label sequence, respectively.
3. The method according to claim 2, characterized in that, Contour extraction and serialization processing of the subsequent image includes: inputting the subsequent image into the subsequent contour extraction model to obtain a subsequent contour probability map, a subsequent boundary confidence map, and an anomaly candidate response map; performing boundary tracking based on the subsequent contour probability map to obtain the subsequent contour curve; performing pose normalization, arc length calculation, and resampling on the subsequent contour curve with the same reference as the preceding contour curve to obtain the subsequent contour sequence; and reading the values of the subsequent boundary confidence map and the anomaly candidate response map at the sampling points corresponding to the subsequent contour sequence to obtain the subsequent boundary confidence value sequence and the anomaly candidate value sequence, respectively.
4. The method according to claim 3, characterized in that, The preceding and following contour sequences are segmented accordingly, including: determining the boundary positions of the left straight edge segment, left shoulder transition segment, bottom curved segment, right shoulder transition segment, and right straight edge segment based on the curvature changes of the preceding contour sequence; segmenting the preceding contour sequence according to the boundary positions; segmenting the following contour sequence according to the same boundary positions and sampling order as the preceding contour sequence, and establishing a mirror correspondence between the left shoulder transition segment and the right shoulder transition segment.
5. The method according to claim 4, characterized in that, The process of generating individualized subsequent target contour sequences and propagation sensitive region sequences includes: inputting the preceding contour sequence into the preceding sequence encoding module, inputting the preceding defect marker sequence and the preceding unstable marker sequence into the preceding marker encoding module, and inputting the process context into the process context encoding module; inputting the outputs of the preceding sequence encoding module, the preceding marker encoding module, and the process context encoding module into the inter-segment relationship encoding module; and inputting the outputs of the inter-segment relationship encoding module into the target contour decoding module and the propagation sensitive region decoding module, respectively, to obtain the individualized subsequent target contour sequence and propagation sensitive region sequence.
6. The method according to claim 5, characterized in that, Constructing a new residual sequence for hot bending includes: for each sampling point of the subsequent contour sequence, multiplying the corresponding subsequent boundary confidence value by one minus the corresponding preceding defect marker value and one minus the corresponding preceding instability marker value to obtain a point-by-point confidence coefficient; correcting the point-by-point confidence coefficient located within the propagation sensitive area according to the propagation sensitive area sequence to obtain a corrected point-by-point confidence coefficient; obtaining the point-by-point hot bending new residual based on the difference in normal coordinates between the subsequent contour sequence and the individualized subsequent target contour sequence at the same sampling point and the corrected point-by-point confidence coefficient; and assembling the point-by-point hot bending new residuals of each sampling point into a new residual sequence for hot bending according to the sampling order.
7. The method according to claim 6, characterized in that, Performing reverse recovery includes: inputting the subsequent contour sequence into the subsequent sequence encoding module; inputting the hot bending new residual sequence and the individualized subsequent target contour sequence into the target difference encoding module; inputting the subsequent boundary confidence value sequence and the abnormal candidate value sequence into the auxiliary information encoding module; inputting the output of the subsequent sequence encoding module, the output of the target difference encoding module, and the output of the auxiliary information encoding module into the inter-segment recovery module; inputting the output of the inter-segment recovery module into the preceding recovery decoding module to obtain the reverse-recovered preceding contour sequence; and comparing the reverse-recovered preceding contour sequence with the preceding contour sequence at the same sampling point to obtain the recovery error sequence.
8. The method according to claim 7, characterized in that, The continuity of local curvature and the consistency of corresponding segments of the left and right shoulders are constructed as follows: Based on the individualized subsequent target contour sequence and subsequent contour sequence, the curvature sequences of the left shoulder transition segment, the bottom bending segment, and the right shoulder transition segment are calculated, and the local curvature continuity is determined according to the difference in curvature sequences; when the curvature difference within a local window continuously exceeds the smoothing threshold, it is recorded as an abnormality in local curvature continuity; based on the mirror correspondence between the left and right shoulder transition segments, the consistency of corresponding segments of the left and right shoulders is determined according to the peak positions and distribution differences of the hot bending new residual sequence and the recovery error sequence in the corresponding segments of the left and right shoulders; when the difference in the peak position on both sides exceeds the position threshold, or the difference in the length of the high value interval on both sides exceeds the length threshold, or the difference in the distribution pattern on both sides exceeds the distribution threshold, it is recorded as an abnormality in the consistency of corresponding segments of the left and right shoulders.
9. The method according to claim 8, characterized in that, The segmented judgment results are constructed as follows: when the proportion of sampling points in the corresponding functional segment whose subsequent boundary confidence value is higher than the effective boundary threshold is lower than the effective sampling point proportion threshold, the functional segment is marked as pending review; when the newly added residual interval of the high-heat bending in the corresponding functional segment falls into the corresponding interval of the propagation sensitive area sequence and the peak value of the recovery error in the newly added residual interval of the high-heat bending is lower than the recovery error threshold, the functional segment is marked as the preceding perturbation interpretation; when the peak value of the newly added residual of the hot bending in the corresponding functional segment exceeds the residual threshold, the peak value of the recovery error exceeds the recovery error threshold, and at least one of the following conditions—local curvature continuity and consistency of the corresponding segments of the left and right shoulders—meets the abnormal condition, the functional segment is marked as hot bending abnormal; functional segments that are not marked as pending review, preceding perturbation interpretation, or hot bending abnormal are marked as normal.
10. A neural network-based system for determining the bending profile deviation of curved glass, characterized in that, include: The sample pairing module is used to acquire the preceding image after edge grinding and chamfering and the following image after hot bending, and to complete the pairing based on the sample association information; The serialization processing module is used to extract contours and serialize the preceding and following images respectively, to obtain the preceding contour sequence, the preceding defect marker sequence and the preceding unstable marker sequence, the following contour sequence, the following boundary confidence value sequence and the anomaly candidate value sequence. The corresponding segmentation module is used to segment the preceding contour sequence and the following contour sequence into corresponding segments: left straight edge segment, left shoulder transition segment, bottom curved segment, right shoulder transition segment, and right straight edge segment. The target generation module is used to generate individualized subsequent target contour sequences and propagation sensitive region sequences based on the preceding contour sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the process context. The residual construction module is used to construct a new residual sequence for hot bending based on the subsequent contour sequence, the individualized subsequent target contour sequence, the subsequent boundary confidence value sequence, the preceding defect marker sequence, the preceding unstable marker sequence, and the propagation sensitive area sequence. The reverse recovery module is used to perform reverse recovery based on the subsequent contour sequence, the individualized subsequent target contour sequence, the hot bending new residual sequence, the subsequent boundary confidence value sequence, and the abnormal candidate value sequence to obtain the reverse recovery preceding contour sequence, and compare it with the preceding contour sequence to obtain the recovery error sequence. The judgment output module is used to construct segmented judgment results based on the recovery error sequence, the hot bending new residual sequence, the propagation sensitive area sequence, the subsequent boundary confidence value sequence, the local curvature continuity and the consistency of the corresponding segments of the left and right shoulders, and output the bending contour deviation judgment result based on the segmented judgment results.
