A hand detection method integrating local and deep spatiotemporal graph networks

By adopting a spatio-temporal graph network method that combines locality and depth in video images, using graph relationship networks and depth information, and combining video frame information before and after, the problem of hand detection accuracy in video images is solved, and a more efficient detection effect is achieved.

CN114821654BActive Publication Date: 2024-09-03FUZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210497768.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-09
Publication Date
2024-09-03
Estimated Expiration
2042-05-09

AI Technical Summary

Technical Problem

The existing technology is difficult to accurately identify hand targets when detecting human hands in video images, mainly because it fails to effectively utilize the contextual information of the video image and the local information of the hand targets.

Method used

The spatio-temporal graph network method that combines locality and depth is used to enhance image recognition through the graph relationship network and depth information, combined with the information of the previous and next frames of the video, construct the graph relationship network and use the graph attention network to describe the relationship between nodes, and optimize the feature map. Calculate and update.

Benefits of technology

The accuracy and efficiency of hand target detection are improved, and video context and local information can be better utilized to enhance the detection effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114821654B
    Figure CN114821654B
Patent Text Reader

Abstract

The present invention provides a method for detecting human hands by integrating local and deep spatiotemporal graph networks. First, a traditional detector is used to obtain a multi-scale feature map of a video image. Then, a target candidate frame with high confidence is selected from the feature map, and the image in the target candidate frame is input into the detector again to obtain a feature map. The activation value of the sliding window is used to obtain a local key information candidate frame, and a graph relationship network is established for the candidate frame. The depth information and the images of the first few frames of the video are integrated to establish a graph network for training. Finally, the node attributes obtained by the graph calculation are added to the feature information of the original feature map, so as to achieve the effect of enhanced recognition. The present invention uses a graph relationship network, depth information, and video front and back information to enhance image recognition, solving the problem that traditional detectors cannot use image depth information, video image front and back information, and the relationship between targets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a method for detecting human hands by integrating local and deep spatiotemporal graph networks. Background Art

[0002] Multi-target video detection is a core problem of computer vision. At present, hand detection is increasingly used in virtual reality, rehabilitation medicine, remote control and other fields as a key technology of human-computer interaction. Input real-time video image sequence, calculate the correct hand target through the detector, and the detection data can be accurately applied in the field of human-computer interaction. However, due to the vibration and blur of video images, the instantaneous image often cannot correctly detect the hand target in target detection. Therefore, how to accurately detect in video detection becomes a difficult point. Target detection refers to the detection of the target to be identified from daily images. It is a core problem of computer vision. Many successful algorithms have been produced for target detection, such as Faster R-CNN, YoloX, etc. These detection algorithms mainly calculate the feature information of the image to detect the target. By calculating the feature information on the image, a single target can be well detected. However, in multi-target video images, only based on the features of the target on the image to identify the target, it is easy to lead to low detection efficiency. In video detection, the mainstream method uses the CNN method to obtain video context information, but this method only considers the feature information of the context, and does not consider the contextual relationship information between video targets. Therefore, how to utilize the video context information and the relationship between the hand target and the local information within the hand target in the video image has always been a difficult problem for this type of image detection algorithm. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a hand detection method that integrates local and deep spatiotemporal graph networks, utilizes graph relationship networks, depth information and video before and after information to enhance image recognition, and solves the problem that traditional detectors cannot utilize image depth information, video image before and after information and the correlation between targets.

[0004] To achieve the above object, the present invention adopts the following technical solution: a method for hand detection by integrating local and deep spatiotemporal graph networks, characterized in that it comprises the following steps:

[0005] Step S1: inputting N frames of sequence images and labels containing the positions of human hands into a traditional detector to obtain a feature map of the first layer of the detection result output by the detector, that is, obtaining feature maps of N frames of images in total;

[0006] Step S2: Decoupled Head operation is performed on the feature map of each frame image separately. Specifically, the number of channels is first reduced to 256 using a 1×1 convolution layer, and then the confidence information and position information of each target candidate box are obtained through two 3×3 convolution layers and one 1×1 convolution layer.

[0007] Step S3: input the image of each target candidate box whose confidence is greater than the learnable threshold V into the traditional detector, and output the feature map of each target;

