Target shooting correction system and method

文档序号:1519015 发布日期:2020-02-11 浏览:14次 中文

阅读说明:本技术 一种打靶校正系统及方法 (Target shooting correction system and method ) 是由 董佳 王艳 檀心泉 程刚 张红坤 于 2019-11-06 设计创作,主要内容包括:本申请提供了一种打靶校正系统及方法。所述系统包括打靶枪、环形靶、激光器、图像采集装置和上位机。通过图像采集装置采集训练者瞄准过程中在环形靶上生成的瞄准轨迹,以及采集环形靶接收子弹后的靶面图像,通过上位机对瞄准轨迹进行轨迹分析后得到瞄准点的位置信息,以及对靶面图像进行图像分析后得到弹着落点的位置信息,再根据瞄准点的位置信息和所述弹着落点的位置信息,对训练者的打靶过程进行校正。如此,全程无需人工指导训练者,避免了个人主观因素的影响,进一步地,采用该打靶校正系统,能够更加科学、准确地确定训练者的瞄准误差,给出该训练者最准确的打靶指导意见,从而实现对训练者的打靶过程进行校正。(The application provides a system and a method for target shooting correction. The system comprises a target gun, an annular target, a laser, an image acquisition device and an upper computer. The method comprises the steps of collecting an aiming track generated on an annular target in the aiming process of a trainer through an image collecting device, collecting a target surface image of the annular target after a bullet is received, carrying out track analysis on the aiming track through an upper computer to obtain position information of an aiming point, carrying out image analysis on the target surface image to obtain position information of a shooting drop point, and correcting the shooting process of the trainer according to the position information of the aiming point and the position information of the shooting drop point. Therefore, the training person is not required to be manually guided in the whole process, the influence of individual subjective factors is avoided, further, the target practice correction system can be used for more scientifically and accurately determining the aiming error of the training person and providing the most accurate target practice guidance suggestion of the training person, and therefore the target practice process of the training person is corrected.)

1. A target practice correction system comprises a target practice gun for shooting bullets and an annular target for receiving bullets, and is characterized by further comprising a laser, an image acquisition device and an upper computer; the laser is arranged in the target gun and used for emitting laser to the annular target when a trainer aims and stopping emitting the laser when the trainer pulls a trigger; the image acquisition device is connected with the upper computer through a network;

the image acquisition device is used for acquiring an aiming track generated on the annular target in the aiming process of a trainer and acquiring a target surface image of the annular target after receiving a bullet; sending the aiming track and the target surface image to the upper computer;

the upper computer is used for receiving the aiming track and the target surface image sent by the image acquisition device; carrying out track analysis on the aiming track to obtain position information of an aiming point, and carrying out image analysis on the target surface image to obtain position information of a landing point; and correcting the shooting process of the trainer according to the position information of the aiming point and the position information of the impact landing point.

2. The system of claim 1, wherein the upper computer is specifically configured to:

and after the trajectory analysis is carried out on the aiming trajectory, taking the position information of the tail end of the aiming trajectory as the position information of the aiming point.

3. The system of claim 1, wherein the upper computer is specifically configured to:

determining a bullet hole image from the target surface image by adopting a digital morphology filtering method; determining the edge position information of the bullet hole according to the bullet hole image by adopting an edge detection method; and determining the position information of the impact landing point according to the edge position information of the bullet hole.

4. The system of claim 3, wherein the host computer, prior to determining the image of the bullet hole from the image of the target surface, is further configured to:

carrying out image preprocessing on the target surface image; the image preprocessing includes at least one of image filtering processing, geometric correction processing, image subtraction processing, and binarization processing.

5. The system of claim 1, wherein the upper computer is specifically configured to:

determining the position deviation between the aiming point and the bullet landing point according to the position information of the aiming point and the position information of the bullet landing point; and determining the aiming error of the trainer according to the position deviation between the plurality of aiming points and the bullet landing point; and correcting the target shooting process of the trainer according to the aiming error of the trainer.

6. The system of claim 1, wherein the host computer is further configured to:

