Unsupervised road surface thrown object detection method based on multi-modal large model

Through the unsupervised detection method of multi-modal large models, full instance segmentation and semantic matching technology are used to realize the detection of road debris without video streams and data sets, solving the bandwidth occupation and high cost problems of existing methods, and improving improve detection efficiency and adaptability.

CN118736504APending Publication Date: 2024-10-01WUHAN YANGTZE COMM ZHILIAN TECH +1

Patent Information

Application Number
CN202410730347.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing dropped object detection methods require large bandwidth and hardware resources, and require collecting and labeling data sets and training classifiers, resulting in high costs and poor scene adaptability.

Method used

An unsupervised road debris detection method based on a multi-modal large model is adopted. By defining the allowed change targets on the road surface, the motion-free background image is synthesized, full instance segmentation and multi-scale feature extraction are performed, similarity maps are calculated, and binarization is performed. and fusion, combining semantics and image matching to filter false targets to achieve rapid detection of thrown objects.

Benefits of technology

There is no need to use video streams and train classifiers, reducing hardware costs and time costs. The algorithm is simple, has strong scene adaptability, and can efficiently and quickly detect road debris.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736504A_ABST
    Figure CN118736504A_ABST
Patent Text Reader

Abstract

The invention provides an unsupervised road surface thrown object detection method based on a multi-modal large model. The method comprises the following steps: defining a change target allowed to appear on a road surface; synthesizing a background image without a moving target; collecting an image of a current to-be-detected frame, and performing full-instance segmentation; calculating the similarity of the multi-scale features to obtain a similarity graph; carrying out binarization processing on the similarity graph; fusing the full instance segmentation image and the change segmentation image to obtain a suspected throwing object target instance; semantic and image matching is carried out on the suspected throwing object target instance, and false targets are filtered out. According to the method, a video stream occupying a large bandwidth does not need to be used, only picture data needs to be collected, a classifier does not need to be trained, and the hardware cost and the time cost are greatly reduced. The method is simple in algorithm, high in scene adaptability and capable of efficiently and rapidly detecting the thrown objects on the road surface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of road traffic target detection, and in particular relates to an unsupervised road spill detection method based on a multimodal large model. Background Art

[0002] The current methods for detecting spilled objects are mainly divided into the following two categories:

[0003] Category 1:

[0004] The moving target detection method based on video stream, such as CN111339824 A, CN111274982 A and CN114119653 A. This type of method collects video stream data from a fixed camera, detects moving targets through statistics of the video stream in the time domain, tracks the moving targets, and uses target trajectory analysis or model classification to determine whether it is a scattered object.

[0005] The algorithm of this type of method is relatively simple, and the moving target detection algorithm is relatively mature. The disadvantages are: (1) It requires video streaming, which takes up a large bandwidth. (2) It is necessary to specify the category of the scattered objects, collect and label the data set, and train the classifier. (3) The extracted target instances are incomplete. (4) The trajectory analysis method needs to rely on experience design based on the characteristics of the scene, and its robustness is poor.

[0006] Category 2:

[0007] Target detection and segmentation methods based on a single image, such as CN 112330658 A and CN 111523536 A. This type of method obtains suspected spilled objects through image processing or deep learning, and then uses a target classifier to classify the suspected spilled objects, and then determines whether the target is a spilled object.

[0008] This type of method only uses a single image and has a flexible algorithm. The disadvantages are: (1) The algorithm is complex. (2) It is necessary to specify the category of the spilled object, collect and label the data set, and train the classifier. (3) The adaptability to switching scenes is poor.

[0009] Combining the advantages and disadvantages of the above methods, the main problems of the existing spilled object detection methods are summarized as follows: the methods based on motion target detection require a large bandwidth, and need to collect and label data sets, with high hardware and time costs, and train spilled object target classifiers; the detection and segmentation methods based on a single image also need to collect and label data sets, and will also cause performance degradation due to different scenarios. Summary of the invention

[0010] In view of the above technical problems, the present invention provides an unsupervised road spill detection method based on a multimodal large model. The method has a simple algorithm, does not require the collection and labeling of spill datasets, and does not require the training of spill target classifiers, and can efficiently and quickly detect road spills.

[0011] In a first aspect, the present invention provides an unsupervised road spill detection method based on a multimodal large model, comprising the following steps:

[0012] Define the target changes allowed for the road surface;

