AI image target tracking and synthesis method and system based on visual big model

By performing feature extraction and matching degree calculation on the target video stream, the problem of low target recognition rate and low synthesis efficiency in low frame rate images is solved, and more efficient target image recognition and synthesis effects are achieved.

CN118261941BActive Publication Date: 2024-10-01嘉达鼎新信息技术(苏州)有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410439889.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-12
Publication Date
2024-10-01
Estimated Expiration
2044-04-12

AI Technical Summary

Technical Problem

The existing technology easily marks similar targets as the same target in low frame rate images, resulting in a decrease in recognition rate, and cannot select an appropriate background based on the motion state of the target image, reducing the synthesis efficiency of the target image.

Method used

By processing the target video stream, extract the image information of the initial frame of the video, divide the grid-like tracking sub-region, use AI recognition technology to extract feature point information and regional edge information, calculate the position matching degree and image displacement value, and confirm the target image Movement trajectory map to select a suitable background for image synthesis.

Benefits of technology

It improves the recognition rate and synthesis efficiency of target images, accurately selects the background through feature point matching and motion status, and enhances the recognition accuracy and synthesis quality of images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118261941B_ABST
    Figure CN118261941B_ABST
Patent Text Reader

Abstract

The present application discloses an AI image target tracking and synthesis method and system based on a visual large model, which relates to the field of image analysis technology, including confirming the tracking area corresponding to the target video stream based on the image information corresponding to the initial frame of the video; extracting features from each tracking sub-area according to the AI ​​recognition technology, obtaining the data feature set corresponding to the image in each tracking sub-area in the current frame; obtaining and extracting the data feature set corresponding to the image in each tracking sub-area in the adjacent image frame, confirming the position matching degree and the image displacement value; comparing the position matching degree with the position matching threshold, confirming the number of feature points whose position matching degree exceeds the position matching threshold; confirming the target image based on the feature points, confirming the moving trajectory map corresponding to the target image based on the image displacement value; confirming the synthetic background map corresponding to the target image based on the moving trajectory map of the target image, and synthesizing the target image according to the synthetic background map. The present application has the effect of improving the recognition rate of the target image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image analysis technology, and in particular to an AI image target tracking and synthesis method and system based on a large visual model. Background Art

[0002] With the development of computer technology and the widespread application of computer vision principles, the research on real-time tracking of targets using computer image processing technology is becoming more and more popular. Dynamic real-time tracking and positioning of targets has broad application value in task scenarios such as target detection and intelligent transportation systems.

[0003] In the related technology, in the process of tracking the target image, target tracking can be achieved through the correlation relationship between adjacent frames. However, for images with low frame rates, similar targets are easily marked as the same target, resulting in a decrease in recognition rate. When synthesizing the target image, it is impossible to select the synthetic background according to the motion state of the target image, thereby reducing the synthesis efficiency of the target image. There is still room for improvement. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present application provides an AI image target tracking and synthesis method and system based on a large visual model.

[0005] In a first aspect, the present application provides an AI image target tracking and synthesis method based on a visual large model, comprising the following steps:

[0006] Processing the target video stream to extract image information corresponding to the initial frame of the video, and confirming the tracking area corresponding to the target video stream based on the image information corresponding to the initial frame of the video;

[0007] Divide the tracking area into tracking sub-areas in a grid shape, extract features of the tracking sub-areas according to AI recognition technology, and obtain data feature sets corresponding to images in the tracking sub-areas in the current frame;

[0008] Acquire and extract data feature sets corresponding to images in each tracking sub-region in adjacent image frames, and compare the data feature sets corresponding to images in each tracking sub-region in the current frame with the data feature sets corresponding to images in each tracking sub-region in adjacent image frames to confirm position matching and image displacement values;

[0009] Compare the position matching degree with the position matching threshold, and confirm the number of feature points whose position matching degree exceeds the position matching threshold, and then confirm the target image based on the feature points, and confirm the movement trajectory map corresponding to the target image based on the target image and the image displacement value;

