Target plate hit ring number identification system

文档序号:968962 发布日期:2020-11-03 浏览:20次 中文

阅读说明:本技术 一种靶板命中环数识别系统 (Target plate hit ring number identification system ) 是由 吴焕杰 谢楚斌 李绪泽 吴钟鸿 于 2020-07-31 设计创作,主要内容包括:本发明公开了一种靶板命中环数识别系统,包括靶板、摄像头和智能手持设备,其特征在于:所述摄像头架设在靶板前方并且位置固定,摄像头用于连续获取靶板的图像并发送给所述智能手持设备;智能手持设备中安装有命中识别软件。这种靶板命中环数识别系统应用场景广、不受距离限制,能实时将射击结果反馈给射击者并进行分析记录,无需与专用的硬件配对使用,所用器材器件均可轻易获得,成本低、操作方便,有利于推广普及射击运动。(The invention discloses a target plate hit ring number recognition system, which comprises a target plate, a camera and intelligent handheld equipment, and is characterized in that: the camera frame is arranged in front of the target plate and is fixed in position, and the camera is used for continuously acquiring images of the target plate and sending the images to the intelligent handheld equipment; and hit identification software is installed in the intelligent handheld equipment. The target plate hit ring number recognition system is wide in application scene, is not limited by distance, can feed the shooting result back to the shooter in real time and analyze and record the shooting result, does not need to be matched with special hardware for use, can easily obtain used equipment and devices, is low in cost and convenient to operate, and is beneficial to popularization of shooting sports.)

1. The utility model provides a target plate hits ring number identification system, includes target plate, camera, is equipped with laser emission tube's rifle type simulator and intelligent handheld device, its characterized in that: the camera frame is arranged in front of the target plate and is fixed in position, the gun-shaped simulator is used for shooting the target plate, and the camera is used for continuously acquiring images of the target plate and sending the images to the intelligent handheld equipment; hit recognition software is installed in the intelligent handheld device, and the hit recognition software carries out shooting hit recognition by adopting the following steps:

step (1), taking an image of a target plate without light spots, which is obtained by a camera, as a comparison template before shooting, and identifying separation points of each ring;

step (2), establishing a coordinate system on the comparison template by taking the center of the target plate as an original point, and marking the coordinates of each pixel point on the comparison template;

step (3), establishing a score table: copying a comparison template copy as a template, wherein the coordinate system of the template is the same as that of the comparison template, dividing each fractional region on the template according to the separation points of each ring, each fractional region represents a hit score, filling different colors in each fractional region to obviously distinguish the adjacent fractional regions, and marking the coordinates of each pixel point in each fractional region to form a shot hit score table;

step (4), the gun type simulator shoots the target plate, the camera continuously shoots the target plate to obtain each frame of target plate image shot by the camera, each frame of target plate image is compared with the comparison template, the target plate image with the difference area is used as an effective hit image with light spots, and the difference area in the effective hit image is used as a hit point;

step (5), finding out corresponding score points in a score table according to the coordinates of the hit points, and giving hit scores of the shooting according to score areas where the score points are located;

and (6) recording and outputting the hit scores.

2. The target hit ring number identification system of claim 1, wherein: the camera does the camera of intelligence handheld device from the area, and intelligence handheld device erects in target plate the place ahead and rigidity, and the target plate is aimed at to the camera.

3. A target hit ring number identification system as claimed in claim 1 or 2 wherein: the specific method for filling different colors in each fractional region in the step (3) is as follows: taking each target ring on the surface mold as a boundary, firstly blacking the inner boundary of the 9 rings, then, carrying out painting from the center of the surface mold to the outside until the periphery is contacted with black pixels, and marking the painting area as 10 subareas; then, the inner boundary of the 8-ring is painted black, the painting is carried out outwards from the inner boundary of the 9-ring until the periphery is contacted with black pixels, the painting area is marked as 9 areas, and the whole fractional area is divided by analogy; and different fractional areas are painted by different colors.

4. A target hit ring number identification system as claimed in claim 1 or 2 wherein: and (4) taking the central position point of the difference region as a hit point.

5. A target hit ring number identification system as claimed in claim 1 or 2 wherein: in the step (4), when the target plate image shot by the camera is obtained, the light spots hit in the multiple frames of continuous target plate images within 400ms, the positions of the hit light spots are the same and are regarded as only one hit, and the shot target plate image with the light spots hit in the first frame is regarded as an effective hit image.

6. A target hit ring number identification system as claimed in claim 1 or 2 wherein: in the step (4), when the target plate image shot by the camera is obtained, light spots hit in multiple frames of continuous target plate images within 400ms, and the hit light spots can form a complete track, which is regarded as one hit only, and the shot target plate image with the light spots hit in the first frame is regarded as an effective hit image.

