A semi-automatic video image annotation method and system based on single target tracking

By using the ARTrack single-target tracking algorithm and modified annotation processing with a preset error range in video image annotation, the errors and inconsistencies of manual annotation in the existing technology are solved, and the efficiency and accuracy of video image annotation are achieved.

CN118411653BActive Publication Date: 2024-09-06GUANGZHOU INSTITUTE OF TECHNOLOY XIDIAN UNIVERSITY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410869090.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-06
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

Existing video image annotation methods rely on manual annotation, which suffers from errors, incompleteness, non-standardization, and uneven annotation quality in complex scenarios, and lacks an effective mechanism to ensure the consistency of annotation quality.

Method used

A semi-automatic video image annotation method based on single target tracking is adopted. The video frame images are tracked through the ARTrack single target tracking algorithm, and the annotation is modified according to the preset error range to ensure the continuity and accuracy of the annotation.

Benefits of technology

It improves the efficiency and accuracy of video frame image annotation, reduces manual subsequent processing time, ensures the continuity and consistency of annotation, and improves the standardization and quality of annotation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118411653B
    Figure CN118411653B
Patent Text Reader

Abstract

The present invention discloses a semi-automatic video image annotation method and system based on single target tracking, the method comprising: constructing a video frame image data set; tracking and processing the video frame image data set through the ARTrack single target tracking algorithm to obtain a video frame image tracking result; modifying and annotating the video frame image tracking result according to a preset error range to obtain a video frame image annotation result. By using the present invention, the tracking offset of the video frame image tracking result can be corrected in real time to ensure the continuity of the video frame image annotation, thereby improving the annotation efficiency and accuracy of the video frame image. As a semi-automatic video image annotation method and system based on single target tracking, the present invention can be widely used in the field of video image annotation technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video image annotation, and in particular to a semi-automatic video image annotation method and system based on single target tracking. Background Art

[0002] With the rapid development of multimedia technology and computer technology, video information has become an important resource. However, it is still a key issue to quickly and accurately label the required information in the video. At present, video annotation can be used to produce deep learning datasets in computer vision, and it also facilitates the research of video information extraction. However, existing image or video annotation tools (such as labelme, labelimg, yolo_mark, sloth, vott, etc.) usually use manual frame-by-frame annotation, which is time-consuming and labor-intensive, and it is difficult to ensure accuracy and standardization. There are many problems with manual annotation, such as incorrect annotation, incomplete information, and non-standard annotation form. Therefore, a more convenient and accurate annotation method is urgently needed. Given the continuity of video, annotation also shows a certain degree of continuity. The target tracking algorithm can track continuously moving targets, determine their overall motion route, and obtain the position of the target in each frame. Combining target tracking with annotation can significantly improve video annotation with human participation, and transform the traditional manual annotation method into semi-automatic. Select a target tracking algorithm suitable for actual application scenarios and optimize it to improve accuracy and keep the tracking speed within an acceptable range as much as possible. According to the results of the tracking algorithm, the target is located and marked to improve the annotation speed and accuracy. In order to better label the target, it is necessary to manually specify the target and provide labeling information in the starting frame of the video, and then the tracking algorithm will use these specified targets for feature extraction and tracking. Despite this, the existing semi-automatic labeling methods still face difficulties such as heavy reliance on manpower, limited algorithm adaptability, uneven labeling quality and inconsistent standards. Especially in complex scenes, the time cost of manual intervention is high, the tracking algorithm is prone to errors in a changing environment, and there is a lack of effective mechanisms to ensure the consistency of labeling quality. Summary of the invention

[0003] In order to solve the above technical problems, the purpose of the present invention is to provide a semi-automatic video image annotation method and system based on single target tracking, which can correct the tracking offset of the video frame image tracking results in real time, ensure the continuity of the video frame image annotation, and improve the annotation efficiency and accuracy of the video frame image.

[0004] The first technical solution adopted by the present invention is: a semi-automatic video image annotation method based on single target tracking, comprising the following steps:

[0005] Construct a video frame image dataset;

[0006] The video frame image data set is tracked and processed by the ARTrack single target tracking algorithm to obtain the video frame image tracking result;

[0007] According to the preset error range, the video frame image tracking result is modified and annotated to obtain the video frame image annotation result.

[0008] Furthermore, the step of constructing a video frame image dataset specifically includes:

[0009] Get video frame sequence;

[0010] Traverse the video frame sequence and search for the corresponding ground_truth.txt file;

[0011] If the search does not contain a ground_truth.txt file, create an empty ground_truth.txt file and read the video frame sequence into it to obtain a video frame sequence with breakpoints saved;

[0012] Create a JSON file and import the video frame sequence saved with breakpoints to build a video frame image dataset.

[0013] Further, the step of tracking the video frame image data set by using the ARTrack single target tracking algorithm to obtain the video frame image tracking result specifically includes:

[0014] Create an opencv window and sort the video frame image data set in ascending order to obtain a sorted video frame image data set;

[0015] Based on the opencv window, read the first frame of the first video sequence in the sorted video frame image dataset and detect the corresponding ground_truth.txt file;

[0016] If the ground_truth.txt file is detected to be empty, the pictures in the corresponding video sequence are modified and marked. If the ground_truth.txt file is detected to be not empty, the pictures in the corresponding video sequence are tracked.

[0017] Until the detection of all video frame image data sets is completed, the video frame image tracking results are output.

[0018] Further, the step of modifying and annotating the video frame image tracking result according to the preset error range to obtain the video frame image annotated result specifically includes:

[0019] Set a preset error range;

[0020] If the video frame image tracking result does not meet the preset error range, modify and annotate the video frame image tracking result until the video frame image tracking result meets the preset error range;

[0021] If the video frame image tracking result meets the preset error range, the video frame image annotation result is output.

[0022] Furthermore, the step of modifying and annotating the video frame image tracking result specifically includes:

[0023] Performing modification and annotation processing on the video frame image tracking result, wherein the modification and annotation processing includes an oblique angle mode, a center mode and a four-side mode;

[0024] The modification annotation process of the bevel mode is as follows:

[0025] Determine four orientation points of the bounding box of the video frame image tracking result as the starting point of the bounding box to be modified, wherein the four orientation points include an upper left point of the bounding box, a lower left point of the bounding box, an upper right point of the bounding box, and a lower right point of the bounding box;

[0026] Move the bounding box of the video frame image tracking result, and calculate the horizontal and vertical coordinates of the upper left position of the bounding box and the width and height of the bounding box during the movement;

[0027] When the horizontal and vertical coordinates of the upper left corner of the bounding box and the width and height of the bounding box meet the preset error range, the horizontal and vertical coordinates of the upper left corner of the bounding box and the width and height of the bounding box are written into the corresponding ground_truth.txt file;

[0028] The modification and annotation process of the center mode is as follows:

[0029] Determine the center point of the bounding box of the video frame image tracking result as the starting point of the bounding box to be modified;

[0030] Move the bounding box of the video frame image tracking result, and change the horizontal and vertical coordinates of the upper left position of the bounding box until the horizontal and vertical coordinates of the upper left position of the bounding box meet the preset error range, and write the horizontal and vertical coordinates of the upper left position of the bounding box and the width and height of the bounding box into the corresponding ground_truth.txt file;

[0031] The modification and annotation process of the four-side mode is as follows:

[0032] Determine four wireframes of a boundary frame of a video frame image tracking result, wherein the four wireframes include a left wireframe, a right wireframe, an upper wireframe, and a lower wireframe;

[0033] Select the left wireframe and move it, and update the original horizontal coordinate of the left wireframe to the horizontal coordinate of the moved left wireframe;

[0034] Obtain the sum of the original horizontal coordinate of the left wireframe and the original border width of the left wireframe, and calculate the difference between the sum and the horizontal coordinate of the left wireframe after the move as the width of the left wireframe after the move;

[0035] Select the right wireframe and move it, obtain the horizontal coordinate of the right wireframe after it moves, and calculate the difference between the horizontal coordinate of the right wireframe after it moves and the original horizontal coordinate of the right wireframe as the width of the right wireframe after it moves;

[0036] Select the upper wireframe and move it, and update the original horizontal coordinate of the upper wireframe to the horizontal coordinate of the upper wireframe after the move;

[0037] Obtain the sum of the original horizontal coordinate of the upper wireframe and the original border width of the upper wireframe, and calculate the difference between the sum and the horizontal coordinate of the upper wireframe after the move as the width of the upper wireframe after the move;

[0038] Select the lower wireframe and move it, obtain the horizontal coordinate of the lower wireframe after it moves, and calculate the difference between the horizontal coordinate of the lower wireframe after it moves and the original horizontal coordinate of the lower wireframe as the width of the lower wireframe after it moves;