determining the distance between the impact landing point and the target center according to the position information of the impact landing point and the position information of the predetermined target center; and determining the target practice result of the trainer according to the predetermined distance between each loop line and the target and the distance between the impact landing point and the target.

7. The system of claim 6, wherein the location information of the bulls-eye is determined by:

selecting a ten-ring area in the target surface image; and determining the position information of the circle center corresponding to the ten-ring area by adopting a three-point circle method, and determining the position information of the circle center corresponding to the ten-ring area as the position information of the target.

8. The system of claim 7, wherein the distance between any of the circular lines and the bulls-eye is determined by:

and determining the distance between the circular line and the target according to the position information of the target and the position information of any point on the circular line.

9. The system of claim 6, wherein the upper computer comprises a display screen for displaying the trainee's target result.

10. The target shooting correction method is applied to a target shooting correction system, the system comprises a target shooting gun for shooting bullets and a reusable annular target for receiving the bullets, and the system further comprises a laser, an image acquisition device and an upper computer; the laser is arranged in the laser target shooting gun and used for emitting laser to the annular target when a trainer aims and stopping emitting the laser when the trainer pulls a trigger; the laser and the image acquisition device are respectively connected with the upper computer through a network; the method comprises the following steps:

the image acquisition device acquires an aiming track generated on the annular target in the aiming process of a trainer and acquires a target surface image of the annular target after receiving a bullet;

the image acquisition device sends the aiming track and the target surface image to the upper computer;

the upper computer receives the aiming track and the target surface image sent by the image acquisition device;

the upper computer performs track analysis on the aiming track to obtain position information of an aiming point, and performs image analysis on the target surface image to obtain position information of a landing point;

and the upper computer corrects the shooting process of the trainer according to the position information of the aiming point and the position information of the impact drop point.

Technical Field

The present application relates to the field of image processing technologies, and in particular, to a system and a method for target shooting correction.

Background

During the course of shooting training, the trainer usually needs to practice shooting repeatedly under the direction of the trainer. However, the manual guidance mode is easily affected by human subjectivity, the personal level of the coach is high or low, the judgment of the target practice result has certain errors, and the real level of the trainer cannot be accurately judged. Therefore, the existing manual guidance mode makes it difficult for the trainer to get targeted training according to the personal real level.

Therefore, a target practice correction system is needed to solve the problem that the prior art cannot accurately correct the target practice process of the trainee.

Disclosure of Invention

The application provides a target shooting correction system and method, which can be used for solving the technical problems of time and labor consumption and low development efficiency in the development process of small programs in the prior art.

In a first aspect, the present application provides a target shooting correction system, which includes a target shooting gun for shooting bullets and an annular target for receiving bullets, and further includes a laser, an image capture device, and an upper computer; the laser is arranged in the target gun and used for emitting laser to the annular target when a trainer aims and stopping emitting the laser when the trainer pulls a trigger; the image acquisition device is connected with the upper computer through a network;

the image acquisition device is used for acquiring an aiming track generated on the annular target in the aiming process of a trainer and acquiring a target surface image of the annular target after receiving a bullet; sending the aiming track and the target surface image to the upper computer;

the upper computer is used for receiving the aiming track and the target surface image sent by the image acquisition device; carrying out track analysis on the aiming track to obtain position information of an aiming point, and carrying out image analysis on the target surface image to obtain position information of a landing point; and correcting the shooting process of the trainer according to the position information of the aiming point and the position information of the impact landing point.

Optionally, the upper computer is specifically configured to:

and after the trajectory analysis is carried out on the aiming trajectory, taking the position information of the tail end of the aiming trajectory as the position information of the aiming point.

Optionally, the upper computer is specifically configured to:

determining a bullet hole image from the target surface image by adopting a digital morphology filtering method; determining the edge position information of the bullet hole according to the bullet hole image by adopting an edge detection method; and determining the position information of the impact landing point according to the edge position information of the bullet hole.

Optionally, before determining the bullet hole image from the target surface image, the upper computer is further configured to:

carrying out image preprocessing on the target surface image; the image preprocessing includes at least one of image filtering processing, geometric correction processing, image subtraction processing, and binarization processing.

Optionally, the upper computer is specifically configured to:

determining the position deviation between the aiming point and the bullet landing point according to the position information of the aiming point and the position information of the bullet landing point; and determining the aiming error of the trainer according to the position deviation between the plurality of aiming points and the bullet landing point; and correcting the target shooting process of the trainer according to the aiming error of the trainer.

Optionally, the upper computer is further configured to:

determining the distance between the impact landing point and the target center according to the position information of the impact landing point and the position information of the predetermined target center; and determining the target practice result of the trainer according to the predetermined distance between each loop line and the target and the distance between the impact landing point and the target.

Optionally, the position information of the bulls-eye is specifically determined by:

selecting a ten-ring area in the target surface image; and determining the position information of the circle center corresponding to the ten-ring area by adopting a three-point circle method, and determining the position information of the circle center corresponding to the ten-ring area as the position information of the target.

Optionally, the distance between any of the circular lines and the bulls-eye is specifically determined by:

and determining the distance between the circular line and the target according to the position information of the target and the position information of any point on the circular line.

Optionally, the upper computer includes a display screen, and the display screen is used for displaying the target practice result of the trainer.

In a second aspect, the present application provides a target practice correction method, which is applied to a target practice correction system, the system includes a target practice gun for shooting bullets and a reusable ring target for receiving bullets, the system further includes a laser, an image acquisition device and an upper computer; the laser is arranged in the laser target shooting gun and used for emitting laser to the annular target when a trainer aims and stopping emitting the laser when the trainer pulls a trigger; the laser and the image acquisition device are respectively connected with the upper computer through a network; the method comprises the following steps:

the image acquisition device acquires an aiming track generated on the annular target in the aiming process of a trainer and acquires a target surface image of the annular target after receiving a bullet;

the image acquisition device sends the aiming track and the target surface image to the upper computer;

the upper computer receives the aiming track and the target surface image sent by the image acquisition device;

the upper computer performs track analysis on the aiming track to obtain position information of an aiming point, and performs image analysis on the target surface image to obtain position information of a landing point;

and the upper computer corrects the shooting process of the trainer according to the position information of the aiming point and the position information of the impact drop point.

Optionally, the upper computer performs trajectory analysis on the aiming trajectory to obtain position information of an aiming point, including:

and after the upper computer performs track analysis on the aiming track, taking the position information of the tail end of the aiming track as the position information of the aiming point.

Optionally, the upper computer performs image analysis on the target surface image to obtain position information of the impact landing point, including:

the upper computer determines a bullet hole image from the target surface image by adopting a digital morphology filtering method; determining the edge position information of the bullet hole according to the bullet hole image by adopting an edge detection method; and determining the position information of the impact landing point according to the edge position information of the bullet hole.

Optionally, before the upper computer determines the bullet hole image from the target surface image, the method further includes:

the upper computer carries out image preprocessing on the target surface image; the image preprocessing includes at least one of image filtering processing, geometric correction processing, image subtraction processing, and binarization processing.

Optionally, the upper computer corrects the target practice process of the trainer according to the position information of the aiming point and the position information of the impact landing point, and the correction process includes:

the upper computer determines the position deviation between the aiming point and the bullet landing point according to the position information of the aiming point and the position information of the bullet landing point; and determining the aiming error of the trainer according to the position deviation between the plurality of aiming points and the bullet landing point; and correcting the target shooting process of the trainer according to the aiming error of the trainer.

Optionally, the method further comprises:

the upper computer determines the distance between the impact landing point and the target center according to the position information of the impact landing point and the position information of the target center which is determined in advance; and determining the target practice result of the trainer according to the predetermined distance between each loop line and the target and the distance between the impact landing point and the target.

Optionally, the position information of the bulls-eye is specifically determined by:

the upper computer selects a ten-ring area in the target surface image; and determining the position information of the circle center corresponding to the ten-ring area by adopting a three-point circle method, and determining the position information of the circle center corresponding to the ten-ring area as the position information of the target.

Optionally, the distance between any of the circular lines and the bulls-eye is specifically determined by:

and the upper computer determines the distance between the circular line and the target center according to the position information of the target center and the position information of any point on the circular line.