[0008] Step S4: Pass the feature maps of each target through 7 sets of sliding windows of specific sizes, and calculate the activation value of each sliding window Activation Value The calculation method is as follows:

[0009]

[0010] Among them, A(·) is the aggregation of the eigenvalues ​​of all channels at the point, h and w are the length and width of the sliding window; non-maximum suppression is used to select the activation value The largest first P windows are used as local candidate boxes;

[0011] Step S5: construct a graph relationship network for each frame of image;

[0012] Step S6: constructing the respective adjacency matrix of the graph relationship network of each frame image and performing graph calculation;

[0013] Step S7: construct an adjacency matrix from the graph relationship network of the N frames of images and perform graph calculation;

[0014] Step S8: Add the calculated graph node attributes to the features of the node on the feature map to obtain an enhanced feature map; update the enhanced feature map through traditional detector loss calculation;

[0015] Step S9: loop S1-S8 until network training is completed;

[0016] Step S10: Input the video to the detector of the fusion spatiotemporal graph relationship network, input the real-time image and the previous N-1 frames of images each time, if there are no previous N-1 frames of images, only input the real-time image, and input the N frames of images into the network;

[0017] Step S11: output the graph network represented by each frame of image for graph calculation;

[0018] Step S12: Add the calculated graph node attributes to the features of the node on the feature map to obtain an enhanced feature map; take the feature map of the real-time image, perform Decoupled Head processing, output the information of each candidate box, and output the real-time prediction result after non-maximum suppression;

[0019] Step S13: loop steps S10-S12 until the final prediction result of the video is output in real time.

[0020] In a preferred embodiment: Step S5 is specifically as follows: a target candidate box with a confidence greater than a learnable threshold V in the feature map of each frame of image is used as a target map node, and the feature information of the candidate box in the feature map is used as an attribute of the target map node; the P local candidate boxes within each target are used as local nodes of the graph, and the feature information of the local candidate boxes is used as an attribute of the local node, so as to construct the node information of the graph relationship network of each frame of image.

[0021] In a preferred embodiment: the step S6 specifically includes: converting the image into a depth map to obtain the depth map information of the image; and combining the pixel distance d between each node ij and relative depth m ij , generate a (K+L)×(K+L) adjacency matrix, K is the number of target graph nodes in the image, L is the number of local nodes in the image. In this adjacency matrix, (K+L)×(K+L) represents the relationship between each graph node. Set λ ij Represents the relationship between the areas represented by nodes i and j:

[0022] λ ij =(w1d ij +w2m ij )

[0023] m ij =δ(ω(I),i,j)

[0024]

[0025] Among them, x i ,y i With x j ,y j Represent the center coordinates of the two candidate boxes, w1 and w2 are learnable parameters, ω(·) is the calculated depth map, δ(·) is the depth difference between the regions i and j, I is the input original image, W and H are the width and height of the input image; let λ between the local nodes of different targets ij The value is defined as ∞, and the adjacency matrix is ​​sparsely populated: starting from the first row, select each row λ ijThe largest first F points are used to construct a sparse adjacency matrix for each frame of the image; and the Graph Attention Networks are used to describe the influence and propagation between each adjacent node in the graph; each graph node attribute h j After updating, it is h' i , the update process is as follows:

[0026]

[0027] Among them, α ij is the attention coefficient of graph nodes i and j, h j is the attribute of the j nodes around the i node, W′ is a learnable parameter, and σ(·) represents the process of graph convolution calculation. represents any node in the neighborhood of node i.

[0028] In a preferred embodiment, the step S7 is specifically as follows: converting each frame of image into a depth map, and combining the pixel distance d between each node ij and the layer distance k ij and relative depth m ij , generate a (K+L)×(K+L) adjacency matrix; in this adjacency matrix, (K+L)×(K+L) represents the relationship between each graph node, set γ ij Represents the relationship between the areas represented by nodes i and j:

[0029] γ ij =(w3d ij +w4k ij +w5m ij )

[0030] k ij = Fra(i)-Fra(j)