[0013] Synthesize a background image without moving objects;

[0014] Collect the image of the current frame to be detected, perform full instance segmentation, and obtain a full instance segmentation map;

[0015] Extract multi-scale features of the background image and the image of the current frame to be detected respectively, and calculate the similarity of the multi-scale features to obtain a similarity graph;

[0016] Binarize the similarity map to obtain the change segmentation map;

[0017] The full instance segmentation map and the change segmentation map are fused to obtain the suspected spilled object target instance;

[0018] Semantic and image matching is performed on the suspected spilled object target instances to filter out pseudo targets in order to determine the spilled objects.

[0019] Specifically, the definition of the change targets allowed to appear on the road surface defines the targets appearing on the road surface in text form.

[0020] Specifically, the method for synthesizing a background image without a moving target includes an averaging method and a mixed Gaussian background model algorithm.

[0021] Specifically, the full instance segmentation method includes but is not limited to a combination of one or more of various full instance segmentation methods such as SAM (Segment Anything Model), fastSAM, EfficientSAM and mobileSAM.

[0022] Specifically, the method of performing binarization processing on the similarity map to obtain the change segmentation map includes:

[0023] First, the mean and standard deviation in the similarity graph are counted, then the segmentation threshold is calculated, and finally binarization is performed.

[0024] Specifically, the method of fusing the full instance segmentation map and the change segmentation map to obtain the suspected spilled object target instance includes:

[0025] Traverse each target instance, perform intersection operation on the full instance segmentation map and the change segmentation map for fusion, and count the proportion of the change foreground within the instance range. If the proportion is greater than the specified threshold, the target is suspected to be a spilled object. The formula is as follows:

[0026]

[0027] Among them, obj i represents the i-th target instance obtained by full instance segmentation, (x, y) represents the horizontal and vertical coordinates in the image, respectively, obj i (x,y) Represents the value of the i-th target instance at (x, y) in the segmentation mask, mask (x,y) Represents the value at (x, y) in the similarity binary mask; Σ represents the sum of areas, and thresh represents the threshold;

[0028] obj i = true, indicating that the target is a suspected spilled object, otherwise it should be filtered out.

[0029] Specifically, the method of performing semantic and image matching on the suspected spilled object target instance and filtering out the pseudo target is as follows:

[0030] Calculate the similarity between each suspected spilled object instance and the definition text;

[0031] Calculate image features and text features of suspected spilled objects;

[0032] The probability of the target instance matching the text is obtained, and the category to which the maximum probability belongs is extracted; if the maximum probability is greater than the threshold, the image instance is considered to belong to this category and should be filtered out, and the remaining target instance is the spilled object.

[0033] In a second aspect, the present invention provides an unsupervised road spill detection system based on a multimodal large model, comprising:

[0034] A change target definition module is used to define the change targets allowed for the road surface;

[0035] Background image synthesis module, used to synthesize background images without moving objects;

[0036] The full instance segmentation module is used to collect the image of the current frame to be detected, perform full instance segmentation, and obtain a full instance segmentation map;

[0037] A similarity map acquisition module is used to extract multi-scale features of the background image and the image of the current frame to be detected, and calculate the similarity of the multi-scale features to obtain a similarity map;

[0038] A binarization processing module is used to perform binarization processing on the similarity map to obtain a change segmentation map;

[0039] A fusion module is used to fuse the full instance segmentation map and the change segmentation map to obtain the suspected spilled object target instance;

[0040] The spilled object filtering module is used to perform semantic and image matching on suspected spilled object target instances and filter out pseudo targets to determine the spilled objects.

[0041] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the unsupervised road spill detection method based on a multimodal large model as described in the first aspect is implemented.

[0042] In a fourth aspect, the present invention provides a computer program product, comprising a computer program, which, when executed by a processor, implements the unsupervised road spill detection method based on a multimodal large model as described in the first aspect.

[0043] The beneficial effects of the present invention are as follows:

[0044] The present invention first calculates the similarity of multi-scale features of pictures in different phases to find out the changed areas therein, then obtains all target instance masks by full instance segmentation, and obtains all changed target instances as suspected spilled objects through target instance masks and changed areas. Finally, text and image semantic matching is performed to filter out pseudo-spill targets and obtain the final spilled object target.

