A material verification system and method based on spatial perception and multi-modal edge collaboration, a terminal and a medium
By integrating a multimodal edge-collaborative material verification system, the problems of glare and scratches on industrial nameplates have been solved, achieving automation and accuracy in material verification and ensuring the irreversibility of data and compliance of acceptance.
Patent Information
- Application Number
- CN202610990676.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-03
- Publication Date
- 2026-11-24
AI Technical Summary
In existing material verification technologies, the mirror reflection and scratches on industrial nameplates interfere with character recognition, leading to false and missed character detections. At the same time, when visual imaging is unclear, it is impossible to combine the importance of materials for dynamic risk assessment, affecting the accuracy of acceptance.
The material verification system adopts spatial perception and multimodal edge collaboration, integrating image acquisition module, edge computing module, communication module and sound and light early warning module. Through multispectral camera, entity label scanning and tamper-proof solidified storage, it realizes adaptive acquisition, feature extraction, cross-modal comparison and physical feedback of image data, combined with the dynamic judgment of visual uncertainty and business risk.
It has achieved automation, accuracy, and data irreversibility in material verification under harsh working conditions, reduced the error rate of traditional manual reconciliation, and ensured the accuracy of acceptance of high-value materials and the anti-counterfeiting and traceability of data.
Smart Images

Figure CN123160052A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of material verification technology, specifically relating to a material verification system, method, terminal, and medium based on spatial perception and multimodal edge collaboration. Background Technology
[0002] With the deepening development of industrial informatization and smart supply chains, large enterprises in the power, mining, and industrial sectors have placed higher demands on the intelligent management of on-site material receiving and inspection. Material verification, as a crucial link in supply chain logistics, directly affects the safe operation of subsequent engineering projects and the efficiency of asset management.
[0003] In existing material acceptance procedures, the mainstream approach still relies on verification personnel to visually count the physical items on-site, read the model and specifications on the item nameplates word by word, and manually reconcile them with the paper or electronic purchase contract items. In some digital scenarios, ordinary mobile terminal devices are introduced to take pictures and recognize the nameplates using general optical character recognition technology, and the recognized text information is entered into the system to replace some of the purely manual keyboard input work.
[0004] However, the aforementioned technical methods have limitations in actual working conditions. First, industrial nameplates are mostly made of metal, and general optical recognition technology typically uses fixed binarization or conventional filtering when the ambient lighting is variable. This causes mirror reflections and scratches to interfere with the normal character outlines, resulting in false positives and false negatives. Second, existing data comparisons rely heavily on static absolute character matching. When visual imaging is unclear, it is impossible to combine the importance of the material itself for dynamic risk assessment. This can easily lead to incorrect verification conclusions due to confusion caused by individual similar characters, affecting the accuracy of the acceptance process. Summary of the Invention
[0005] This invention addresses the problems in existing technologies by providing a material verification system, method, terminal, and medium based on spatial perception and multimodal edge collaboration. It solves the problem that industrial nameplates are mostly made of metal, and general optical recognition technologies often use fixed binarization or conventional filtering when ambient lighting is variable. This causes specular reflections and scratches to interfere with the normal character outlines, leading to false and missed character detections. Simultaneously, it solves the problem that existing data comparisons rely heavily on static absolute character matching. When visual imaging is unclear, it cannot dynamically assess risk based on the importance of the material itself, and is prone to outputting incorrect verification conclusions due to confusion caused by individual similar characters, thus affecting the accuracy of the acceptance process.
[0006] The technical solution adopted in this invention is as follows: Firstly, this application provides a material verification system based on spatial perception and multimodal edge collaboration, comprising: Physical carrier; An image acquisition module, integrated at the front end of the physical carrier, is used to acquire raw multimodal image data of the target material surface; The communication data module is used to establish a network connection with a remote server and obtain the structured procurement ledger baseline data corresponding to the target materials; The edge computing main control module, built into the physical carrier, is used to receive the original multimodal image data and perform local feature deconstruction to extract the unstructured feature vector of the materials; compare and authenticate the unstructured feature vector with the structured procurement ledger benchmark data, and output the verification and decision control word; An audible and visual warning module, located outside the physical carrier, is used to receive and parse the verification decision control word and drive the peripheral device to output a physical warning signal corresponding to the verification result.
[0007] Furthermore, the system also includes a spatial attitude perception module; The spatial attitude perception module is electrically connected to the image acquisition module and is used to acquire the spatial kinematic data of the physical carrier. When the spatial kinematic data is determined to be at a preset stable threshold, a hardware-level trigger interrupt signal is output to the image acquisition module to start image acquisition. The image acquisition module includes a multispectral camera assembly and a zone-adjustable light source array.
[0008] Furthermore, the system also includes an entity label scanning module; The entity label scanning module is integrated into the front end of the physical carrier and is communicatively connected to the edge computing main control module. It is used to synchronously read the entity optical coding data on the surface of the target material and send it to the edge computing main control module as the associated input branch of the original multimodal image data.
[0009] Furthermore, the system also includes a tamper-proof hardened storage module; The tamper-proof solidified storage module includes a hardware-level cryptographic operation unit and a non-volatile storage medium, and is electrically connected to the edge computing main control module. It is used to receive and use a hash algorithm to perform read-only latching on the original multimodal image data and the verification decision control word.
[0010] Secondly, this application provides a material verification method based on spatial perception and multimodal edge collaboration, using the material verification system based on spatial perception and multimodal edge collaboration as described in the first aspect. The method includes the following steps: Step S1: Acquire raw multimodal image data of the target material surface through the image acquisition module; Step S2: The edge computing main control module receives the original multimodal image data, performs image feature preprocessing and character topology feature extraction locally, and reshapes the extracted features into unstructured feature vectors of materials. Step S3: The structured procurement ledger baseline data is pulled from the remote server through the communication data module. The edge computing main control module calculates the comparison distance between the unstructured feature vector of the materials and the structured procurement ledger baseline data, and outputs the verification decision control word representing the consistency conclusion. Step S4: The sound and light warning module parses the verification decision control word and triggers the corresponding physical warning signal.
[0011] Furthermore, step S2 includes the following steps: Step S21: Extract the color space matrix of the original multimodal image data, eliminate the specular reflection area of the metal surface based on the local mean replacement strategy, and use adaptive median filtering to remove background noise. Step S22: Calculate the neighborhood statistical features and edge gradient features of the pixel, dynamically solve the local binarization threshold, and peel the character body from the metal background to obtain the binarized image. Step S23: Perform connected component filtering on the binarized map, extract the grid distribution features and contour edge features of single characters, and assemble the two in a dimension-reduced manner to form the unstructured feature vector of the material.
[0012] Furthermore, in step S22, the specific process of dynamically solving the local binarization threshold is as follows: The edge computing main control module extracts the current target pixel. Location Average gray level in the neighborhood and grayscale standard deviation ; Construct the target pixel The local Hessian matrix is obtained by solving for its two eigenvalues. and ,and To characterize the spatial anisotropy of local textures; An adaptive dynamic threshold calculation formula based on scratch suppression and gradient awareness for metallic materials is used to determine the final binarization threshold of the current pixel. The specific formula is as follows:
[0013] in, Basic compensation coefficient, The gradient magnitude of the local image. The global maximum gradient magnitude. For gradient-sensitive parameters, The scratch penalty factor characterizes the physical texture properties; When the target pixel is located in a unidirectional linear scratch region on a metal surface, the significant difference in feature values causes the scratch penalty factor to approach zero, thus reducing the threshold. Forced back to the local mean to suppress interfering scratches into background pixels; When in the region where character strokes intersect, the feature values are similar, and the threshold is adaptively sharpened with the gradient. Determine whether the grayscale value of the target pixel is greater than the specified value. Based on this, perform binary stripping of the foreground character.
[0014] Furthermore, the specific process of calculating the comparison distance and outputting the verification decision control word in step S3 is as follows: A cross-modal distance metric model based on the coupling of visual uncertainty and business risk is constructed. The edge computing master control module imports the extracted unstructured feature vectors of materials into Euclidean space to calculate the visual morphological difference distance. Simultaneously, the predicted probability distribution of the top three high-confidence candidate characters is statistically analyzed, and the visual information entropy of this distribution is calculated. ; Extract the plaintext-to-semantic representation of the feature vectors, and combine it with a pre-defined regular expression for specific material models to calculate the business logic editing difference between the plaintext-to-semantic representation and the benchmark data of the procurement ledger. ; Output the final multidimensional joint authentication distance using the cross-modal dynamic game allocation formula. :
[0015] in, This is the entropy adjustment coefficient. The confidence-adaptive weights are calculated by inversely from the visual information entropy. This is a business risk penalty coefficient. The higher the critical asset level of the target material and the more the plaintext conversion semantics violate the regular expression logic, the more likely it is to cause a penalty. It amplifies exponentially; When visual recognition is severely impaired by contamination, leading to an increase in visual information entropy... As the confidence level increases, the adaptive weights automatically decrease, and the model forcibly increases the difference in the business logic editing. The proportion of decisions made; When the calculation yields When the value is less than the system's preset compliance tolerance threshold, a pass-type verification decision control word is generated; when When the value is greater than or equal to the compliance tolerance threshold, a positive integer verification decision control word containing a specific fault classification code is generated based on the abnormal deviation interval mapping logic.
[0016] Thirdly, this application provides a terminal, including: The memory is used to store the material verification program based on spatial awareness and multimodal edge collaboration; The processor is configured to implement the steps of the material verification method based on spatial perception and multimodal edge collaboration as described in the second aspect when executing the material verification program based on spatial perception and multimodal edge collaboration.
[0017] Fourthly, this application provides a computer-readable storage medium that stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes the material verification method based on spatial perception and multimodal edge collaboration as described in the second aspect.
[0018] As can be seen from the above technical solutions, the advantages of the present invention are: By integrating image acquisition, edge computing control, communication data, and sound and light early warning modules into a physical carrier, handless operation and end-to-cloud collaborative processing for on-site material verification are realized. It can deconstruct visual images into unstructured features locally and output physical feedback after automatic comparison with cloud ledgers, reducing the error rate of traditional manual reconciliation.
[0019] By introducing a spatial attitude perception module to calculate the kinematic data of the physical carrier in real time, and triggering a hardware-level interrupt to start the multispectral camera and light source array within a stable threshold range, adaptive control of the timing of image data acquisition is achieved. This avoids motion blur in the acquired image caused by personnel walking or head shaking, and ensures the clarity of the underlying image source.
[0020] By integrating a physical label scanning module that communicates with the edge computing main control module, the synchronous reading of physical optical codes and visual image data on the surface of materials is realized. This provides an independent hardware-level associated input branch for subsequent multi-dimensional comparison, expanding the data dimensions for material verification.
[0021] By configuring a tamper-proof solidified storage module that includes a hardware-level cryptographic operation unit and a non-volatile storage medium, the original multimodal image data and verification decision control words are encrypted and latched, ensuring that the on-site verification data and comparison results are read-only and irreversible throughout their entire lifecycle, meeting the stringent data anti-counterfeiting and traceability requirements in industrial asset management.
[0022] By sequentially executing the steps of multimodal image capture, edge-side feature deconstruction, cloud-edge cross-modal data joint authentication, and physical layer differentiated closed-loop response, an automated pipeline from physical environment perception to business logic compliance adjudication is realized, which can complete the entire material verification process in a closed loop without human intervention.
[0023] By sequentially implementing local mean highlight suppression, gradient-aware dynamic binarization segmentation, and broken stroke topology reconstruction steps on the edge side, the repair and feature purification of damaged character images under harsh working conditions are achieved. It can peel off the metallic background and restore the character skeleton, providing a high-quality binarized image base for feature cascade mapping.
[0024] By constructing a local Hessian matrix to extract eigenvalues during the local binarization thresholding process to calculate the scratch penalty factor, and introducing a gradient magnitude dynamic adjustment threshold formula, physical identification and suppression of unidirectional linear scratch interference on metal surfaces are achieved. This enables the binarization threshold to regress towards the mean in the scratch area and sharpen with the gradient in the character intersection area, thus improving the character cutting accuracy under complex metal textures.
[0025] By constructing a cross-modal distance metric model based on the coupling of visual uncertainty and business risk, introducing visual information entropy to inversely adjust feature confidence weights, and applying business risk penalties in conjunction with the critical importance level of materials, the dynamic allocation of the proportion of visual morphological differences and logical semantic differences is achieved. This can increase the decision-making proportion of business rules when visual imaging is limited, and control the risk of misjudgment in the acceptance of high-value materials. Attached Figure Description
[0026] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This is a schematic diagram of the material verification system based on spatial perception and multimodal edge collaboration according to an embodiment of the present invention; Figure 2 This is a flowchart of a material verification method based on spatial perception and multimodal edge collaboration, according to an embodiment of the present invention.
[0028] In the diagram: 1. Physical carrier; 2. Image acquisition module; 3. Communication data module; 4. Edge computing main control module; 5. Sound and light early warning module; 6. Spatial attitude perception module; 7. Entity tag scanning module. Detailed Implementation
[0029] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0030] Please see Figure 1 As shown, this application provides a material verification system based on spatial perception and multimodal edge collaboration, including: Physical carrier 1; Image acquisition module 2, integrated at the front end of the physical carrier 1, is used to acquire raw multimodal image data of the surface of the target material; Communication data module 3 is used to establish a network connection with a remote server and obtain the structured procurement ledger baseline data corresponding to the target materials; The edge computing main control module 4 is built into the physical carrier 1 and is used to receive the original multimodal image data and perform local feature deconstruction to extract the unstructured feature vector of the material. The unstructured feature vector is compared and authenticated with the structured procurement ledger baseline data, and the verification and decision control word is output. The sound and light warning module 5 is located outside the physical carrier 1 and is used to receive and parse the verification decision control word and drive the peripheral device to output a physical warning signal corresponding to the verification result.
[0031] In practical implementation, the physical carrier 1 can be a hard safety helmet that meets industrial protection standards, and the modules can be physically and electrically connected through a flexible printed circuit board or data bus hidden in the inner layer of the shell.
[0032] The edge computing main control module 4 can be equipped with a microprocessor with a hardware acceleration instruction set, such as a system-on-a-chip with a built-in tensor processing unit or neural network accelerator, to meet the computing power requirements of local high-concurrency feature deconstruction.
[0033] In one embodiment of industrial material acceptance, the operator wears the system to enter the site, the image acquisition module 2 acquires multimodal images (such as visible light and infrared images) of the metal nameplate of the large transformer, and the edge computing main control module 4 extracts the nameplate text and topological features in the image into unstructured feature vectors locally. Simultaneously, the communication data module 3 downloads the purchase ledger for this batch of transformers from the enterprise's materials management server via the industrial wireless network. After cross-comparison by the main control module, if it determines that the extracted rated voltage parameters are inconsistent with the ledger requirements, it generates a verification decision control word containing a deviation code and transmits it to the audible and visual warning module 5, driving it to emit an alarm sound with a specific duty cycle and a red flashing indicator light, completing an automated closed-loop verification.
[0034] In some embodiments, the system further includes a spatial attitude sensing module 6; the spatial attitude sensing module 6 is electrically connected to the image acquisition module 2 and is used to acquire the spatial kinematic data of the physical carrier 1. When the spatial kinematic data is determined to be at a preset stable threshold, the module 6 outputs a hardware-level trigger interrupt signal to the image acquisition module 2 to start image acquisition; the image acquisition module 2 includes a multispectral camera component and a partitioned adjustable light source array.
[0035] For a specific implementation of this structure, the spatial attitude perception module 6 can employ a microelectromechanical system (MEMS) inertial measurement unit (IMSU) with a built-in three-axis accelerometer and a three-axis gyroscope. During system operation, the variance of angular velocity and acceleration within a certain time window is monitored in real time using a sliding window statistical algorithm. When the variance data falls back and remains within a preset stable threshold range, the system determines that the operator's head is in a relatively stationary gaze state. At this time, the attitude perception module sends a high-level interrupt signal directly to the image acquisition module 2 through the underlying pins, bypassing the scheduling delay of the operating system layer and directly initiating image capture.
[0036] In one embodiment, when the multispectral camera component acquires a pre-exposure image and detects localized reflections on the surface of a metallic material, the system dynamically reduces the driving current of the light-emitting diodes in the corresponding reflective areas of the partitioned adjustable light source array using pulse width modulation technology, thereby improving the contrast and pixel uniformity of the final acquired image.
[0037] In some embodiments, the system further includes an entity label scanning module 7; the entity label scanning module 7 is integrated at the front end of the physical carrier 1 and is communicatively connected to the edge computing main control module 4, and is used to synchronously read the entity optical coding data of the target material surface and send it to the edge computing main control module 4 as the associated input branch of the original multimodal image data.
[0038] Specifically, the entity label scanning module 7 can employ a miniaturized two-dimensional barcode reading engine or a customized laser scanning probe. In practical applications of material acceptance, equipment packaging or sides are typically affixed with QR code labels containing factory serial numbers or unified material codes.
[0039] In one embodiment, when the operator's line of sight is focused on the material, the entity label scanning module 7 emits a probe beam to analyze the optically encoded data. The edge computing main control module 4 receives this data and uses it as a unique primary key for material identification, binding it to the unstructured features of the nameplate image acquired at the same time. This multi-source data fusion input mechanism provides dual indexing for subsequent cross-modal retrieval of cloud data, reducing the recognition error rate caused by nameplate damage due to single visual features.
[0040] In some embodiments, the system further includes an anti-tampering solidified storage module; the anti-tampering solidified storage module includes a hardware-level cryptographic operation unit and a non-volatile storage medium, is electrically connected to the edge computing main control module 4, and is used to receive and use a hash algorithm to read-only latch the original multimodal image data and the verification decision control word.
[0041] In the specific implementation of this module, the hardware-level cryptographic operation unit can be an independent security element or a trusted platform module chip, and the non-volatile storage medium can be a flash memory chip with a low-level write protection mechanism.
[0042] In a complete business implementation, after each verification action is completed, the edge computing main control module 4 packages and summarizes the high-definition original image captured on site, the barcode code, the system timestamp, and the verification decision control word representing the comparison result.
[0043] The cryptographic processing unit uses algorithms such as SHA-256 to generate a fixed-length digital cryptographic digest of the summarized data packet, binds the original data with the digest, and executes underlying physical instructions to write it into a read-only partition of the flash memory.
[0044] This implementation method ensures the originality and non-repudiation of the verification records. In subsequent compliance audits or quality traceability processes in the supply chain, managers can extract the summary for reverse verification to confirm the authenticity and completeness of the underlying operational data on site.
[0045] Please see Figure 2 As shown, this application provides a material verification method based on spatial perception and multimodal edge collaboration. Using the aforementioned material verification system based on spatial perception and multimodal edge collaboration, the method includes the following steps: Step S1: Acquire raw multimodal image data of the target material surface through the image acquisition module; Step S2: The edge computing main control module receives the original multimodal image data, performs image feature preprocessing and character topology feature extraction locally, and reshapes the extracted features into unstructured feature vectors of materials. Step S3: The structured procurement ledger baseline data is pulled from the remote server through the communication data module. The edge computing main control module calculates the comparison distance between the unstructured feature vector of the materials and the structured procurement ledger baseline data, and outputs the verification decision control word representing the consistency conclusion. Step S4: The sound and light warning module parses the verification decision control word and triggers the corresponding physical warning signal.
[0046] In practice, the steps of the above method are executed continuously and automatically under the drive of the hardware system's clock cycle and interrupt mechanism.
[0047] When acquiring raw multimodal image data, the image acquisition module can simultaneously activate infrared and visible light dual-channel sensors to cope with the changing outdoor lighting environment.
[0048] The central processing unit in the edge computing main control module caches image data in local high-speed random access memory through direct memory access channels to avoid delays in data flow.
[0049] During the comparison and authentication process, the communication data module retrieves the ledger from the remote server through a secure network protocol and performs multidimensional matrix distance iteration calculation in the arithmetic logic unit of the microprocessor. The verification decision control word is encoded into a binary data stream of a specific length and transmitted to the peripheral device through general-purpose input / output pins.
[0050] In a specific example of power material delivery and acceptance, workers wearing safety helmets equipped with the system approach an oil-immersed current transformer in a substation, and the system automatically captures visible light and thermal infrared images of its metal nameplate.
[0051] The edge computing main control module converts these images into high-dimensional unstructured feature vectors in real time, while the communication data module remotely retrieves the bidding documents and procurement contract technical specifications of the instrument transformer via a wireless network. The control module calculates and finds that the ratio parameters of the actual product do not match the contract ledger. It then outputs a verification decision control word containing a specific defect code. After the control word is parsed by the sound and light warning module, it drives the red indicator light on the top of the cap to flash at a specific frequency and is accompanied by a long alarm, thus completing the intelligent compliance determination of the arrival of the materials.
[0052] In some embodiments, step S2 includes the following steps: Step S21: Extract the color space matrix of the original multimodal image data, eliminate the specular reflection area of the metal surface based on the local mean replacement strategy, and use adaptive median filtering to remove background noise. Step S22: Calculate the neighborhood statistical features and edge gradient features of the pixel, dynamically solve the local binarization threshold, and peel the character body from the metal background to obtain the binarized image. Step S23: Perform connected component filtering on the binarized map, extract the grid distribution features and contour edge features of single characters, and assemble the two in a dimension-reduced manner to form the unstructured feature vector of the material.
[0053] In a more specific implementation, the various sub-steps of step S2 constitute a digital image signal processing pipeline designed for harsh visual conditions in industrial settings.
[0054] In step S21, the color space matrix is extracted by traversing the red, green and blue three-channel pixel matrix point by point and converting it into grayscale values; when eliminating highlights, the system delineates the specular reflection area by setting a global brightness upper limit threshold, and fills it with the average value of non-reflective pixels within a fixed-size window surrounding the area.
[0055] In step S22, the system uses the Sobel operator and other gradient operators to calculate the edge gradient magnitude of each pixel and simultaneously constructs a local Hessian matrix to solve its eigenvalues. The proportional relationship between the eigenvalues is used as a scratch penalty factor to dynamically adjust the binarization segmentation threshold of each pixel position.
[0056] In step S23, the connected component filtering adopts the connected component labeling algorithm, and outlier noise points are filtered by setting the pixel geometric width and height thresholds obtained by converting the physical size of standard characters. The extraction of grid distribution features first resamples and normalizes the retained single character image to the standard pixel size, then divides a uniform grid array and counts the proportion of black pixels, and finally performs linear splicing with the extracted geometric contour features such as the aspect ratio, perimeter, and edge inflection point coordinates of the outline bounding rectangle.
[0057] In one embodiment of processing steel material nameplates with wear and linear scratches, step S21 first identifies multiple reflective white spots caused by direct sunlight, smooths out the white spots using a neighborhood mean coverage algorithm, and uses an adaptive median filter to remove dust noise attached to the surface.
[0058] Subsequently, step S22 analyzes the eigenvalues of the Hessian matrix to determine that the metal scratches traversing the surface of the nameplate have significant unidirectional anisotropic characteristics. At this point, the scratch penalty factor causes the binarization threshold at that location to adaptively regress towards the local mean, thereby hiding the scratches in the background color. Meanwhile, the actual character stroke area exhibits isotropic characteristics, and its threshold is adaptively sharpened with the gradient, thus completely segmenting the character outline.
[0059] Finally, step S23 eliminates small ink stains on the surface by checking the connected component size, stretches a damaged digital character to a standard size and divides it into multiple grids, accurately calculates the grid texture features of the ink distribution inside, and outputs the unstructured feature vector of the material after splicing its geometric edge contour parameters, providing a stable artificial intelligence analysis data source for subsequent pattern recognition.
[0060] In some embodiments, the specific process of dynamically solving the local binarization threshold in step S22 is as follows: The edge computing main control module extracts the current target pixel. Location Average gray level in the neighborhood and grayscale standard deviation ; Construct the target pixel The local Hessian matrix is obtained by solving for its two eigenvalues. and ,and To characterize the spatial anisotropy of local textures; An adaptive dynamic threshold calculation formula based on scratch suppression and gradient awareness for metallic materials is used to determine the final binarization threshold of the current pixel. The specific formula is as follows:
[0061] in, Basic compensation coefficient, The gradient magnitude of the local image. The global maximum gradient magnitude. For gradient-sensitive parameters, The scratch penalty factor characterizes the physical texture properties; When the target pixel is located in a unidirectional linear scratch region on a metal surface, the significant difference in feature values causes the scratch penalty factor to approach zero, thus reducing the threshold. Forced back to the local mean to suppress interfering scratches into background pixels; When in the region where character strokes intersect, the feature values are similar, and the threshold is adaptively sharpened with the gradient. Determine whether the grayscale value of the target pixel is greater than the specified value. Based on this, perform binary stripping of the foreground character.
[0062] Regarding the specific implementation of the above-mentioned dynamic solution for local binarization thresholding, this technical solution overcomes the misidentification problem of conventional binarization algorithms in industrial metal nameplate processing from the underlying physical image mechanism. In industrial settings, the surface of metal nameplates often has numerous linear scratches due to physical abrasion. Conventional algorithms may mistake these scratches for ink marks due to increased local variance. To address this issue, this embodiment first introduces a Gaussian smoothing function to preprocess the image before solving for the binarization threshold to eliminate high-frequency white noise. Subsequently, the target pixel is constructed using a second-order partial derivative operator. local matrix .because The matrix reflects the curvature changes of local regions of an image, and its eigenvalues and It can accurately measure geometric structures. In an embodiment of verifying the stainless steel nameplate of a high-voltage circuit breaker with severe wire brush scratches, when the algorithm scans to the unidirectional physical scratch area, the image shows significant grayscale changes in the direction perpendicular to the scratch, while there is almost no change in the direction along the scratch, exhibiting spatial anisotropy. The calculated principal eigenvalues at this point... Greater than the second eigenvalue This makes the scratch penalty factor Approaching 0. Substituting this result into the above exponential decay formula, the exponential term approaches 1, and the overall product term shrinks accordingly, thus reducing the threshold. Forced to local background mean By moving closer, the scratch was successfully identified as part of the background color. Conversely, when scanning the intersection of character strokes formed by die stamping or laser engraving, the area exhibits isotropic properties. and When the absolute values are similar, the exponential decay term no longer has a suppressive effect, and the system can rely on the local gradient magnitude. Accurately cut out clear character edges.
[0063] In some embodiments, the specific process of calculating the comparison distance and outputting the verification decision control word in step S3 is as follows: A cross-modal distance metric model based on the coupling of visual uncertainty and business risk is constructed. The edge computing master control module imports the extracted unstructured feature vectors of materials into Euclidean space to calculate the visual morphological difference distance. Simultaneously, the predicted probability distribution of the top three high-confidence candidate characters is statistically analyzed, and the visual information entropy of this distribution is calculated. ; Extract the plaintext-to-semantic representation of the feature vectors, and combine it with a pre-defined regular expression for specific material models to calculate the business logic editing difference between the plaintext-to-semantic representation and the benchmark data of the procurement ledger. ; Output the final multidimensional joint authentication distance using the cross-modal dynamic game allocation formula. :
[0064] in, This is the entropy adjustment coefficient. The confidence-adaptive weights are calculated by inversely from the visual information entropy. This is a business risk penalty coefficient. The higher the critical asset level of the target material and the more the plaintext conversion semantics violate the regular expression logic, the more likely it is to cause a penalty. It amplifies exponentially; When visual recognition is severely impaired by contamination, leading to an increase in visual information entropy... As the confidence level increases, the adaptive weights automatically decrease, and the model forcibly increases the difference in the business logic editing. The proportion of decisions made; When the calculation yields When the value is less than the system's preset compliance tolerance threshold, a pass-type verification decision control word is generated; when When the value is greater than or equal to the compliance tolerance threshold, a positive integer verification decision control word containing a specific fault classification code is generated based on the abnormal deviation interval mapping logic.
[0065] Regarding the specific implementation of the aforementioned cross-modal distance metric model, this scheme breaks through the inherent technical framework of single visual image recognition and introduces a deep integration of information theory and industrial business logic.
[0066] The system's underlying layer synchronously outputs a sequence of probability distribution vectors when outputting candidate characters. The microprocessor calculates visual information entropy using Shannon's principle of information entropy, and its mathematical derivation formula is as follows: When ink loss in an image makes it difficult for the algorithm to choose between similar shapes, the probabilities of each candidate character tend to be evenly distributed, and the visual information entropy decreases. Increase. To avoid misjudgments caused by such visual ambiguity, the system uses adaptive weights. The system automatically reduces reliance on visual morphological differences and distance, instead relying on business logic. Simultaneously, it enhances the penalty coefficient for business risks. The generation logic is implemented using the following formula: ,in The target material's critical asset level is identified by the procurement ledger, and 'beta' is the system's preset risk scaling factor. Let this be a Boolean penalty variable. In a specific example of the acceptance testing of a core transformer in a substation, the model number section on the site nameplate was obscured by mud, leading to increased visual information entropy and reduced visual discrimination weight. At this point, the system forcibly retrieves a regular expression from the procurement ledger to extract plaintext and convert it to semantics for logical verification. It finds that the parsed character combination does not conform to the naming conventions for the transformer's nominal voltage. Setting it to 1 results in a business risk penalty coefficient. An exponential amplification occurs. The final calculated joint authentication distance... By exceeding the compliance tolerance threshold, it directly generates verification decision control words that represent parameters that do not match.
[0067] In some embodiments, this application provides a terminal, including: The memory is used to store the material verification program based on spatial awareness and multimodal edge collaboration; A processor is used to implement the steps of the material verification method based on spatial perception and multimodal edge collaboration when executing the material verification system based on spatial perception and multimodal edge collaboration.
[0068] In some embodiments, this application provides a computer-readable storage medium that stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes the material verification method based on spatial awareness and multimodal edge collaboration.
[0069] The above description is merely a preferred embodiment of one or more embodiments of this specification and is not intended to limit the scope of one or more embodiments of this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of this specification should be included within the protection scope of one or more embodiments of this specification.
Claims
1. A material verification system based on spatial perception and multimodal edge collaboration, characterized in that, include: Physical carrier; An image acquisition module, integrated at the front end of the physical carrier, is used to acquire raw multimodal image data of the target material surface; The communication data module is used to establish a network connection with a remote server and obtain the structured procurement ledger baseline data corresponding to the target materials; The edge computing main control module, built into the physical carrier, is used to receive the original multimodal image data and perform local feature deconstruction to extract the unstructured feature vector of the materials; compare and authenticate the unstructured feature vector with the structured procurement ledger benchmark data, and output the verification and decision control word; An audible and visual warning module, located outside the physical carrier, is used to receive and parse the verification decision control word and drive the peripheral device to output a physical warning signal corresponding to the verification result.
2. The material verification system based on spatial perception and multimodal edge collaboration according to claim 1, characterized in that, The system also includes a spatial attitude perception module; The spatial attitude perception module is electrically connected to the image acquisition module and is used to acquire the spatial kinematic data of the physical carrier. When the spatial kinematic data is determined to be at a preset stable threshold, a hardware-level trigger interrupt signal is output to the image acquisition module to start image acquisition. The image acquisition module includes a multispectral camera assembly and a zone-adjustable light source array.
3. The material verification system based on spatial perception and multimodal edge collaboration according to claim 1, characterized in that, The system also includes an entity label scanning module; The entity label scanning module is integrated into the front end of the physical carrier and is communicatively connected to the edge computing main control module. It is used to synchronously read the entity optical coding data on the surface of the target material and send it to the edge computing main control module as the associated input branch of the original multimodal image data.
4. The material verification system based on spatial perception and multimodal edge collaboration according to claim 1, characterized in that, The system also includes a tamper-proof hardened storage module; The tamper-proof solidified storage module includes a hardware-level cryptographic operation unit and a non-volatile storage medium, and is electrically connected to the edge computing main control module. It is used to receive and use a hash algorithm to perform read-only latching on the original multimodal image data and the verification decision control word.
5. A material verification method based on spatial perception and multimodal edge collaboration, using the material verification system based on spatial perception and multimodal edge collaboration as described in any one of claims 1-4, characterized in that, Includes the following steps: Step S1: Acquire raw multimodal image data of the target material surface through the image acquisition module; Step S2: The edge computing main control module receives the original multimodal image data, performs image feature preprocessing and character topology feature extraction locally, and reshapes the extracted features into unstructured feature vectors of materials. Step S3: The structured procurement ledger baseline data is pulled from the remote server through the communication data module. The edge computing main control module calculates the comparison distance between the unstructured feature vector of the materials and the structured procurement ledger baseline data, and outputs the verification decision control word representing the consistency conclusion. Step S4: The sound and light warning module parses the verification decision control word and triggers the corresponding physical warning signal.
6. The material verification method based on spatial perception and multimodal edge collaboration according to claim 5, characterized in that, Step S2 includes the following steps: Step S21: Extract the color space matrix of the original multimodal image data, eliminate the specular reflection area of the metal surface based on the local mean replacement strategy, and use adaptive median filtering to remove background noise. Step S22: Calculate the neighborhood statistical features and edge gradient features of the pixel, dynamically solve the local binarization threshold, and peel the character body from the metal background to obtain the binarized image. Step S23: Perform connected component filtering on the binarized map, extract the grid distribution features and contour edge features of single characters, and assemble the two in a dimension-reduced manner to form the unstructured feature vector of the material.
7. The material verification method based on spatial perception and multimodal edge collaboration according to claim 6, characterized in that, In step S22, the specific process of dynamically solving the local binarization threshold is as follows: The edge computing main control module extracts the current target pixel. Location Average gray level in the neighborhood and grayscale standard deviation ; Construct the target pixel The local Hessian matrix is obtained by solving for its two eigenvalues. and ,and To characterize the spatial anisotropy of local textures; An adaptive dynamic threshold calculation formula based on scratch suppression and gradient awareness for metallic materials is used to determine the final binarization threshold of the current pixel. The specific formula is as follows: in, Basic compensation coefficient, The gradient magnitude of the local image. The global maximum gradient magnitude. For gradient-sensitive parameters, The scratch penalty factor characterizes the physical texture properties; When the target pixel is located in a unidirectional linear scratch region on a metal surface, the significant difference in feature values causes the scratch penalty factor to approach zero, thus reducing the threshold. Forced back to the local mean to suppress interfering scratches into background pixels; When in the region where character strokes intersect, the feature values are similar, and the threshold is adaptively sharpened with the gradient. Determine whether the grayscale value of the target pixel is greater than the specified value. Based on this, perform binary stripping of the foreground character.
8. The material verification method based on spatial perception and multimodal edge collaboration according to claim 7, characterized in that, The specific process of calculating the comparison distance and outputting the verification decision control word in step S3 is as follows: A cross-modal distance metric model based on the coupling of visual uncertainty and business risk is constructed. The edge computing master control module imports the extracted unstructured feature vectors of materials into Euclidean space to calculate the visual morphological difference distance. Simultaneously, the predicted probability distribution of the top three high-confidence candidate characters is statistically analyzed, and the visual information entropy of this distribution is calculated. ; Extract the plaintext-to-semantic representation of the feature vectors, and combine it with a pre-defined regular expression for specific material models to calculate the business logic editing difference between the plaintext-to-semantic representation and the benchmark data of the procurement ledger. ; Output the final multidimensional joint authentication distance using the cross-modal dynamic game allocation formula. : in, This is the entropy adjustment coefficient. The confidence-adaptive weights are calculated by inversely from the visual information entropy. This is a business risk penalty coefficient. The higher the critical asset level of the target material and the more the plaintext conversion semantics violate the regular expression logic, the more likely it is to cause a penalty. It amplifies exponentially; When visual recognition is severely impaired by contamination, leading to an increase in visual information entropy... As the confidence level increases, the adaptive weights automatically decrease, and the model forcibly increases the difference in the business logic editing. The proportion of decisions made; When the calculation yields When the value is less than the system's preset compliance tolerance threshold, a pass-type verification decision control word is generated; when When the value is greater than or equal to the compliance tolerance threshold, a positive integer verification decision control word containing a specific fault classification code is generated based on the abnormal deviation interval mapping logic.
9. A terminal, characterized in that, include: The memory is used to store the material verification program based on spatial awareness and multimodal edge collaboration; The processor is configured to implement the steps of the material verification method based on spatial perception and multimodal edge collaboration as described in any one of claims 5-8 when executing the material verification device based on spatial perception and multimodal edge collaboration.
10. A computer-readable storage medium, characterized in that, The storage medium stores computer instructions. When the computer reads the computer instructions in the storage medium, the computer executes the material verification method based on spatial perception and multimodal edge collaboration as described in any one of claims 5-8.