[0031] Among them, w3, w4 and w5 are learnable parameters, Fra(·) is the frame number of the image where the computation node i or j is located; let λ between local nodes of different targets ij The value is defined as ∞, and the adjacency matrix is ​​sparsely populated: starting from the first row, select each row γ ij The largest first F points build a sparse adjacency matrix with hierarchical information; and use Graph Attention Networks to describe the influence and propagation between each adjacent node in the graph.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] 1) By introducing graph relationship networks and deep information and local information, the relationship between hand targets and local information within hand targets are reasonably used to enhance recognition, solving the problem that traditional detectors only recognize inaccurately based on target features, and better enhancing the hand target detection effect;

[0034] 2) By introducing the time series and reasonably combining the relationship between the previous and next images in the video, the correct hand target can be found more accurately by utilizing the video context relationship during detection, which helps to enhance the detection effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 Flow chart of a method for hand detection that integrates local and deep spatiotemporal graph networks in a preferred embodiment of the present invention.

[0036] Figure 2 This is a diagram of a network architecture for a spatiotemporal graph relationship that integrates local and deep aspects, as proposed in a preferred embodiment of the present invention.

[0037] Figure 3 This is a comparison chart of the detection effects of the preferred embodiment of the present invention and other detection algorithms. DETAILED DESCRIPTION

[0038] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0039] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0040] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application; as used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or their combinations.

[0041] like Figure 1 As shown, a method for hand detection by integrating local and deep spatiotemporal graph networks of the present invention is implemented by the following steps:

[0042] Step S1: inputting N frames of sequence images and labels containing the positions of human hands into a traditional detector (such as Yolo) to obtain the feature map of the first layer of the detector output detection result, that is, obtaining the feature maps of N frames of images in total;

[0043] Step S2: Decoupled Head operation is performed on the feature map of each frame image separately. Specifically, the number of channels is first reduced to 256 using a 1×1 convolution layer, and then the confidence information and position information of each target candidate box are obtained through two 3×3 convolution layers and one 1×1 convolution layer.

[0044] Step S3: Input the image of each target candidate box whose confidence is greater than the learnable threshold V (initial 0.1) into the traditional detector, and output the feature map of each target;

[0045] Step S4: Pass the feature maps of each target through 7 sets of sliding windows of specific sizes, and calculate the activation value of each sliding window Activation Value The calculation method is as follows:

[0046]

[0047] Among them, A(·) is the aggregation of the eigenvalues ​​of all channels at the point, h and w are the length and width of the sliding window; non-maximum suppression is used to select the activation value The largest first P windows are used as local candidate boxes;

[0048] Step S5: construct a graph relationship network for each frame of image, specifically: take the target candidate box with a confidence greater than the learnable threshold V in the feature map of each frame of image as the target graph node, and take the feature information of the candidate box in the feature map as the attribute of the target graph node; take the P local candidate boxes in each target as the local graph nodes, and take the feature information of the local candidate boxes as the attribute of the local node, and construct the node information of the graph relationship network of each frame of image;

[0049] Step S6: construct the adjacency matrix of each frame image graph relationship network and perform graph calculation, specifically: convert the image into a depth map to obtain the depth map information of the image; and combine the pixel distance d between each node ij and relative depth m ij , generate a (K+L)×(K+L) adjacency matrix (K is the number of target graph nodes in the image, L is the number of local nodes in the image). In this adjacency matrix, (K+L)×(K+L) represents the relationship between each graph node, and set λ ij Represents the relationship between the areas represented by nodes i and j:

[0050] λ ij =(w1d ij +w2m ij )

[0051] m ij =δ(ω(I),i,j)

[0052]

[0053] Among them, x i ,y i With x j ,y j Represent the center coordinates of the two candidate boxes, w1 and w2 are learnable parameters (both with initial values ​​of 0.5), ω(·) is the depth map, δ(·) is the depth difference between the regions i and j, I is the original input image, W and H are the width and height of the input image; let λ between the local nodes of different targets be ij The value is defined as ∞, and the adjacency matrix is ​​sparsely populated: starting from the first row, select each row λ ij The largest first F points are used to construct a sparse adjacency matrix for each frame of the image; and the Graph Attention Networks are used to describe the influence and propagation between each adjacent node in the graph. Each graph node attribute h j After updating, it is h' i , the update process is as follows:

[0054]

[0055] Among them, α ij is the attention coefficient of graph nodes i and j, h j is the attribute of the j nodes around the i node, W′ is a learnable parameter, and σ(·) represents the process of graph convolution calculation. represents any node in the neighborhood of node i;