[0010] A synthetic background image corresponding to the target image is confirmed based on the movement trajectory image corresponding to the target image, and the target image is synthesized according to the synthetic background image.

[0011] Preferably, the data feature set includes feature point information, the number of feature points and the position corresponding to each feature point.

[0012] Preferably, comparing the data feature set corresponding to the image in each tracking sub-area in the current frame with the data feature set corresponding to the image in each tracking sub-area in the adjacent image frame to confirm the position matching degree and the image displacement value specifically includes:

[0013] Confirming feature point information corresponding to the image in each tracking sub-region in the current frame and feature point information corresponding to the image in each tracking sub-region in the adjacent image frame, and identifying the region edge corresponding to each tracking sub-region in the current frame and the adjacent image frame, and then confirming feature point-region edge information corresponding to the current frame and feature point-region edge information corresponding to the adjacent image frame; wherein the feature point information includes the feature point area, and the feature point-region edge information includes the height and width of the feature point and the region edge;

[0014] According to the calculation formula The position matching degree λ corresponding to each feature point in each tracking sub-area is obtained; where i represents the number corresponding to each tracking sub-area, n represents the number corresponding to each feature point, S in It is represented as the area corresponding to the nth feature point in the ith tracking sub-region in the current frame, S′ in It is represented as the area corresponding to the nth feature point in the ith tracking sub-region in the adjacent image frame, H in , W in They are respectively represented as the height and width of the nth feature point and the edge of the region in the ith tracking sub-region in the current frame, H′ in , W′ in It is represented as the height and width between the nth feature point and the edge of the region in the ith tracking sub-region in adjacent image frames. ΔS, ΔH, and ΔW represent the allowed area difference, allowed height difference, and allowed width difference, respectively.

[0015] Preferably, the step of comparing the data feature set corresponding to the image in each tracking sub-region in the current frame with the data feature set corresponding to the image in each tracking sub-region in the adjacent image frame to confirm the position matching degree and the image displacement value specifically includes:

[0016] Get the coordinate information (x) corresponding to each feature point in each tracking sub-area in the current frame in ,y in ) and the coordinate information (x′) corresponding to each feature point in each tracking sub-area in the adjacent image frame in ,y′ in );

[0017] By calculating the formula The image displacement value ψ corresponding to each feature point in each tracking sub-area is obtained.

[0018] Preferably, the step of confirming the number of feature points whose position matching degree exceeds a position matching threshold, and then confirming the target image based on the feature points, specifically includes:

[0019] According to the comparison between the position matching degree of each feature point in each tracking sub-area and the position matching threshold, the feature points whose position matching degree exceeds the position matching threshold in each tracking sub-area are divided into the standard feature point set, and the number of standard feature points in the standard feature point set in each tracking sub-area is further confirmed. Obtain the image similarity coefficient ωi corresponding to each tracking sub-region;

[0020] If the image similarity coefficients corresponding to the tracking sub-regions all exceed the preset similarity threshold, the images of the tracking sub-regions in the adjacent image frames are set as the target images.

[0021] Preferably, the step of confirming the movement trajectory diagram corresponding to the target image based on the target image and the image displacement value specifically includes:

[0022] When the image displacement value is not 0 and the target image is identified in the adjacent image frame, the target image is continuously identified and tracked in the next adjacent image frame, thereby confirming the tracking trajectory corresponding to the target image, and setting the tracking trajectory corresponding to the target image as the moving trajectory map corresponding to the target image;

[0023] When the target image is not recognized in a preset number of adjacent image frames, tracking of the target image is terminated.

[0024] Preferably, confirming a synthetic background image corresponding to the target image based on the movement trajectory image corresponding to the target image, and synthesizing the target image according to the synthetic background image specifically includes:

[0025] If the target image has a corresponding moving trajectory map, the first state background map is set as the synthetic background map, and the target image is synthesized according to the synthetic background map;

[0026] If there is no corresponding moving track map for the target image, the second state background map is set as the synthetic background map, and the target image is synthesized according to the synthetic background map.

[0027] In a second aspect, the present application provides an AI image target tracking and synthesis system based on a visual large model, comprising:

[0028] A tracking area confirmation module is used to process the target video stream to extract image information corresponding to the initial frame of the video, and confirm the tracking area corresponding to the target video stream based on the image information corresponding to the initial frame of the video;

[0029] A data feature set acquisition module, used to divide the tracking area into various tracking sub-areas in a grid shape, extract features of each tracking sub-area according to AI recognition technology, and obtain a data feature set corresponding to the image in each tracking sub-area in the current frame;

[0030] An information analysis module is used to obtain and extract data feature sets corresponding to images in each tracking sub-area in adjacent image frames, and compare the data feature sets corresponding to images in each tracking sub-area in the current frame with the data feature sets corresponding to images in each tracking sub-area in adjacent image frames to confirm position matching and image displacement values;

[0031] A movement trajectory map confirmation module is used to compare the position matching degree with the position matching threshold, and confirm the number of feature points whose position matching degree exceeds the position matching threshold, and then confirm the target image based on the feature points, and confirm the movement trajectory map corresponding to the target image based on the target image and the image displacement value;

[0032] The image synthesis module is used to confirm the synthetic background image corresponding to the target image based on the movement trajectory image corresponding to the target image, and synthesize the target image according to the synthetic background image.

[0033] In a third aspect, the present application provides a computer-readable storage medium storing instructions, which, when executed on a computer, enables the computer to execute any one of the above-mentioned AI image target tracking and synthesis methods based on a large visual model.

[0034] In summary, the present application includes at least one of the following beneficial technical effects:

[0035] 1. The present application provides an AI image target tracking and synthesis method based on a visual large model, which compares the data feature sets corresponding to the images in each tracking sub-area in the current frame and the adjacent image frame, thereby confirming the position matching degree and the image displacement value, and confirming the target image by the position matching degree, thereby effectively improving the recognition rate of the target image, confirming the movement trajectory map corresponding to the target image by the image displacement value, and then confirming the synthetic background map according to the movement trajectory map corresponding to the target image, thereby effectively improving the synthesis efficiency of the target image;

[0036] 2. The position matching degree of each feature point in the target image in each tracking sub-region is confirmed by the area of ​​the feature point and the height and width of the feature point and the edge of the region, and the feature points in each tracking sub-region whose position matching degree exceeds the position matching threshold are divided into the standard feature point set, and then the image similarity coefficient corresponding to each tracking sub-region is confirmed, and the image similarity coefficient corresponding to each tracking sub-region is compared with the preset similarity threshold. If the image similarity coefficient corresponding to each tracking sub-region exceeds the preset similarity threshold, the image of each tracking sub-region in the adjacent image frame is set as the target image, thereby effectively improving the recognition rate of the target image. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flow chart of the method of AI image target tracking and synthesis based on a visual large model in an embodiment of the present application.

[0038] Figure 2 It is a system schematic diagram of AI image target tracking and synthesis based on a visual large model in an embodiment of the present application. DETAILED DESCRIPTION

[0039] The following is combined with Figure 1-2 This application is described in further detail.

[0040] Example 1

[0041] The embodiment of the present application discloses an AI image target tracking and synthesis method based on a large visual model.

[0042] Reference Figure 1 , an AI image target tracking and synthesis method based on a visual large model, comprising the following steps:

[0043] S1. Processing the target video stream to extract image information corresponding to the initial frame of the video, and confirming the tracking area corresponding to the target video stream based on the image information corresponding to the initial frame of the video;

[0044] Specifically, the tracking area is set to a regular area corresponding to the image in the initial frame of the video.

