Safety helmet scene classification method and device and electronic equipment
Through the combination of convolutional neural network and graph neural network, the precise positioning and tracking of smart helmets in indoor environments is achieved, which solves the problem of positioning difficulties caused by GPS signal loss and improves the safety of workers.
Patent Information
- Application Number
- CN202410733462.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-08
AI Technical Summary
Existing smart helmets cannot accurately position indoors because the GPS signal is lost and the scene where the worker wearing the helmet is located cannot be determined.
Using a method that combines convolutional neural networks and graph neural networks, the feature extraction and classification of scene sample images is performed by obtaining environmental images of workers wearing safety helmets, the scene categories are determined, and the feature vectors of feature points are determined through graph neural networks. Implement scene recognition and classification.
It achieves precise positioning and tracking of helmets in indoor environments, improves the safety of workers, and solves positioning problems caused by GPS signal loss.
Smart Images

Figure CN118747844A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image recognition, and in particular, to a scene classification method, device and electronic equipment for a helmet. Background Art
[0002] At present, most smart helmets are equipped with positioning modules and video modules. The positioning module uses GPS, RTK and other technologies for high-precision positioning, and the video module uses the front camera to transmit real-time images. Among them, the most important indicator of a helmet is its quality, which greatly affects the safety and experience of using a helmet.
[0003] In the related technology, by correcting the safety helmet positioning data in real time, the smart safety helmet can display the correct geographic coordinates on the electronic map in real time, which can help various industry application systems access the smart safety helmet positioning device. However, this method will lose the GPS signal indoors, and cannot accurately locate in the machine room and underground wells. It is also impossible to determine the scene where the worker wearing the safety helmet is located, and it is also impossible to reduce the quality of the safety helmet.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a scene classification method, device and electronic device for a safety helmet, so as to at least solve the technical problem that when positioning the safety helmet by GPS in the related technology, the GPS signal will be lost indoors, resulting in the inability to locate and determine the scene where the worker wearing the safety helmet is located.
[0006] According to one aspect of an embodiment of the present application, a scene classification method for a safety helmet is provided, comprising: obtaining a scene sample image to be scene classified, wherein the scene sample image is an image of the environment in which a worker wearing a safety helmet is located; using a convolutional neural network in a scene classification model to perform feature extraction on the scene sample image to obtain a global feature map of the scene sample image, wherein the scene classification model is used to determine the category of the scene to which the scene sample image belongs, and each scene sample image corresponds to a global feature map; determining a first feature vector corresponding to the global feature map through a fully connected layer in the scene classification model, and determining a target number of feature points from the global feature map, and determining a second feature vector corresponding to the feature points through a graph neural network; determining a scene classification result of the scene sample image based on the first feature vector and the second feature vector.
[0007] Optionally, a convolutional neural network in a scene classification model is used to extract features of a scene sample image to obtain a global feature map of the scene sample image, including: determining the number of convolutional layers required to output the global feature map in the convolutional neural network; determining the number of convolution operations and the number of convolution kernels for each convolutional layer; and performing a convolution operation on the scene sample image according to the number of convolutional layers, the number of convolution operations, the number of convolution kernels and a weight function of the convolutional neural network to obtain a global feature map.
[0008] Optionally, determining feature points of the target number from the global feature map includes: obtaining the number of channels of the global feature map, and adding the value of each channel to obtain a processed global feature map; sorting the feature vectors of the processed global feature map corresponding to each scene sample image in descending order, and selecting the first K feature vectors as feature points, where K represents the target number.
[0009] Optionally, determining the second eigenvector corresponding to the feature point through a graph neural network includes: constructing a graph structure based on the feature points, the edges of the feature points, and the adjacency matrix corresponding to the feature points; obtaining the activation matrix of the first layer and the weight matrix of the first layer in the graph neural network, wherein the first layer is any layer in the graph neural network; determining the node state matrix of the second layer in the graph neural network based on the adjacency matrix, the activation matrix, the weight matrix, and the activation function, wherein the second layer is the next layer of the first layer in the graph neural network; repeating the step of determining the node state matrix of the second layer from the first layer to the last layer in the graph neural network, stopping the iteration when the second layer is the last layer of the graph neural network, and outputting the second eigenvector.
[0010] Optionally, the graph pooling method in the graph neural network includes: determining a first optimization matrix and a second optimization matrix, wherein the first optimization matrix and the second optimization matrix are both matrices obtained by optimizing the edges of the graph structure; and determining an overall optimization matrix based on the first optimization matrix and the second optimization matrix.
[0011] Optionally, determining the first optimization matrix and the second optimization matrix includes: obtaining a graph matrix corresponding to the graph structure, an adjacency matrix, and a node weight matrix corresponding to each feature point in the graph structure; determining the first optimization matrix based on the graph matrix, the adjacency matrix, the weight parameters, and the node weight matrix; and processing the graph matrix through a multilayer perceptron and weight parameters to obtain a second optimization matrix.
[0012] Optionally, the features of feature points in the graph neural network are fused in the following manner: obtain the first feature of the first feature point in the graph structure, the second feature of the second feature point, and the attention value of the first feature and the second feature, wherein the first feature point is any feature point in the graph structure, and the second feature point is a neighbor node of the first feature point; fuse the first feature based on the weight parameter, the node weight matrix, the second feature and the attention value to obtain the fused feature corresponding to the first feature point.
[0013] According to another aspect of an embodiment of the present application, a scene classification device for a safety helmet is also provided, including: an acquisition module, used to acquire a scene sample image to be scene classified, wherein the scene sample image is an image of the environment in which a worker wearing a safety helmet is located; an extraction module, used to use a convolutional neural network in a scene classification model to perform feature extraction on the scene sample image to obtain a global feature map of the scene sample image, wherein the scene classification model is used to determine the category of the scene to which the scene sample image belongs, and each scene sample image corresponds to a global feature map; a first determination module, used to determine a first feature vector corresponding to the global feature map through a fully connected layer in the scene classification model, and determine a target number of feature points from the global feature map, and determine a second feature vector corresponding to the feature points through a graph neural network; a second determination module, used to determine the scene classification result of the scene sample image based on the first feature vector and the second feature vector.
[0014] According to another aspect of the embodiments of the present application, there is also provided an electronic device, comprising: a memory for storing program instructions; a processor, connected to the memory, for executing program instructions to implement the following functions: obtaining a scene sample image to be classified, wherein the scene sample image is an image of the environment in which a worker wearing a safety helmet is located; using a convolutional neural network in a scene classification model to extract features from the scene sample image to obtain a global feature map of the scene sample image, wherein the scene classification model is used to determine the category of the scene to which the scene sample image belongs, and each scene sample image corresponds to a global feature map; determining a first feature vector corresponding to the global feature map through a fully connected layer in the scene classification model, and determining a target number of feature points from the global feature map, and determining a second feature vector corresponding to the feature points through a graph neural network; determining a scene classification result of the scene sample image based on the first feature vector and the second feature vector.
[0015] According to another aspect of the embodiments of the present application, a non-volatile storage medium is provided, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned scene classification method for safety helmets by running the computer program.
[0016] According to another aspect of the embodiments of the present application, a computer program product is provided, including computer instructions, which implement the above-mentioned scene classification method for safety helmets when executed by a processor.
[0017] In an embodiment of the present application, a scene sample image to be classified is obtained, wherein the scene sample image is an image of the environment in which a worker wearing a safety helmet is located; a convolutional neural network in a scene classification model is used to extract features from the scene sample image to obtain a global feature map of the scene sample image, wherein the scene classification model is used to determine the category of the scene to which the scene sample image belongs, and each scene sample image corresponds to a global feature map; a first feature vector corresponding to the global feature map is determined by a fully connected layer in the scene classification model, and feature points of a target number are determined from the global feature map, and a second feature vector corresponding to the feature point is determined by a graph neural network; a scene classification result of the scene sample image is determined based on the first feature vector and the second feature vector, thereby achieving the purpose of scene recognition and classification of the environment image in which a worker wearing a safety helmet is located by combining a classification model and a neural network, thereby achieving the technical effect of accurately positioning and tracking the safety helmet in an indoor environment to improve the safety of the worker, thereby solving the technical problem that when positioning the safety helmet by GPS in the related technology, the GPS signal is lost indoors, causing the scene in which the worker wearing the safety helmet cannot be located and cannot be determined. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0019] Figure 1 is a hardware structure diagram of a computer terminal for implementing a scene classification method for a helmet according to an embodiment of the present application;
[0020] Figure 2 is a flow chart of a scene classification method for a helmet according to an embodiment of the present application;
[0021] Figure 3 is a schematic diagram of the overall process of scene classification of a helmet according to an embodiment of the present application;
[0022] Figure 4 is a schematic diagram of a convolutional neural network structure according to an embodiment of the present application;
[0023] Figure 5 is a schematic diagram of a graph structure generated based on k feature points according to an embodiment of the present application;
[0024] Figure 6 is a schematic diagram of a GSAPool pooling topology learning framework according to an embodiment of the present application;
[0025] Figure 7 is a schematic diagram of a graph pooling module framework according to an embodiment of the present application;
[0026] Figure 8 is a schematic diagram of scene sample statistics in an embodiment of the present application;
[0027] Fig. 9 It is a structural diagram of a scene classification device for a safety helmet according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] First, some nouns or terms that appear in the process of explaining the embodiments of the present application are subject to the following explanations:
[0031] Convolutional Neural Network (CNN): A neural network model with a hierarchical structure under supervised learning, which has the characteristics of local perception and parameter sharing. Its basic idea is to share the weights of feature maps and use relative relationships to reduce the number of parameters to improve training performance.
[0032] Graph Neural Network (GNN): A method based on deep learning, mainly processing on the graph data structure domain. In recent years, GNN has developed rapidly and has become a widely used graph structure data analysis network. Among them, a graph is also a kind of data, which is composed of many nodes and the edges between them. Unlike ordinary image data, image data is a kind of Euclidean space data, while graph data is a kind of non-Euclidean space data. Graph data contains many objects with fixed structures and certain relationships between them.
[0033] Graph Convolutional Network (GCN): The GCN network maps the idea of convolutional neural network used in images to the graph structure. It can train the node features and edge node relationship information in the graph structure end-to-end, extract the features in the graph structure hierarchically, and each extracted feature has higher-level semantic information. The essence of GCN is to update the features of the graph structure, and it is also a process for extracting features. GCN is mainly divided into two methods: the first is the GCN (Spatial approach) based on the spatial domain, which defines graph convolution by aggregating RecGNNs through graph structure information; the second is the GCN (Spectral approach) based on the spectral method, which introduces filters from the perspective of graph signal processing to define graph convolution.
[0034] It should be noted that the proposal of GNN is based on the idea of convolutional neural network. The main features of convolutional neural network are weight sharing and the use of multi-layer deep neural network. Similarly, these ideas can also be applied to graph structure data, providing an important method for solving problems in the graph field. There is a certain connection between the two. Graph data has a typical local connection structure. Nodes are connected to surrounding nodes through edges, and the surrounding nodes continue to spread. The images or texts processed by convolutional neural networks have a regular Euclidean data structure. They can also be regarded as ordered graph structure data and can be used as instances of graphs. Another part of the inspiration comes from the idea of graph embedding, which maps a vector in a network structure into a low-dimensional vector based on the characteristics of the network.
[0035] In the related art, most smart helmets are equipped with positioning modules and video modules. The positioning module uses GPS, RTK and other technologies for high-precision positioning, and the video module uses a front camera to transmit real-time images. Among them, one of the most important indicators of a helmet is its quality. The quality of a helmet greatly affects the safety and experience of using a helmet. In the related art, for example, by modularly positioning the helmet, the location of the staff is monitored in real time, and when the staff is in a dangerous position, the terminal automatically sends a signal to the wireless control module, and the wireless control module controls the buzzer to turn on and sound an alarm, reminding the staff to stay away from the area, which plays an early warning role; however, this method logically connects the positioning and alarm modules in series, but does not reduce the quality of the helmet. For example, by setting up a face recognition gate at the entrance and exit of the construction site, the construction workers are associated with the helmet, and the real-name positioning, trajectory tracking, and warning of entering dangerous areas of the workers on the construction site are realized to improve management efficiency and enhance the safety of construction production; however, this method binds the helmet to the personnel information, and requires the setting of a positioning base station, which does not reduce the quality of the helmet. Another example is the design of an intelligent positioning system, which uses Beidou satellite positioning technology to collect construction site information. Through testing, accurate positioning and detection functions can be achieved, providing strong support for the safety of construction workers; however, this method improves the accuracy of positioning while increasing the quality of the helmet positioning module. For another example, by selecting highway construction managers with different backgrounds, we conducted a survey on the degree of attention and functional requirements of intelligent helmets. According to the results of the survey, it is proposed that the intelligent helmet system should include three modules: entry into the work area management, personnel positioning management, and safety warning management; however, this method only studies the positioning detection system, and does not optimize the quality and positioning effect of the helmet.
[0036] In order to solve the above problems, the present application provides a scene classification method for helmets, which can be run on Figure 1 Among the computer terminals shown, the computer terminal will be described below.
[0037] The scene classification method embodiment of the safety helmet provided in the embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a scene classification method for a helmet. Figure 1As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions connected via a wired and / or wireless network. In addition, it may also include: a display, a keyboard, a cursor control device, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, and a BUS bus. Those skilled in the art can understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0038] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0039] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the scene classification method of the helmet in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the scene classification method of the helmet described above is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0040] The transmission module 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission module 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0041] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .
[0042] It should be noted that, in some optional embodiments, the above Figure 1 The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.
[0043] In the above-mentioned operating environment, an embodiment of the present application provides an embodiment of a scene classification method for a helmet. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0044] Figure 2 is a flow chart of a scene classification method for a helmet according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0045] Step S202, obtaining a scene sample image to be classified, wherein the scene sample image is an image of the environment in which a worker wearing a safety helmet is located.
[0046] In the above step S202, a model can be constructed for scene samples that need to be classified (such as "machine room", "device", "construction site", etc.), and the scene positions that need to be positioned and identified are set. Then, scene sample images are collected for each scene position, and the collected scene sample images are preprocessed to obtain a set of scene sample images of the same size, wherein the scene sample images are images of the environment in which the workers wearing safety helmets are located.
[0047] Step S204, using the convolutional neural network in the scene classification model to extract features of the scene sample image to obtain a global feature map of the scene sample image, wherein the scene classification model is used to determine the category of the scene to which the scene sample image belongs, and each scene sample image corresponds to a global feature map.
[0048] Step S206, determining the first feature vector corresponding to the global feature map through the fully connected layer in the scene classification model, determining the target number of feature points from the global feature map, and determining the second feature vector corresponding to the feature points through the graph neural network.
[0049] Step S208: determining a scene classification result of the scene sample image according to the first eigenvector and the second eigenvector.
[0050] In the above steps S204 and S208, the scene classification model is used to determine the category of the scene to which the scene sample image belongs, such as a computer room, a construction site, etc. The scene classification model may include two network structures: a convolutional neural network and a graph neural network. The convolutional neural network is used to extract features from the scene sample image to obtain a global feature map of the scene sample image, and the graph neural network is used to determine the feature vectors corresponding to the feature points in the global feature map of the scene sample image.
[0051] In the embodiment of the present application, the overall process is as follows Figure 3 As shown, the above-mentioned preprocessed scene sample image is used as the input of the scene classification model, and the scene sample image is subjected to feature extraction by the convolutional neural network (CNN) in the scene classification model. In the pooling layer, for example, the global maximum pooling (Global Max Pooling) can be used to obtain the global feature map of the scene sample image. On the one hand, the global feature map of the scene sample image is input into the fully connected layer in the scene classification model to obtain the first feature vector corresponding to the global feature map; on the other hand, a number of feature points are adaptively selected from the global feature map of the scene sample image, that is, the feature points of the above-mentioned target number, which are regarded as the vertices of the graph structure in the form of feature vectors and input into the graph neural network (GNN) to obtain the second feature vector corresponding to the feature point. Finally, the first feature vector and the second feature vector are connected (i.e., concatenated) and input into the fully connected layer (FC Layer) and the Softmax layer to perform the final helmet scene positioning work, and iterative training is performed until the entire scene classification model converges and the model is saved. Further, after the training is completed, the helmet scene sample image is tested, and the scene sample image is input to obtain the result, that is, the category obtained by the scene classification.
[0052] Through the above steps S202 to S208, the purpose of scene recognition and classification of the environment image of the worker wearing the helmet is achieved by combining the classification model and the neural network, thereby achieving the technical effect of accurately positioning and tracking the helmet in an indoor environment to improve the safety of the worker, thereby solving the technical problem that when positioning the helmet by GPS in the related technology, the GPS signal is lost indoors, resulting in the inability to locate and determine the scene where the worker wearing the helmet is located. The following is a detailed description.
[0053] Optionally, a convolutional neural network in a scene classification model is used to extract features of a scene sample image to obtain a global feature map of the scene sample image, including: determining the number of convolutional layers required to output the global feature map in the convolutional neural network; determining the number of convolution operations and the number of convolution kernels for each convolutional layer; and performing a convolution operation on the scene sample image according to the number of convolutional layers, the number of convolution operations, the number of convolution kernels and a weight function of the convolutional neural network to obtain a global feature map.
[0054] In the embodiment of the present application, a convolutional neural network can be used to extract features from a scene sample image to obtain a global feature map of the scene sample image, wherein the structure of the convolutional neural network is as follows: Figure 4 As shown, it includes an input layer, a convolution layer, a pooling layer, and a fully connected layer. When processing image data, a three-channel data structure is usually used, corresponding to the three RGB pixel values of the image. The input of the convolutional neural network is a scene sample image, and the output is a global feature map of the scene sample image; among them, the convolution layer and the pooling layer are the core parts of the entire convolutional neural network, and the main function of the fully connected layer is to completely map the scene sample image features extracted by the pooling layer and output the final global feature map. At the same time, combined with the VGGNet framework (such as the VGG-16 model pre-trained on ImageNet), the final global feature map of the scene sample image is obtained. The details are as follows:
[0055] Select the first five layers in the VGG-16 model, that is, the number of convolutional layers required for the above-mentioned output global feature map, and use the output features of the fifth convolutional layer as the global feature map of the scene sample image. Subsequent operations are performed on this global feature map. Set the size scale of the scene sample image input to the convolutional neural network to 224x 224 pixels, with each pixel having 3 color channels. The convolution kernel size passed by the network is 3x 3x 3, the stride is 1, the padding is 1, and the pooling method uses the maximum pooling method of 2x 2. For example: first input a 224*224*3 RGB scene sample image, denoted as x i, then perform two convolutions (i.e. the number of convolution operations mentioned above), both convolutions use 64 (i.e. the number of convolution kernels mentioned above) convolution kernels; use one pooling, then perform two more convolutions, use 128 convolution kernels, use one pooling, then perform three more convolutions, use 256 convolution kernels, then perform one more pooling operation, and finally repeat the convolution operation of three 512 convolution kernels twice. The weight function of the entire convolutional neural network is recorded as f x , thereby obtaining the global feature map F of the scene sample image x , recorded as:
[0056] F x =f w (x)
[0057] Optionally, determining feature points of the target number from the global feature map includes: obtaining the number of channels of the global feature map, and adding the value of each channel to obtain a processed global feature map; sorting the feature vectors of the processed global feature map corresponding to each scene sample image in descending order, and selecting the first K feature vectors as feature points, where K represents the target number.
[0058] In the embodiment of the present application, for a scene sample image, only a small number of regions have strong decidability features. Therefore, the global feature map F of the scene sample image can be x We adaptively obtain K feature points on the graph, and regard these feature points as the vertices of the graph structure data as the feature tensor of the input graph convolutional neural network to construct the graph data, denoted as G x , where G x =(V, E, A).
[0059] Among them, V is composed of the global feature map F x The vertices obtained in E are the global feature map F x The edges of the feature points in the graph, A is the global feature map F x The adjacency matrix of the structure. The global feature map F x The dimensions are (N, C, H, W), where N is the batch size, C is the number of channels, and H and W are the width and height of the feature map.
[0060] In order to select the K largest response regions, firstly transform the global feature map F x The values of each channel in are added to obtain the calculated global feature map, denoted as F re ,as follows:
[0061]
[0062] Then the processed global feature map F reThe dimension is converted to (N, H*W), which is equivalent to flattening a three-dimensional data into two-dimensional data. The two-dimensional image contains a natural spatial order, which is more conducive to discovering the spatial layout information in the image. Therefore, this order is used to select K feature regions as the global feature map F. x The specific process can be shown in Table 1:
[0063] Table 1 Feature region selection algorithm
[0064]
[0065] Through the feature region selection algorithm in Table 1, the global feature map F of the graph neural network is obtained. x Each global feature map selects K feature regions as the vertices of the graph structure. The vertices of the graph structure are represented by V = {|i = 1, 2, ..., k}, that is,
[0066] V={v i =F rgb (N,C,i)|i=ind sel (1),...,ind sel (K)}
[0067] Among them, F rgb The dimension is converted to (N, C, H*W), the global feature map F x The dimensions of the structure vertices are (N, K, C).
[0068] Figure 5 It is a graph structure generated based on K feature points of a response area according to an embodiment of the present application. For example, the value of K is set to 16, that is, 16 feature points are taken in each global feature map, marked as feature points 0 to 15. The constructed graph structure takes the 11th feature point, i.e., No. 10, as the global central feature point, and feature points 3, 6, and 13 as sub-feature points to construct the graph structure. As the number of iterations increases, the positioning of the feature points will eventually become closer and closer to the object in the scene sample image.
[0069] Optionally, determining the second eigenvector corresponding to the feature point through a graph neural network includes: constructing a graph structure based on the feature points, the edges of the feature points, and the adjacency matrix corresponding to the feature points; obtaining the activation matrix of the first layer and the weight matrix of the first layer in the graph neural network, wherein the first layer is any layer in the graph neural network; determining the node state matrix of the second layer in the graph neural network based on the adjacency matrix, the activation matrix, the weight matrix, and the activation function, wherein the second layer is the next layer of the first layer in the graph neural network; repeating the step of determining the node state matrix of the second layer from the first layer to the last layer in the graph neural network, stopping the iteration when the second layer is the last layer of the graph neural network, and outputting the second eigenvector.
[0070] In the embodiment of the present application, the goal of the GNN graph neural network is to update the feature values of all edge nodes by learning each node (i.e., the above-mentioned feature points) and edge information in the network. From the above content, it can be seen that the graph structure G x =(V, E, A), where V is the global feature map F x The vertices obtained in E are the global feature map F x The edges of each node in, A is the global feature graph F x The adjacency matrix of the structure; the graph structure is represented by a matrix X, whose dimension is (N*D), where N is the number of nodes in the graph structure and D is the feature dimension of each node.
[0071] In the adjacency matrix A, if a ij = 0, it means that the two nodes are not adjacent; if a ij =1, it means that the two nodes are adjacent. By inputting the node matrix X and the adjacency matrix A into GCN, the output matrix Z is obtained, and its dimension is (N*F), where N is the number of nodes and F is the feature dimension of each node.
[0072] The node state matrix H of the second layer in the graph neural network (the layer below the first layer in the graph neural network) (l+1) As shown below:
[0073] H (l+1) =f(H (l) ,A)
[0074] In the embodiment of the present application, a multi-layer graph convolutional network (GCN) is considered, which has the following layered propagation rule, as shown in the following formula:
[0075]
[0076] Among them, the first layer is any layer in the graph neural network. Represents the point state matrix as the global feature map G with added sub-connections x The adjacency matrix of N is the identity matrix.
[0077] Represents the feature dimension of each node, W (l) represents the weight matrix of the first layer (i.e., layer l) in the graph neural network, σ() represents a nonlinear activation function similar to Relu, and H (l) Represents the activation matrix of the first layer in a graph neural network.
[0078] In an embodiment of the present application, the step of determining the node state matrix of the second layer is repeatedly performed from the first layer to the last layer in the graph neural network, and the iteration is stopped when the second layer is the last layer of the graph neural network, and the second feature vector is output. Among them, the GCN network obtains the node state matrix of the next layer according to the node state matrix of the previous layer through the propagation rules set above, thereby forming the characteristics of the matrix of the next layer. After several updates, the features extracted from the nodes have higher-level semantic information.
[0079] Optionally, the graph pooling method in the graph neural network includes: determining a first optimization matrix and a second optimization matrix, wherein the first optimization matrix and the second optimization matrix are both matrices obtained by optimizing the edges of the graph structure; and determining an overall optimization matrix based on the first optimization matrix and the second optimization matrix.
[0080] Optionally, determining the first optimization matrix and the second optimization matrix includes: obtaining a graph matrix corresponding to the graph structure, an adjacency matrix, and a node weight matrix corresponding to each feature point in the graph structure; determining the first optimization matrix based on the graph matrix, the adjacency matrix, the weight parameters, and the node weight matrix; and processing the graph matrix through a multilayer perceptron and weight parameters to obtain a second optimization matrix.
[0081] In the embodiment of the present application, for image classification and regression tasks, the final output vector can be obtained based on the pooling operation. In graph data, the pooling operation can also be introduced. GSAPool pooling topology learning mainly includes three parts: structure-based topology learning (SBTL), feature-based topology learning (FBTL) and structure feature topology learning (SFTL). The specific framework is as follows Figure 6 As shown:
[0082] (1) SBTL: By considering the structural information of the edges and the characteristic information of the nodes in the graph structure, a more reasonable and accurate graph structure topology is designed. This part mainly considers the edge structure information of the graph structure. The score function can also use some GNN networks, such as ChebConv, GraphSAGE, and GAT. The essence of GCN is to extract the relationship features of the edge nodes in the graph. Therefore, this part uses GCNConv to evaluate and optimize the importance of each node in the graph structure. The formula is as follows:
[0083]
[0084] Among them, S 1 is the first optimization matrix mentioned above, a represents the weight parameter, Represents the global feature map F x The adjacency matrix of the structure, X represents the graph matrix, W represents the node weight matrix, Represents the feature dimension of each node.
[0085] (2) FBTL: This part mainly considers the edge structure information of the graph structure. The feature of the node largely represents the semantic information contained in the node and is the most important part of the graph data structure. The embodiment of the present application adopts MLP as the node feature extraction method because MLP has good adaptive feature information aggregation capability. The formula is as follows:
[0086] S 2 =a(MLP(X))
[0087] Among them, S 2 is the second optimization matrix mentioned above, a represents the weight parameter, MLP represents the multilayer perceptron, and X represents the graph matrix.
[0088] (3) SFTL: This module adds the above SBTL module and FBTL module according to a certain distribution probability. The specific formula is as follows:
[0089] S final =aS 1 +(1-a)S 2
[0090] Among them, the weight parameter of the SBTL module is a, and the weight parameter of the FBTL module is 1-a.
[0091] In the embodiment of the present application, the GSAPool graph adaptive pooling method is adopted, and a more reasonable and accurate graph structure topology is designed mainly by considering the structural information of the edges in the graph structure and the feature information of the nodes. Some nodes are discarded before feature aggregation to retain the information of some discarded nodes and prevent the loss of effective information with discriminating power. The classification accuracy is improved by further mining the relationship between local image features at different positions in the scene image.
[0092] Optionally, the features of feature points in the graph neural network are fused in the following manner: obtain the first feature of the first feature point in the graph structure, the second feature of the second feature point, and the attention value of the first feature and the second feature, wherein the first feature point is any feature point in the graph structure, and the second feature point is a neighbor node of the first feature point; fuse the first feature based on the weight parameter, the node weight matrix, the second feature and the attention value to obtain the fused feature corresponding to the first feature point.
[0093] In the embodiment of the present application, the GSAPool method retains the information of the discarded nodes before discarding some nodes to prevent the confidence information of the unselected nodes from being completely discarded. Furthermore, the node feature fusion can be realized through the GAT network by performing an aggregation feature operation on the nodes within one hop of the selected node. The specific formula is as follows:
[0094]
[0095] Among them, h i is the first feature, indicating the feature of node i (the first feature point), h j is the second feature, representing the feature of the adjacent node (second feature point) of node i, N i represents the number of adjacent nodes (second feature points) of node i, Represents the first feature h i and the second feature h j The attention value, W represents the node weight matrix, h i ′ indicates that the first feature is fused to obtain the fused feature corresponding to the first feature point.
[0096] Figure 7 is a schematic diagram of a graph pooling module framework according to an embodiment of the present application, such as Figure 8 As shown in the figure, the GCN network uses three layers of graph convolution. After each graph convolution, a graph pooling layer is input. The graph pooling method uses the GSAPooling method. Considering the importance of the structural relationship between node features and edges in the scene sample image, the value of a is set to 0.3. After pooling, the readout operation is performed through the readout layer. Global pooling and average pooling are performed on a subgraph to reduce the dimensions of graphs with different numbers of nodes to the same dimension. Finally, the outputs of the three readout layers are connected as the output of the entire graph neural network module to obtain the regional result of the final positioning of the helmet.
[0097] Figure 8 It is a schematic diagram of sample statistics of six types of scenes (such as communication room, device area, data center, construction site, manufacturing workshop and transportation warehouse scenes) in the embodiment of the present application. The scene classification models in the embodiments of the present application all use the VGG-16 network as the basic framework to extract the global features of the image. In the training stage, the parameter initialization of the network layer mainly includes the following steps: First, fine-tune the pre-trained convolutional neural network VGG-16 so that it can better capture features in the scene data set and use it for classification tasks. Secondly, during the network training process, the parameters of the GCNConv layer are initialized using the Xavier algorithm.
[0098] During the training process, all input scene images are uniformly resized to a size of 224x224. The training cycle is set to 200 epochs, the size of each batch is 64, and the Adam optimization algorithm is used for optimization. The initial learning rate is set to 0.001, and the learning rate gradually decreases as the number of iterations increases. After every 40 epochs, the learning rate will become 0.1 times the previous one. When the loss value is large at the beginning, a larger learning rate can help the model converge quickly. As the loss value decreases, appropriately reducing the learning rate can prevent the model from falling into a local minimum. When the loss value no longer changes significantly, it means that the model has converged and the training can be terminated early to prevent overfitting.
[0099] In the test phase, the model first resizes the scene image to a size of 224x224, and then inputs the processed image into the network for testing to obtain the classification probability. The accuracy is selected as the evaluation indicator of the algorithm, as shown in the formula:
[0100]
[0101] Among them, positive is the number of images that the classifier predicts the correct category, and negative is the number of images that the classifier predicts the wrong category.
[0102] At the same time, cross entropy is used as the loss function in the implementation of the helmet positioning function, and the model is trained using the training data set. It is verified on the scene sample image data set, and a control experiment is set with and without the GSAPool graph pooling module. As shown in Table 2 below, the classification accuracy of the model on the scene sample data set reached 95.19% and 96.82% respectively.
[0103] Table 2 Classification accuracy of different methods
[0104]
[0105] According to the above process, it can be seen that the helmet positioning method based on graph neural network can achieve a high degree of accuracy, and positioning is performed by uploading images through the camera, which reduces the quality of the positioning module and increases the applicability of the helmet.
[0106] In an embodiment of the present application, a preprocessing operation is performed on the scene sample images in the training data set to obtain an image set of uniform size. The processed images are then used to extract the global features of the image through a convolutional neural network. In addition to using the global features as a global representation of the entire scene image and inputting them into a fully connected layer, several feature points are adaptively selected from the global feature map, which are regarded as vertices of the graph structure in the form of feature vectors and input into the graph neural network. Finally, a fully connected layer and a Softmax layer perform scene classification. After iterative training until the entire model converges, the model is saved. After training is completed, the scene classification system is tested, and pictures are input to obtain classification results. The uploaded images are accurately classified by the feature update capability of the graph neural network, which solves the positioning accuracy and cost problems of the helmet indoors, while reducing the quality of the smart helmet and improving the wearing experience of the wearer.
[0107] According to an embodiment of the present application, a scene classification device for a helmet is provided. It should be noted that the scene classification device for a helmet in the embodiment of the present application can be used to execute the scene classification method for a helmet provided in the embodiment of the present application. The scene classification device for a helmet provided in the embodiment of the present application is introduced below.
[0108] Fig. 9 is a structural diagram of a scene classification device for a helmet provided according to an embodiment of the present application. Fig. 9 As shown, the device comprises:
[0109] An acquisition module 90 is used to acquire a scene sample image to be classified, wherein the scene sample image is an image of the environment in which the worker wearing the helmet is located;
[0110] An extraction module 92 is used to extract features from the scene sample image using a convolutional neural network in a scene classification model to obtain a global feature map of the scene sample image, wherein the scene classification model is used to determine the category of the scene to which the scene sample image belongs, and each scene sample image corresponds to a global feature map;
[0111] A first determination module 94 is used to determine a first feature vector corresponding to a global feature map through a fully connected layer in a scene classification model, determine a target number of feature points from the global feature map, and determine a second feature vector corresponding to the feature points through a graph neural network;
[0112] The second determination module 96 is used to determine the scene classification result of the scene sample image according to the first feature vector and the second feature vector.
[0113] Through the acquisition module 90, extraction module 92, first determination module 94 and second determination module 96 in the scene classification device of the above-mentioned safety helmet, the purpose of scene recognition and classification of the environmental image in which the staff wearing the safety helmet is located is achieved by combining the classification model and the neural network, thereby achieving the technical effect of accurately positioning and tracking the safety helmet in an indoor environment to improve the safety of the staff, and further solving the technical problem that when the safety helmet is positioned by GPS in the related technology, the GPS signal will be lost indoors, resulting in the inability to locate and determine the scene where the staff wearing the safety helmet is located.
[0114] In the scene classification device for a safety helmet provided in an embodiment of the present application, the extraction module is also used to determine the number of convolutional layers required to output a global feature map in a convolutional neural network; determine the number of convolution operations and the number of convolution kernels for each convolutional layer; and perform convolution operations on the scene sample image based on the number of convolutional layers, the number of convolution operations, the number of convolution kernels and the weight function of the convolutional neural network to obtain a global feature map.
[0115] In the scene classification device for a helmet provided in an embodiment of the present application, the first determination module is also used to obtain the number of channels of the global feature map, and add the value of each channel to obtain a processed global feature map; after sorting the feature vectors of the processed global feature map corresponding to each scene sample image in descending order, the first K feature vectors are selected as feature points, where K represents the number of targets.
[0116] In the scene classification device for safety helmets provided in an embodiment of the present application, the first determination module is also used to construct a graph structure based on feature points, edges of feature points, and adjacency matrices corresponding to feature points; obtain the activation matrix of the first layer and the weight matrix of the first layer in the graph neural network, wherein the first layer is any layer in the graph neural network; determine the node state matrix of the second layer in the graph neural network based on the adjacency matrix, activation matrix, weight matrix, and activation function, wherein the second layer is the next layer of the first layer in the graph neural network; repeat the steps of determining the node state matrix of the second layer from the first layer to the last layer in the graph neural network, stop the iteration when the second layer is the last layer of the graph neural network, and output the second eigenvector.
[0117] In the scene classification device for a helmet provided in an embodiment of the present application, the first determination module is also used to determine a first optimization matrix and a second optimization matrix, wherein the first optimization matrix and the second optimization matrix are both matrices obtained after optimizing the edges of the graph structure; based on the first optimization matrix and the second optimization matrix, the overall optimization matrix is determined.
[0118] In the scene classification device for safety helmets provided in an embodiment of the present application, the first determination module is also used to obtain a graph matrix corresponding to the graph structure, an adjacency matrix, and a node weight matrix corresponding to each feature point in the graph structure; determine a first optimization matrix based on the graph matrix, the adjacency matrix, the weight parameters, and the node weight matrix; and process the graph matrix through a multilayer perceptron and weight parameters to obtain a second optimization matrix.
[0119] In the scene classification device for a helmet provided in an embodiment of the present application, the first determination module is also used to obtain the first feature of the first feature point in the graph structure, the second feature of the second feature point, and the attention value of the first feature and the second feature, wherein the first feature point is any feature point in the graph structure, and the second feature point is a neighbor node of the first feature point; based on the weight parameter, the node weight matrix, the second feature and the attention value, the first feature is fused to obtain the fused feature corresponding to the first feature point.
[0120] An embodiment of the present application also provides an electronic device, including: a memory for storing program instructions; a processor, connected to the memory, for executing program instructions to implement the following functions: obtaining a scene sample image to be classified, wherein the scene sample image is an image of the environment in which a worker wearing a safety helmet is located; using a convolutional neural network in a scene classification model to extract features from the scene sample image to obtain a global feature map of the scene sample image, wherein the scene classification model is used to determine the category of the scene to which the scene sample image belongs, and each scene sample image corresponds to a global feature map; determining a first feature vector corresponding to the global feature map through a fully connected layer in the scene classification model, and determining a target number of feature points from the global feature map, and determining a second feature vector corresponding to the feature points through a graph neural network; determining a scene classification result of the scene sample image based on the first feature vector and the second feature vector.
[0121] It should be noted that the above electronic equipment is used to execute Figure 2 The scene classification method of the safety helmet shown in the figure, therefore the relevant explanations and instructions in the above-mentioned scene classification method of the safety helmet are also applicable to the electronic device, and will not be repeated here.
[0122] An embodiment of the present application also provides a non-volatile storage medium, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned scene classification method for safety helmets by running the computer program.
[0123] The embodiment of the present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above-mentioned scene classification method for safety helmets.
[0124] It should be noted that the above non-volatile storage medium is used to execute Figure 2The scene classification method of the safety helmet shown in the figure, therefore the relevant explanations and instructions in the above scene classification method of the safety helmet are also applicable to the non-volatile storage medium, and will not be repeated here.
[0125] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0126] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0127] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0130] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0131] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A scene classification method for helmets, characterized in that: include: Acquire a scene sample image to be classified, wherein the scene sample image is an image of an environment in which a worker wearing a safety helmet is located; Using a convolutional neural network in a scene classification model to extract features from the scene sample image to obtain a global feature map of the scene sample image, wherein the scene classification model is used to determine the category of the scene to which the scene sample image belongs, and each scene sample image corresponds to a global feature map; Determine a first feature vector corresponding to the global feature map through a fully connected layer in the scene classification model, determine a target number of feature points from the global feature map, and determine a second feature vector corresponding to the feature points through a graph neural network; A scene classification result of the scene sample image is determined according to the first feature vector and the second feature vector.
2. The method according to claim 1, characterized in that The convolutional neural network in the scene classification model is used to extract features of the scene sample image to obtain a global feature map of the scene sample image, including: Determining the number of convolutional layers required in the convolutional neural network to output the global feature map; Determine the number of convolution operations and the number of convolution kernels for each convolution layer; The scene sample image is convolved according to the number of convolutional layers, the number of convolutional operations, the number of convolutional kernels and the weight function of the convolutional neural network to obtain the global feature map.
3. The method according to claim 1, characterized in that: Determining a target number of feature points from the global feature map includes: Obtaining the number of channels of the global feature map, and adding the value of each channel to obtain a processed global feature map; After sorting the feature vectors of the processed global feature map corresponding to each scene sample image in descending order, the first K feature vectors are selected as the feature points, where K represents the number of targets.
4. The method according to claim 1, characterized in that: Determining a second feature vector corresponding to the feature point by using a graph neural network includes: Constructing a graph structure according to the feature points, the edges of the feature points and the adjacency matrix corresponding to the feature points; Obtaining an activation matrix of a first layer in the graph neural network and a weight matrix of the first layer, wherein the first layer is any layer in the graph neural network; Determine a node state matrix of a second layer in the graph neural network according to the adjacency matrix, the activation matrix, the weight matrix and the activation function, wherein the second layer is a layer below the first layer in the graph neural network; The step of determining the node state matrix of the second layer is repeatedly performed from the first layer to the last layer in the graph neural network, and the iteration is stopped when the second layer is the last layer of the graph neural network, and the second feature vector is output.
5. The method according to claim 4, characterized in that The graph pooling method in the graph neural network includes: Determine a first optimization matrix and a second optimization matrix, wherein the first optimization matrix and the second optimization matrix are matrices obtained by optimizing the edges of the graph structure; An overall optimization matrix is determined according to the first optimization matrix and the second optimization matrix.
6. The method according to claim 5, characterized in that Determining a first optimization matrix and a second optimization matrix includes: Obtaining a graph matrix corresponding to the graph structure, the adjacency matrix, and a node weight matrix corresponding to each feature point in the graph structure; Determining the first optimization matrix according to the graph matrix, the adjacency matrix, the weight parameter and the node weight matrix; The graph matrix is processed by a multilayer perceptron and the weight parameters to obtain the second optimization matrix.
7. The method according to claim 6, characterized in that The features of the feature points in the graph neural network are fused in the following way: Obtaining a first feature of a first feature point in the graph structure, a second feature of a second feature point, and attention values of the first feature and the second feature, wherein the first feature point is any feature point in the graph structure, and the second feature point is a neighbor node of the first feature point; The first feature is fused according to the weight parameter, the node weight matrix, the second feature and the attention value to obtain a fused feature corresponding to the first feature point.
8. A scene classification device for a helmet, characterized in that: include: An acquisition module, used for acquiring a scene sample image to be classified, wherein the scene sample image is an image of the environment in which a worker wearing a safety helmet is located; An extraction module, used to extract features from the scene sample image using a convolutional neural network in a scene classification model to obtain a global feature map of the scene sample image, wherein the scene classification model is used to determine the category of the scene to which the scene sample image belongs, and each scene sample image corresponds to a global feature map; A first determination module is used to determine a first feature vector corresponding to the global feature map through a fully connected layer in the scene classification model, determine a target number of feature points from the global feature map, and determine a second feature vector corresponding to the feature points through a graph neural network; The second determination module is used to determine the scene classification result of the scene sample image according to the first feature vector and the second feature vector.
9. An electronic device, characterized in that: include: A memory for storing program instructions; A processor, connected to the memory, is used to execute program instructions that implement the following functions: obtaining a scene sample image to be classified, wherein the scene sample image is an image of the environment in which a worker wearing a safety helmet is located; using a convolutional neural network in a scene classification model to extract features from the scene sample image to obtain a global feature map of the scene sample image, wherein the scene classification model is used to determine the category of the scene to which the scene sample image belongs, and each scene sample image corresponds to a global feature map; determining a first feature vector corresponding to the global feature map through a fully connected layer in the scene classification model, and determining a target number of feature points from the global feature map, and determining a second feature vector corresponding to the feature point through a graph neural network; and determining a scene classification result of the scene sample image based on the first feature vector and the second feature vector.
10. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the scene classification method for the helmet according to any one of claims 1 to 7 by running the computer program.
11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the scene classification method for a helmet described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Scene classification method and device applied to touch system
TWI904969B