Adopt the correction system that targets that this application embodiment provided, through the aiming track that the image acquisition device collection training person aims the in-process and generate on annular target to and gather the target surface image behind the annular target receipt bullet, carry out the positional information that obtains the aiming point after the trajectory analysis to the aiming track through the host computer, and carry out the positional information that obtains the landing point that bounces after the image analysis to the target surface image, again according to the positional information of aiming point with the positional information of landing point that bounces, correct training person's the process of targeting. Therefore, the training person is not required to be manually guided in the whole process, the influence of individual subjective factors is avoided, further, the target practice correction system can be used for more scientifically and accurately determining the aiming error of the training person and providing the most accurate target practice guidance suggestion of the training person, and therefore the target practice process of the training person is corrected.

Drawings

FIG. 1 is a schematic diagram of a target practice calibration system according to an embodiment of the present disclosure;

FIG. 2 is a schematic diagram of a system for correcting a target practice of a trainee according to an embodiment of the present disclosure;

fig. 3 is a schematic diagram of an aiming track provided in an embodiment of the present application;

FIG. 4 is a schematic view of an image of a target surface provided by an embodiment of the present application;

FIG. 5 is a schematic diagram illustrating the determination of the position information of the impact landing point in the embodiment of the present application;

FIG. 6 is a schematic diagram of a target practice correction system for determining a target practice result according to an embodiment of the present disclosure;

fig. 7 is a schematic diagram of a workflow of an upper computer in the targeting correction system according to the embodiment of the present application;

fig. 8 is a schematic flowchart corresponding to the target practice correction method according to the embodiment of the present application.

Detailed Description

To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

A possible system architecture to which the embodiments of the present application are applicable will be first described with reference to fig. 1.

Referring to fig. 1, a schematic structural diagram of a target practice correction system applicable to the embodiment of the present application is exemplarily shown. The system 100 may include a target gun 101, an annular target 102, a laser 103, an image capture device 104, and an upper computer 105.

Wherein the target gun 101 may be used to fire bullets.

Further, the bullet delivered by the gun 101 may be a live ammunition or may be a laser training ammunition. The laser training bomb adopts a stable and reliable laser module, the appearance design is consistent with that of a live bomb, a laser beam is adopted to simulate the flying track of a warhead, and a laser spot is a landing point. The tail of the laser training bomb can be provided with a protective rubber pad, so that the firing pin of the firearm can be protected, and the service life of the training bomb can be prolonged.

The ring target 102 can be used to receive bullets and the ring target 102 is reusable.

Further, the ring-shaped target 102 may be a chest ring target, or may also be a human-shaped target, which is not limited in particular.

A laser 103 may be provided inside the gun 101 for firing laser light onto the ring target 102 when the handler is aiming and stopping firing when the handler pulls the trigger.

The image capturing device 104 may be a video camera, a still camera, or other devices capable of capturing images, and is not limited in particular.

Further, image acquisition is a digitization process of images, and mainly relates to an analog-to-digital conversion technology. In the embodiment of the application, the WAT-902H3 type CCD and MV-U2000 type image acquisition card produced by the Vision company can be adopted to realize image acquisition according to the design requirements of the system. The CCD has high reliability, stability and sensitivity, has automatic gain and noise reduction technology, and can obtain high-quality gray level images. The MV-U2000 type image acquisition card can realize high-quality real-time image acquisition, the image display acquisition resolution can reach 768 × 576, the sampling BIT number is 9BIT, the field synchronization is strictly executed, no frame loss is realized, and each frame of image is complete, correct and not jittered.

The upper computer 105 may be a notebook computer, a personal computer, a tablet computer, or the like, and is not limited specifically.

Further, the upper computer 105 is mainly responsible for image display and processing. Based on system requirements, the industrial control tablet computer can be selected, and compared with a notebook computer, the mobility and the portability of the industrial control tablet computer are superior.

The image capturing device 104 and the upper computer 105 may be connected via a network. The image acquisition device 104 and the upper computer 105 can be connected through a wired network; alternatively, the image capturing device 104 and the upper computer 105 may also be connected through a wireless network, such as a wireless connection manner, for example, Wi-Fi, bluetooth, a mobile communication network, and the like, which is not limited specifically.

It should be noted that fig. 1 is only one possible configuration of the target practice correction system, and in other possible examples, the upper computer 105 may further include a display screen, which may be used to display the target practice result of the trainer.

In the embodiment of the present application, as shown in fig. 2, a schematic diagram of a target practice correction system provided in the embodiment of the present application for correcting a target practice process of a trainer is shown. As can be seen from fig. 2, the image capturing device 104 can be used in particular to capture the aiming trajectory generated on the circular target 102 during the aiming process of the trainer, and to capture the target surface image of the circular target 102 after receiving the bullet.

Fig. 3 is a schematic diagram of an aiming track provided in an embodiment of the present application. As can be seen from fig. 3, during the aiming process, the trainer can move the laser device arranged inside the target gun along with the movement of the target gun, and accordingly, the laser emitted by the laser device also moves along with the movement of the laser device. This process is imaged by an image acquisition device so that the aiming trajectory of the laser on the ring target as shown in fig. 2 can be acquired.

Fig. 4 is a schematic diagram of a target surface image according to an embodiment of the present disclosure. As can be seen in fig. 4, after the trigger is pulled by the trainer, the bullet is shot from the target gun, and the trace of the landing point of the bullet is left on the ring target. This can likewise be photographed using an image acquisition device, so that an image of the target surface can be acquired as shown in fig. 3.

Further, as shown in fig. 2, the image capturing device 104 may also transmit the aiming trajectory and the target surface image to the host computer 105.

The upper computer 105 can be used for receiving the aiming track and the target surface image sent by the image acquisition device.

Further, as shown in fig. 2, the upper computer 105 may also be configured to perform trajectory analysis on the aiming trajectory to obtain position information of the aiming point.

Specifically, the upper computer may be configured to perform trajectory analysis on the targeting trajectory, and then use position information of the end of the targeting trajectory as position information of the targeting point.

Further, as shown in fig. 2, the upper computer 105 may also be configured to perform image analysis on the target surface image to obtain position information of the impact landing point.

Specifically, the process of performing image analysis on the target surface image by the upper computer may include the following steps:

step one, image preprocessing is carried out on the target surface image.

Wherein the image preprocessing may include at least one of an image filtering process, a geometric correction process, an image subtraction process, and a binarization process.

The manner in which the image is pre-processed as set forth above is described in detail below.

(1) And (5) image filtering processing.

The target surface image acquired by the image acquisition equipment may be influenced by external environment and human factors in the transmission and conversion processes, so that the target surface image generates various noise and distortion information, and therefore image filtering processing needs to be performed on the target surface image.

In particular, a median filtering algorithm may be employed. The principle is as follows: firstly, determining a neighborhood taking a certain pixel as a center point, then sequencing the gray values of all pixels in the neighborhood, taking the middle value as a new value of the gray value of the pixel at the center point, wherein the neighborhood is usually called a window, and when the window moves up, down, left and right in an image, replacing the value of one point in a sequence with the median value of all point values in the neighborhood of the point, and further smoothing the image.

The median value may be specifically determined by:

taking a set of numbers X 1,X 2,X 3……X nFirstly, the n numbers are arranged according to the numerical value in the order of magnitude, and the following is assumed:

X i1≤X i2≤X i3……≤X in

then, the median value can be determined using equation (1):

Figure BDA0002262036720000051

in formula (1), y is the median value.

(2) Geometric correction processing

In order to restore an image, geometric correction is necessary in consideration of a certain degree of distortion of the image acquired by the image acquisition apparatus.

Specifically, in the embodiment of the present application, a reference point calibration method may be adopted, that is, according to a certain transformation relation, size data of the annular target is measured in advance, a suitable reference point coordinate is selected and stored in the database, and when acquiring image information of the target surface each time, the target surface image information is corresponding to the standard target, and geometric calibration is performed on the distorted image.

(3) Image shading processing