[0045] S2. Divide the tracking area into tracking sub-areas in a grid shape, extract features of the tracking sub-areas according to AI recognition technology, and obtain a data feature set corresponding to the image in each tracking sub-area in the current frame;

[0046] Specifically, AI recognition technology uses computer vision technology and machine learning technology in artificial intelligence technology, which can effectively achieve accurate tracking and identify target objects in continuous image frames. Artificial intelligence is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0047] S3. Obtain and extract the data feature set corresponding to the image in each tracking sub-region in the adjacent image frame, and compare the data feature set corresponding to the image in each tracking sub-region in the current frame with the data feature set corresponding to the image in each tracking sub-region in the adjacent image frame to confirm the position matching degree and image displacement value;

[0048] S4. Compare the position matching degree with the position matching threshold, and confirm the number of feature points whose position matching degree exceeds the position matching threshold, and then confirm the target image based on the feature points, and confirm the movement trajectory map corresponding to the target image based on the target image and the image displacement value;

[0049] S5. Confirming a synthetic background image corresponding to the target image based on the movement trajectory image corresponding to the target image, and synthesizing the target image according to the synthetic background image.

[0050] Furthermore, the data feature set includes feature point information, the number of feature points and the position corresponding to each feature point.

[0051] It should be noted that the data feature set corresponding to the image in each tracking sub-area in the current frame is compared with the data feature set corresponding to the image in each tracking sub-area in the adjacent image frame to confirm the position matching degree and the image displacement value, specifically including:

[0052] Confirming feature point information corresponding to the image in each tracking sub-region in the current frame and feature point information corresponding to the image in each tracking sub-region in the adjacent image frame, and identifying the region edge corresponding to each tracking sub-region in the current frame and the adjacent image frame, and then confirming feature point-region edge information corresponding to the current frame and feature point-region edge information corresponding to the adjacent image frame; wherein the feature point information includes the feature point area, and the feature point-region edge information includes the height and width of the feature point and the region edge;

[0053] According to the calculation formula The position matching degree λ corresponding to each feature point in each tracking sub-area is obtained; where i represents the number corresponding to each tracking sub-area, n represents the number corresponding to each feature point, S in It is represented as the area corresponding to the nth feature point in the ith tracking sub-region in the current frame, S′ in It is represented as the area corresponding to the nth feature point in the ith tracking sub-region in the adjacent image frame, Hin , W in They are respectively represented as the height and width of the nth feature point and the edge of the region in the ith tracking sub-region in the current frame, H′ in , W′ in It is represented as the height and width between the nth feature point and the edge of the region in the ith tracking sub-region in adjacent image frames. ΔS, ΔH, and ΔW represent the allowed area difference, allowed height difference, and allowed width difference, respectively.

[0054] Specifically, in image processing, a feature point refers to a point where the grayscale value of an image changes dramatically or a point with a large curvature on the edge of an image (i.e., the intersection of two edges). The feature point information includes not only the area corresponding to the feature point, but also color features and texture features. By comparing the changes in color features and texture features of the feature points between the current frame and the adjacent image frames, the image matching degree corresponding to each feature point in each tracking sub-area can be further obtained.

[0055] Furthermore, the step of comparing the data feature set corresponding to the image in each tracking sub-region in the current frame with the data feature set corresponding to the image in each tracking sub-region in the adjacent image frame to confirm the position matching degree and the image displacement value specifically includes:

[0056] Get the coordinate information (x) corresponding to each feature point in each tracking sub-area in the current frame in ,y in ) and the coordinate information (x′) corresponding to each feature point in each tracking sub-area in the adjacent image frame in ,y′ in );

[0057] By calculating the formula The image displacement value ψ corresponding to each feature point in each tracking sub-area is obtained.

[0058] It should be noted that the step of confirming the number of feature points whose position matching degree exceeds the position matching threshold, and then confirming the target image based on the feature points, specifically includes:

[0059] According to the comparison between the position matching degree of each feature point in each tracking sub-area and the position matching threshold, the feature points whose position matching degree exceeds the position matching threshold in each tracking sub-area are divided into the standard feature point set, and the number of standard feature points in the standard feature point set in each tracking sub-area is further confirmed. Obtain the image similarity coefficient ωi corresponding to each tracking sub-region;

[0060] If the image similarity coefficients corresponding to the tracking sub-regions all exceed the preset similarity threshold, the images of the tracking sub-regions in the adjacent image frames are set as the target images.

[0061] Specifically, when confirming the target image, the image matching degree corresponding to each feature point in each tracking sub-area can also be compared with the preset image matching threshold. By combining the position matching degree with the image matching degree, the recognition of the image similarity coefficient corresponding to each tracking sub-area can be further strengthened, thereby more effectively improving the recognition efficiency of the target image.

[0062] If further explanation is needed, the step of confirming the movement trajectory diagram corresponding to the target image based on the target image and the image displacement value specifically includes:

[0063] When the image displacement value is not 0 and the target image is identified in the adjacent image frame, the target image is continuously identified and tracked in the next adjacent image frame, thereby confirming the tracking trajectory corresponding to the target image, and setting the tracking trajectory corresponding to the target image as the moving trajectory map corresponding to the target image;

[0064] When the target image is not recognized in a preset number of adjacent image frames, tracking of the target image is terminated.

[0065] Further, based on the movement trajectory map corresponding to the target image, a synthetic background map corresponding to the target image is confirmed, and the target image is synthesized according to the synthetic background map, specifically including:

[0066] If the target image has a corresponding moving trajectory map, the first state background map is set as a synthetic background map, and the target image is synthesized according to the synthetic background map; wherein the first state background map is set as a dynamic image;

[0067] If there is no corresponding moving track map for the target image, the second state background map is set as the synthetic background map, the target image is synthesized according to the synthetic background map, and the second state background map is set as a static image.

[0068] Specifically, the synthetic background image corresponding to the target image is determined by judging the motion state of the target image, that is, if the motion state of the target image is static, the static image is set as the synthetic background image, and if the motion state of the target image is dynamic, the dynamic image is set as the synthetic background image. It also includes analyzing the lighting conditions of the target image and the synthetic background image, and automatically adjusting the lighting of the target image to achieve consistency with the lighting conditions of the synthetic background image, thereby improving the naturalness and realism of the synthetic image.

[0069] Example 2

[0070] The embodiment of the present application also discloses an AI image target tracking and synthesis system based on a large visual model.

[0071] Reference Figure 2 , an AI image target tracking and synthesis system based on a visual big model, including:

[0072] A tracking area confirmation module is used to process the target video stream to extract image information corresponding to the initial frame of the video, and confirm the tracking area corresponding to the target video stream based on the image information corresponding to the initial frame of the video;

[0073] A data feature set acquisition module, used to divide the tracking area into various tracking sub-areas in a grid shape, extract features of each tracking sub-area according to AI recognition technology, and obtain data feature sets corresponding to images in each tracking sub-area in the current frame;

[0074] An information analysis module is used to obtain and extract data feature sets corresponding to images in each tracking sub-area in adjacent image frames, and compare the data feature sets corresponding to images in each tracking sub-area in the current frame with the data feature sets corresponding to images in each tracking sub-area in adjacent image frames to confirm position matching and image displacement values;

[0075] A movement trajectory map confirmation module is used to compare the position matching degree with the position matching threshold, and confirm the number of feature points whose position matching degree exceeds the position matching threshold, and then confirm the target image based on the feature points, and confirm the movement trajectory map corresponding to the target image based on the target image and the image displacement value;

[0076] The image synthesis module is used to confirm the synthetic background image corresponding to the target image based on the movement trajectory image corresponding to the target image, and synthesize the target image according to the synthetic background image.

