Live-fire target drone control method and system based on video recognition linkage
Through video recognition technology, target information in the target drone training environment is collected and analyzed in real time, and a linkage control table is constructed, which solves the problem of a single and non-real-time target drone control method in the existing technology, and realizes dynamic real-time linkage control of the target drone. , improving training effect and adaptability.
Patent Information
- Application Number
- CN202311833028.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-12-28
AI Technical Summary
The existing live-fire target drone control method is single and not real-time, resulting in reduced training effects. In addition, some sensing equipment has large recognition errors and delays, making it unable to adapt to dynamic changes in the battlefield environment.
The linkage control method based on video recognition is used to collect videos through surveillance cameras, mark target information, train the target recognition model, build a linkage control information table, and compare the recognition results in real time to issue target drone control commands to achieve dynamic real-time control.
It realizes the dynamic real-time linkage control of the target drone, improves the training effect, enhances the adaptability to the battlefield environment, and reduces the recognition error and delay.
Smart Images

Figure CN117989931B
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of image recognition, electronic control and intelligent analysis, and in particular to a live-fire target drone control method and system based on video recognition linkage. Background Art
[0002] Live-fire target drone is a device used for live-fire shooting training. At present, in live-fire shooting training, assessment and competition, the control of the target drone is mostly done by manual triggering, timing triggering, remote control triggering, conditional triggering and other methods. Among them, conditional triggering is to connect some sensor equipment hardware with the target drone remote control, and then control the remote control through sensor signals to trigger the target drone action, such as infrared counter-radiation sensor, human body sensor, sound sensor, etc. In the process of actual combat training, a single fixed triggering method will greatly reduce the training effect. The trainees can accurately grasp the target drone's action rules, which reduces the actual combat attributes. At the same time, due to the large recognition error and delay of some sensor equipment, the triggering real-time effect is also extremely poor. Therefore, in the process of actual combat training, there is a need for a method to control the live-fire target drone in real time, and the control logic should be based on the dynamic changes of the battlefield environment, and cannot be fixed and unchanged. Summary of the invention
[0003] The purpose of the present invention is to provide a live-fire target drone control method and system based on video recognition linkage in response to the deficiencies of technical solutions in existing application scenarios.
[0004] The objective of the present invention is achieved through the following technical solutions:
[0005] In a first aspect, the present invention provides a live-fire target drone control method based on video recognition linkage, comprising:
[0006] During the live-fire shooting training, surveillance cameras are used to collect videos from fixed viewpoints, and the moving targets appearing in the video are labeled with label types and location information to obtain a training set containing all label types. The training set is used to train the target recognition model.
[0007] Constructing a linkage control information table according to the linkage control requirements of the live-fire target drone, wherein the linkage control information table is composed of the recognition result data and the live-fire target drone control command, wherein a tag type and a trigger area corresponding to the tag type constitute one recognition result data and correspond to one live-fire target drone control command, wherein the live-fire target drone control command comprises one or more control data, and each control data comprises a target drone ID and an action command;
[0008] Input the real-time video images collected by the surveillance camera into the trained target recognition model to obtain real-time recognition result data, compare the real-time recognition result data that meets the confidence requirements with each piece of data in the linkage control information table, find the piece of data with the greatest matching degree, and obtain the live-fire target drone control command corresponding to the piece of data;
[0009] The live-fire target drone control device is used to send the acquired live-fire target drone control command to the corresponding target drone to execute the action command, thereby realizing target drone linkage.
[0010] Furthermore, the use of surveillance cameras to capture video of a fixed viewing angle is specifically: using each surveillance camera in the live-fire shooting training ground to perform video capture, data labeling and model training respectively, to obtain a different target recognition model for each surveillance camera, and the trained model is only used for the corresponding single surveillance camera, rather than using the same model for the same purpose.
[0011] Furthermore, the label type can be customized, including: guns, explosion-proof shields, helmets, hands, upper arms, legs, special forces, etc.; the position information refers to the upper left corner pixel position and pixel size of the identification rectangle of the marked moving target in the monitoring screen.
[0012] Furthermore, the target recognition model can be implemented by any existing video recognition algorithm; the labeled label type can be increased and the training samples can be adjusted at any time according to actual training needs, and the target recognition model can be retrained.
[0013] Furthermore, the action command refers to the action command that can be set by the live-fire target drone, including: display, concealment, delayed display, delayed concealment, sequence display and concealment, periodic display and concealment, and anti-target;
[0014] Adopt controllable stepper motor and auxiliary mechanical transmission structure to realize vertical rotation, front lifting and tilting, and side lifting and tilting of the target surface; vertical rotation of 90 degrees, 45 degrees, and 180 degrees, front lifting and tilting of 90 degrees, and side lifting and tilting of 45 degrees and 90 degrees are all visible actions of the target drone, and the reverse movement of the visible action is the hidden action of the target drone;
[0015] Given a time, the target machine generates explicit action after a given time delay as delayed explicit action, and correspondingly, the target machine generates implicit action after a given time delay as delayed implicit action;
[0016] Given a sequence of delay times, the target machine repeats the delayed display and delayed hiding actions according to the delay time sequence until the sequence is completed, which is defined as sequence display and hiding;
[0017] Given a display delay time and a concealment delay time, the target machine's infinitely repeated delayed display and delayed concealment periodic action is defined as periodic display and concealment;
[0018] No matter how the target is visible or invisible, upon receiving a certain command, the back of the target surface will be immediately turned to a position facing the front of the target surface and all actions will be stopped, which is defined as anti-target.
[0019] Furthermore, the format of the live-fire target drone control command depends on the control actions that the live-fire target drone control device itself can perform. The live-fire target drone control device is responsible for converting the action command into the control parameters of the target drone and sending them to the corresponding target drone for action.
[0020] Furthermore, the real-time recognition result data that meets the confidence requirement is compared with each piece of data in the linkage control information table to find the piece of data with the greatest matching degree, specifically:
[0021] Using the real-time identified position information, spatial calculations are performed with the trigger areas contained in each data in the linkage control information table to calculate the overlapping pixel area, find the maximum overlapping pixel area and compare it with the pixel area of the identified position information, set a percentage threshold, and send the action command in the linkage control information table entry where the ratio of the overlapping pixel area to its own pixel area is greater than the percentage threshold to the corresponding live-fire shooting target aircraft for corresponding action control.
[0022] In a second aspect, the present invention provides a live-fire target drone control system based on video recognition linkage, comprising:
[0023] Target recognition model construction and training module: Use surveillance cameras to collect videos from fixed angles, annotate the moving targets in the video with label types and location information, obtain a training set containing all label types, and use the training set to train the target recognition model;
[0024] A linkage control information table construction module is used to construct a linkage control information table according to the linkage control requirements of the live-fire target drone. The linkage control information table is composed of recognition result data and a live-fire target drone control command. A tag type and a trigger area corresponding to it constitute a recognition result data and correspond to a live-fire target drone control command. The live-fire target drone control command contains one or more control data, each of which contains a target drone ID and an action command.
[0025] Real-time live-fire target drone control command acquisition module: input the real-time video images collected by the monitoring camera into the trained target recognition model to obtain real-time recognition result data, compare the real-time recognition result data that meets the confidence requirements with each data in the linkage control information table, find the data with the largest matching degree, and obtain the live-fire target drone control command corresponding to the data;
[0026] Target-drone linkage module: Using the live-fire target-drone control device, the acquired live-fire target-drone control commands are sent to the corresponding target-drone to execute action commands, thereby realizing target-drone linkage.
[0027] In the third aspect, the present invention provides a live-fire target drone control device based on video recognition linkage, comprising a memory and one or more processors, wherein the memory stores executable code, and when the processor executes the executable code, it is used to implement the live-fire target drone control method based on video recognition linkage as described in the first aspect.
[0028] In a fourth aspect, the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, is used to implement the live-fire shooting target drone control method based on video recognition linkage as described in the first aspect.
[0029] The beneficial effects of the present invention are as follows: the present invention describes a method for collecting and annotating images using a surveillance camera during live-fire shooting training, describes a process for training a target recognition model using annotated data, describes a definition of a recognition result data format, describes a definition of a linkage control information table data format, describes a method for overlapping calculation of recognition result data and a linkage control information table, and describes a method for linkage control of a target machine using linkage control information table data obtained by overlapping calculation and corresponding control commands; the present invention can realize dynamic real-time linkage target machine control based on video recognition. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A flow chart of a live-fire target drone control method based on video recognition linkage provided by an exemplary embodiment;
[0031] Figure 2 Annotated labeled image provided for an exemplary embodiment;
[0032] Figure 3 A linkage control information table data format provided for an exemplary embodiment;
[0033] Figure 4 A flowchart of comparing a real-time recognition result with a linkage control information table provided by an exemplary embodiment. DETAILED DESCRIPTION
[0034] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0035] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0036] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0037] The embodiment of the present invention provides a method for controlling a live-fire target drone based on video recognition linkage, such as Figure 1 As shown, the specific process of this method is as follows:
[0038] 1. Collect surveillance video images and mark them
[0039] During the live-fire shooting training, surveillance cameras are used to capture videos of fixed viewing angles, and the moving targets appearing in the video are annotated with label types and location information to obtain a training set containing all label types.
[0040] Specifically, the label type can be customized, including: guns, explosion-proof shields, helmets, hands, upper arms, legs, special forces members, etc.; the position information refers to the upper left corner pixel position and pixel size of the identification rectangle of the marked moving target in the monitoring screen.
[0041] In this embodiment, the surveillance video is screenshotted every 10 seconds to obtain a large number of image files, and Labelimg program software is used to label all the image files, such as Figure 2 As shown in the figure, helmet, upper arm, weapon, SWAT, etc. are annotated. The amount of annotated data for training needs to be more than 3,000.
[0042] 2. Use the training set to train the target recognition model
[0043] The target recognition model can be implemented by any existing video recognition algorithm. In this embodiment, YOLOv5s is selected as the target recognition model for training, batch-size is selected as 32, and epoch is selected as 300. If the model training evaluation index is not ideal, the training parameters can be adjusted or the training set can be replaced until the training evaluation meets the standard. According to the actual training needs, the labeled label type can be increased at any time, the training samples can be adjusted, and the target recognition model can be retrained.
[0044] 3. Construct linkage control information table according to linkage control requirements of live-fire target drone
[0045] The linkage control information table is composed of the recognition result data and the live-fire target control command, such as Figure 3As shown, a tag type and a corresponding trigger area constitute an identification result data, and correspond to a live-fire target control command, and the live-fire target control command contains one or more control data, each of which contains a target ID and an action command.
[0046] Specifically, the trigger area is composed of 4 groups of numbers, namely xywh, which respectively represent the X-axis pixel coordinate point, Y-axis pixel coordinate point, X-axis pixel width, and Y-axis pixel height of the upper left corner of the trigger area in the video surveillance image.
[0047] The format of the live-fire target drone control command depends on the control actions that the live-fire target drone control device can perform. The live-fire target drone control device is responsible for converting the action command into the control parameters of the target drone and sending it to the corresponding target drone for action. The action commands specifically include: display, hide, delayed display, delayed hide, sequence display and hide, periodic display and hide, anti-target, etc., that is:
[0048] Adopt controllable stepper motor and auxiliary mechanical transmission structure to realize vertical rotation, front lifting and tilting, and side lifting and tilting of the target surface; vertical rotation of 90 degrees, 45 degrees, and 180 degrees, front lifting and tilting of 90 degrees, and side lifting and tilting of 45 degrees and 90 degrees are all visible actions of the target drone, and the reverse movement of the visible action is the hidden action of the target drone;
[0049] Given a time, the target machine generates explicit action after a given time delay as delayed explicit action, and correspondingly, the target machine generates implicit action after a given time delay as delayed implicit action;
[0050] Given a sequence of delay times, the target machine repeats the delayed display and delayed hiding actions according to the delay time sequence until the sequence is completed, which is defined as sequence display and hiding;
[0051] Given a display delay time and a concealment delay time, the target machine's infinitely repeated delayed display and delayed concealment periodic action is defined as periodic display and concealment;
[0052] No matter how the target is visible or invisible, upon receiving a certain command, the back of the target surface will be immediately turned to a position facing the front of the target surface and all actions will be stopped, which is defined as anti-target.
[0053] like Figure 3 As shown, it shows the specified number of times of display and hiding Act (3), the start of display and hiding Act, the stop action Stop, the sequence of display and hiding SequentialAct (id), the delayed display and hiding DelayAct, the additional action ExtraAct, etc.
[0054] 4. Use the training model to identify real-time monitoring images
[0055] Input the real-time video images collected by the surveillance camera into the trained target recognition model to obtain real-time recognition result data. Each recognition result data contains a label type and the trigger area of recognition. Real-time recognition may have one or more recognition results in the same operation at the same time. Use the trained target recognition model to recognize each frame of the real-time video surveillance image. According to the recognition performance, equip an appropriate number of recognition devices to ensure that the image recognition speed meets the frame rate of the video surveillance image.
[0056] 5. Compare the real-time recognition result data with the linkage control information table
[0057] For the obtained real-time recognition result data, the confidence of the recognition result is compared with the confidence threshold T1 set in advance, and the recognition result with a confidence greater than or equal to the threshold T1 is taken, and the recognition result data is compared with each piece of data in the linkage control information table to find the piece of data with the largest matching degree, and obtain the live-fire target drone control command corresponding to the piece of data; Figure 4 As shown, the specific implementation process is as follows:
[0058] Using the real-time identified position information, perform spatial calculation with the trigger area contained in each data in the linkage control information table, calculate the overlapping pixel area S(i), find the maximum overlapping pixel area Smax and compare it with the pixel area S of the identified position information, set the proportion threshold T2, and send the action command in the linkage control information table entry whose overlapping pixel area accounts for a proportion of its own pixel area greater than the proportion threshold T2 to the corresponding live-fire shooting target aircraft for corresponding action control. In this embodiment, the confidence threshold T1 is set to 70, and the proportion threshold T2 is set to 60%.
[0059] 6. Real-time drone control
[0060] The live-fire target drone control device is used to send the acquired live-fire target drone control command to the corresponding target drone to execute the action command, thus realizing the linkage between the target drone and the target drone. The current control state needs to be recorded for each control to avoid repeated control commands generated by repeated identification, which may lead to wrong actions of the target drone. For repeated control commands, the control command is only sent when it is triggered for the first time, and subsequent repeated control commands will be ignored.
[0061] Corresponding to the above-mentioned embodiment of the live-fire target drone control method based on video recognition linkage, the present invention also provides an embodiment of the live-fire target drone control system based on video recognition linkage. The live-fire target drone control system based on video recognition linkage provided by the present invention includes the following modules:
[0062] Target recognition model construction and training module: Use surveillance cameras to collect videos from fixed angles, annotate the moving targets in the video with label types and location information, obtain a training set containing all label types, and use the training set to train the target recognition model;
[0063] A linkage control information table construction module is used to construct a linkage control information table according to the linkage control requirements of the live-fire target drone. The linkage control information table is composed of recognition result data and a live-fire target drone control command. A tag type and a trigger area corresponding to it constitute a recognition result data and correspond to a live-fire target drone control command. The live-fire target drone control command contains one or more control data, each of which contains a target drone ID and an action command.
[0064] Real-time live-fire target drone control command acquisition module: input the real-time video images collected by the monitoring camera into the trained target recognition model to obtain real-time recognition result data, compare the real-time recognition result data that meets the confidence requirements with each data in the linkage control information table, find the data with the largest matching degree, and obtain the live-fire target drone control command corresponding to the data;
[0065] Target-drone linkage module: Using the live-fire target-drone control device, the acquired live-fire target-drone control commands are sent to the corresponding target-drone to execute action commands, thereby realizing target-drone linkage.
[0066] All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0067] In addition, the present invention also provides an embodiment of a live-fire target drone control device based on video recognition linkage. The live-fire target drone control device based on video recognition linkage provided in an embodiment of the present invention includes a memory and one or more processors, wherein the memory stores executable code, and when the processor executes the executable code, it is used to implement the live-fire target drone control method based on video recognition linkage in the above embodiment.
[0068] An embodiment of the present invention further provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the live-fire shooting target machine control method based on video recognition linkage in the above embodiment is implemented.
[0069] The computer-readable storage medium may be an internal storage unit of any device with data processing capability described in any of the aforementioned embodiments, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device of any device with data processing capability, such as a plug-in hard disk, a smart media card (SMC), an SD card, a flash card, etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit and an external storage device of any device with data processing capability. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capability, and may also be used to temporarily store data that has been output or is to be output.
[0070] The above description is merely a preferred embodiment of one or more embodiments of the present specification and is not intended to limit one or more embodiments of the present specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present specification shall be included in the scope of protection of one or more embodiments of the present specification.
Claims
1. A live-fire target drone control method based on video recognition linkage, characterized in that: include: During the live-fire shooting training, surveillance cameras are used to collect videos from fixed viewpoints, and the moving targets appearing in the video are labeled with label types and location information to obtain a training set containing all label types. The training set is used to train the target recognition model. Constructing a linkage control information table according to the linkage control requirements of the live-fire target drone, wherein the linkage control information table is composed of the recognition result data and the live-fire target drone control command, wherein a tag type and a trigger area corresponding to the tag type constitute one recognition result data and correspond to one live-fire target drone control command, wherein the live-fire target drone control command comprises one or more control data, and each control data comprises a target drone ID and an action command; Input the real-time video images collected by the monitoring camera into the trained target recognition model to obtain real-time recognition result data, compare the real-time recognition result data that meets the confidence requirement with each piece of data in the linkage control information table, find out the piece of data with the greatest matching degree, and obtain the live-fire target control command corresponding to the piece of data; the real-time recognition result data that meets the confidence requirement is compared with each piece of data in the linkage control information table to find out the piece of data with the greatest matching degree, specifically: use the real-time recognized position information to perform spatial calculation with the trigger area contained in each piece of data in the linkage control information table, calculate the overlapping pixel area, find out the maximum overlapping pixel area and compare it with the pixel area of the recognized position information, set a proportion threshold, and send the action command in the linkage control information table entry whose proportion of the overlapping pixel area to its own pixel area is greater than the proportion threshold to the corresponding live-fire target to perform corresponding action control; The live-fire target drone control device is used to send the acquired live-fire target drone control command to the corresponding target drone to execute the action command, thereby realizing target drone linkage.
2. The live-fire target drone control method based on video recognition linkage according to claim 1 is characterized in that: The method of using surveillance cameras to collect video of a fixed viewing angle specifically includes: using each surveillance camera in a live-fire shooting training ground to perform video collection, data labeling and model training respectively, to obtain a different target recognition model for each surveillance camera, and the trained model is only used for the corresponding single surveillance camera.
3. The live-fire target drone control method based on video recognition linkage according to claim 1 is characterized in that: The label type can be customized, including: guns, explosion-proof shields, helmets, hands, upper arms, legs, special forces; the position information refers to the upper left corner pixel position and pixel size of the identification rectangle of the marked moving target in the monitoring screen.
4. The live-fire target drone control method based on video recognition linkage according to claim 1 is characterized in that: According to actual training needs, increase the type of annotated labels, adjust the training samples, and retrain the target recognition model.
5. The method for controlling a live-fire target drone based on video recognition linkage according to claim 1 is characterized in that: The action commands refer to the action commands that can be set by the live-fire target drone, including: display, concealment, delayed display, delayed concealment, sequence display and concealment, periodic display and concealment, and anti-target; Adopt controllable stepper motor and auxiliary mechanical transmission structure to realize vertical rotation, front lifting and tilting, and side lifting and tilting of the target surface; vertical rotation of 90 degrees, 45 degrees, and 180 degrees, front lifting and tilting of 90 degrees, and side lifting and tilting of 45 degrees and 90 degrees are all visible actions of the target drone, and the reverse movement of the visible action is the hidden action of the target drone; Given a time, the target machine generates explicit action after a given time delay, which is called delayed explicit action; the target machine generates implicit action after a given time delay, which is called delayed implicit action; Given a sequence of delay times, the target machine repeats the delayed display and delayed hiding actions according to the delay time sequence until the sequence is completed, which is defined as sequence display and hiding; Given a display delay time and a concealment delay time, the target machine's infinitely repeated delayed display and delayed concealment periodic action is defined as periodic display and concealment; No matter how the target is visible or invisible, upon receiving a certain command, the back of the target surface will be immediately turned to a position facing the front of the target surface and all actions will be stopped, which is defined as anti-target.
6. The method for controlling a live-fire target drone based on video recognition linkage according to claim 1 is characterized in that: The format of the live-fire target drone control command depends on the control actions that the live-fire target drone control device itself can perform. The live-fire target drone control device is responsible for converting the action command into the control parameters of the target drone and sending them to the corresponding target drone for action.
7. A live-fire target drone control system based on video recognition linkage, characterized in that: include: Target recognition model construction and training module: Use surveillance cameras to collect videos from fixed angles, annotate the moving targets in the video with label types and location information, obtain a training set containing all label types, and use the training set to train the target recognition model; A linkage control information table construction module is used to construct a linkage control information table according to the linkage control requirements of the live-fire target drone. The linkage control information table is composed of recognition result data and a live-fire target drone control command. A tag type and a trigger area corresponding to it constitute a recognition result data and correspond to a live-fire target drone control command. The live-fire target drone control command contains one or more control data, each of which contains a target drone ID and an action command. Real-time live-fire target drone control command acquisition module: input the real-time video images collected by the monitoring camera into the trained target recognition model to obtain real-time recognition result data, compare the real-time recognition result data that meets the confidence requirements with the various data in the linkage control information table, find out the data with the largest matching degree, and obtain the live-fire target drone control command corresponding to the data; the real-time recognition result data that meets the confidence requirements is compared with the various data in the linkage control information table to find out the data with the largest matching degree, specifically: use the real-time recognized position information to perform spatial calculations with the trigger areas contained in the various data in the linkage control information table, calculate the overlapping pixel area, find out the maximum overlapping pixel area and compare it with the pixel area of the recognized position information, set a proportion threshold, and send the action command in the linkage control information table entry whose overlapping pixel area accounts for a proportion of its own pixel area greater than the proportion threshold to the corresponding live-fire target drone for corresponding action control; Target-drone linkage module: Using the live-fire target-drone control device, the acquired live-fire target-drone control commands are sent to the corresponding target-drone to execute action commands, thereby realizing target-drone linkage.
8. A live-fire target drone control device based on video recognition linkage, comprising a memory and one or more processors, wherein the memory stores executable code, characterized in that: When the processor executes the executable code, it is used to implement the live-fire target drone control method based on video recognition linkage as described in any one of claims 1-6.
9. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, it is used to implement the live-fire shooting target drone control method based on video recognition linkage as described in any one of claims 1-6.