The bullet is a key object which needs to be extracted by an upper computer, and the process of detecting the bullet points is actually to detect and segment the target surface. The principle is that the gray values of pixels corresponding to coordinates of two captured images are subtracted to obtain the gray difference value of each point to form a new result image. All the same backgrounds in the two original images have the same gray value, and the subtraction result is 0, and the same dark area is located in the resulting image. And the bright areas in the resulting image are formed by subtracting the gray values of the corresponding areas where new shot points were made on the target image after the shot and no shot points were made before the shot. The bright spot is the object we want to extract, representing a new bullet point.

(4) Binarization processing

Binarization is an important basis of digital image processing, and in the case of binarizing an image, an image picture only contains black and white binary values. The binarized image can be analyzed and characterized by using concepts in geometry, has greater advantages than a gray level image, and can effectively improve the system efficiency. In the embodiment of the application, the adopted binarization method can be global threshold value method calculation, so that the target and the background are effectively separated.

Assuming that the grayscale image is f (x, y), the binarized image is g (x, y), and t is a threshold, the binarization process can be expressed by equation (2):

Figure BDA0002262036720000061

formula (2) shows that the gray value of each pixel of the image is compared with t, and if the gray value is greater than t, the image is taken as a foreground; otherwise, the color is taken as the background color.

And step two, determining a bullet hole image from the target surface image by adopting a digital morphology filtering method.

After image preprocessing, partial noise still exists in the target surface image and must be filtered. Therefore, the digital morphology filtering method can be applied to repeatedly carry out opening operation and closing operation, so that a clear bullet hole image is obtained.

Specifically, the process of the open operation is as follows:

the opening operation of the structural element B on A is recorded as

Figure BDA0002262036720000065

Wherein:

Figure BDA0002262036720000064

that is, the start operation is a corrosion operation and then an expansion operation performed on a by B. After the opening operation, isolated points and burrs in the original image can be removed, the boundaries of small objects and smooth large objects are eliminated, and meanwhile the area of the small objects is not obviously changed.

The procedure of the closing operation is as follows:

the closed operation is a dual operation of an open operation, i.e., the closed operation of the structural element B on a is denoted as a · B, where:

that is, the close operation is that B performs the expansion operation first and then the erosion operation. The closed operation can be used to fill small spaces in an object, connect neighboring objects, smooth their boundaries, while not significantly changing their area.

And step three, determining the edge position information of the bullet hole according to the bullet hole image by adopting an edge detection method.

Furthermore, after the third step is executed and before the fourth step is executed, the edge position of the bullet hole can be further refined by using a digital morphology method, the edge of the single-pixel bullet hole is obtained, and the accuracy of extracting the position information of the bullet landing point is ensured.

And step four, determining the position information of the impact landing point according to the edge position information of the bullet hole.

The information on the position of the impact landing point may be the center position of the round shot into the circular target.

In the embodiment of the present application, the position information of the impact point may be specifically determined by a three-point circle method. Specifically, as shown in fig. 5, a schematic diagram of determining position information of a landing point is shown in the embodiment of the present application. As shown in FIG. 5, three points, namely point A (X) can be selected on the edge of the bullet hole A,Y A) Point B (X) B,Y B) And point C (X) C,Y C) Points A and B may form a chord L ABPoints B and C may form a chord L BCAnd a chord L ABChord L BCIs two non-coincident and non-parallel, chords L ABPerpendicular bisector L DOAnd L BCPerpendicular bisector L EOIntersects at the point of the circle center O, and the coordinate of the circle center O is (X) O,Y O) And the circle radius is denoted as R, the equation system shown in the formula (3) can be listed:

Figure BDA0002262036720000062

by solving the equation set of equation (3), the coordinates of the center of the circle can be expressed as in equation (4):

Figure BDA0002262036720000063

it should be noted that the four image preprocessing methods are only exemplary, and those skilled in the art may perform processing by using any one image preprocessing method according to experience and actual conditions, or may perform processing by using any combination of image preprocessing methods, or may perform processing by using other image preprocessing methods, which is not limited specifically.

Further, as shown in fig. 2, the upper computer 105 may also be configured to correct the target practice of the trainer according to the position information of the aiming point and the position information of the impact landing point.