[0077] The above contents are merely examples and explanations of the concept of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.

[0078] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0079] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. An AI image target tracking and synthesis method based on a large visual model, characterized in that: The following steps are involved: Processing the target video stream to extract image information corresponding to the initial frame of the video, and confirming the tracking area corresponding to the target video stream based on the image information corresponding to the initial frame of the video; Divide the tracking area into tracking sub-areas in a grid shape, extract features of the tracking sub-areas according to AI recognition technology, and obtain data feature sets corresponding to images in the tracking sub-areas in the current frame; The data feature set includes feature point information, the number of feature points and the position corresponding to each feature point; Acquire and extract data feature sets corresponding to images in each tracking sub-region in adjacent image frames, and compare the data feature sets corresponding to images in each tracking sub-region in the current frame with the data feature sets corresponding to images in each tracking sub-region in adjacent image frames to confirm position matching and image displacement values; Comparing the data feature set corresponding to the image in each tracking sub-region in the current frame with the data feature set corresponding to the image in each tracking sub-region in the adjacent image frame to confirm the position matching degree and the image displacement value specifically includes: Confirming feature point information corresponding to the image in each tracking sub-region in the current frame and feature point information corresponding to the image in each tracking sub-region in the adjacent image frame, and identifying the region edge corresponding to each tracking sub-region in the current frame and the adjacent image frame, and then confirming feature point-region edge information corresponding to the current frame and feature point-region edge information corresponding to the adjacent image frame; wherein the feature point information includes the feature point area, and the feature point-region edge information includes the height and width of the feature point and the region edge; According to the calculation formula , and obtain the position matching degree corresponding to each feature point in each tracking sub-area ;in, It represents the number corresponding to each tracking sub-area. It represents the number corresponding to each feature point. Indicates the first In the tracking sub-area The area corresponding to the feature points is Represented as the first In the tracking sub-area The area corresponding to the feature points is Respectively represent the In the tracking sub-area The height and width of the feature points and the edge of the region, Represented as the first In the tracking sub-area The height and width of the feature points and the edge of the region, They are respectively expressed as the permitted area difference, permitted height difference, and permitted width difference; Compare the position matching degree with the position matching threshold, and confirm the number of feature points whose position matching degree exceeds the position matching threshold, and then confirm the target image based on the feature points, and confirm the movement trajectory map corresponding to the target image based on the target image and the image displacement value; A synthetic background image corresponding to the target image is confirmed based on the movement trajectory image corresponding to the target image, and the target image is synthesized according to the synthetic background image.

2. The AI ​​image target tracking and synthesis method based on a visual large model according to claim 1, characterized in that: The step of comparing the data feature set corresponding to the image in each tracking sub-region in the current frame with the data feature set corresponding to the image in each tracking sub-region in the adjacent image frame to confirm the position matching degree and the image displacement value specifically includes: Get the coordinate information corresponding to each feature point in each tracking sub-area in the current frame and the coordinate information corresponding to each feature point in each tracking sub-area in the adjacent image frame ; By calculating the formula , and obtain the image displacement value corresponding to each feature point in each tracking sub-area .

3. The AI ​​image target tracking and synthesis method based on a visual large model according to claim 2, characterized in that: The step of confirming the number of feature points whose position matching degree exceeds the position matching threshold, and then confirming the target image based on the feature points, specifically includes: According to the comparison between the position matching degree of each feature point in each tracking sub-area and the position matching threshold, the feature points whose position matching degree exceeds the position matching threshold in each tracking sub-area are divided into the standard feature point set, and the number of standard feature points in the standard feature point set in each tracking sub-area is further confirmed. , and obtain the image similarity coefficient corresponding to each tracking sub-region ; If the image similarity coefficients corresponding to the tracking sub-regions all exceed the preset similarity threshold, the images of the tracking sub-regions in the adjacent image frames are set as the target images.