[0045] The method of the present invention does not need to use a video stream that occupies a large bandwidth, only needs to collect image data, and does not need to train a classifier, which greatly reduces hardware costs and time costs. The method of the present invention has a simple algorithm and strong scene adaptability, and can efficiently and quickly detect road spills. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 This is an overall flow chart of an unsupervised road spill detection method based on a multimodal large model;

[0047] Figure 2 Create a background image for multiple frames;

[0048] Figure 3 To obtain the current frame image;

[0049] Figure 4 It is a schematic diagram of full instance segmentation;

[0050] Figure 5 It is a schematic diagram of the multi-scale feature similarity between the background image and the current image;

[0051] Figure 6 Similarity Figure 2 Value;

[0052] Figure 7 It is a schematic diagram of the fusion result based on the full instance segmentation map and the similarity binary map;

[0053] Figure 8 Schematic diagram of filtering out pseudo-spills by using the CLIP model to match text and image semantics;

[0054] Fig. 9 A schematic diagram of the structure of an unsupervised road spill detection system based on a multimodal large model provided by the present invention;

[0055] Fig.10 This is a schematic structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0056] The content of the present invention is further described below in conjunction with specific embodiments, but the content of the present invention is not limited thereto.

[0057] like Figure 1 As shown, the present invention provides an unsupervised road spill detection method based on a multimodal large model, comprising the following steps:

[0058] S100, defines the change targets allowed for the road surface;

[0059] S200, synthesizing a background image without moving objects;

[0060] S300, collecting an image of the current frame to be detected, performing full instance segmentation, and obtaining a full instance segmentation map;

[0061] S400, extracting multi-scale features of the background image and the image of the current frame to be detected respectively, and calculating the similarity of the multi-scale features to obtain a similarity graph;

[0062] S500, performing binarization processing on the similarity map to obtain a change segmentation map;

[0063] S600, fusing the full instance segmentation map and the change segmentation map to obtain a suspected spilled object target instance;

[0064] S700, semantic and image matching is performed on the suspected spilled object target instance, and pseudo targets are filtered out to determine the spilled object.

[0065] Specifically, in S100, defining the change target that is allowed to appear on the road surface refers to defining the text form of the target that can appear on the road surface.

[0066] As a possible embodiment, in S200, the method for synthesizing the background image without moving objects includes an averaging method and a mixed Gaussian background model algorithm.

[0067] As a possible embodiment, in S300, the full instance segmentation method includes but is not limited to a combination of one or more full instance segmentation methods such as SAM, fastSAM and EfficientSAM.

[0068] As a possible embodiment, in S500, the method of performing binarization processing on the similarity map to obtain the change segmentation map includes:

[0069] First, the mean and standard deviation in the similarity graph are counted, then the segmentation threshold is calculated, and finally binarization is performed.

[0070] As a possible embodiment, in S600, the method of fusing the full instance segmentation map and the change segmentation map to obtain the suspected spilled object target instance includes:

[0071] Traverse each target instance, perform intersection operation on the full instance segmentation map and the change segmentation map for fusion, and count the proportion of the change foreground within the instance range. If the proportion is greater than the specified threshold, the target is suspected to be a spilled object. The formula is as follows:

[0072]

[0073] Among them, obj i represents the i-th target instance obtained by full instance segmentation, (x, y) represents the horizontal and vertical coordinates in the image, respectively, obj i (x,y) Represents the value of the i-th target instance at (x, y) in the segmentation mask, mask (x,y) Represents the value at (x, y) in the similarity binary mask; Σ represents the sum of areas, and thresh represents the threshold;

[0074] obj i = true, indicating that the target is a suspected spilled object, otherwise it should be filtered out.

[0075] As a possible embodiment, in S700, the method of performing semantic and image matching on the suspected spilled object target instance and filtering out the pseudo target is as follows:

[0076] Calculate the similarity between each suspected spilled object instance and the definition text;

[0077] Calculate image features and text features of suspected spilled objects;

[0078] The probability of the target instance matching the text is obtained, and the category to which the maximum probability belongs is extracted; if the maximum probability is greater than the threshold, the image instance is considered to belong to this category and should be filtered out, and the remaining target instance is the spilled object.

[0079] The following is further described in conjunction with specific embodiments.

[0080] An unsupervised road spill detection method based on a multimodal large model comprises the following steps:

[0081] Step 1: Define the target text changes allowed on the road surface.