7. A target hit ring number identification system as claimed in claim 1 or 2 wherein: and (4) reserving the effective hit image shot by the camera and deleting the ineffective image.

8. A target hit ring number identification system as claimed in claim 1 or 2 wherein: the target plate hit ring number recognition system further comprises a cloud server, the cloud server is connected with the intelligent handheld device, and in the step (6), the target plate hit ring number recognition system further comprises the step of uploading the comparison template of the target plate, the coordinate data of the hit points and the hit scores to the cloud server.

9. A target hit ring number identification system as claimed in claim 1 or 2 wherein: in the step (3), the interval time for intercepting the target plate image shot by the camera is 33-200 ms.

10. A target hit ring number identification system as claimed in claim 1 or 2 wherein: the resolution of the contrast template of the target plate and the resolution of the target plate image are 640 x 480, the coordinate axis is established based on the resolution, and each fractional region is divided based on the resolution.

Technical Field

The invention relates to a device and a method for recording the number of hit target plate rings and ballistic distribution in simulated shooting training, in particular to a target plate hit ring number identification system.

Background

In traditional practice ball shooting training subjects, the score of shooter is usually confirmed through the bullet hole that the target person examined on the target board, but potential safety hazard exists in such inspection mode, and because the shooting distance is far away, artifical target report has certain time delay, the shooter need wait for the target person to report the target and finish confirming personnel's safety after can shoot again, and every round of shooting all need patch target paper bullet hole again, lead to the training time extension of shooting at every turn, influence the continuity of shooting training. Even with live ammunition target-scoring systems, the need for extensive safety precautions and cumbersome operations are still unavoidable.

Compared with firing practice shooting target reporting, at present, in shooting training places such as armies or national defense education bases and the like, a special laser simulated shooting hardware equipment set is adopted more, the equipment set generally comprises professional photographic equipment, simulated training guns and target reporting devices, when the training guns trigger each time, the shooting equipment is instructed to shoot the target plate through wired or wireless signals, shooting laser impact points on the target plate is carried out, and shooting hit ring numbers are displayed on the target reporting devices after background software calculation. Although the equipment set has no potential safety hazard, the target can be reported in time, and the continuity of shooting training is ensured. But since the camera device needs to be communicatively tied to the simulated firearm and the target drone. The camera shoots, analyzes and calculates the target when acquiring a shooting instruction when the gun is fired, and transmits an image and a result to the target reporter for displaying, so that the photographic equipment and the target reporter display are usually arranged at a shooting hand position and are far away from the target position, remote high-definition camera equipment is required to be used, and a special communication circuit, a special high-definition target plate, a special laser simulation communication gun and a special target reporter are required to be matched, so that the dependence on special equipment is extremely high; meanwhile, because the scores of shooters need to be calculated, the calculation amount is large, and a separate computer needs to be equipped or a calculation component needs to be arranged in the photographic equipment; the training guns are easily damaged due to long-term continuous use, and special training guns are required to be purchased to be bound with the photographic equipment when the training guns are replaced. As all special equipment and device combinations are needed, the compatibility among manufacturers is very poor, so that the training cost of shooting sports is high and the shooting sports is difficult to popularize. Meanwhile, the preset operation is complex, special personnel is needed to take supervision, and trainees only walk through the field experientially and cannot meet the national defense education requirements under new international situations.

Disclosure of Invention

The invention aims to solve the technical problem of providing a target plate hit ring number recognition system which can feed back a shooting result to a shooter in real time and analyze and record the shooting result without matching with special hardware for use, can easily obtain used equipment and devices, has low cost and convenient operation, and is beneficial to popularization of shooting sports.

In order to solve the technical problems, the technical scheme is as follows:

the utility model provides a target plate hits ring number identification system, includes target plate, camera, is equipped with laser emission tube's rifle type simulator and intelligent handheld device, its characterized in that: the camera frame is arranged in front of the target plate and is fixed in position, the gun-shaped simulator is used for shooting the target plate, and the camera is used for continuously acquiring images of the target plate and sending the images to the intelligent handheld equipment; hit recognition software is installed in the intelligent handheld device, and the hit recognition software carries out shooting hit recognition by adopting the following steps:

step (1), taking an image of a target plate without light spots, which is obtained by a camera, as a comparison template before shooting, and identifying separation points of each ring;

step (2), establishing a coordinate system on the comparison template by taking the center of the target plate as an original point, and marking the coordinates of each pixel point on the comparison template;

step (3), establishing a score table: copying a comparison template copy as a template, wherein the coordinate system of the template is the same as that of the comparison template, dividing each fractional region on the template according to the separation points of each ring, each fractional region represents a hit score, filling different colors in each fractional region to obviously distinguish the adjacent fractional regions, and marking the coordinates of each pixel point in each fractional region to form a shot hit score table;