[0039] Until the width of the moved left wireframe, the width of the moved right wireframe, the width of the moved upper wireframe and the width of the moved lower wireframe meet the preset error range, the width of the moved left wireframe, the width of the moved right wireframe, the width of the moved upper wireframe and the width of the moved lower wireframe are written into the corresponding ground_truth.txt file.

[0040] Furthermore, it also includes updating and modifying process parameters of the annotation processing by combining the video frame image annotation results and the video frame image tracking results.

[0041] The second technical solution adopted by the present invention is: a semi-automatic video image annotation system based on single target tracking, comprising:

[0042] A construction module is used to construct a video frame image dataset;

[0043] The tracking module is used to track the video frame image data set through the ARTrack single target tracking algorithm to obtain the video frame image tracking result;

[0044] The annotation module is used to modify and annotate the video frame image tracking result according to a preset error range to obtain the video frame image annotation result.

[0045] The beneficial effects of the method and system of the present invention are as follows: the present invention constructs a video frame image data set, and tracks and processes the video frame image data set through the ARTrack single-target tracking algorithm, thereby improving the stability and balance of the video frame image data set, further reducing the length of time for manual subsequent processing, and finally, by modifying and annotating the video frame image tracking result, the tracking offset of the video frame image tracking result can be corrected in real time, thereby ensuring the continuity of the video frame image annotation, and improving the annotation efficiency and accuracy of the video frame image. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a flowchart of the steps of a semi-automatic video image annotation method based on single target tracking of the present invention;

[0047] Figure 2 It is a structural block diagram of a semi-automatic video image annotation system based on single target tracking of the present invention;

[0048] Figure 3 It is a schematic diagram of the process steps of modifying annotations provided in a specific embodiment of the present invention. DETAILED DESCRIPTION

[0049] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0050] Reference Figure 1 The present invention provides a semi-automatic video image annotation method based on single target tracking, the method comprising the following steps:

[0051] S1, construct a video frame image dataset;

[0052] Specifically, obtain the video frame sequence; traverse the video frame sequence and search for the corresponding ground_truth.txt file; if the search does not contain the ground_truth.txt file, create an empty ground_truth.txt file and read the video frame sequence into it to obtain the video frame sequence with breakpoints saved; create a JSON file and import the video frame sequence with breakpoints saved to construct a video frame image dataset.

[0053] In the embodiment of the present invention, all video sequences and corresponding ground_truth.txt files in the specified folder are traversed first. If the corresponding ground_truth.txt file does not exist, a ground_truth.txt file with empty content is automatically created. The purpose of this operation is to save the breakpoint, so that the next time the video is read in, it can be tracked directly from the breakpoint, and then a JSON file is created for saving, so as to facilitate the subsequent automatic import of the remaining video sequences in the data set one by one.

[0054] S2, tracking and processing the video frame image data set by using the ARTrack single target tracking algorithm to obtain the video frame image tracking result;

[0055] Specifically, an opencv window is created, and the video frame image data set is sorted in ascending order to obtain a sorted video frame image data set; based on the opencv window, the first frame of the first video sequence in the sorted video frame image data set is read in, and the corresponding ground_truth.txt file is detected; if the ground_truth.txt file is detected to be empty, the image in the corresponding video sequence is modified and marked; if the ground_truth.txt file is detected to be non-empty, the tracking of the image in the corresponding video sequence is completed; until the detection of all video frame image data sets is completed, the video frame image tracking results are output.

[0056] In the embodiment of the present invention, an opencv window is created, and the first frame of the first video sequence in the current data set is read and visualized in order from small to large. At the same time, it is detected whether the content of the corresponding ground_truth.txt file of the current video sequence is empty. If it is empty, it is automatically switched to the bevel annotation mode to manually complete the accurate annotation of the first frame; for subsequent frames, the ARTrack tracking algorithm will be automatically used to track each frame, wherein the number of frames tracked each time can be set, and the default is 1; the current frame number will be displayed in real time in the upper left corner of the window.

[0057] S3. According to a preset error range, modify and annotate the video frame image tracking result to obtain the video frame image annotating result.

[0058] Specifically, a preset error range is set; if the video frame image tracking result does not meet the preset error range, the video frame image tracking result is modified and annotated until the video frame image tracking result meets the preset error range; if the video frame image tracking result meets the preset error range, the video frame image annotation result is output.

