Video acquisition method and system
By using acceleration sensors and sound acquisition devices in the gun aiming device to judge the shooting action and automatically trigger the video acquisition function, the problem of requiring users to manually trigger video recording in the existing technology is solved, and automatic recording and storage is realized, improving user experience and reducing the Misjudgment risk.
Patent Information
- Application Number
- CN202411279138.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-10
AI Technical Summary
The existing gun sighting device requires user manual triggering in terms of video recording and shooting functions, and it is impossible to realize automatic video recording and automatic storage of video data.
By installing an acceleration sensor and a sound acquisition device in the gun sighting device, it is determined whether a shooting action is generated based on the acceleration of the gun and the decibel value of the ambient audio, and the recording function of the video acquisition device is automatically triggered.
It realizes automatic recording and storing of video data during shooting actions without manual triggering by users, improving user experience and avoiding misjudgment and misjudgment when judging based on acceleration or decibel values alone.
Smart Images

Figure CN119103929A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of imaging equipment, and in particular to a video acquisition method and system. Background Art
[0002] In order to obtain a clear scene image, most current gun aiming devices have the function of video and recording. For example, in the patent with application number 202222701241.1 and patent name “A gun aiming camera”, real-time video is recorded through a camera. However, in the above-mentioned prior art, the video and shooting functions can only be realized through the user triggering control keys and other components, and automatic video recording, video shooting and automatic storage of video data cannot be realized. Summary of the invention
[0003] The purpose of the present invention is to provide a video acquisition method and system based on a gun aiming device, which can judge whether a firearm has generated a shooting action according to the acceleration and the decibel value of the audio, and automatically trigger the recording function of the video acquisition device when it is judged that a shooting action has occurred, thereby improving the user experience.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] On the one hand, a video acquisition method based on a gun aiming device is provided, which comprises the following steps:
[0006] Mounting gun sight equipment to firearms;
[0007] Obtaining the acceleration value of the gun sighting device and / or the gun, and obtaining the audio in the environment where the gun and / or the gun sighting device is located, and obtaining the corresponding decibel value based on the audio;
[0008] Determine whether the firearm has produced a shooting action based on the acceleration value and the decibel value corresponding to the audio;
[0009] If it is determined that a shooting action occurs, the video recording function of the video acquisition device is automatically triggered to collect video data through the video recording function.
[0010] Preferably, judging whether the firearm generates a shooting action according to the acceleration value and the decibel value corresponding to the audio comprises the following steps:
[0011] When the current acceleration is less than the acceleration threshold, and / or the decibel value corresponding to the current audio is less than the decibel threshold, it is directly considered that the firearm has not performed a shooting action.
[0012] Preferably, when the current acceleration is ≥ the acceleration threshold, and the time interval ΔT1 between the acquisition time t1 of the current acceleration and the acquisition time t2 of the audio closest to the current acceleration acquisition time t1 is ≥ the time interval threshold T0, it is considered that no shooting action has occurred with the firearm.
[0013] Preferably, when the current acceleration ≥ acceleration threshold, or the difference between the current acceleration and the previous acceleration ≥ a predetermined value, and the time interval ΔT1 between the moment t1 when the current acceleration is acquired and the moment t2 when the audio closest to the moment t1 is acquired is < time interval threshold T0, and the decibel value corresponding to the audio acquired at moment t2 is ≥ the decibel threshold, it is considered that a shooting action has occurred in the firearm.
[0014] Preferably, when the decibel value corresponding to the current audio is ≥ the decibel threshold, and the time interval ΔT2 between the acquisition time t3 of the current audio and the acquisition time t4 of the acceleration closest to the acquisition time t3 of the current audio is ≥ the time interval threshold T0, it is considered that the firearm has not performed a shooting action.
[0015] Preferably, when the decibel value corresponding to the current audio is ≥ the decibel threshold, or the difference between the decibel value corresponding to the current audio and the decibel value corresponding to the previous audio is ≥ a predetermined value, and the time interval ΔT2 between the current audio acquisition moment t3 and the acceleration acquisition moment t4 closest to the current audio acquisition moment t3 is < the time interval threshold T0, and the acceleration acquired at moment t4 is ≥ the acceleration threshold, it is considered that a shooting action has occurred in the firearm.
[0016] Preferably, while collecting video data through the video recording function, the video data is automatically saved.
[0017] On the other hand, a video acquisition system based on a gun aiming device is also provided, which includes:
[0018] An acceleration sensor, which is used to obtain acceleration values of a gun aiming device and / or a firearm;
[0019] A sound collection device, which is used to obtain the audio in the environment where the firearm and / or the gun aiming device is located, and obtain the decibel value corresponding to the audio;
[0020] Video acquisition equipment, which is used to collect video data through video recording and automatically save it;
[0021] A judgment unit, connected to the acceleration sensor and the sound collection device, for judging whether the firearm generates a shooting action according to the acceleration and the decibel value corresponding to the audio, and generating a control signal when judging that the firearm generates a shooting action;
[0022] The control unit is connected to the video acquisition device and the judgment unit, and is used to receive the control signal and automatically trigger the video recording function of the video acquisition device according to the control signal, so that the video acquisition device collects video data through video recording.
[0023] Preferably, one or more of the acceleration sensor, the sound acquisition device, and the video acquisition device are integrated on the gun aiming device.
[0024] Preferably, the gun aiming device includes an infrared gun aiming device.
[0025] In summary, the present invention has the following beneficial effects compared with the prior art:
[0026] The present invention determines whether a firearm has generated a shooting action based on the decibel values of acceleration and audio, and automatically triggers the recording function of a video acquisition device when it is determined that a shooting action has occurred, without the need for a user to manually trigger the recording function. When making a judgment, only when the decibel values corresponding to the acceleration and audio meet specific conditions, is it determined that a shooting action has occurred by the firearm, thereby avoiding misjudgment or missed judgment caused by judging solely based on acceleration or decibel values, and further optimizing the functional experience of automatically recording according to shooting actions. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a flow chart of the steps of the video acquisition method based on the gun aiming device in the present invention;
[0028] Figure 2 It is a structural schematic diagram of the video acquisition system based on the gun aiming device in the present invention. DETAILED DESCRIPTION
[0029] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0030] Example 1
[0031] like Figure 1 The present embodiment provides a video acquisition method, which comprises the following steps:
[0032] S1. Install a gun sighting device on a firearm. In this embodiment, the gun sighting device includes an infrared gun sighting device. The firearm may be any real firearm or simulated firearm, which can generate shooting actions, such as triggering, loading bullets, and generating recoil and gunshot during shooting;
[0033] and installing a video acquisition device. In this embodiment, the video acquisition device includes a visible light imaging device and / or an infrared imaging device, and the video acquisition device can be integrated with the gun sight device to form an integral structure with the gun sight device, or be detachably connected to the gun sight device, or be installed on other devices, as long as it can acquire video within a specific area;
[0034] S2, obtaining the acceleration value of the gun sighting device and / or the gun in real time through a detection unit such as an acceleration sensor, and obtaining the audio in the environment where the gun sighting device and / or the gun sighting device is located in real time through a sound collection device, and obtaining the corresponding decibel value based on the audio;
[0035] In this embodiment, the acceleration is generated by the recoil during shooting, or, when no shooting action is generated, when the firearm is violently shaken by an external force factor, and the acceleration sensor includes a three-axis acceleration sensor; the sound collection device includes a microphone, etc., and the audio obtained can be the gunshot audio generated during shooting, or the audio generated by other sound sources when no shooting action is generated;
[0036] One or both of the acceleration sensor and the sound collection device may be integrated into the gun sight device to form an integral structure with the gun sight device, or be detachably connected to the gun sight device, or be detachably connected to the firearm, or be installed in a position close to the firearm, as long as it can obtain acceleration data and audio data;
[0037] S3, judging whether the firearm generates a shooting action according to the acceleration value and the decibel value corresponding to the audio;
[0038] And S4, if it is determined that a shooting action occurs, the recording function of the video acquisition device is automatically triggered to acquire video data through the recording function, and the video data is automatically saved at the same time; in this embodiment, after the video acquisition device is integrated on the gun sighting device, or is detachably connected to the gun sighting device, the field of view of the video acquisition device is the same as the field of view of the gun sighting device, or is larger than the field of view of the gun sighting device, so as to include the field of view of the gun sighting device, thereby, the video data acquired by the video acquisition device can be video data of the area within the field of view of the gun sighting device, or video data of the area including the field of view of the gun sighting device.
[0039] Since a firearm will synchronously generate acceleration and gunshot during the shooting action, this embodiment can determine whether the firearm has generated a shooting action based on the acceleration and the decibel value of the audio, and automatically trigger the recording function of the video acquisition device when it is determined that a shooting action has occurred, without the need for the user to manually trigger the recording function, thereby greatly improving the user experience.
[0040] Furthermore, in step S3, judging whether the firearm generates a shooting action according to the acceleration value and the decibel value corresponding to the audio includes the following steps:
[0041] S31. If the absolute value of the difference between the current acceleration value and the previous acceleration value (i.e., the acceleration change) is less than the acceleration threshold, it is directly considered that the firearm has not performed a shooting action, because when the firearm performs a shooting action, a large acceleration change and sound will be generated. Therefore, when the acceleration value changes too little, it can be directly determined that the firearm has not performed a shooting action;
[0042] If the absolute value of the difference between the current acceleration value and the previous acceleration value is greater than or equal to the acceleration threshold, it is considered that the firearm may have generated a shooting action, and step S32 is executed;
[0043] S32, obtaining the average decibel value of the audio within the time t1±Δt at the time when the current acceleration value is obtained. If the average decibel value is less than the decibel threshold, it is directly considered that the firearm has not fired. If the average decibel value is greater than or equal to the decibel threshold, it is considered that the firearm has fired.
[0044] Therefore, when the firearm produces a shooting action, the acceleration and the audio corresponding to the gunshot are generated almost simultaneously. Therefore, when the acceleration changes, if no sound of sufficient loudness is generated, it is considered that no shooting action has occurred. For example, when the firearm produces a shooting action, the time t1 when the acceleration change ≥ the acceleration threshold is 19:01:10:20 (hours, minutes, seconds, and milliseconds, respectively), and Δt is taken as 5 milliseconds. If the average decibel value of the audio in the time period from 19:01:10:15 to 19:01:10:25 is less than the decibel threshold, it is considered that no sound of sufficient loudness has been generated, and the acceleration change may be caused by shaking, and the firearm has not produced a shooting action.
[0045] Therefore, in this embodiment, whether a shooting action has occurred in the firearm is determined based on the acceleration change and the decibel value corresponding to the audio, and only when the acceleration and the decibel value corresponding to the audio meet specific conditions (i.e., the acceleration change ≥ the acceleration threshold, and the average decibel value ≥ the decibel threshold), is it determined that a shooting action has occurred. This avoids misjudgment or missed judgment when judging based on acceleration or decibel value alone, and further optimizes the functional experience of automatically recording according to shooting actions.
[0046] Embodiment 2:
[0047] This embodiment provides a video acquisition system based on a gun aiming device, which can implement the video acquisition method described in Embodiment 1. Figure 2 As shown, the video acquisition system includes:
[0048] An acceleration sensor 1, which is used to obtain the acceleration value of the aiming device and / or the firearm in real time;
[0049] A sound collection device 2, which is used to obtain the audio in the environment where the firearm and / or the gun aiming device is located in real time, and obtain the corresponding decibel value based on the audio;
[0050] Video acquisition device 3, which is used to collect video data through the recording function and automatically save it;
[0051] The judgment unit 4 is connected to the acceleration sensor 1 and the sound collection device 2, and is used to judge whether the firearm generates a shooting action according to the acceleration and the decibel value corresponding to the audio, and generate a control signal when judging that the firearm generates a shooting action. The process of judging whether the firearm generates a shooting action according to the acceleration and the decibel value corresponding to the audio is the same as step S3;
[0052] The control unit 5 is connected to the video acquisition device 3 and the judgment unit 4, and is used to receive the control signal and automatically trigger the recording function of the video acquisition device 3 according to the control signal, so that the video acquisition device 3 acquires video data through recording and automatically saves the video data.
[0053] Embodiment 3:
[0054] This embodiment also provides a video acquisition device, which includes: one or more of a processor, a memory, a multimedia component, an I / O interface, and a communication component.
[0055] The processor is used to control the overall operation of the video acquisition device to complete the video acquisition method described in Example 1, and the memory is used to store various types of data to support the operation of the video acquisition device, including instructions for any application or method used to operate on the video acquisition device, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0056] The multimedia component may include a screen and an audio component, wherein the screen may be a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, and the microphone is used to receive external audio signals. The received audio signal may be further stored in the memory 802 or sent via the communication component 805. The audio component also includes at least one speaker for outputting audio signals.
[0057] The I / O interface provides an interface between the processor and other interface modules. The above-mentioned other interface modules can be a keyboard, a mouse, a button, etc., and the button can be a virtual button or a physical button.
[0058] The communication component is used for wired or wireless communication between the video acquisition device and other devices. The wireless communication can be Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or one or a combination of them, so the corresponding communication component can include: Wi-Fi module, Bluetooth module, NFC module.
[0059] In an exemplary embodiment, the personnel positioning device 800 of the hydropower plant can be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, referred to as ASIC), digital signal processors (Digital Signal Processor, referred to as DSP), digital signal processing devices (Digital Signal Processing Device, referred to as DSPD), programmable logic devices (Programmable Logic Device, referred to as PLD), field programmable gate arrays (Field Programmable Gate Array, referred to as FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned personnel positioning method of the hydropower plant.
[0060] Embodiment 4:
[0061] This embodiment provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the video acquisition method described in Embodiment 1 can be implemented.
[0062] The readable storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other readable storage medium that can store program codes.
[0063] To summarize, since a firearm will synchronously generate acceleration and gunshots during the process of producing a shooting action, the present invention can determine whether the firearm has produced a shooting action based on the decibel values of the acceleration and audio, and automatically trigger the recording function of the video acquisition device when it is determined that a shooting action has occurred, without the need for the user to manually trigger the recording function, thereby greatly improving the user experience, and when making a judgment, only when the decibel values corresponding to the acceleration and audio meet specific conditions, is it determined that the firearm has produced a shooting action, thereby avoiding misjudgment or missed judgment when judging based solely on acceleration or decibel values, and further optimizing the functional experience of automatically recording according to the shooting action.
[0064] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A video acquisition method based on a gun aiming device, characterized in that: The steps include: Mounting gun sight equipment to firearms; Obtaining the acceleration value of the gun sighting device and / or the gun, and obtaining the audio in the environment where the gun and / or the gun sighting device is located, and obtaining the corresponding decibel value based on the audio; Determine whether the firearm has produced a shooting action based on the acceleration value and the decibel value corresponding to the audio; If it is determined that a shooting action occurs, the video recording function of the video acquisition device is automatically triggered to collect video data through the video recording function.
2. The video acquisition method according to claim 1, characterized in that: Judging whether a firearm generates a shooting action according to the acceleration value and the decibel value corresponding to the audio includes the following steps: When the current acceleration is less than the acceleration threshold, and / or the decibel value corresponding to the current audio is less than the decibel threshold, it is directly considered that the firearm has not performed a shooting action.
3. The video acquisition method according to claim 2, characterized in that: When the current acceleration is ≥ the acceleration threshold, and the time interval ΔT1 between the acquisition time t1 of the current acceleration and the acquisition time t2 of the audio closest to the current acceleration acquisition time t1 is ≥ the time interval threshold T0, it is considered that the firearm has not performed a shooting action.
4. The video acquisition method according to claim 2, characterized in that: When the current acceleration is ≥ the acceleration threshold, or the difference between the current acceleration and the previous acceleration is ≥ the predetermined value, and the time interval ΔT1 between the current acceleration acquisition time t1 and the acquisition time t2 of the audio closest to the current acceleration acquisition time t1 is < the time interval threshold T0, and the decibel value corresponding to the audio acquired at time t2 is ≥ the decibel threshold, it is considered that the firearm has performed a shooting action.
5. The video acquisition method according to claim 2, characterized in that: When the decibel value corresponding to the current audio is ≥ the decibel threshold, and the time interval ΔT2 between the acquisition time t3 of the current audio and the acquisition time t4 of the acceleration closest to the acquisition time t3 of the current audio is ≥ the time interval threshold T0, it is considered that the firearm has not performed a shooting action.
6. The video acquisition method according to claim 2, characterized in that: When the decibel value corresponding to the current audio is ≥ the decibel threshold, or the difference between the decibel value corresponding to the current audio and the decibel value corresponding to the previous audio is ≥ the predetermined value, and the time interval ΔT2 between the current audio acquisition time t3 and the acceleration acquisition time t4 closest to the current audio acquisition time t3 is < the time interval threshold T0, and the acceleration acquired at time t4 is ≥ the acceleration threshold, it is considered that the firearm has performed a shooting action.
7. The video acquisition method according to claim 1, characterized in that: While collecting video data through the recording function, the video data is automatically saved.
8. A video acquisition system based on a gun aiming device, characterized in that: include: An acceleration sensor, which is used to obtain the acceleration value of the gun aiming device and / or the firearm; A sound collection device, which is used to obtain the audio in the environment where the firearm and / or the gun aiming device is located, and obtain the decibel value corresponding to the audio; Video acquisition equipment, which is used to collect video data through video recording and automatically save it; A judgment unit, connected to the acceleration sensor and the sound collection device, for judging whether the firearm generates a shooting action according to the acceleration and the decibel value corresponding to the audio, and generating a control signal when judging that the firearm generates a shooting action; The control unit is connected to the video acquisition device and the judgment unit, and is used to receive the control signal and automatically trigger the video recording function of the video acquisition device according to the control signal, so that the video acquisition device collects video data through video recording.
9. The video acquisition system according to claim 8, characterized in that: One or more of the acceleration sensor, the sound collection device, and the video collection device are integrated on the gun aiming device.
10. The video acquisition system according to claim 8, characterized in that: The gun sighting device comprises an infrared gun sighting device.
Citation Information
Patent Citations
Gun aiming camera
CN218410883U
Shooting detecting method and system and wearable terminal
CN106643284A
Low-power intelligent target shooting recognition method and system based on audio signal control
CN113048844A
Shoot counting method and device, electronic equipment and storage medium
CN114818836A
System and method for detecting and analyzing near range weapon fire
US20160157032A1