step (4), the gun type simulator shoots the target plate, the camera continuously shoots the target plate to obtain each frame of target plate image shot by the camera, each frame of target plate image is compared with the comparison template, the target plate image with the difference area is used as an effective hit image with light spots, and the difference area in the effective hit image is used as a hit point;

step (5), finding out corresponding score points in a score table according to the coordinates of the hit points, and giving hit scores of the shooting according to score areas where the score points are located;

and (6) recording and outputting the hit scores.

The camera can be a common camera, and the camera can also be a camera carried by the intelligent handheld device, and the intelligent handheld device can be a mobile phone, a tablet, a notebook or the like. The gun-shaped simulator can be a gun-shaped simulator with any style function, can be a standard gun used by an army and can also be a toy prop gun on the market, and is additionally provided with a laser emission tube. The laser emitting tube can be a spotlight light source with any shape specification of which the camera can recognize wave bands. The target plate can be a common target plate with a standard shape, can also be target paper which is printed and attached to a wall or a vertical plane, and can also be a complete target plate formed by spraying and printing a target ring on the wall or the vertical plane.

When shooting training is carried out, any target plate can be firstly pasted on the wall surface, and the camera faces the target plate, so that the whole target plate is positioned in a shooting area; when a gun-type simulator is used for shooting a target plate, a camera shoots a target plate image of the target plate hit by light spots and sends the target plate image to the intelligent handheld equipment, the intelligent handheld equipment compares the target plate image with the light spots with the comparison template, the light spots in the effective hit image are difference areas between the effective hit image and the comparison template, and the difference areas are used as hit points; then finding out corresponding score points from the score table according to the coordinate positions of the hit points, and giving hit scores of the shooting according to score areas where the score points are located; and finally, recording the hit fraction, storing the hit fraction in a local machine and outputting the hit fraction.

When the target plate hit ring number recognition system is used for shooting training, special camera equipment and shooting hardware equipment associated with the camera equipment are not needed, when the intelligent handheld equipment is placed, the intelligent handheld equipment can be placed around the front part close to the target plate, the target plate does not need to be aligned to the front side, the whole target plate is only required to be in a shooting area (for example, when the intelligent handheld equipment adopts a mobile phone, the mobile phone can be placed below and in front of the target plate through a mobile phone support), the requirement on the pixels of the camera is not high, the gun-shaped simulator does not need to be paired and bound with the intelligent handheld equipment or other special hardware, the target plate hit ring number recognition system is wide in application scene, can be used in troops, schools, homes or other places, and is not limited by distance, the equipment and the equipment can be obtained easily, and is low in cost, The operation is convenient, the portable shooting device can be carried about, and the popularization and the shooting movement are facilitated; the target plate hit ring number recognition system is used for obtaining the target plate image without light spots, recognizing the separation points of each ring and dividing each fractional area, so that the target plate can adopt target paper printed by any target image or other existing target plate equipment, the shooting training cost can be greatly reduced, and the target paper with different sizes can be selected at will. When the intelligent handheld device adopts devices with insufficient performance such as a mobile phone and the like, the prior art is adopted to calculate the number of hit rings by calculating the distance between a hit position and the circle center, the devices need long time for calculation, the recognition speed is low, continuous and quick capturing and shooting cannot be realized, the requirements on the stable retention time of laser spots are strict, the compatibility and the stability of hardware devices are poor, and the shooter needs to pause for a long time between two shots, so that the continuity of shooting training is influenced; by taking the obtained target plate image without the light spots as a comparison template, establishing a score table and adopting a method of dividing score areas by painting, each pixel point of each score area can be conveniently corresponding to a coordinate axis in operation, and the operation workload is reduced; when the hit score is calculated after each shooting, the hit point can be obtained only by comparing the target plate image with the target plate comparison template, and the hit score can be obtained by corresponding the hit point with the pixel point of the corresponding coordinate, so that the operation amount after the shooting is started is greatly reduced, and the continuity of the shooting training and the dependency on hardware equipment are ensured.

In the preferred scheme, the camera is the camera of intelligence handheld device self-carrying, and intelligence handheld device erects in target plate the place ahead and rigidity, and the target plate is aimed at to the camera. The intelligent handheld device can be a mobile phone, a tablet or a notebook with a camera, the camera does not need to adopt a special camera, the cost is low, and the intelligent handheld device can be carried about.