[0059] Further, such as Figure 3 As shown, the modification annotation processing in the embodiment of the present invention includes a bevel mode, a center mode and a four-side mode.

[0060] The modification and annotation process of the bevel mode is as follows:

[0061] Determine the four orientation points of the bounding box of the video frame image tracking result as the starting point of the bounding box to be modified, and the four orientation points include the upper left point of the bounding box, the lower left point of the bounding box, the upper right point of the bounding box, and the lower right point of the bounding box; move the bounding box of the video frame image tracking result, and calculate the horizontal and vertical coordinates of the upper left point of the bounding box and the width and height of the bounding box during the movement; when the horizontal and vertical coordinates of the upper left point of the bounding box and the width and height of the bounding box meet the preset error range, write the horizontal and vertical coordinates of the upper left point of the bounding box and the width and height of the bounding box into the corresponding ground_truth.txt file.

[0062] The modification and annotation process of the center mode is as follows:

[0063] Determine the center point of the bounding box of the video frame image tracking result as the starting point of the bounding box to be modified; move the bounding box of the video frame image tracking result, and change the horizontal and vertical coordinates of the upper left point of the bounding box until the horizontal and vertical coordinates of the upper left point of the bounding box meet the preset error range, and write the horizontal and vertical coordinates of the upper left point of the bounding box and the width and height of the bounding box into the corresponding ground_truth.txt file.

[0064] The modification and annotation process of the four-side mode is as follows:

[0065] Determine four wireframes of the boundary frame of the video frame image tracking result, the four wireframes include a left wireframe, a right wireframe, an upper wireframe and a lower wireframe; select the left wireframe and move it, and update the original horizontal coordinate of the left wireframe to the horizontal coordinate of the left wireframe after the move; obtain the addition result of the original horizontal coordinate of the left wireframe and the original boundary width of the left wireframe, calculate the difference between the addition result and the horizontal coordinate of the left wireframe after the move, as the width of the left wireframe after the move; select the right wireframe and move it, obtain the horizontal coordinate of the right wireframe after the move, calculate the difference between the horizontal coordinate of the right wireframe after the move and the original horizontal coordinate of the right wireframe, as the width of the right wireframe after the move; select the upper wireframe and move it, and update the original horizontal coordinate of the upper wireframe to the horizontal coordinate of the upper wireframe after the move ; Get the sum of the original horizontal coordinate of the upper wireframe and the original border width of the upper wireframe, calculate the difference between the sum and the horizontal coordinate of the upper wireframe after the move, as the width of the upper wireframe after the move; select the lower wireframe and move it, get the horizontal coordinate of the lower wireframe after the move, calculate the difference between the horizontal coordinate of the lower wireframe after the move and the original horizontal coordinate of the lower wireframe, as the width of the lower wireframe after the move; until the width of the left wireframe after the move, the width of the right wireframe after the move, the width of the upper wireframe after the move and the width of the lower wireframe after the move meet the preset error range, write the width of the left wireframe after the move, the width of the right wireframe after the move, the width of the upper wireframe after the move and the width of the lower wireframe after the move into the corresponding ground_truth.txt file.

[0066] Furthermore, the embodiment of the present invention takes keyboard and mouse operation as an example to illustrate:

[0067] Freely switch the images displayed in the window. By pressing "a" or "d" on the keyboard, you can switch to the previous or next frame of the current frame;

[0068] Automatically switch the annotation modification mode. Click the mouse to automatically switch the modification mode, including bevel mode, center mode, and four-side mode. The details are as follows:

[0069] In bevel mode, when the left mouse button is pressed at the upper left, lower left, upper right, or lower right of the bounding box, the position where the left mouse button is pressed is recorded as the starting point of the bounding box to be modified.

[0070] If you move without releasing the left button, the moving position will be recorded in real time as a temporary end point. The program will automatically calculate the horizontal and vertical coordinates of the upper left vertex of the bounding box and the width and height of the bounding box, and display the bounding box in real time on the current frame for manual real-time modification.

[0071] When you release the left button, the end point is finally determined, and the horizontal and vertical coordinates of the upper left vertex of the current frame's bounding box and the width and height of the bounding box are written to the corresponding lines in the corresponding ground_truth.txt file. Each line corresponds to the bounding box information of each frame of the image.

[0072] Center mode: When the left mouse button falls on the center area of ​​the current frame's bounding box, the position where the left mouse button is pressed is recorded as the starting point of the bounding box to be modified.

[0073] If you move without releasing the left button, the moving position is recorded in real time as a temporary end point, which is manifested in real time modification of the horizontal and vertical coordinates of the upper left vertex of the current frame bounding box without changing the width and height of the original bounding box.

[0074] When you release the left button, the end point is finally determined, and the horizontal and vertical coordinates of the upper left vertex of the current frame's bounding box and the width and height of the bounding box are written to the corresponding lines in the corresponding ground_truth.txt file.

[0075] In four-side mode, when the left mouse button falls on the left side of the current frame bounding box, the left side of the current frame bounding box changes as the mouse is dragged. The specific modification details are to retain the original horizontal coordinate and the height of the bounding box, and only change the horizontal coordinate in real time to the current mouse horizontal coordinate, and the width is the difference between the sum of the original horizontal coordinate and the original bounding box width and the current mouse horizontal coordinate.

[0076] The width is calculated as follows:

[0077] ;

[0078] in, Indicates the current bounding box width, represents the original horizontal coordinate, Indicates the original bounding box width, Indicates the horizontal coordinate of the current mouse release point.

[0079] When the left mouse button falls on the right side of the current frame bounding box, as the mouse is dragged, the right side of the current frame bounding box changes accordingly. The specific modification details are to retain the original horizontal and vertical coordinates and the height of the bounding box, and the width is the difference between the current mouse horizontal coordinate and the original horizontal coordinate.

[0080] The width is calculated as follows:

[0081]

[0082] in, Indicates the current bounding box width, represents the original horizontal coordinate, Indicates the horizontal coordinate of the current mouse release point.

[0083] When the left mouse button falls on the current frame bounding box, the upper edge of the current frame bounding box changes as the mouse is dragged. The specific modification details are to retain the original vertical coordinate and the width of the bounding box, and only change the horizontal coordinate to the current mouse horizontal coordinate in real time. The height is the difference between the sum of the original vertical coordinate and the height of the original bounding box and the current mouse vertical coordinate; the height calculation formula is as follows:

[0084] ;

[0085] in, Indicates the current bounding box height, represents the original vertical coordinate, Indicates the original bounding box height, Indicates the vertical coordinate of the current mouse release point.

[0086] When the left mouse button falls below the current frame bounding box, the bottom of the current frame bounding box changes as the mouse is dragged. The specific modification details are to retain the original horizontal and vertical coordinates and the width of the bounding box, and the height is the difference between the current mouse vertical coordinate and the original vertical coordinate; the height calculation formula is as follows:

[0087] ;

[0088] in, Indicates the current bounding box height, represents the original vertical coordinate, Indicates the vertical coordinate of the current mouse release point.

[0089] When you release the left button, the end point is finally determined, and the horizontal and vertical coordinates of the upper left vertex of the current frame's bounding box and the width and height of the bounding box are written to the corresponding lines in the corresponding ground_truth.txt file.

[0090] In summary, the embodiments of the present invention reduce the manual processing time as much as possible through an intelligent initialization process. Secondly, by integrating the advanced ARTrack target tracking algorithm, we have achieved comprehensive optimization in multiple key dimensions such as generalization ability, tracking accuracy, real-time performance and stability, and reached a relatively ideal balance. In addition, the integrated real-time quality monitoring system can instantly detect and correct tracking offsets, and quickly adjust based on user feedback to ensure the continuity and accuracy of annotations. In order to improve the standardization and quality of annotations, this solution also establishes a unified annotation process and data format to enhance the versatility and reliability of annotation data. Finally, the optimized interactive interface design makes the annotation work more intuitive and efficient, and the real-time adjustment of annotation details and historical record backtracking functions greatly improve the annotation efficiency and user experience.

[0091] Finally, it also includes updating and modifying process parameters of the annotation processing by combining the video frame image annotation results and the video frame image tracking results.

[0092] Reference Figure 2 , a semi-automatic video image annotation system based on single target tracking, comprising:

[0093] A construction module is used to construct a video frame image dataset;

[0094] The tracking module is used to track the video frame image data set through the ARTrack single target tracking algorithm to obtain the video frame image tracking result;

[0095] The annotation module is used to modify and annotate the video frame image tracking result according to a preset error range to obtain the video frame image annotation result.

