CN113782056B - Gun inspection action recognition method - Google Patents
Gun inspection action recognition method Download PDFInfo
- Publication number
- CN113782056B CN113782056B CN202110825960.1A CN202110825960A CN113782056B CN 113782056 B CN113782056 B CN 113782056B CN 202110825960 A CN202110825960 A CN 202110825960A CN 113782056 B CN113782056 B CN 113782056B
- Authority
- CN
- China
- Prior art keywords
- gun
- audio signal
- standard
- checking
- inspection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000007689 inspection Methods 0.000 title claims abstract description 50
- 230000009471 action Effects 0.000 title claims abstract description 37
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000005236 sound signal Effects 0.000 claims abstract description 68
- 230000008569 process Effects 0.000 claims abstract description 11
- 230000002159 abnormal effect Effects 0.000 claims description 10
- 230000006872 improvement Effects 0.000 description 10
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/51—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
- Toys (AREA)
Abstract
The invention provides a gun inspection action recognition method, which comprises the following steps: s1, acquiring a gun model of a gun to be inspected, and calling a standard gun inspection audio signal which is prestored in the system and corresponds to the gun model from the system; s2, sending out a gun inspection password; s3, acquiring an audio signal to be identified in the gun inspection process; in step S3, the audio signal includes: the gun has the advantages that the gun has the impact sound of the cartridge clip and the sleeve and the time interval in the standard gun checking process; if the action of the gun is standard, the microphone array outputs an audio signal to be identified, and if the action of the gun is not standard, the action is too large or too small, the microphone array outputs an empty signal.
Description
Technical Field
The invention relates to a gun inspection action recognition method.
Background
Gun inspection is an important measure for the army to prevent gun accidents. The second version of the latest edition of the second hundred ninety-three regulations of the liberation army of Chinese people: "gun wiping and before and after use, the gun should be carefully checked". The existing gun inspection is judged manually, and the situation that the gun inspection action is not standard or the standard is not uniform is unavoidable in the manual judgment.
Disclosure of Invention
The invention provides a gun inspection action recognition method which can effectively solve the problems.
The invention is realized in the following way:
the invention provides a gun inspection action recognition method, which comprises the following steps:
s1, acquiring a gun model of a gun to be inspected, and calling a standard gun inspection audio signal which is prestored in the system and corresponds to the gun model from the system, wherein the standard gun inspection audio signal comprises the following components: the gun can perform the impact sound and time interval of each component in the standard gun checking process;
s2, sending out a gun inspection password;
s3, acquiring an audio signal to be identified in the gun inspection process through a microphone array, analyzing the distance between the microphone array and a gun to be inspected, extracting the audio signal with the distance within a preset threshold range as the audio signal to be identified, wherein the microphone array at least comprises two microphones, the distance between the two microphones is 2-3cm, analyzing the time difference between the microphones by comparing the respective audio signals, converting the time difference into the distance between the center point of the microphone and the gun, judging that the gun inspection operation is standard if the distance is within the preset threshold range, and outputting an empty signal by the microphone array if the gun inspection operation is not standard and is too large or too small;
s4, comparing the audio signal to be identified with the standard gun checking audio signal, judging whether the gun checking action is completed, if yes, outputting the gun checking action, otherwise, sending out a repeated gun checking instruction;
the step of comparing the audio signal to be identified with the standard gun checking audio signal and judging whether the gun checking action is finished comprises the following steps:
s41, judging whether the impact sound of the part in the audio signal to be identified is consistent with the impact sound of the standard gun checking audio signal part, if so, judging that the gun model is consistent and entering S42, otherwise, judging that the gun model is inconsistent and sending out a repeated gun checking instruction;
s42, judging whether the time interval of the impact sound of the component in the audio signal to be identified is within a preset range or not, if so, outputting a gun checking action, otherwise, sending a repeated gun checking instruction;
s5, judging whether the frequency of each impact sound in the audio signal to be identified exceeds the frequency setting range of each impact sound in the standard gun checking audio signal, if so, judging that the gun is aged or abnormal, wherein the frequency of each impact sound in the standard gun checking audio signal comprises the impact frequency of an empty cartridge clip and the impact frequency of a live cartridge clip.
As a further refinement, the various components include a clip, a trigger, and a safety.
As a further improvement, after step S42, further comprising:
s43, sending the abnormal reasons to gun inspection staff, wherein the abnormal reasons comprise inconsistent gun models or nonstandard gun inspection actions.
As a further improvement, in step S5, further comprising:
s6, judging whether the cartridge clip is an empty cartridge clip or a live cartridge clip according to the impact frequency of the cartridge clip in the standard gun inspection audio signal.
The beneficial effects of the invention are as follows: according to the gun inspection action recognition method provided by the invention, the gun inspection audio signals of each type are input into the system, the audio signals are obtained in the gun inspection process, and then the comparison is carried out, so that whether the gun inspection action is finished is judged; the method directly compares the audio signals without manual judgment, can effectively eliminate the influence of manual judgment, and improves the standardization and the accuracy of the gun inspection.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some examples of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for identifying a gun action according to an embodiment of the present invention.
Fig. 2 is a diagram showing a comparison of standard gun inspection audio signals and audio signals to be identified of 81 rifles recorded in the gun inspection action recognition method according to the embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, based on the embodiments of the invention, which are apparent to those of ordinary skill in the art without inventive faculty, are intended to be within the scope of the invention. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, based on the embodiments of the invention, which are apparent to those of ordinary skill in the art without inventive faculty, are intended to be within the scope of the invention.
In the description of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
Referring to fig. 1 and 2, an embodiment of the present invention provides a gun action recognition method, including:
s1, acquiring a gun model of a gun to be inspected, and calling a standard gun inspection audio signal which is prestored in the system and corresponds to the gun model from the system;
s2, sending out a gun inspection password;
s3, acquiring an audio signal to be identified in the gun inspection process;
s4, comparing the audio signal to be identified with the standard gun checking audio signal, judging whether the gun checking action is completed, if yes, outputting the gun checking action, otherwise, sending out a repeated gun checking instruction.
As a further improvement, please refer to fig. 2, in step S1, the standard gun audio signal includes: the gun is subjected to the impact sound of various parts in the standard gun checking process. The standard gun audio signal for a rifle with a curve (volume on the ordinate) of 81 in fig. 2A is divided into a cartridge clip removal part, a sleeve pulling part, a self-returning sleeve part and a cartridge clip loading part. Further, the number of the gun to be inspected can be obtained. The gun model number and the gun number can be pre-stored in the system, and the gun checking history record of the gun is recorded in the system.
As a further improvement, the standard gun audio signal comprises: the gun is in the impact sound and time interval of each component in the standard gun checking process. In one embodiment, the impact sound of the cartridge clip and the sleeve is included.
As a further refinement, the various components include a clip, a trigger, and a safety.
In step S3, the audio signal to be identified in the gun inspection process is obtained through the microphone array. Further, the microphone array is used for acquiring the audio signal, analyzing the distance between the microphone array and the gun to be inspected, and extracting the audio signal with the distance within a preset threshold range as the audio signal to be identified. The microphone array comprises at least two microphones, and the distance between the two microphones is 2-3cm. The microphone array constitutes a short-range voiceprint recognition device. The microphone array analyzes the time difference between the microphones by comparing the respective audio signals, converts the time difference into the distance between the center point of the microphone and the gun, and determines that the gun is standard in operation if the distance is within a preset threshold range, wherein the preset threshold range is 3-10cm in the embodiment. Thus, the microphone array is used to extract signals of the audio signals that satisfy a distance within a preset threshold range, and provide the signals to the audio comparison device. If the action of the gun is standard, the microphone array outputs an audio signal to be identified, and if the action of the gun is not standard, the action is too large or too small, the microphone array outputs an empty signal.
As a further improvement, in step S4, the step of comparing the audio signal to be identified with the standard gun-inspection audio signal to determine whether the gun-inspection is completed includes:
s41, judging whether the impact sound of the part in the audio signal to be identified is consistent with the impact sound of the standard gun checking audio signal part, if so, judging that the gun model is consistent and entering S42, otherwise, judging that the gun model is inconsistent and sending out a repeated gun checking instruction;
s42, judging whether the time interval of the impact sound of the component in the audio signal to be identified is within a preset range or not, if so, outputting a gun checking action, and if not, sending out a repeated gun checking instruction.
Referring to fig. 2, in step S41, the impact sound (B curve) of the component is substantially identical to the standard gun-check audio signal, and if so, it is determined that the gun model is identical to the 81-type rifle. In addition, the impact sounds are consistent, which also indicates that the gun checking action of the gun checking personnel on the corresponding gun is completed.
In step S42, if the time intervals of the impact sounds of the components differ greatly, it is indicated that the gun action of the gun inspector is too slow to meet the standard, and therefore, a repeat gun inspection instruction is issued. Therefore, the method can also be used for carrying out standardized assessment on gun inspection personnel.
As a further improvement, after step S42, the method further includes:
s43, sending the abnormal reasons to gun inspection staff, wherein the abnormal reasons comprise inconsistent gun models or nonstandard gun inspection actions.
As a further improvement, after the completion of the output gun action, further comprising:
s5, judging whether the frequency of each impact sound in the audio signal to be identified exceeds the frequency setting range of each impact sound in the standard gun inspection audio signal, and judging that the gun is aged or abnormal.
Since the guns are all produced in a standardized manner, the impact frequencies of the same components are also substantially the same, and therefore, the gun aging or abnormality can be judged by judging whether the frequency of each impact sound in the audio signal to be identified is out of the frequency setting range of each impact sound in the standard gun inspection audio signal. In other embodiments, the frequency of each impact sound of the firearm (each firearm is numbered) may be further recorded, and the change of the frequency of each impact sound of the firearm is used to judge whether the firearm is aged or abnormal.
As a further improvement, the frequencies of the respective impact sounds in the standard gun audio signal include the impact frequency of the empty clip and the impact frequency of the live clip.
As a further improvement, in step S5, further comprising:
s6, judging whether the cartridge clip is an empty cartridge clip or a live cartridge clip according to the impact frequency of the cartridge clip in the standard gun inspection audio signal.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations may be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (3)
1. The gun inspection action recognition method is characterized by comprising the following steps of:
s1, acquiring a gun model of a gun to be inspected, and calling a standard gun inspection audio signal which is prestored in the system and corresponds to the gun model from the system, wherein the standard gun inspection audio signal comprises the following components: the gun can perform the impact sound and time interval of each component in the standard gun checking process;
s2, sending out a gun inspection password;
s3, acquiring an audio signal to be identified in the gun inspection process through a microphone array, analyzing the distance between the microphone array and a gun to be inspected, extracting the audio signal with the distance within a preset threshold range as the audio signal to be identified, wherein the microphone array at least comprises two microphones, the distance between the two microphones is 2-3cm, analyzing the time difference between the microphones by comparing the respective audio signals, converting the time difference into the distance between the center point of the microphone and the gun, judging that the gun inspection operation is standard if the distance is within the preset threshold range, and outputting an empty signal by the microphone array if the gun inspection operation is not standard and is too large or too small;
s4, comparing the audio signal to be identified with the standard gun checking audio signal, judging whether the gun checking action is completed, if yes, outputting the gun checking action, otherwise, sending out a repeated gun checking instruction;
the step of comparing the audio signal to be identified with the standard gun checking audio signal and judging whether the gun checking action is finished comprises the following steps:
s41, judging whether the impact sound of the part in the audio signal to be identified is consistent with the impact sound of the standard gun checking audio signal part, if so, judging that the gun model is consistent and entering S42, otherwise, judging that the gun model is inconsistent and sending out a repeated gun checking instruction;
s42, judging whether the time interval of the impact sound of the component in the audio signal to be identified is within a preset range or not, if so, outputting a gun checking action, otherwise, sending a repeated gun checking instruction;
s5, judging whether the frequency of each impact sound in the audio signal to be identified exceeds the frequency setting range of each impact sound in the standard gun checking audio signal, if so, judging that the gun is aged or abnormal, wherein the frequency of each impact sound in the standard gun checking audio signal comprises the impact frequency of an empty cartridge clip and the impact frequency of a live cartridge clip.
2. The method of claim 1, wherein each of the components includes a clip, a trigger, and a safety.
3. The method of identifying a gun action according to claim 1, further comprising, after step S42:
s43, sending the abnormal reasons to gun inspection staff, wherein the abnormal reasons comprise inconsistent gun models or nonstandard gun inspection actions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110825960.1A CN113782056B (en) | 2021-07-21 | 2021-07-21 | Gun inspection action recognition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110825960.1A CN113782056B (en) | 2021-07-21 | 2021-07-21 | Gun inspection action recognition method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113782056A CN113782056A (en) | 2021-12-10 |
CN113782056B true CN113782056B (en) | 2024-01-12 |
Family
ID=78836010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110825960.1A Active CN113782056B (en) | 2021-07-21 | 2021-07-21 | Gun inspection action recognition method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113782056B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179240A (en) * | 2011-12-20 | 2013-06-26 | 比亚迪股份有限公司 | Audio test method and system for mobile terminal |
US9830932B1 (en) * | 2016-05-26 | 2017-11-28 | The United States of America as represented by the Secretery of the Air Force | Active shooter and environment detection |
CN111447362A (en) * | 2020-04-02 | 2020-07-24 | 浙江大华技术股份有限公司 | Pan-tilt motor limiting method and device, pan-tilt camera and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3506258B1 (en) * | 2018-01-02 | 2023-10-25 | Getac Holdings Corporation | Information capturing device and voice control method |
-
2021
- 2021-07-21 CN CN202110825960.1A patent/CN113782056B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179240A (en) * | 2011-12-20 | 2013-06-26 | 比亚迪股份有限公司 | Audio test method and system for mobile terminal |
US9830932B1 (en) * | 2016-05-26 | 2017-11-28 | The United States of America as represented by the Secretery of the Air Force | Active shooter and environment detection |
CN111447362A (en) * | 2020-04-02 | 2020-07-24 | 浙江大华技术股份有限公司 | Pan-tilt motor limiting method and device, pan-tilt camera and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113782056A (en) | 2021-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10115298B2 (en) | Method of trend analysis and automatic tuning of alarm parameters | |
CN105244023A (en) | System and method for reminding teacher emotion in classroom teaching | |
CN101883970A (en) | Be used for assessing the method and apparatus of rock mass integrity | |
CN112078590B (en) | Driving behavior monitoring method and system | |
CN113782056B (en) | Gun inspection action recognition method | |
CN110839112A (en) | Problem voice detection method and device | |
CN106205604B (en) | Application-side voice recognition evaluation system and method | |
WO1996006495A1 (en) | Test method | |
EP2247890A1 (en) | Method and device for determining a leak in a system component and/or for determining a state of a system component | |
CN111108551B (en) | Voiceprint identification method and related device | |
US20150253216A1 (en) | Leak inspection device, leak inspection method, and leak inspection program | |
CN113782036B (en) | Audio quality assessment method, device, electronic equipment and storage medium | |
CN109781245B (en) | Objective evaluation method for pulse noise of diesel engine | |
IL294684B2 (en) | Diagnostic techniques based on speech models | |
CN109817224A (en) | A kind of voice sensitive word monitor system and method | |
TWM566808U (en) | Detecting system of movable noise source | |
CN110107461B (en) | Fan fault early warning method, device, equipment and computer readable storage medium | |
TWI702595B (en) | Detecting system and method of movable noise source | |
CN113936369B (en) | Gun inspection room system based on face recognition and voiceprint recognition | |
WO2019210713A1 (en) | Warning sound offline identification method and device | |
CN111654655B (en) | Data processing method for drunk driving inspection and treatment | |
US20220146349A1 (en) | Identifying false positive data within a set of blast exposure data | |
DE102015225484A1 (en) | Arc detector for an electrical circuit, electrical circuit and method for detecting an arc | |
CN110440987A (en) | A kind of valve body air-tightness detection method and system | |
CN107063447B (en) | Gun vibration identification method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |