An automatic target identification method, device, system, and storage medium.
By combining conductive recognition and image recognition technology, high-precision bullet hole position recognition is achieved, solving the problem of insufficient recognition accuracy in the existing automatic target reporting system in a high-precision environment, and improving the stability and recognition accuracy of the system.
Patent Information
- Application Number
- CN202110224637.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-01
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-03-01
AI Technical Summary
The existing automatic target reporting system cannot meet the high-precision requirements in recognition scenarios such as high-precision snipers, and the system based on image processing has high complexity and long calculation time, and is susceptible to interference from light changes and shadow jitter, resulting in false detection or leakage. Inspection, especially in variable outdoor scenarios, is difficult to implement.
Using a method combining conductive recognition and image recognition, the parameter calibration and correction of distortions are performed through the camera before shooting, the reference image is taken, and the different pixel points are obtained through frame difference comparison after being shot, forming a regional mask, and selecting the best pixel points. As the position of the bullet hole, the ring number information is calculated and the bullet signal of the conductive target plate is used for real-time identification and display.
It realizes high-precision and stable bullet hole position recognition, takes into account efficiency and accuracy, and is suitable for high-precision target shooting environments, reduces false detection and missed detection, and improves the system's recognition stability.
Smart Images

Figure CN112989972B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of target shooting image recognition, and in particular to an automatic target shooting recognition method, device, system and storage medium. Background Art
[0002] Due to the defects of low efficiency and great safety hazards of traditional manual target reading, the current shooting training target reporting has gradually developed from manual target reporting to automatic target reporting. At present, there are various ways of automatic target reporting, among which the conductive target recognition system has the characteristics of fast response speed, stable recognition, and high bullet resistance. However, its recognition accuracy depends on the segmented area of the conductive cloth, and it is impossible to accurately locate the bullet holes. It cannot meet the requirements for some environments with high target shooting accuracy requirements, such as high-precision sniping and other recognition scenes. With the development of technology, the automatic target reporting system based on image processing technology has developed rapidly in recent years, with the characteristics of low cost and high recognition accuracy. However, due to the high complexity of the algorithm and the long calculation time, it has high requirements for the use environment, is sensitive to light changes, and is easily disturbed by shadow jitter, resulting in false detection or missed detection, especially difficult to implement in outdoor variable scenes. Summary of the invention
[0003] The embodiments of the present invention provide a method, device, system, and storage medium for automatic target recognition, which have high recognition stability.
[0004] An automatic target recognition method, comprising:
[0005] Step 1: After calibrating the parameters and correcting the distortion of the camera before shooting, the camera shoots the conductive target plate to obtain a reference image;
[0006] Step 2, when receiving the hit signal of the conductive target plate, starting the camera to shoot the conductive target plate after being hit, and generating a target plate image; according to the flag position of the target plate image, matching and mapping the target plate image with the reference image, so as to obtain the corrected target plate image and the reference image;
[0007] Step 3, performing frame difference comparison between the corrected target plate image and the reference image to obtain difference pixel points between the target plate image and the reference image; forming a regional mask according to the hit area position of the conductive target plate; and using the difference pixel points in the regional mask as candidate hit pixel points;
[0008] Step 4, selecting the best pixel point as the bullet hole position from the candidate bullet-hit pixel points according to the preset image information of the bullet hole;
[0009] Step 5, calculating the ring number information of the bullet hole position according to the position information of the bullet hole position on the target plate coordinate axis.
[0010] Optionally, the method further includes:
[0011] Step 6: reporting the position information and the number of rings of the bullet hole to the main control system, so that the main control system controls the conductive target plate to return to the normal position.
[0012] Optionally, the method further includes:
[0013] Step 7, sending the position information of the bullet hole position to the image display module, so that the image display module displays the bullet hole result in real time according to the position information.
[0014] The step 4 is specifically as follows:
[0015] Performing filtering processing on the candidate hit pixel points;
[0016] According to the preset image information of the bullet hole, the best pixel point is selected as the bullet hole position from the candidate bullet-hit pixel points after filtering.
[0017] The image information of the bullet hole includes: the size of the bullet hole and the grayscale information of the bullet hole.
[0018] Prior to step 1, the method comprises:
[0019] A conductive target board is provided; the conductive target board comprises a double-layer conductive cloth; the conductive target board is divided into a predetermined number of sub-areas, and input signal and output signal matrices are provided in the sub-areas; the conductive target board is connected to the FPGA high-speed acquisition board through the input signal and output signal matrices;
[0020] After step 1 and before step 2, the method further includes:
[0021] When receiving the command to start shooting, the FPGA high-speed acquisition board generates a counter with a predetermined time period to monitor the hit signal generated by the conductive target plate; when a bullet passes through the conductive target plate, the bullet passes through the double-layer conductive cloth of the conductive target plate to generate a current signal, thereby identifying the hit area position of the conductive target plate and recording the current hit moment.
[0022] Specifically, the camera photographs the conductive target plate: the conductive target plate is tilted forward to face the camera, so that the camera photographs the conductive target plate.
[0023] An automatic target recognition device, comprising:
[0024] The correction unit calibrates the parameters of the camera and corrects the distortion before shooting. The camera then shoots the conductive target plate to obtain a reference image.
[0025] The matching unit, when receiving the hit signal of the conductive target plate, starts the camera to shoot the conductive target plate after being hit, and generates a target plate image; matches the target plate image with the reference image according to the flag position of the target plate image, and performs mapping correction to obtain the corrected target plate image and the reference image;
[0026] A comparison unit performs frame difference comparison on the corrected target plate image and the reference image to obtain difference pixel points between the target plate image and the reference image; forms a regional mask according to the hit region position of the conductive target plate; and uses the difference pixel points in the regional mask as candidate hit pixel points;
[0027] A selection unit selects the best pixel point as the bullet hole position from the candidate bullet-hit pixel points according to preset image information of the bullet hole;
[0028] The calculation unit calculates the ring number information of the bullet hole position according to the position information of the bullet hole position on the target plate coordinate axis.
[0029] An automatic recognition system for target shooting, comprising: an automatic recognition device, a camera, and a conductive target plate;
[0030] The automatic recognition device for target shooting is used to, before target shooting, perform parameter calibration and distortion correction on the camera, and then the camera shoots the conductive target plate to obtain a reference image; after receiving a hit signal of the conductive target plate, start the camera to shoot the conductive target plate after being hit to generate a target plate image; according to the flag position of the target plate image, match the target plate image with the reference image and perform mapping correction to obtain the corrected target plate image and the reference image; perform frame difference comparison on the corrected target plate image and the reference image to obtain the difference pixel points between the target plate image and the reference image; form a regional mask according to the hit area position of the conductive target plate; use the difference pixel points in the regional mask as candidate hit pixel points; according to the preset image information of the bullet hole, select the best pixel point from the candidate hit pixel points as the bullet hole position; according to the position information of the bullet hole position on the target plate coordinate axis, calculate the ring number information of the bullet hole position
[0031] A computer-readable storage medium stores a computer program, which implements the method when executed by a processor.
[0032] It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that, in the embodiments of the present invention, the conductive recognition and image recognition characteristics are combined, efficiency and accuracy are taken into account, and high recognition stability is achieved.
[0033] Additional aspects and advantages of the present invention will be given in part in the following description, which will become obvious from the following description, or may be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0035] Figure 1 It is a schematic flow chart of the automatic identification method of target shooting of the present invention;
[0036] Figure 2 It is a connection schematic diagram of the automatic identification device for target shooting of the present invention;
[0037] Figure 3 It is a connection schematic diagram of the automatic recognition system for target shooting of the present invention;
[0038] Figure 4 It is a logical structure diagram of a high-precision automatic target recognition system provided by an embodiment of the present invention.
[0039] Figure 5 It is a regional structure diagram of the conductive target plate in the present invention.
[0040] Figure 6 It is the working flow chart of the automatic target recognition system in the present invention.
[0041] Figure 7 It is a front view of the automatic identification device 31 for target shooting in the present invention. DETAILED DESCRIPTION
[0042] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0043] To facilitate understanding of the embodiments of the present invention, several specific embodiments will be further explained below with reference to the accompanying drawings, and each embodiment does not constitute a limitation on the embodiments of the present invention.
[0044] like Figure 1 The above is an automatic target recognition method according to the present invention, comprising:
[0045] Step 11, setting a conductive target board; the conductive target board contains a double-layer conductive cloth; the conductive target board is divided into a predetermined number of sub-areas, and input signal and output signal matrices are set in the sub-areas; the conductive target board is connected to the FPGA high-speed acquisition board through the input signal and output signal matrices;
[0046] Step 12, after calibrating the parameters and correcting the distortion of the camera before shooting, the camera shoots the conductive target plate to obtain a reference image; the camera shoots the conductive target plate specifically as follows:
[0047] The conductive target plate is tilted forward to face the camera, so that the camera can shoot the conductive target plate. After shooting, the conductive target plate can be reset.
[0048] Step 13, when receiving the command to start shooting, the FPGA high-speed acquisition board generates a counter with a predetermined time period to monitor the hit signal generated by the conductive target plate; when a bullet passes through the conductive target plate, the bullet passes through the double-layer conductive cloth of the conductive target plate to generate a current signal, thereby identifying the hit area position of the conductive target plate and recording the current hit moment.
[0049] Step 14, after receiving the hit signal of the conductive target plate, start the camera to shoot the conductive target plate after being hit, and generate a target plate image; according to the mark position of the target plate image, match the target plate image with the reference image and perform mapping correction to obtain the corrected target plate image and the reference image; wherein the mark position of the target plate image can be a special pattern set at the four corners, which is easy to identify and serves as the mark position of the target plate image.
[0050] Step 15, performing frame difference comparison between the corrected target plate image and the reference image to obtain the difference pixel points between the target plate image and the reference image; forming a regional mask according to the position of the hit area of the conductive target plate; taking the difference pixel points within the regional mask as candidate hit pixel points; the regional mask can block the processed image (all or part) to control the image processing area or processing process, and can only focus on the image part of interest, thereby reducing the amount of computational processing.
[0051] Step 16, based on the preset image information of the bullet hole, select the best pixel point from the candidate hit pixel points as the bullet hole position; the step 16 specifically includes: filtering the candidate hit pixel points; based on the preset image information of the bullet hole, select the best pixel point from the candidate hit pixel points after filtering as the bullet hole position. The image information of the bullet hole includes: the size of the bullet hole and the grayscale information of the bullet hole. In this step, the number of best pixels selected from the candidate hit pixel points is consistent with the number of target plate hit signals received in step 14. When a target plate hit signal is received once, select one best pixel point from the candidate hit pixel points; when two target plate hit signals are received, select the first two best pixels from the candidate hit pixel points in order; therefore, the present invention can also be used in the application scenario of bullet burst recognition.
[0052] Step 17, calculating the ring number information of the bullet hole position according to the position information of the bullet hole position on the target plate coordinate axis.
[0053] Optionally, the method further includes:
[0054] Step 18, reporting the position information and the ring number information of the bullet hole position to the main control system, so that the main control system controls the conductive target plate to return to the normal position.
[0055] Optionally, the method further includes:
[0056] Step 19, sending the position information of the bullet hole position to the image display module, so that the image display module displays the bullet hole result in real time according to the position information.
[0057] In the embodiment of the present invention, the conductive recognition and image recognition characteristics are combined, the efficiency and accuracy are taken into consideration, and the recognition stability is relatively high.
[0058] like Figure 2 As shown, the present invention also provides an automatic target recognition device, comprising:
[0059] The correction unit 21 calibrates the parameters of the camera and corrects the distortion before shooting, and then the camera shoots the conductive target plate to obtain a reference image;
[0060] The matching unit 22, when receiving the hit signal of the conductive target plate, starts the camera to shoot the conductive target plate after being hit, and generates a target plate image; matches the target plate image with the reference image according to the flag position of the target plate image, and performs mapping correction to obtain the corrected target plate image and the reference image;
[0061] The comparison unit 23 performs frame difference comparison on the corrected target plate image and the reference image to obtain difference pixel points between the target plate image and the reference image; forms a regional mask according to the hit region position of the conductive target plate; and uses the difference pixel points in the regional mask as candidate hit pixel points;
[0062] A selection unit 24 selects the best pixel point as the bullet hole position from the candidate bullet-hit pixel points according to the preset image information of the bullet hole;
[0063] The calculation unit 25 calculates the ring number information of the bullet hole position according to the position information of the bullet hole position on the target plate coordinate axis.
[0064] like Figure 3 As shown, the present invention also provides an automatic recognition system for target shooting, comprising: an automatic recognition device 31, a camera 32, and a conductive target plate 33;
[0065] The automatic identification device 31 for target shooting is used to calibrate the parameters of the camera and correct the distortion before target shooting, and then the camera shoots the conductive target plate to obtain a reference image; when a hit signal of the conductive target plate is received, the camera is started to shoot the conductive target plate after being hit to generate a target plate image; according to the flag position of the target plate image, the target plate image is matched and mapped with the reference image to obtain the corrected target plate image and the reference image; the corrected target plate image and the reference image are compared by frame difference to obtain the difference pixel points between the target plate image and the reference image; according to the hit area position of the conductive target plate, a regional mask is formed; the difference pixel points in the regional mask are used as candidate hit pixel points; according to the preset image information of the bullet hole, the best pixel point is selected from the candidate hit pixel points as the bullet hole position; according to the position information of the bullet hole position on the target plate coordinate axis, the ring number information of the bullet hole position is calculated.
[0066] Figure 7The figure is a front view of the automatic identification device 31 for target shooting. The automatic identification device 31 for target shooting is provided with a chassis upper cover plate 4. The electric push rod 3 is installed in the front lower part of the chassis upper cover plate 4, and there is a certain distance from the conductive target plate 1 to avoid accidental bullet injury. The camera 2 is placed on the inner baffle at the top of the electric push rod 3. When performing a high-precision shooting task, the electric push rod 3 is first pushed out, and the conductive target plate 1 is tilted forward by 45°, so that the camera 2 is facing the conductive target plate to shoot and obtain a reference image. Then, the conductive target plate is vertically raised to the ground, and the shooter starts shooting. When the bullet hits the conductive target, a regional target report is generated, and the conductive target plate is tilted forward by 45°, so that the camera 2 is facing the conductive target plate to shoot and generate a target plate image, and the reference image of the small area is quickly compared with the target plate image to identify the bullet position. After that, the conductive target plate is raised to the ground vertically. Subsequent shooting is by analogy.
[0067] In the embodiment of the present invention, the conductive recognition and image recognition characteristics are combined, the efficiency and accuracy are taken into consideration, and the recognition stability is relatively high.
[0068] The present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program implements the method when executed by a processor.
[0069] The first application scenario of the present invention is described below.
[0070] The invention discloses a high-precision automatic target recognition system, which is a recognition and display system integrating conductive target and image recognition. The high-precision automatic target recognition system is built on an intelligent mobile target system, and the high-precision automatic target recognition system includes: a conductive target board, a PCB board, an FPGA high-speed acquisition board, an image acquisition module, a main control system, an image display module, and an image recognition module.
[0071] The conductive target plate is composed of two layers of multi-region conductive layers, an EVA barrier layer and a target surface; the conductive area is connected to the PCB board through a wire to generate voltage; the FPGA is connected to the PCB board, and the current signal of the bullet is detected at a real-time interval of 2ms, the bullet area is identified, and fast and stable bullet detection is achieved; the high-speed FPGA acquisition board communicates with the main control system in real time, and the main control system controls the target plate to tilt forward after receiving the bullet signal, starts the image recognition module, and collects the target plate image through the image acquisition module, further identifies the bullet hole position and calculates the number of rings; after the identification is completed, the coordinates and the number of rings are fed back to the main control system to complete a target shooting identification. That is to say, the conductive target plate is connected to the PCB board through a wire, and the PCB board is asynchronously connected to the FPGA high-speed acquisition board. The FPGA high-speed acquisition board detects the bullet information in real time at an interval of 2ms and identifies the bullet area. The main control system and the FPGA high-speed acquisition board communicate with each other in real time through the RS-485 interface to obtain the bullet data. The PCB board is connected to the conductive target plate through a wire, and the FPGA high-speed acquisition board communicates with the PCB board in real time.
[0072] The main control system is connected to the image acquisition module via a USB interface to collect target board images. The image recognition module is integrated in the main control system for dynamic calling by the main control system. The image display module is connected to the main control system via wireless data transmission to synchronize the bullet information and simulate the display of the bullet status.
[0073] After receiving the bullet-hit information collected by the FPGA high-speed acquisition board, the main control system controls the target board to tilt forward to face the image acquisition module to collect images; starts the image recognition module, and synchronizes the target board image with the bullet-hit area information.
[0074] The image recognition module, combined with the regional information, further recognizes the target plate image, accurately calculates the bullet hole position coordinates, and calculates the number of hits, accurate to 0.1 ring. The image recognition module synchronizes the calculation results to the main control system, and controls the target plate to return to its position, completing high-precision target recognition. The image recognition module is integrated in the main control system, and after the conductive recognition module recognizes the hit information, it dynamically starts further recognition. The image acquisition module is connected to the main control system via a USB cable to obtain the target plate image for analysis and recognition by the recognition module.
[0075] The target electric recognition module and the main control system communicate with each other in real time through the RS-485 interface, and the image recognition module and the main control system are integrated in the industrial computer for dynamic calling by the main control system.
[0076] The image display module is connected to the main control system via wireless data transmission to remotely display the bullet hit information in real time.
[0077] Another application scenario of the present invention is described below.
[0078] like Figure 4 As shown, a high-precision automatic target recognition system includes a main control system 1, a conductive target recognition system 2, and an image recognition system 3, wherein the conductive target recognition system includes a conductive target plate 4, a PCB board 5, and an FPGA high-speed acquisition board 6, and the image recognition system includes an image recognition module 7, an image acquisition module 8, and an image display module 9.
[0079] like Figure 5 As shown, the conductive target plate 4 contains a double-layer conductive cloth, and the target plate image is divided into 69 areas. The conductive target plate 4 is connected to the PCB board 5 through a signal line. When receiving the command to start shooting, the FPGA high-speed acquisition board 6 generates a 2ms timing counter to monitor the bullet signal generated by the conductive target plate. When a bullet passes through the conductive target plate 4, the double-layer conductive cloth is connected to generate a current signal, which can identify the position of the bullet area, record the current bullet moment, and transmit the information to the main control system 1.
[0080] Before target shooting, the high-precision automatic target recognition system of the present invention controls the conductive target plate 4 to tilt forward to face the image acquisition module 8, which can effectively avoid direct sunlight and reduce the error caused by camera sampling. The initial image of the target plate is collected and transmitted to the image recognition module 7, which corrects and positions the target plate image to generate an identification reference image. When the main control system 1 receives the hit data from the FPGA high-speed acquisition board 6, it controls the conductive target plate 4 to tilt forward and calls the image recognition module 7 program to start, avoiding the computing resource consumption caused by the real-time polling detection of the image recognition module. The image recognition module 7 obtains the hit area data, and at the same time controls the image acquisition module 8 to collect the target plate image after being hit, and obtains the hit coordinates through the image recognition algorithm. The implementation process is as follows: Figure 3 As shown, calculate the number of rings.
[0081] like Figure 6 As shown, a high-precision automatic target recognition system, whose image recognition process includes:
[0082] S1, image preprocessing stage, calibrates the camera parameters before shooting, corrects distortion, and takes a target plate image as a reference recognition image.
[0083] S2, target plate recognition stage, when the target plate is tilted forward to face the camera after receiving the hit signal from the conductive target recognition system, the image acquisition module is started to capture the target plate image after being hit, the mark position of the target plate image is identified, the image after being hit is matched with the reference image before being hit and mapped and corrected, and the calibrated standard image before and after target shooting is obtained.
[0084] S3, perform frame difference comparison on the two target plates after correction and matching, obtain difference pixels, and form a regional mask in combination with the hit area information sent by the conductive module; limit the difference pixels to the regional mask, filter the interference pixels, and extract possible hit pixel features.
[0085] S4, further filtering is added to the candidate bullet pixel features, and the best pixel point is obtained as the bullet hole position based on the preset bullet hole size grayscale and other information. The precise image coordinates and ring number information of the bullet hole are calculated by combining the relative position coordinates of the pixel point and the center and reference target plate to complete the bullet hole recognition.
[0086] S5, the identified hit coordinates and ring count are reported to the main control system, and the main control system controls the target plate mechanism to return to the normal position to complete a target shooting recognition. After the recognition is completed, the image recognition module 7 transmits the hit data to the main control system 1 for storage, and synchronizes it to the remote image display module 9 through wireless transmission, so that the target shooter can observe the hit results in real time, and generate historical target shooting hit information for professionals to view and analyze.
[0087] The present invention has the following beneficial effects:
[0088] By obtaining the bullet information and the bullet area through the conductive identification module and transferring the data to the image recognition module, the number of polling detection times and waiting time of the image recognition module video stream can be effectively reduced, saving background computing resources. The bullet area can reduce the scanning detection area of the image recognition module, and the bullet range can be limited by the regional mask, which improves the detection efficiency and greatly reduces the image error. Further high-precision bullet identification in the image recognition module effectively solves the problem of insufficient recognition accuracy of the conductive module, and can output the bullet hole position coordinates more accurately. Under the premise of ensuring detection speed and stability, it also improves the overall recognition accuracy. The system combines the characteristics of conductive identification and image recognition, takes into account both efficiency and accuracy, and has high recognition stability.
[0089] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for automatic identification of target shooting, characterized in that: include: Step 1: After calibrating the parameters and correcting the distortion of the camera before shooting, the camera shoots the conductive target plate to obtain a reference image; Step 2, when receiving the hit signal of the conductive target plate, starting the camera to shoot the conductive target plate after being hit, and generating a target plate image; according to the flag position of the target plate image, matching and mapping the target plate image with the reference image, so as to obtain the corrected target plate image and the reference image; Step 3, performing frame difference comparison between the corrected target plate image and the reference image to obtain difference pixel points between the target plate image and the reference image; forming a regional mask according to the hit area position of the conductive target plate; and using the difference pixel points in the regional mask as candidate hit pixel points; Step 4, selecting the best pixel point as the bullet hole position from the candidate bullet-hit pixel points according to the preset image information of the bullet hole; Step 5, calculating the ring number information of the bullet hole position according to the position information of the bullet hole position on the target plate coordinate axis; The automatic target recognition device is provided with a chassis upper cover plate, and the electric push rod is installed at the front lower part of the chassis upper cover plate, and there is a predetermined distance between the electric push rod and the conductive target plate; the camera is placed on the inner baffle plate at the top end of the electric push rod; When performing a shooting task, first, the electric push rod is pushed out, and the conductive target plate is tilted forward by 45°, so that the camera directly shoots the conductive target plate to obtain the reference image; then, the conductive target plate is vertically raised to the ground, and when the bullet hits the conductive target plate, an area target report is generated, and the conductive target plate is tilted forward by 45°, so that the camera directly shoots the conductive target plate to generate a target plate image, and the reference image of the hit area is compared with the target plate image to identify the bullet hole position; thereafter, the conductive target plate is vertically raised to the ground, and subsequent shooting is similar.
2. The method according to claim 1, characterized in that The method further comprises: Step 6: reporting the position information and the number of rings of the bullet hole to the main control system, so that the main control system controls the conductive target plate to return to the normal position.
3. The method according to claim 1, characterized in that: The method further comprises: Step 7, sending the position information of the bullet hole position to the image display module, so that the image display module displays the bullet hole result in real time according to the position information.
4. The method according to claim 1, characterized in that: The step 4 is specifically as follows: Performing filtering processing on the candidate hit pixel points; According to the preset image information of the bullet hole, the best pixel point is selected as the bullet hole position from the candidate bullet-hit pixel points after filtering.
5. The method according to claim 1, characterized in that The image information of the bullet hole includes: the size of the bullet hole and the grayscale information of the bullet hole.
6. The method according to claim 1, characterized in that Prior to step 1, the method comprises: A conductive target board is provided; the conductive target board comprises a double-layer conductive cloth; the conductive target board is divided into a predetermined number of sub-areas, and input signal and output signal matrices are provided in the sub-areas; the conductive target board is connected to the FPGA high-speed acquisition board through the input signal and output signal matrices; After step 1 and before step 2, the method further includes: When receiving the command to start shooting, the FPGA high-speed acquisition board generates a counter with a predetermined time period to monitor the hit signal generated by the conductive target plate; when a bullet passes through the conductive target plate, the bullet passes through the double-layer conductive cloth of the conductive target plate to generate a current signal, thereby identifying the hit area position of the conductive target plate and recording the current hit moment.
7. The method according to claim 1, characterized in that Specifically, the camera photographs the conductive target plate: the conductive target plate is tilted forward to face the camera, so that the camera photographs the conductive target plate.
8. An automatic target recognition device, characterized in that: include: The correction unit calibrates the parameters of the camera and corrects the distortion before shooting. The camera then shoots the conductive target plate to obtain a reference image. The matching unit, when receiving the hit signal of the conductive target plate, starts the camera to shoot the conductive target plate after being hit, and generates a target plate image; matches the target plate image with the reference image according to the flag position of the target plate image, and performs mapping correction to obtain the corrected target plate image and the reference image; A comparison unit performs frame difference comparison on the corrected target plate image and the reference image to obtain difference pixel points between the target plate image and the reference image; forms a regional mask according to the hit region position of the conductive target plate; and uses the difference pixel points in the regional mask as candidate hit pixel points; A selection unit selects the best pixel point as the bullet hole position from the candidate bullet-hit pixel points according to preset image information of the bullet hole; A calculation unit, which calculates the ring number information of the bullet hole position according to the position information of the bullet hole position on the target plate coordinate axis; The automatic target recognition device is provided with a chassis upper cover plate, and the electric push rod is installed at the front lower part of the chassis upper cover plate, and there is a predetermined distance between the electric push rod and the conductive target plate; the camera is placed on the inner baffle plate at the top end of the electric push rod; When performing a shooting task, first, the electric push rod is pushed out, and the conductive target plate is tilted forward by 45°, so that the camera directly shoots the conductive target plate to obtain the reference image; then, the conductive target plate is vertically raised to the ground, and when the bullet hits the conductive target plate, an area target report is generated, and the conductive target plate is tilted forward by 45°, so that the camera directly shoots the conductive target plate to generate a target plate image, and the reference image of the hit area is compared with the target plate image to identify the bullet hole position; thereafter, the conductive target plate is vertically raised to the ground, and subsequent shooting is similar.
9. An automatic target recognition system, characterized in that: include: Automatic identification device, camera, conductive target plate; The automatic recognition device for target shooting is used to, before target shooting, perform parameter calibration and distortion correction on the camera, and then the camera shoots the conductive target plate to obtain a reference image; after receiving a hit signal of the conductive target plate, start the camera to shoot the conductive target plate after the hit to generate a target plate image; according to the flag of the target plate image, match the target plate image with the reference image and perform mapping correction to obtain the corrected target plate image and the reference image; perform frame difference comparison on the corrected target plate image and the reference image to obtain the difference pixel points between the target plate image and the reference image; form a regional mask according to the hit area position of the conductive target plate; use the difference pixel points in the regional mask as candidate hit pixel points; according to the preset image information of the bullet hole, select the best pixel point from the candidate hit pixel points as the bullet hole position; according to the position information of the bullet hole position on the target plate coordinate axis, calculate the ring number information of the bullet hole position; The automatic target recognition device is provided with a chassis upper cover plate, and the electric push rod is installed at the front lower part of the chassis upper cover plate, and there is a predetermined distance between the electric push rod and the conductive target plate; the camera is placed on the inner baffle plate at the top end of the electric push rod; When performing a shooting task, first, the electric push rod is pushed out, and the conductive target plate is tilted forward by 45°, so that the camera directly shoots the conductive target plate to obtain the reference image; then, the conductive target plate is vertically raised to the ground, and when the bullet hits the conductive target plate, an area target report is generated, and the conductive target plate is tilted forward by 45°, so that the camera directly shoots the conductive target plate to generate a target plate image, and the reference image of the hit area is compared with the target plate image to identify the bullet hole position; thereafter, the conductive target plate is vertically raised to the ground, and subsequent shooting is similar.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