[0096] The contents of the above method embodiments are all applicable to the present system embodiments. The functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0097] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A semi-automatic video image annotation method based on single target tracking, characterized in that: The following steps are involved: Get video frame sequence; Traverse the video frame sequence and search for the corresponding ground_truth.txt file; If the search does not contain a ground_truth.txt file, create an empty ground_truth.txt file and read the video frame sequence into it to obtain a video frame sequence with breakpoints saved; Create a JSON file and import the video frame sequence saved with breakpoints to build a video frame image dataset; Create an opencv window and sort the video frame image data set in ascending order to obtain a sorted video frame image data set; Based on the opencv window, read the first frame of the first video sequence in the sorted video frame image dataset and detect the corresponding ground_truth.txt file; If the ground_truth.txt file is detected to be empty, the pictures in the corresponding video sequence are modified and marked. If the ground_truth.txt file is detected to be not empty, the pictures in the corresponding video sequence are tracked. Until the detection of all video frame image data sets is completed, the video frame image tracking results are output; Set a preset error range; If the video frame image tracking result does not meet the preset error range, modify and annotate the video frame image tracking result until the video frame image tracking result meets the preset error range; The modification and annotation processing of the video frame image tracking result includes: Performing modification and annotation processing on the video frame image tracking result, wherein the modification and annotation processing includes an oblique angle mode, a center mode and a four-side mode; The modification annotation process of the bevel mode is as follows: Determine four orientation points of the bounding box of the video frame image tracking result as the starting point of the bounding box to be modified, wherein the four orientation points include an upper left point of the bounding box, a lower left point of the bounding box, an upper right point of the bounding box, and a lower right point of the bounding box; Move the bounding box of the video frame image tracking result, and calculate the horizontal and vertical coordinates of the upper left position of the bounding box and the width and height of the bounding box during the movement; When the horizontal and vertical coordinates of the upper left corner of the bounding box and the width and height of the bounding box meet the preset error range, the horizontal and vertical coordinates of the upper left corner of the bounding box and the width and height of the bounding box are written into the corresponding ground_truth.txt file; The modification and annotation process of the center mode is as follows: Determine the center point of the bounding box of the video frame image tracking result as the starting point of the bounding box to be modified; Move the bounding box of the video frame image tracking result, and change the horizontal and vertical coordinates of the upper left position of the bounding box until the horizontal and vertical coordinates of the upper left position of the bounding box meet the preset error range, and write the horizontal and vertical coordinates of the upper left position of the bounding box and the width and height of the bounding box into the corresponding ground_truth.txt file; The modification and annotation process of the four-side mode is as follows: Determine four wireframes of a boundary frame of a video frame image tracking result, wherein the four wireframes include a left wireframe, a right wireframe, an upper wireframe, and a lower wireframe; Select the left wireframe and move it, and update the original horizontal coordinate of the left wireframe to the horizontal coordinate of the moved left wireframe; Obtain the sum of the original horizontal coordinate of the left wireframe and the original border width of the left wireframe, and calculate the difference between the sum and the horizontal coordinate of the left wireframe after the move as the width of the left wireframe after the move; Select the right wireframe and move it, obtain the horizontal coordinate of the right wireframe after it moves, and calculate the difference between the horizontal coordinate of the right wireframe after it moves and the original horizontal coordinate of the right wireframe as the width of the right wireframe after it moves; Select the upper wireframe and move it, and update the original horizontal coordinate of the upper wireframe to the horizontal coordinate of the upper wireframe after the move; Obtain the sum of the original horizontal coordinate of the upper wireframe and the original border width of the upper wireframe, and calculate the difference between the sum and the horizontal coordinate of the upper wireframe after the move as the width of the upper wireframe after the move; Select the lower wireframe and move it, obtain the horizontal coordinate of the lower wireframe after it moves, and calculate the difference between the horizontal coordinate of the lower wireframe after it moves and the original horizontal coordinate of the lower wireframe as the width of the lower wireframe after it moves; Until the width of the left wireframe after moving, the width of the right wireframe after moving, the width of the upper wireframe after moving, and the width of the lower wireframe after moving meet the preset error range, the width of the left wireframe after moving, the width of the right wireframe after moving, the width of the upper wireframe after moving, and the width of the lower wireframe after moving are written into the corresponding ground_truth.txt file; If the video frame image tracking result meets the preset error range, the video frame image annotation result is output.

2. According to claim 1, a semi-automatic video image annotation method based on single target tracking is characterized in that: It also includes updating and modifying process parameters of the annotation processing by combining the video frame image annotation results and the video frame image tracking results.