Specifically, in one example, the upper computer may determine a position deviation between the aiming point and the impact point according to the position information of the aiming point and the position information of the impact point, and then may correct the training person's target practice process according to the training person's aiming error.

For example, if the aiming error of the trainer is 1 cm, and the aiming point is on the left side of the impact landing point, the trainer can be guided to move the target gun to the right by 1 cm during aiming, so that the target shooting process of the trainer can be corrected.

In another example, the upper computer may determine a position deviation between the aiming point and the landing point according to the position information of the aiming point and the landing point; then, the upper computer can determine the aiming error of the trainer according to the position deviation between the plurality of aiming points and the bullet landing points; and finally, the upper computer can correct the shooting process of the trainer according to the aiming error of the trainer.

By adopting the method, the position deviation of the trainer during aiming can be calculated by a method of averaging results for many times, the most accurate shooting guidance suggestion is given when the trainer performs shooting next time, the trainer is guided to accurately aim, and the shooting accuracy is improved.

Adopt the correction system that targets that this application embodiment provided, through the aiming track that the image acquisition device collection training person aims the in-process and generate on annular target to and gather the target surface image behind the annular target receipt bullet, carry out the positional information that obtains the aiming point after the trajectory analysis to the aiming track through the host computer, and carry out the positional information that obtains the landing point that bounces after the image analysis to the target surface image, again according to the positional information of aiming point with the positional information of landing point that bounces, correct training person's the process of targeting. Therefore, the training person is not required to be manually guided in the whole process, the influence of individual subjective factors is avoided, further, the target practice correction system can be used for more scientifically and accurately determining the aiming error of the training person and providing the most accurate target practice guidance suggestion of the training person, and therefore the target practice process of the training person is corrected.

In consideration of the fact that statistics of target practice results in the prior art are mainly processed through manual target practice, but manual target practice is influenced by human subjectivity, and due to the influences of objective factors such as distractibility, short target practice bullet hole distance and the like, the target practice results are difficult to truly reflect shooting levels, and the accuracy of target practice is greatly influenced. Based on this, in this application embodiment, after the host computer carries out image analysis to the target surface image, can also confirm the result of shooing of training person according to the analysis result.

Specifically, as shown in fig. 6, a schematic diagram of determining a target practice result for the target practice correction system provided in the embodiment of the present application is shown. The upper computer 105 can also be used for determining the distance between the impact point and the target center according to the position information of the impact point and the position information of the predetermined target center; and determining the target practice result of the trainer according to the predetermined distance between each loop line and the target and the predetermined distance between the impact landing point and the target. So, adopt the system that this application provided, can also realize the effect of intelligence target scoring.

Specifically, there are various ways to determine the position information of the bulls-eye, and one possible implementation way is to select a ten-ring region in the target surface image, determine the position information of the circle center corresponding to the ten-ring region by using a three-point circle method, and determine the position information of the circle center corresponding to the ten-ring region as the position information of the bulls-eye.

In other possible implementations, a circular line having the same target such as eight or nine circles may be selected, and then the position information of the target may be obtained.

It should be noted that, if the circular target is a chest target, since there is a circular line of an irregular circular ring in the chest target, when determining the target center position, the target center position can be determined according to the circular line of a regular circular ring in the chest target. In addition, the specific method for determining the position information of the circle center corresponding to the ten-ring area by using the three-point circle method may be described with reference to the above description of determining the position information of the impact landing point, and is not described herein again.

Further, the distance between any loop and the bulls-eye is specifically determined by:

and determining the distance between the circular line and the target according to the position information of the target and the position information of any point on the circular line. For example, according to the nature of a circle, the distance from any point on the circle to the center of the circle is the radius, and if a straight line is made through the target center, the straight line and each circular line have an intersection point, and the coordinates of the intersection point can be calculated according to the position information of the circular target, so that the distance between each circular line and the target center can be calculated.

Furthermore, when the target practice result is determined, because the distance between each ring line and the target center is determined, a ring value area is created, then a method of setting a constraint line is adopted, and the corresponding area of each ring value is accurately specified, so that the target practice result of the trainer can be determined according to the distance between the impact landing point and the target center.