4. The AI ​​image target tracking and synthesis method based on a visual large model according to claim 3 is characterized in that: The step of confirming the movement trajectory diagram corresponding to the target image based on the target image and the image displacement value specifically includes: When the image displacement value is not 0 and the target image is identified in the adjacent image frame, the target image is continuously identified and tracked in the next adjacent image frame, thereby confirming the tracking trajectory corresponding to the target image, and setting the tracking trajectory corresponding to the target image as the moving trajectory map corresponding to the target image; When the target image is not recognized in a preset number of adjacent image frames, tracking of the target image is terminated.

5. The AI ​​image target tracking and synthesis method based on a visual large model according to claim 4 is characterized in that: The method further comprises: determining a synthetic background image corresponding to the target image based on the movement trajectory image corresponding to the target image, and synthesizing the target image according to the synthetic background image, specifically comprising: If the target image has a corresponding moving trajectory map, the first state background map is set as the synthetic background map, and the target image is synthesized according to the synthetic background map; If there is no corresponding moving track map for the target image, the second state background map is set as the synthetic background map, and the target image is synthesized according to the synthetic background map.

6. An AI image target tracking and synthesis system based on a large visual model, characterized in that: include: A tracking area confirmation module is used to process the target video stream to extract image information corresponding to the initial frame of the video, and confirm the tracking area corresponding to the target video stream based on the image information corresponding to the initial frame of the video; A data feature set acquisition module, used to divide the tracking area into various tracking sub-areas in a grid shape, extract features of each tracking sub-area according to AI recognition technology, and obtain data feature sets corresponding to images in each tracking sub-area in the current frame; The data feature set includes feature point information, the number of feature points and the position corresponding to each feature point; An information analysis module is used to obtain and extract data feature sets corresponding to images in each tracking sub-area in adjacent image frames, and compare the data feature sets corresponding to images in each tracking sub-area in the current frame with the data feature sets corresponding to images in each tracking sub-area in adjacent image frames to confirm position matching and image displacement values; Comparing the data feature set corresponding to the image in each tracking sub-region in the current frame with the data feature set corresponding to the image in each tracking sub-region in the adjacent image frame to confirm the position matching degree and the image displacement value specifically includes: Confirming feature point information corresponding to the image in each tracking sub-region in the current frame and feature point information corresponding to the image in each tracking sub-region in the adjacent image frame, and identifying the region edge corresponding to each tracking sub-region in the current frame and the adjacent image frame, and then confirming feature point-region edge information corresponding to the current frame and feature point-region edge information corresponding to the adjacent image frame; wherein the feature point information includes the feature point area, and the feature point-region edge information includes the height and width of the feature point and the region edge; According to the calculation formula , and obtain the position matching degree corresponding to each feature point in each tracking sub-area ;in, It represents the number corresponding to each tracking sub-area. It represents the number corresponding to each feature point. Indicates the first In the tracking sub-area The area corresponding to the feature points is Represented as the first In the tracking sub-area The area corresponding to the feature points is Respectively represent the In the tracking sub-area The height and width of the feature points and the edge of the region, Represented as the first In the tracking sub-area The height and width of the feature points and the edge of the region, They are respectively expressed as the permitted area difference, permitted height difference, and permitted width difference; A movement trajectory map confirmation module is used to compare the position matching degree with the position matching threshold, and confirm the number of feature points whose position matching degree exceeds the position matching threshold, and then confirm the target image based on the feature points, and confirm the movement trajectory map corresponding to the target image based on the target image and the image displacement value; The image synthesis module is used to confirm the synthetic background image corresponding to the target image based on the movement trajectory image corresponding to the target image, and synthesize the target image according to the synthetic background image.

7. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer executes an AI image target tracking and synthesis method based on a visual large model as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Trajectory tracking method and device and storage medium

    CN109978918A

  • Target identification method and device, computer equipment and storage medium

    CN112215205A

  • Method of moving target tracking and number accounting

    WO2008092393A1