[0082] Step 2: Collect multiple image data through the camera and synthesize the background image without moving targets, such as Figure 2 shown.

[0083] Step 3: Collect the current frame image to be detected (such as Figure 3 As shown), use the SAM method to perform full instance segmentation and obtain all instance masks, such as Figure 4 shown.

[0084] Step 4: extract the multi-scale features of the background image and the current image respectively, and calculate the similarity of the multi-scale features to obtain a similarity graph. Figure 5 shown.

[0085] Step 5: Binarize the similarity graph obtained in step 4 to obtain a change segmentation graph. Figure 6 shown.

[0086] Step 6: The full instance segmentation map obtained in step 3 and the change segmentation map obtained in step 5 are fused to obtain a suspected spilled object target instance, such as Figure 7 shown.

[0087] Step 7: Use the CLIP (Contrastive Language-Image Pre-training) model to perform semantic and image matching on the suspected spilled object target instance obtained in step 6, filter out the pseudo targets defined in the text, and then determine the spilled object. Figure 8 shown.

[0088] Specifically, in step 1, defining the change targets that are allowed to appear on the road surface refers to defining the text form of the targets that can appear on the road surface, and using the text as the input of the CLIP model text. In this embodiment, the targets defined in the traffic road scene are: "vehicle, person".

[0089] Specifically, in step 2, multiple images are used to synthesize the background image, and the formula is: Among them, I i is the i-th image among the N images collected, and B is the synthesized background image. This step is not limited to the above-mentioned averaging method, and a background image created by GMM can also be used.

[0090] Specifically, in step 3, the full instance segmentation method is not limited to SAM, and one or a combination of various full instance segmentation methods such as fastSAM, EfficientSAM, mobileSAM, etc. can also be used to extract the instance mask of each target.

[0091] Specifically, in step 4, the feature extraction method uses the feature map fusion of the last three layers in PAN (Path Aggregation Network): First, P n-2 Upsampling and P n-1 Same size, then with P n-1 Fusion to obtain C (n-2)(n-1) , then C (n-2)(n-1) Upsampling and P n Same size and same as P n Fusion to obtain C (n-2)(n-1)n Finally, C (n-2)(n-1)n Upsampling to the same size as the original image gives the feature map F. Where n is the number of layers in the PAN pyramid network, P i Represents the feature map of the i-th layer of the PAN pyramid network.

[0092] The similarity calculation formula for each pixel (x, y) is as follows:

[0093]

[0094] Among them, s(x,y) represents the similarity of the image at (x,y), F 1 (x,y),F 2 (x,y) represents the feature vectors of the two images at (x,y), f i j (x,y) represents the i-th eigenvalue of the feature vector of the j-th image at (x,y), and n represents the dimension of the feature vector of each pixel.

[0095] Specifically, in step 4, the feature extraction method is not limited to various deep neural network feature extraction methods, but can also be a traditional artificial feature extraction method, including: CNN, vision transformer, swin transformer sift, HOG, LBP, NCC, etc., or a combination of multiple feature extraction methods.

[0096] Specifically, in step 5, the binarization method is:

[0097] First, the mean and standard deviation in the similarity graph are calculated using the formula: Where m and std represent the mean and standard deviation respectively, s i represents the similarity value of the i-th position, and N represents N images;

[0098] Then calculate the segmentation threshold, the formula is: th = m-alpha*std, where th represents the segmentation threshold, alpha is the coefficient (the default is 2.0), and the final binarization formula is:

[0099] Mask is the result of binarization and indicates the changed area.

[0100] It should be noted that the binarization method in step 5 is not limited to the fixed threshold segmentation method introduced above, and may also be a binarization method such as Otsu and adaptiveThreshold.

[0101] Specifically, in step 6, the fusion method of the full instance segmentation map and the variation segmentation map is as follows:

[0102] Traverse each target instance and count the proportion of the changed foreground within the instance. If the proportion is greater than the specified threshold, the target is suspected to be a spilled object. The formula is as follows:

[0103]

[0104] Among them, obj i represents the i-th target instance obtained by full instance segmentation, (x, y) represents the horizontal and vertical coordinates in the image, respectively, obj i (x,y) Represents the value of the i-th target instance at (x, y) in the segmentation mask, mask (x,y) Represents the value at (x, y) in the similarity binary mask; Σ represents the sum of areas, and thresh represents the threshold;