[0056] Step S7: construct an adjacency matrix from the graph relationship network of N frames of images and perform graph calculation; specifically: convert each frame of image into a depth map, and combine the pixel distance d between each node ij and the hierarchical distance k ij and relative depth m ij , generate a (K+L)×(K+L) adjacency matrix. In this adjacency matrix, (K+L)×(K+L) represents the relationship between each graph node, and set γ ij Represents the relationship between the areas represented by nodes i and j:

[0057] γ ij =(w3d ij +w4k ij +w5m ij )

[0058] k ij = Fra(i)-Fra(j)

[0059] Among them, w3, w4 and w5 are learnable parameters (with initial values ​​of 0.5), Fra(·) is the frame number of the image where the computation node i or j is located; let λ between local nodes of different targets ij The value is defined as ∞, and the adjacency matrix is ​​sparsely populated: starting from the first row, select each row γ ij The largest first F points build a sparse adjacency matrix with hierarchical information; and use Graph Attention Networks to describe the influence and propagation between each adjacent node in the graph;

[0060] Step S8: Add the calculated graph node attributes to the features of the node on the feature map to obtain an enhanced feature map. The enhanced feature map is updated by traditional detector loss calculation;

[0061] Step S9: loop S1-S8 until network training is completed;

[0062] Step S10: Input the video to the detector of the fusion spatiotemporal graph relationship network, input the real-time image and the previous N-1 frames of images each time (if there are no previous N-1 frames of images, only the real-time image is input), and input the N frames of images into the network;

[0063] Step S11: output the graph network represented by each frame of image for graph calculation;

[0064] Step S12: Add the calculated graph node attributes to the features of the node on the feature map to obtain the enhanced feature map. Take the feature map of the real-time image, perform the Decoupled Head processing operation, output the information of each candidate box, and output the real-time prediction result after non-maximum suppression;

[0065] Step S13: loop steps S10-S12 until the final prediction result of the video is output in real time.

[0066] The following is the specific implementation process of the present invention.

[0067] The specific steps of applying the algorithm proposed in the present invention to target detection are as follows:

[0068] 1. Input the three-frame sequence image and the label containing the hand position into the traditional detector YoloX to obtain the feature map of the first layer of the detector output detection result, that is, obtain the feature map of the three-frame image in total;

[0069] 2. Perform a Decoupled Head operation on the feature map of each frame of the image. Specifically, first use a 1×1 convolution layer to reduce the number of channels to 256, then pass it through two 3×3 convolution layers and one 1×1 convolution layer to obtain the confidence information and position information of each target candidate box;

[0070] 3. Input the images of each target candidate box whose confidence is greater than the learnable threshold V (initial 0.1) into the traditional detector and output the feature map of each target;

[0071] 4. Pass the feature maps of each target through 5 sets of sliding windows of specific sizes (respectively {3×3, 3×5, 6×6, 8×8, 7×10}), and calculate the activation value of each sliding window Activation Value The calculation method is as follows:

[0072]

[0073] Among them, A(·) is the aggregation of the eigenvalues ​​of all channels at the point, h and w are the length and width of the sliding window; non-maximum suppression is used to select the activation value The first five largest windows are used as local candidate boxes;

[0074] 5. Construct a graph relationship network for each frame of image. Specifically, the target candidate box with a confidence greater than the learnable threshold V in the feature map of each frame of image is used as the target graph node, and the feature information of the candidate box in the feature map is used as the attribute of the target graph node. The 5 local candidate boxes in each target are used as local graph nodes, and the feature values ​​of each channel in the local candidate box are averaged as the attribute of the local node to construct the node information of the graph relationship network of each frame of image.

[0075] 6. Construct the adjacency matrix of each frame of the graph relationship network and perform graph calculation; specifically: convert the image into a depth map to obtain the depth map information of the image; and combine the pixel distance d between each node ij and relative depth m ij , generate a (K+L)×(K+L) adjacency matrix (K is the number of target graph nodes in the image, L is the number of local nodes in the image). In this adjacency matrix, (K+L)×(K+L) represents the relationship between each graph node, and set λ ij Represents the relationship between the areas represented by nodes i and j:

[0076] λ ij =(w1d ij +w2m ij )

[0077] m ij =δ(ω(I),i,j)

[0078]

[0079] Among them, x i ,y iWith x j ,y j Represent the center coordinates of the two candidate boxes, w1 and w2 are learnable parameters (both with initial values ​​of 0.5), ω(·) is the calculated depth map, δ(·) is the depth difference between the regions i and j, I is the input original image, W and H are the width and height of the input image (fixed to 1280×720); let λ between the local nodes of different targets be ij The value is defined as ∞, and the adjacency matrix is ​​sparsely populated: starting from the first row, select each row λ ij The first 7 largest points are used to construct a sparse adjacency matrix for each frame of the image; and the Graph Attention Networks are used to describe the influence and propagation between each adjacent node in the graph. Each graph node attribute h j After updating, it becomes h' i , the update process is as follows:

[0080]

[0081] Among them, α ij is the attention coefficient of graph nodes i and j, h j is the attribute of the j nodes around the i node, W′ is a learnable parameter, and σ(·) represents the process of graph convolution calculation. represents any node in the neighborhood of node i;

[0082] 7. Construct an adjacency matrix from the graph relationship network of the three frames of images and perform graph calculations; specifically: convert each frame of the image into a depth map, and combine the pixel distance d between each node ij and the layer distance k ij and relative depth m ij , generate a (K+L)×(K+L) adjacency matrix. In this adjacency matrix, (K+L)×(K+L) represents the relationship between each graph node, and set γ ij Represents the relationship between the areas represented by nodes i and j:

[0083] γ ij =(w3d ij +w4k ij +w5m ij )

[0084] k ij = Fra(i)-Fra(j)

[0085] Among them, w3, w4 and w5 are learnable parameters (with initial values ​​of 0.5), Fra(·) is the frame number of the image where the computation node i or j is located; let λ between local nodes of different targets ijThe value is defined as ∞, and the adjacency matrix is ​​sparsely populated: starting from the first row, select each row γ ij The first 8 largest points are used to construct a sparse adjacency matrix with hierarchical information; and Graph Attention Networks are used to describe the influence and propagation between each adjacent node in the graph;

[0086] 8. Add the calculated graph node attributes to the node features on the feature map to obtain the enhanced feature map. The enhanced feature map is updated by traditional detector loss calculation;

[0087] 9. Loop S1-S8 until network training is completed;

[0088] 10. Input the video into the detector of the fusion spatiotemporal graph relationship network, input the real-time image and the previous two frames of images each time (if there are no previous two frames of images, only input the real-time image), and input the three frames of images into the network;

[0089] 11. Output the graph network represented by each frame of the image for graph calculation;

[0090] 12. Add the calculated graph node attributes to the features of the node on the feature map to obtain the enhanced feature map. Take the feature map of the real-time image, perform the Decoupled Head processing operation, output the information of each candidate box, and output the real-time prediction result after non-maximum suppression;

[0091] 13. Repeat steps S10-S12 until the final prediction result of the video is output in real time.

[0092] In order to verify the effectiveness of the method of the present invention, the method is integrated with the popular detection algorithm YoloX for comparison. The video image dataset uses the hand images proposed by Bambach et al. in the paper EgoHands: A Dataset for Hands in Complex Egocentric Interactions, and the test image size is 1280×720. Figure 3 The specific detection effect of the above detection algorithm in detecting images is demonstrated. Through comparison, it can be found that the method of the present invention can better utilize the human hand target and the local information of the hand target and the time series information to detect better detection effects.

[0093] The above are preferred embodiments of the present invention. Any changes made according to the technical solution of the present invention, as long as the resulting functions do not exceed the scope of the technical solution of the present invention, belong to the protection scope of the present invention.

Claims