In order to more clearly describe the work flow of the upper computer in the target practice correction system provided in the embodiment of the present application, the complete work flow of the upper computer is described below with reference to fig. 7.

Fig. 7 is a schematic diagram illustrating a workflow of an upper computer in the target practice correction system according to the embodiment of the present application. As shown in fig. 7, the specific workflow may refer to fig. 7 and what is described above, and is not described here again.

Based on the system architecture shown in fig. 1, fig. 8 exemplarily shows a flow diagram corresponding to the target practice correction method provided by the embodiment of the present application. The method can be applied to a target practice correction system, which can comprise a target practice gun for shooting bullets and a reusable annular target for receiving bullets, and also comprises a laser, an image acquisition device and an upper computer; the laser is arranged in the laser target shooting gun and used for emitting laser to the annular target when a trainer aims and stopping emitting the laser when the trainer pulls a trigger; the laser and the image acquisition device are respectively connected with the upper computer through a network; as shown in fig. 8, the method specifically includes the following steps:

step 801, the image acquisition device acquires an aiming track generated on the annular target in the aiming process of the trainer and acquires a target surface image of the annular target after receiving a bullet.

And step 802, the image acquisition device sends the aiming track and the target surface image to an upper computer.

And step 803, the upper computer receives the aiming track and the target surface image sent by the image acquisition device.

And step 804, the upper computer performs track analysis on the aiming track to obtain the position information of the aiming point, and performs image analysis on the target surface image to obtain the position information of the impact drop point.

And step 805, the upper computer corrects the shooting process of the trainer according to the position information of the aiming point and the position information of the impact landing point.

Optionally, the upper computer performs trajectory analysis on the aiming trajectory to obtain position information of an aiming point, including:

and after the upper computer performs track analysis on the aiming track, taking the position information of the tail end of the aiming track as the position information of the aiming point.

Optionally, the upper computer performs image analysis on the target surface image to obtain position information of the impact landing point, including:

the upper computer determines a bullet hole image from the target surface image by adopting a digital morphology filtering method; determining the edge position information of the bullet hole according to the bullet hole image by adopting an edge detection method; and determining the position information of the impact landing point according to the edge position information of the bullet hole.

Optionally, before the upper computer determines the bullet hole image from the target surface image, the method further includes:

the upper computer carries out image preprocessing on the target surface image; the image preprocessing includes at least one of image filtering processing, geometric correction processing, image subtraction processing, and binarization processing.

Optionally, the upper computer corrects the target practice process of the trainer according to the position information of the aiming point and the position information of the impact landing point, and the correction process includes:

the upper computer determines the position deviation between the aiming point and the bullet landing point according to the position information of the aiming point and the position information of the bullet landing point; and determining the aiming error of the trainer according to the position deviation between the plurality of aiming points and the bullet landing point; and correcting the target shooting process of the trainer according to the aiming error of the trainer.

Optionally, the method further comprises:

the upper computer determines the distance between the impact landing point and the target center according to the position information of the impact landing point and the position information of the target center which is determined in advance; and determining the target practice result of the trainer according to the predetermined distance between each loop line and the target and the distance between the impact landing point and the target.

Optionally, the position information of the bulls-eye is specifically determined by:

the upper computer selects a ten-ring area in the target surface image; and determining the position information of the circle center corresponding to the ten-ring area by adopting a three-point circle method, and determining the position information of the circle center corresponding to the ten-ring area as the position information of the target.

Optionally, the distance between any of the circular lines and the bulls-eye is specifically determined by:

and the upper computer determines the distance between the circular line and the target center according to the position information of the target center and the position information of any point on the circular line.

In an exemplary embodiment, a computer-readable storage medium is further provided, in which a computer program or an intelligent contract is stored, and the computer program or the intelligent contract is loaded and executed by a node to implement the transaction processing method provided by the above-described embodiment. Alternatively, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

Those skilled in the art will clearly understand that the techniques in the embodiments of the present application may be implemented by way of software plus a required general hardware platform. Based on such understanding, the technical solutions in the embodiments of the present application may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present application.

Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种射击模拟训练抛靶机及射击模拟训练方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!