Video material matching method based on AIGC
Through the video material matching method based on AIGC, structural decomposition, cluster analysis and semantic connection index are used to solve the problem of semantic information being ignored in traditional methods, improve the accuracy and success rate of video material matching, and reduce false matching Rate.
Patent Information
- Application Number
- CN202410001524.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-01-02
AI Technical Summary
Traditional video material retrieval and matching methods ignore the semantic information of videos, resulting in unsatisfactory matching results and high false matching rates. In particular, videos with similar visual features but unrelated semantics are easily mismatched.
The video material matching method based on AIGC is used to structurally decompose the reference video input by the user, extract visual features, and combine feature information and quality information to establish a preliminary screening index for preliminary screening, and then perform cluster analysis and semantic connection index. Secondary matching optimizes the matching mechanism and reduces the probability of incorrect matching.
It improves the accuracy and success rate of video material matching, enhances user experience, avoids one-to-one correspondence matching based on visual features, optimizes the matching mechanism combined with semantic information, and reduces the probability of incorrect matching.
Smart Images

Figure CN117809061B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of video material retrieval and matching, and more specifically, to a video material matching method based on AIGC. Background Art
[0002] Videos are rich in information and have vivid and intuitive visual effects. They are widely used in various fields. Retrieving the video materials you need from a large amount of video information is also a current hot topic.
[0003] Traditional video material retrieval and matching methods are all based on text and keyword methods for retrieval, that is, by manually processing video information with text and keyword annotations, visual features are extracted to match the required video materials. Such methods ignore the rich semantic information of the video, such as the social relationship between characters, and the subordinate relationship between characters and scenes. Matching the required video materials only through the one-to-one correspondence of visual features often leads to unsatisfactory matching results of video materials. In addition, if two videos are very similar in visual features but not semantically related, this may lead to incorrect matching.
[0004] In order to solve the above defects, a technical solution is now provided. Summary of the invention
[0005] In order to overcome the above defects of the prior art, an embodiment of the present invention provides a video material matching method based on AIGC to solve the problems raised in the above background technology.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] The video material matching method based on AIGC includes the following steps:
[0008] Step S1, structurally decomposing the reference video input by the user, extracting the visual features of the reference video, and matching the extracted visual features with the video materials in the database;
[0009] Step S2, establishing a video material preliminary screening index based on the feature information and the quality information, comparing the video material preliminary screening index with a video material preliminary screening index reference threshold, screening the video materials in the video material matching set, and obtaining a primary screening set;
[0010] Step S3, clustering analysis is performed on the visual features extracted from the reference video and the video materials in the initial screening set to obtain different main category features, and a semantic connection index is established based on the text subtitle processing information and the visual interaction information to evaluate the degree of semantic connection between different main categories of visual features, and the reference video is rematched with the video materials in the initial screening set based on the semantic connection index.
[0011] In a preferred embodiment, step S1 further includes the following steps:
[0012] Step S1-1: performing shot decomposition on the reference video input by the user according to the shot detection technology;
[0013] Step S1-2: according to the shot units in the shot decomposition set, a key frame extraction technique is used to extract a key frame from each decomposed shot unit;
[0014] Step S1-3: extracting visual features of the reference video using feature extraction technology based on the reference video frame in the key frame set;
[0015] Step S1-4: Match the acquired visual features with the visual feature materials in the database using a feature descriptor matching method, and extract the video material containing the successfully matched visual feature material to obtain a video material matching set.
[0016] In a preferred embodiment, in step S2, the feature information of the video material includes the visual feature consistency quantification value and the visual feature excess ratio, and the quality information includes the fuzzy measurement coefficient of the video material. The visual feature consistency quantification value, the visual feature excess ratio, and the fuzzy measurement coefficient of the video material are marked as YZ, SZ, and MH, respectively, and are normalized and calculated through a formula to obtain the initial screening index of the video material.
[0017] In a preferred embodiment, the logic for obtaining the visual feature consistency quantization value is: if the visual features extracted from the video material can fully contain the visual features extracted from the reference video, the value of the visual feature consistency quantization value is 1; conversely, if the visual features extracted from the video material cannot fully contain the visual features extracted from the reference video, the value of the visual feature consistency quantization value is 0.
[0018] In a preferred embodiment, the logic for obtaining the excess ratio of visual features is as follows: after comparing the visual features extracted from the video material with the visual features extracted from the reference video, if there are still some remaining visual features, the remaining visual features are marked as S i , i represents the type number of the remaining visual features, i = {1, 2, ..., e}, e is a positive integer, and the calculation expression of the excess proportion of visual features is as follows: Where ZL is the total number of visual feature types extracted from the video material.
[0019] In a preferred embodiment, the calculation formula of the fuzzy metric coefficient MH of the video material is: in, is the average value of the mean square error of each frame image, and the expression obtained is: Represents the sequence number of each frame of image, j = {1, 2, ..., u}, u is a positive integer, MSE j is the mean square error of each frame image.
[0020] In a preferred embodiment, the video material preliminary screening index is compared with a video material preliminary screening index reference threshold;
[0021] If the video material initial screening index is greater than or equal to the video material initial screening index reference threshold, the video material is deleted to obtain a video material initial screening set.
[0022] In a preferred embodiment, in step S3, the text subtitle processing information includes the natural language processing success rate, and the visual interaction information includes the visual feature interaction value; the natural language processing success rate and the visual feature interaction value are normalized and the semantic connection index is calculated by a formula.
[0023] Technical effects and advantages of the present invention:
[0024] 1. The present invention structurally decomposes the reference video input by the user, extracts the visual features of the reference video, matches the extracted visual features with the video materials in the database once, obtains a set of video materials for the first match, and establishes a preliminary screening index of the video material based on the feature information and quality information, compares the preliminary screening index of the video material with a reference threshold of the preliminary screening index of the video material, screens the video materials in the video material matching set, improves the accuracy between the main category features obtained after clustering analysis of the video materials in the video material matching set and the main category features obtained after clustering analysis of the reference video input by the user, establishes a semantic connection index based on text subtitle processing information and visual interaction information, evaluates the degree of semantic connection between different main categories of visual features, and performs secondary matching, thereby increasing the success rate of video material matching, improving the user experience, avoiding matching the required video material based on the one-to-one correspondence of visual features, optimizing the matching mechanism in combination with the semantic information in the video, and reducing the probability of false matching. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to facilitate understanding by those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings;
[0026] Figure 1 This is a schematic diagram of the structure of Example 1 of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] Example 1
[0029] Figure 1 The present invention provides a video material matching method based on AIGC, which comprises the following steps:
[0030] Step S1, structurally decomposing the reference video input by the user, extracting the visual features of the reference video, and matching the extracted visual features with the video materials in the database;
[0031] Step S2, establishing a video material preliminary screening index based on the feature information and the quality information, comparing the video material preliminary screening index with a video material preliminary screening index reference threshold, screening the video materials in the video material matching set, and obtaining a primary screening set;
[0032] Step S3, clustering analysis is performed on the visual features extracted from the reference video and the video materials in the initial screening set to obtain different main category features, and a semantic connection index is established based on the text subtitle processing information and the visual interaction information to evaluate the degree of semantic connection between different main categories of visual features, and the reference video is matched with the video materials in the initial screening set for a second time based on the semantic connection index;
[0033] Step S1, performing structural decomposition according to the reference video input by the user to extract visual features of the reference video, specifically includes the following steps:
[0034] Step S1-1: performing shot decomposition on the reference video input by the user according to the shot detection technology;
[0035] Shot detection, also known as shot segmentation, refers to the automatic processing of computers to accurately obtain the shot boundaries within the entire video. Due to the variety of camera technologies used in the shooting process, the lens transformation also has many forms. Generally, the direct transformation between two shots without any effect editing is called shear or mutation; the change between two shots that uses various editing methods to produce a slow frame-by-frame change is called gradual change. Compared with the single type of shear, the gradual change has a richer form, such as superposition, sliding, wipe, fade in, fade out, etc.
[0036] The reference video input by the user is shot decomposed according to the shot detection algorithm to obtain a shot decomposition set of the reference video, such as {A1, A2, A3...}.
[0037] It should be noted that commonly used shot detection algorithms mainly include pixel pair comparison method, histogram method, edge method, motion method, compressed domain method, block matching method, model method, etc. The specific use of the shot detection algorithm can be determined according to actual conditions and will not be repeated here.
[0038] Step S1-2: according to the shot units in the shot decomposition set, a key frame extraction technique is used to extract a key frame from each decomposed shot unit;
[0039] Since there are still a lot of shot units in the shot decomposition set after shot decomposition, and there are a large number of redundant frames in each shot, in order to achieve the effect of compressing stored data and reducing the amount of index data, it is necessary to extract a representative frame sequence from the shot according to certain rules to represent the content of the shot. This frame sequence is the so-called key frame.
[0040] This embodiment adopts the key frame extraction technology of sub-shot segmentation to extract key frames from different shot units. Sub-shot segmentation is to regard the shot as a short video, and then use the shot detection technology to segment the shot into a set of several sub-shots according to the visual content. Each sub-shot reflects a relatively stable content inside the shot. Therefore, extracting a frame image from each sub-shot as a key frame can describe the main content of the sub-shot. When the change inside the shot is small, the shot itself is a sub-shot, and only one key frame is extracted: when the change inside the shot is large, the shot is divided into several sub-shots, and several key frames are extracted. In summary, a key frame set is obtained, such as {B1, B2, B3...}.
[0041] Step S1-3: extracting visual features of the reference video using feature extraction technology based on the reference video frame in the key frame set;
[0042] The content of the reference video is based on the content of the video frame image, and the content of the image is reflected by various features of the image. Feature extraction technology refers to the process of extracting key information or features from video frames. These features can be used to describe, characterize and identify the content of the video. These features are usually quantifiable attributes in the video, which help computers understand and process image or video data. Common feature extraction technologies include those based on target detection and segmentation technology, deep learning network models, etc. These feature extraction technologies can all realize feature extraction of video frame images.
[0043] The reference video frames in the key frame set are subjected to feature extraction according to the feature extraction technology to obtain a visual feature set, such as {C1, C2, C3...}, wherein the visual features in the visual feature set are obtained according to the content of a given reference video, which will not be described in detail here.
[0044] Step S1-4: matching the acquired visual features with the visual feature materials in the database using a feature descriptor matching method, and extracting the video material containing the successfully matched visual feature materials;
[0045] It should be noted that feature descriptor matching is a one-to-one feature description matching method. Feature descriptor refers to a numerical value used to represent visual features or to represent visual features in a vectorized form. It usually represents local information around visual feature points, such as pixel intensity, gradient direction, color histogram, etc. around visual feature points.
[0046] Similarity measures between feature descriptors are used to compare the descriptors of two features to determine the similarity or match between them. Common similarity measures include:
[0047] Euclidean distance: Calculates the Euclidean distance between two descriptors, that is, the spatial distance between them. The smaller the distance, the higher the similarity.
[0048] Hamming distance: For binary descriptors, such as BRIEF or ORB, you can use the Hamming distance to compare the differences between them. The Hamming distance represents the number of different bits between two binary strings.
[0049] Cosine Similarity: Calculates the cosine similarity between two descriptors, which represents the angle between them. Cosine similarity is used in some cases to measure the similarity between features.
[0050] According to the above similarity measurement method, a matching set of video materials with high similarity to the reference video is matched, such as {D1, D2, D3...}.
[0051] Since the similarity measurement method in the above steps S1-4 is only a one-to-one feature matching, and the visual features in the video matching material obtained through step S1-4 cannot achieve a high degree of consistency with the visual features in the reference video, and the quality of the matched video material cannot be controlled, therefore, in step S2, this embodiment will establish a video material preliminary screening index based on the feature information and quality information, compare the video material preliminary screening index with the video material preliminary screening index reference threshold, screen the video materials in the video material matching set, and obtain the initial screening set. The specific steps are as follows:
[0052] Obtain feature information and quality information of video materials;
[0053] The feature information of the video material includes the visual feature consistency quantization value and the visual feature excess ratio, and the quality information includes the fuzzy measurement coefficient of the video material;
[0054] The visual feature consistency quantification value, the visual feature excess ratio, and the fuzzy measurement coefficient of the video material are marked as YZ, SZ, and MH respectively;
[0055] The visual feature consistency quantification value, the visual feature excess ratio, and the fuzzy measurement coefficient of the video material are normalized to calculate the video material initial screening index, which is expressed as follows: Wherein, SP is the initial screening index of the video material, a1 and a2 are the preset proportional coefficients of the excess proportion of visual features and the fuzzy measurement coefficient of the video material, respectively, and a1 and a2 are both greater than 0.
[0056] The visual feature consistency quantization value indicates whether the visual features extracted from the video material can fully include the visual features extracted from the reference video. The extraction of visual features in the video material can refer to the extraction process of visual features in the video, which will not be repeated here. If the visual features extracted from the video material can fully include the visual features extracted from the reference video, the value of the visual feature consistency quantization value is 1; otherwise, if the visual features extracted from the video material cannot fully include the visual features extracted from the reference video, the value of the visual feature consistency quantization value is 0.
[0057] After comparing the visual features extracted from the video material with the visual features extracted from the reference video, if there are still some remaining visual features, the remaining visual features are marked as S i , i represents the type number of the remaining visual features, i = {1, 2, ..., e}, e is a positive integer, and the calculation expression of the excess proportion of visual features is as follows: Where ZL is the total number of visual feature types extracted from the video material.
[0058] The higher the proportion of excess visual features, the higher the interference items of visual features in the video material, the higher the initial screening index of the video material, and the higher the probability of the video being screened out. Conversely, the fewer the interference items of visual features in the video material, the lower the initial screening index of the video material, and the lower the probability of the video being screened out.
[0059] The blur measurement coefficient of the video material is used to measure the blur degree of the image in the video. The higher the blur degree, the worse the quality of the video material, the higher the initial screening index of the video material, and the higher the probability of the video being screened out. Conversely, the lower the blur degree, the higher the quality of the video material, the lower the initial screening index of the video material, and the lower the probability of the video being screened out. The logic for obtaining the blur measurement coefficient of the video material is as follows: extract each frame of the image from the video material, and use the image preprocessing method to preprocess the original image to obtain two types of images, which are represented as I (original image) and I' (processed image) respectively. The mean square error MSE will be used below to represent the blur value of each frame of the image. The specific process is as follows: for each corresponding pixel position (x, y), calculate the difference (error) between them: E(x, y) = I(x, y) - I'(x, y); square each difference value: E 2 (x,y)=[I(x,y)-I'(x,y)] 2 ; Sum the squared error values of all pixels to get the mean square error (MSE): MSE = Where N represents the total number of pixels of the image, W and H represent the width and height of the image respectively; the blur metric coefficient MH of the video material is calculated according to the mean square error MSE of each frame of the image, and the calculation formula is: in, is the average value of the mean square error of each frame image, and the expression obtained is: Represents the sequence number of each frame of image, j = {1, 2, ..., u}, u is a positive integer, MSE j is the mean square error of each frame image;
[0060] Compare the video material preliminary screening index with the video material preliminary screening index reference threshold, and screen the video material in the video material matching set;
[0061] If the video material initial screening index is greater than or equal to the video material initial screening index reference threshold, it means that the visual features of the video material are significantly different from those of the reference video in terms of consistency, and the quality of the video material is poor. The video material is deleted to obtain the video material initial screening set F. p , where p represents the number of the video material in the initial screening set, p = {1, 2, ..., v}, and v is a positive integer;
[0062] If the initial screening index of the video material is less than the reference threshold of the initial screening index of the video material, it means that the video material and the reference video maintain a high degree of consistency in visual features, which is conducive to improving the accuracy between the main category features obtained after clustering analysis of the two types of videos, and the quality of the video material is relatively high, so the video material is retained.
[0063] In step S3, cluster analysis is performed on the visual features extracted from the reference video and the video materials in the initial screening set to obtain different main category features, a semantic connection index is established based on the text subtitle processing information and the visual interaction information, the semantic connection degree between different main categories of visual features is evaluated, and the reference video and the video materials in the initial screening set are matched again based on the semantic connection index;
[0064] It should be noted that the methods of clustering the visual features in the reference video and the visual features in the video materials in the initial screening set both adopt the K-means clustering analysis method, so this embodiment only introduces the clustering analysis process of the visual features in the reference video;
[0065] Step S3-1: Use the K-means clustering analysis method to perform clustering analysis on the visual features extracted from the reference video to obtain different types of main class features. The specific process is as follows:
[0066] From the visual feature set of the reference video {C1,C2,C3...C M}(C1,C2,C3...C M Representing different visual feature objects) select K visual feature objects as the initial clustering centers {C'1, C'2, C'3...C' K}, the visual features used as the initial cluster center need to be representative. This embodiment provides some references such as the elderly, children, youth, vehicles, schools, office buildings, etc.
[0067] Calculate the distance between each visual feature object and the cluster center in the visual feature set of the reference video, and then assign each visual feature object to the class where the nearest cluster center is located according to the similarity judgment criterion of Euclidean distance;
[0068] Calculate the average value of all visual feature objects contained in each class as the new cluster center of the class.
[0069] Repeat the above steps until the cluster center no longer changes, that is, the clustering objective function converges and the optimal clustering result is achieved. The clustering objective function takes the form of the error square sum criterion function: In the formula, C β Refers to the visual feature objects in each category after cluster analysis, C α refers to the cluster center of each cluster, K refers to the number of clusters, and N α It refers to the visual feature objects contained in the αth class, and J represents the sum of square errors of all objects in the data set;
[0070] The entire clustering assignment process is completed, and K main classes of visual features are obtained;
[0071] Step S3-2: Establishing a semantic connection index based on text subtitle processing information and visual interaction information to evaluate the degree of semantic connection between different main categories of visual features;
[0072] The text subtitle processing information includes the natural language processing success rate, and the visual interaction information includes the visual feature interaction value;
[0073] The natural language processing success rate and visual feature interaction value are marked as CG and IH respectively;
[0074] The natural language processing success rate and the visual feature interaction value are normalized to calculate the semantic connection index, which is expressed as follows: YI=ln(b1*CG+b2*IH), where YI is the semantic connection index, b1 and b2 are the preset proportional coefficients of the natural language processing success rate and the visual feature interaction value, respectively, and b1 and b2 are both greater than 0.
[0075] Natural language processing technology refers to extracting text information from reference videos, including subtitle text, dialogue text, and bullet text, and converting the text information of the reference video into processable text data, and performing feature extraction on the text data to convert the text information into a feature vector in numerical form. Common feature extraction methods include bag of words and word embeddings, such as Word2Vec and GloVe. A connection model is established to evaluate whether there is a connection between different visual features.
[0076] The success rate of natural language processing refers to the percentage of texts that successfully determine the relationship between different visual features after processing multiple text messages using natural language processing technology. The calculation expression is as follows: CG=Z1 / Z2, where Z1 is the number of texts for which the relationship between different visual features is successfully determined using natural language processing technology, and Z2 is the total number of texts processed using natural language processing technology.
[0077] The higher the success rate of natural language processing, the closer the connection between different visual features is, and thus the higher the semantic connection index is. Conversely, the lower the success rate of natural language processing, the more subtle the connection between different visual features is, and thus the lower the semantic connection index is.
[0078] The visual feature interaction value refers to the use of object detection and tracking technology and computer vision technology to determine whether there is an interactive relationship between different visual features, and accumulating the number of interactions to obtain the visual feature interaction value; it should be noted that object detection and tracking technology and computer vision technology are existing mature technologies in this field and will not be elaborated here.
[0079] The higher the visual feature interaction value, the closer the connection between different visual features is, and thus the higher the semantic connection index is. Conversely, the lower the visual feature interaction value, the more subtle the connection between different visual features is, and thus the lower the semantic connection index is.
[0080] Step S3-3: Perform secondary matching on the reference video and the video materials in the primary screening set using a similarity matching algorithm based on the semantic connection index, and output the matching results for the user to select;
[0081] It should be noted that the selection of similarity matching algorithm is determined by technicians in this field according to actual usage. Common similarity matching algorithms include cosine similarity, Euclidean distance, Jaccard similarity, Pearson correlation coefficient, etc.
[0082] The present invention performs structural decomposition on a reference video input by a user, extracts visual features of the reference video, performs a match with video materials in a database based on the extracted visual features, obtains a set of video materials for initial matching, and simultaneously establishes a video material preliminary screening index based on feature information and quality information, compares the video material preliminary screening index with a reference threshold of the video material preliminary screening index, screens video materials in a video material matching set, improves the accuracy between main category features obtained after clustering analysis of the video materials in the video material matching set and main category features obtained after clustering analysis of a reference video input by a user, establishes a semantic connection index based on text subtitle processing information and visual interaction information, evaluates the degree of semantic connection between different main categories of visual features, performs secondary matching, increases the success rate of video material matching, improves user experience, avoids matching required video materials based on a one-to-one correspondence of visual features, optimizes the matching mechanism in combination with semantic information in the video, and reduces the probability of false matching.
[0083] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0084] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0085] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. The video material matching method based on AIGC is characterized by: The steps include: Step S1, structurally decomposing the reference video input by the user, extracting the visual features of the reference video, and matching the extracted visual features with the video materials in the database; Step S2, establishing a video material preliminary screening index based on the feature information and the quality information, comparing the video material preliminary screening index with a video material preliminary screening index reference threshold, screening the video materials in the video material matching set, and obtaining a primary screening set, including: Acquire feature information and quality information of the video material, wherein the feature information of the video material includes a visual feature consistency quantization value and a visual feature excess ratio, and the quality information includes a fuzzy measurement coefficient of the video material; The visual feature consistency quantification value, the visual feature excess ratio, and the fuzzy measurement coefficient of the video material are marked as YZ, SZ, and MH respectively; If the visual features extracted from the video material all include the visual features extracted from the reference video, the value of the visual feature consistency quantization value is 1; conversely, if the visual features extracted from the video material cannot all include the visual features extracted from the reference video, the value of the visual feature consistency quantization value is 0; After comparing the visual features extracted from the video material with the visual features extracted from the reference video, if there are still some remaining visual features, the remaining visual features are marked as S i , i represents the type number of the remaining visual features, i = {1, 2, ..., e}, e is a positive integer, and the calculation expression of the excess proportion of visual features is as follows: Where ZL is the total number of visual feature types extracted from the video material; The calculation formula of the fuzzy measurement coefficient MH of the video material is: in, is the average value of the mean square error of each frame image, and the expression obtained is: j represents the sequence number of each frame of image, j = {1, 2, ..., u}, u is a positive integer, MSE j is the mean square error of each frame image; The visual feature consistency quantification value, the visual feature excess ratio, and the fuzzy measurement coefficient of the video material are normalized to calculate the video material initial screening index, which is expressed as follows: Wherein, SP is the initial screening index of the video material, a1 and a2 are the preset proportional coefficients of the excess proportion of visual features and the fuzzy measurement coefficient of the video material, respectively, and a1 and a2 are both greater than 0; Step S3, respectively clustering the visual features extracted from the reference video and the video materials in the initial screening set to obtain different main category features, establishing a semantic connection index based on the text subtitle processing information and the visual interaction information, evaluating the semantic connection degree between different main categories of visual features, and performing secondary matching between the reference video and the video materials in the initial screening set based on the semantic connection index, including; The K-means clustering analysis method is used to cluster the visual features extracted from the reference video to obtain different types of main class features; Establishing a semantic connection index based on text subtitle processing information and visual interaction information to evaluate the degree of semantic connection between different main categories of visual features, wherein the text subtitle processing information includes a natural language processing success rate, and the visual interaction information includes a visual feature interaction value; The natural language processing success rate and visual feature interaction value are marked as CG and IH respectively; The natural language processing success rate and the visual feature interaction value are normalized to calculate the semantic connection index, which is expressed as follows: YI = ln(b1*CG+b2*IH), where YI is the semantic connection index, b1 and b2 are the preset proportional coefficients of the natural language processing success rate and the visual feature interaction value, respectively, and b1 and b2 are both greater than 0; The natural language processing success rate refers to the percentage of successful determination of the relationship between different visual features after processing multiple text messages using natural language processing technology. The calculation expression is as follows: CG = Z1 / Z2, where Z1 is the number of texts that successfully determine the relationship between different visual features using natural language processing technology, and Z2 is the total number of texts processed by natural language processing technology; the visual feature interaction value refers to the determination of whether there is an interactive relationship between different visual features using object detection and tracking technology and computer vision technology, and the accumulation of the number of interactions to obtain the visual feature interaction value; Based on the semantic connection index, a similarity matching algorithm is used to perform secondary matching on the reference video and the video materials in the initial screening set, and the matching results are output for user selection.
2. The video material matching method based on AIGC according to claim 1, characterized in that: Step S1 also includes the following steps: Perform shot decomposition on the reference video input by the user based on the shot detection technology; According to the shot units in the shot decomposition set, a key frame extraction technology is used to extract a key frame from each decomposed shot unit; Using feature extraction technology based on the reference video frame in the key frame set, visual features of the reference video are extracted; The acquired visual features are matched with the visual feature materials in the database by using a feature descriptor matching method, and the video materials containing the successfully matched visual feature materials are extracted to obtain a video material matching set.
3. The video material matching method based on AIGC according to claim 1, characterized in that: Comparing the video material preliminary screening index with a video material preliminary screening index reference threshold; If the video material initial screening index is greater than or equal to the video material initial screening index reference threshold, the video material is deleted to obtain a video material initial screening set.