In a preferred embodiment, the specific method for filling different colors in each fractional region in step (3) is as follows: taking each target ring on the surface mold as a boundary, firstly blacking the inner boundary of the 9 rings, then, carrying out painting from the center of the surface mold to the outside until the periphery is contacted with black pixels, and marking the painting area as 10 subareas; then, the inner boundary of the 8-ring is painted black, the painting is carried out outwards from the inner boundary of the 9-ring until the periphery is contacted with black pixels, the painting area is marked as 9 areas, and the whole fractional area is divided by analogy; and different fractional areas are painted by different colors. The program for coloring and dividing the fractional region is image software developed based on OpenCV. By using each target ring as a boundary, the number of the central rings of the target plate is gradually colored outwards to divide the fractional regions, and different fractional regions are colored in different colors, so that the accuracy of fractional region division is ensured, each pixel point of each fractional region is conveniently corresponding to a coordinate axis, and the calculation amount of the intelligent handheld device is reduced.

Preferably, in the step (4), a central position point of the difference region is taken as a hit point. According to the difference of the size of the target plate selected by a shooter and the size of the laser emitted by the gun-type simulator, the light spot on the target plate generally has a certain size, so that the central position point of the difference area where the position of the light spot is located is taken as a hit point, and the obtained hit score is more accurate.

In a preferable scheme, in the step (4), when the target plate image shot by the camera is obtained, light spots hit in multiple frames of continuous target plate images within 400ms, and the positions of the hit light spots are the same and are regarded as hit only once, and the shot first frame of target plate image with light spots hit is regarded as an effective hit image. Because the camera needs to continuously shoot, the interval time of every shooting is short, and the possibility that multiple times of shooting are carried out after one time of shooting exists, multiple frames of images are required to be continuously shot by light spots, and the positions of the shot light spots are the same as the target plate image and are only shot once.

In a preferable scheme, in the step (4), when the target plate image shot by the camera is obtained, light spots hit in multiple frames of continuous target plate images within 400ms, and the hit light spots can form a complete track, which is regarded as one hit, and the shot target plate image with the light spots hit in the first frame is regarded as an effective hit image. Because shooting equipment adopts the rifle type simulator, after shooter hit the target board, can have the shooting back because shooter's health shake, lead to the camera to shoot the facula in the multiframe continuous target board image and can form a complete track of dragging, consequently need all have the facula to hit multiframe in succession to the facula that hits can form a complete track, regards as only hitting once.

Preferably, in the step (4), a valid hit image shot by the camera is retained, and an invalid image is deleted. After some shooters carry out shooting training, still need carry out the analysis of duplicating to this training, owing to adopt the mode of laser shooting, can not remain the hit mark on the target plate, consequently remain the effective hit image of shooing, the shooter of being convenient for carries out the analysis of duplicating according to the distribution of the impact point in the image that remains.

In a preferable scheme, the target plate hit ring number recognition system further comprises a cloud server, the cloud server is connected with the intelligent handheld device, and in the step (6), the target plate hit ring number recognition system further comprises the step of uploading the comparison template of the target plate, the coordinate data of the hit points and the hit scores to the cloud server. The cloud server may also be equipped with hit recognition software. According to the distance between the intelligent handheld device used for shooting and calculation and a shooter, when the shooting distance is short, the intelligent handheld device used for calculation can be adopted to directly report targets, and hit scores are recorded and stored in the local machine; when the shooting distance is far away, can be connected with the high in the clouds server with the intelligent handheld device who shoots the calculation use in advance, during the shooting, the contrast template of target board is with intelligent handheld device, the high in the clouds server is uploaded to the coordinate data and the hit score of hit point, other mobile terminal access high in the clouds server of rethread, report the target by other mobile terminal, the high in the clouds server is according to the coordinate data of hit point simultaneously, simulate the hit position of shooting each time on the contrast template of received target board, visit the server by other mobile terminal and look over image data, make things convenient for analysis shooter's the target practice or inspection gun problem.

Preferably, in the step (3), the interval time for capturing the target plate image by the camera is 33-200 ms.

In a preferred embodiment, the resolution of the control template of the target plate and the resolution of the target plate image are both 640 × 480, the coordinate axis is established based on the resolution, and each fractional region is divided based on the resolution. According to the camera pixels of different mobile phones and the operational performance of different mobile phones, higher resolution can be adopted to improve shooting accuracy.

The invention has the beneficial effects that: the target plate hit ring number recognition system is wide in application scene, is not limited by distance, can feed the shooting result back to the shooter in real time and analyze and record the shooting result, does not need to be matched with special hardware for use, can easily obtain used equipment and devices, is low in cost and convenient to operate, and is beneficial to popularization of shooting sports.

Drawings

Fig. 1 is a flowchart of a target hit ring number recognition system according to embodiment 1 of the present invention.

Detailed Description

The invention is further described with reference to the following figures and specific embodiments:

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:移动靶车系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!