3. A semi-automatic video image annotation system based on single target tracking, characterized in that: Includes the following modules: Building a module for acquiring a video frame sequence; Traverse the video frame sequence and search for the corresponding ground_truth.txt file; If the search does not contain a ground_truth.txt file, create an empty ground_truth.txt file and read the video frame sequence into it to obtain a video frame sequence with breakpoints saved; Create a JSON file and import the video frame sequence saved with breakpoints to build a video frame image dataset; The tracking module is used to create an opencv window and sort the video frame image data set in ascending order to obtain a sorted video frame image data set; Based on the opencv window, read the first frame of the first video sequence in the sorted video frame image dataset and detect the corresponding ground_truth.txt file; If the ground_truth.txt file is detected to be empty, the pictures in the corresponding video sequence are modified and marked. If the ground_truth.txt file is detected to be not empty, the pictures in the corresponding video sequence are tracked. Until the detection of all video frame image data sets is completed, the video frame image tracking results are output; Annotation module, used to set the preset error range; If the video frame image tracking result does not meet the preset error range, modify and annotate the video frame image tracking result until the video frame image tracking result meets the preset error range; The modification and annotation processing of the video frame image tracking result includes: Performing modification and annotation processing on the video frame image tracking result, wherein the modification and annotation processing includes an oblique angle mode, a center mode and a four-side mode; The modification annotation process of the bevel mode is as follows: Determine four orientation points of the bounding box of the video frame image tracking result as the starting point of the bounding box to be modified, wherein the four orientation points include an upper left point of the bounding box, a lower left point of the bounding box, an upper right point of the bounding box, and a lower right point of the bounding box; Move the bounding box of the video frame image tracking result, and calculate the horizontal and vertical coordinates of the upper left position of the bounding box and the width and height of the bounding box during the movement; When the horizontal and vertical coordinates of the upper left corner of the bounding box and the width and height of the bounding box meet the preset error range, the horizontal and vertical coordinates of the upper left corner of the bounding box and the width and height of the bounding box are written into the corresponding ground_truth.txt file; The modification and annotation process of the center mode is as follows: Determine the center point of the bounding box of the video frame image tracking result as the starting point of the bounding box to be modified; Move the bounding box of the video frame image tracking result, and change the horizontal and vertical coordinates of the upper left position of the bounding box until the horizontal and vertical coordinates of the upper left position of the bounding box meet the preset error range, and write the horizontal and vertical coordinates of the upper left position of the bounding box and the width and height of the bounding box into the corresponding ground_truth.txt file; The modification and annotation process of the four-side mode is as follows: Determine four wireframes of a boundary frame of a video frame image tracking result, wherein the four wireframes include a left wireframe, a right wireframe, an upper wireframe, and a lower wireframe; Select the left wireframe and move it, and update the original horizontal coordinate of the left wireframe to the horizontal coordinate of the moved left wireframe; Obtain the sum of the original horizontal coordinate of the left wireframe and the original border width of the left wireframe, and calculate the difference between the sum and the horizontal coordinate of the left wireframe after the move as the width of the left wireframe after the move; Select the right wireframe and move it, obtain the horizontal coordinate of the right wireframe after it moves, and calculate the difference between the horizontal coordinate of the right wireframe after it moves and the original horizontal coordinate of the right wireframe as the width of the right wireframe after it moves; Select the upper wireframe and move it, and update the original horizontal coordinate of the upper wireframe to the horizontal coordinate of the upper wireframe after the move; Obtain the sum of the original horizontal coordinate of the upper wireframe and the original border width of the upper wireframe, and calculate the difference between the sum and the horizontal coordinate of the upper wireframe after the move as the width of the upper wireframe after the move; Select the lower wireframe and move it, obtain the horizontal coordinate of the lower wireframe after it moves, and calculate the difference between the horizontal coordinate of the lower wireframe after it moves and the original horizontal coordinate of the lower wireframe as the width of the lower wireframe after it moves; Until the width of the left wireframe after moving, the width of the right wireframe after moving, the width of the upper wireframe after moving, and the width of the lower wireframe after moving meet the preset error range, the width of the left wireframe after moving, the width of the right wireframe after moving, the width of the upper wireframe after moving, and the width of the lower wireframe after moving are written into the corresponding ground_truth.txt file; If the video frame image tracking result meets the preset error range, the video frame image annotation result is output.