[0105] obj i = true, indicating that the target is a suspected spilled object, otherwise it should be filtered out.

[0106] Specifically, step 7 includes the following sub-steps:

[0107] 7.1, use the CLIP model to calculate the similarity between each suspected spilled object instance and the definition text, and use the CLIP model to calculate the image features and text features of the suspected spilled object instance respectively;

[0108] 7.2, use softmax to obtain the probability of the target instance matching the text, and extract the category to which the maximum probability belongs. If the maximum probability is greater than the threshold, it is considered that the image instance belongs to this category and should be filtered out. The remaining target instance is the spilled object.

[0109] The formula is:

[0110]

[0111] where pi Indicates the probability that the instance belongs to the specified category, and thresh indicates the probability threshold (the default is 0.25).

[0112] Figure 7 The pink ones are suspected spills. Use the method in step 7 to filter them out. The remaining targets are the spills. Figure 8 shown.

[0113] The unsupervised road spilled object detection system based on a multimodal large model provided by the present invention is described below. The unsupervised road spilled object detection system based on a multimodal large model described below and the unsupervised road spilled object detection method based on a multimodal large model described above can be referenced to each other.

[0114] Fig. 9 is a schematic diagram of the structure of an unsupervised road spill detection system based on a multimodal large model provided by an embodiment of the present invention, such as Fig. 9 As shown, it includes: a change target definition module 91, a background image synthesis module 92, a full instance segmentation module 93, a similarity graph acquisition module 94, a binarization processing module 95 and a spilled object filtering module 96, wherein:

[0115] A change target definition module 91, used to define the change targets allowed to appear on the road surface;

[0116] Background image synthesis module 92, used for synthesizing a background image without moving objects;

[0117] A full instance segmentation module 93 is used to collect the image of the current frame to be detected, perform full instance segmentation, and obtain a full instance segmentation map;

[0118] A similarity map acquisition module 94 is used to extract multi-scale features of the background image and the image of the current frame to be detected, respectively, and calculate the similarity of the multi-scale features to obtain a similarity map;

[0119] A binarization processing module 95 is used to perform binarization processing on the similarity map to obtain a change segmentation map;

[0120] A fusion module 96 is used to fuse the full instance segmentation map and the change segmentation map to obtain a suspected spilled object target instance;

[0121] The spilled object filtering module 97 is used to perform semantic and image matching on the suspected spilled object target instances and filter out pseudo targets to determine the spilled objects.

[0122] Fig.10 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.10As shown, the electronic device may include: a processor 1010, a communication interface 1020, a memory 1030 and a communication bus 1040, wherein the processor 1010, the communication interface 1020 and the memory 1030 communicate with each other through the communication bus 1040. The processor 1010 may call the logic instructions in the memory 1030 to execute the unsupervised road spill detection method based on the multimodal large model, and the method includes:

[0123] Define the target changes allowed for the road surface;

[0124] Synthesize a background image without moving objects;

[0125] Collect the image of the current frame to be detected, perform full instance segmentation, and obtain a full instance segmentation map;

[0126] Extract multi-scale features of the background image and the image of the current frame to be detected respectively, and calculate the similarity of the multi-scale features to obtain a similarity graph;

[0127] Binarize the similarity map to obtain the change segmentation map;

[0128] The full instance segmentation map and the change segmentation map are fused to obtain the suspected spilled object target instance;

[0129] Semantic and image matching is performed on the suspected spilled object target instances to filter out pseudo targets in order to determine the spilled objects.

[0130] In addition, the logic instructions in the above-mentioned memory 1030 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for 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 invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0131] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can execute the unsupervised road spill detection method based on a multimodal large model provided by the above methods, the method comprising:

[0132] Define the target changes allowed for the road surface;

[0133] Synthesize a background image without moving objects;

[0134] Collect the image of the current frame to be detected, perform full instance segmentation, and obtain a full instance segmentation map;

[0135] Extract multi-scale features of the background image and the image of the current frame to be detected respectively, and calculate the similarity of the multi-scale features to obtain a similarity graph;

[0136] Binarize the similarity map to obtain the change segmentation map;

[0137] The full instance segmentation map and the change segmentation map are fused to obtain the suspected spilled object target instance;

[0138] Semantic and image matching is performed on the suspected spilled object target instances to filter out pseudo targets in order to determine the spilled objects.

[0139] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0141] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An unsupervised road spill detection method based on a multimodal large model. It is characterized in that The following steps are involved: Define the target changes allowed for the road surface; Synthesize a background image without moving objects; Collect the image of the current frame to be detected, perform full instance segmentation, and obtain a full instance segmentation map; Extract multi-scale features of the background image and the image of the current frame to be detected respectively, and calculate the similarity of the multi-scale features to obtain a similarity graph; Binarize the similarity map to obtain the change segmentation map; The full instance segmentation map and the change segmentation map are fused to obtain the suspected spilled object target instance; Semantic and image matching is performed on the suspected spilled object target instances to filter out pseudo targets in order to identify the spilled objects.

2. The unsupervised road spill detection method based on a multimodal large model according to claim 1, Features: The definition of the road surface allows the appearance of changing targets to define the targets appearing on the road surface in text form.

3. The unsupervised road spill detection method based on a multimodal large model according to claim 1, Features: The method for synthesizing a background image without a moving target includes an averaging method and a mixed Gaussian background model algorithm.

4. The unsupervised road spill detection method based on a multimodal large model according to claim 1, Features: The full instance segmentation method includes a combination of one or more of SAM, fastSAM, EfficientSAM and mobileSAM.

5. The unsupervised road spill detection method based on a multimodal large model according to claim 1, Features: The method of performing binarization processing on the similarity map to obtain a change segmentation map includes: First, the mean and standard deviation in the similarity graph are counted, then the segmentation threshold is calculated, and finally binarization is performed.

6. The unsupervised road spill detection method based on a multimodal large model according to claim 1, Features: The method of fusing the full instance segmentation map and the variation segmentation map to obtain a suspected spilled object target instance includes: Traverse each target instance, perform intersection operation on the full instance segmentation map and the change segmentation map for fusion, and count the proportion of the change foreground within the instance range. If the proportion is greater than the specified threshold, the target is suspected to be a spilled object. The formula is as follows: Among them, obj i represents the i-th target instance obtained by full instance segmentation, (x, y) represents the horizontal and vertical coordinates in the image, respectively, obj i (x,y) Represents the value of the i-th target instance at (x, y) in the segmentation mask, mask (x,y) Represents the value at (x, y) in the similarity binary mask; Σ represents the sum of areas, and thresh represents the threshold; obj i = true, indicating that the target is a suspected spilled object, otherwise it should be filtered out.

7. The unsupervised road spill detection method based on a multimodal large model according to claim 1, Features: The method of performing semantic and image matching on the suspected spilled object target instance and filtering out the pseudo target is as follows: Calculate the similarity between each suspected spilled object instance and the definition text; Calculate image features and text features of suspected spilled objects; The probability of the target instance matching the text is obtained, and the category to which the maximum probability belongs is extracted; if the maximum probability is greater than the threshold, the image instance is considered to belong to this category and should be filtered out, and the remaining target instance is the spilled object.

8. An unsupervised road spill detection system based on a multimodal large model. It is characterized in that include: A change target definition module is used to define the change targets allowed for the road surface; Background image synthesis module, used to synthesize background images without moving objects; The full instance segmentation module is used to collect the image of the current frame to be detected, perform full instance segmentation, and obtain a full instance segmentation map; A similarity map acquisition module is used to extract multi-scale features of the background image and the image of the current frame to be detected, and calculate the similarity of the multi-scale features to obtain a similarity map; A binarization processing module is used to perform binarization processing on the similarity map to obtain a change segmentation map; A fusion module is used to fuse the full instance segmentation map and the change segmentation map to obtain the suspected spilled object target instance; The spilled object filtering module is used to perform semantic and image matching on suspected spilled object target instances and filter out pseudo targets to determine the spilled objects.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the unsupervised road spill detection method based on a multimodal large model as described in any one of claims 1 to 7 is implemented.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the unsupervised road spill detection method based on a multimodal large model is implemented as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and system for determining thrown object

    CN111127507A

  • Thrown object detection method and system based on semantic segmentation network

    CN112053380A

  • Target object determination method and device, storage medium and electronic device

    CN114332459A

  • Expressway thrown object detection method based on double backgrounds

    CN114677343A

  • Electric vehicle instance retrieval method in streetscape monitoring scene and related device

    CN117746331A

Cited By

  • Unsupervised ship detection method and system based on multi-modal model

    CN119559384A