1. A method for hand detection by integrating local and deep spatiotemporal graph networks, characterized by: The following steps are involved: Step S1: inputting N frames of sequence images and labels containing the positions of human hands into a traditional detector to obtain a feature map of the first layer of the detection result output by the detector, that is, obtaining feature maps of N frames of images in total; Step S2: Decoupled Head operation is performed on the feature map of each frame image separately. Specifically, the number of channels is first reduced to 256 using a 1×1 convolution layer, and then the confidence information and position information of each target candidate box are obtained through two 3×3 convolution layers and one 1×1 convolution layer. Step S3: input the image of each target candidate box whose confidence is greater than the learnable threshold V into the traditional detector, and output the feature map of each target; Step S4: Pass the feature maps of each target through 7 sets of sliding windows of specific sizes, and calculate the activation value of each sliding window Activation Value The calculation method is as follows: Among them, A(·) is the aggregation of the eigenvalues ​​of all channels at the point, h and w are the length and width of the sliding window; non-maximum suppression is used to select the activation value The largest first P windows are used as local candidate boxes; Step S5: construct a graph relationship network for each frame of image; Step S6: constructing the respective adjacency matrix of the graph relationship network of each frame image and performing graph calculation; Step S7: construct an adjacency matrix from the graph relationship network of the N frames of images and perform graph calculation; Step S8: Add the calculated graph node attributes to the features of the node on the feature map to obtain an enhanced feature map; update the enhanced feature map through traditional detector loss calculation; Step S9: loop S1-S8 until network training is completed; Step S10: Input the video to the detector of the fusion spatiotemporal graph relationship network, input the real-time image and the previous N-1 frames of images each time, if there are no previous N-1 frames of images, only input the real-time image, and input the N frames of images into the network; Step S11: output the graph network represented by each frame of image for graph calculation; Step S12: Add the calculated graph node attributes to the features of the node on the feature map to obtain an enhanced feature map; take the feature map of the real-time image, perform Decoupled Head processing, output the information of each candidate box, and output the real-time prediction result after non-maximum suppression; Step S13: looping steps S10-S12 until the final prediction result of the video is output in real time; The step S5 is specifically as follows: taking the target candidate box whose confidence is greater than the learnable threshold V in the feature map of each frame image as the target map node, taking the feature information of the candidate box in the feature map as the attribute of the target map node, taking the P local candidate boxes in each target as the local map node, taking the feature information of the local candidate box as the attribute of the local node, and constructing the node information of the map relationship network of each frame image; The step S6 specifically includes: converting the image into a depth map to obtain the depth map information of the image; and combining the pixel distance d between each node ij and relative depth m ij , generate a (K+L)×(K+L) adjacency matrix, K is the number of target graph nodes in the image, L is the number of local nodes in the image. In this adjacency matrix, (K+L)×(K+L) represents the relationship between each graph node. Set λ ij Represents the relationship between the areas represented by nodes i and j: l ij =(w1d ij +w2m ij ) m ij =δ(ω(I),i,j) Among them, x i ,y i With x j ,y j Represent the center coordinates of the two candidate boxes, w1 and w2 are learnable parameters, ω(·) is the calculated depth map, δ(·) is the depth difference between the regions i and j, I is the input original image, W and H are the width and height of the input image; let λ between the local nodes of different targets ij The value is defined as ∞, and the adjacency matrix is ​​sparsely populated: starting from the first row, select each row λ ij The largest first F points are used to construct a sparse adjacency matrix for each frame of the image; and the Graph Attention Networks are used to describe the influence and propagation between each adjacent node in the graph; each graph node attribute h j After updating, it is h i ', the update process is as follows: Among them, α ij is the attention coefficient of graph nodes i and j, h j is the attribute of the j nodes around the i node, W′ is a learnable parameter, and σ(·) represents the process of graph convolution calculation. represents any node in the neighborhood of node i; The step S7 is specifically as follows: converting each frame of image into a depth map, and combining the pixel distance d between each node ij and the layer distance k ij and relative depth m ij , generate a (K+L)×(K+L) adjacency matrix; in this adjacency matrix, (K+L)×(K+L) represents the relationship between each graph node, set γ ij Represents the relationship between the areas represented by nodes i and j: γ ij =(w3d ij +w4k ij +w5m ij ) k ij =From(i)-From(j) Among them, w3, w4 and w5 are learnable parameters, Fra(·) is the frame number of the image where the computation node i or j is located; let λ between local nodes of different targets ij The value is defined as ∞, and the adjacency matrix is ​​sparsely populated: starting from the first row, select each row γ ij The largest first F points build a sparse adjacency matrix with hierarchical information; and use Graph Attention Networks to describe the influence and propagation between each adjacent node in the graph.