Anti-theft method, monitoring device and computer-readable storage medium
By using the background model and distance detection technology in the security system, the monitoring device sends an alarm when it detects a moving object, which solves the problem of alarm delay after the equipment is damaged in the existing technology and improves the anti-theft effect.
Patent Information
- Application Number
- CN201911049399.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing security system triggers an alarm only after the user's equipment is damaged, and cannot effectively monitor, resulting in economic losses.
Obtain each frame of image collected by the camera through the monitoring device, calculate the mean and variance of each point in the image as a background model, determine the moving object, and send the image to the mobile terminal when the moving object reaches the preset warning distance from the camera to issue an alarm command .
The alarm is issued before the monitoring device is damaged, which improves the anti-theft effect and reduces economic losses.
Smart Images

Figure CN110691223B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of security technology, and in particular to an anti-theft method, a monitoring device and a computer-readable storage medium. Background Art
[0002] The current security system usually triggers an alarm only after the user's equipment is violently damaged, and even after the monitoring device is damaged, it cannot play an effective monitoring role, thus causing great economic losses to the user. Summary of the invention
[0003] The main purpose of the present invention is to provide an anti-theft method, a monitoring device and a computer-readable storage medium, which are intended to alarm before the monitoring device is damaged, so as to effectively improve the anti-theft effect.
[0004] To achieve the above object, the present invention provides an anti-theft method, which comprises the following steps:
[0005] The monitoring device obtains each frame of image captured by the camera;
[0006] Calculate the mean and variance of each point in each frame of the image within a predetermined time as a background model, and determine the moving object according to the preset model;
[0007] Calculating the distance between the moving object and the camera;
[0008] When the distance reaches a preset warning distance, the image of the moving object is sent to a mobile terminal, so that the user can issue an alarm instruction to the monitoring device.
[0009] Optionally, the camera is a binocular infrared camera.
[0010] Optionally, before the step of calculating the distance between the moving object and the camera, the step further includes:
[0011] When it is determined that there is a moving object, face recognition is performed to determine whether there is a face;
[0012] If there is no human face, the left image and the right image acquired by the binocular infrared camera are corrected.
[0013] Optionally, the background model is a single-distribution Gaussian background model.
[0014] Optionally, after the step of performing face recognition and judging whether a face exists when determining that a moving object exists, the step further includes:
[0015] If there is a face, determine whether the face is a registered face;
[0016] If not, the face is sent to the mobile terminal to enable the user to trigger a corresponding operation instruction.
[0017] Optionally, if there is a face, after the step of determining whether the face is a registered face, the step further includes:
[0018] If so, the preset operation instruction is triggered.
[0019] Optionally, the correction process is binocular joint correction.
[0020] To achieve the above object, the present invention further provides a monitoring device, the monitoring device comprising a memory, a processor, and an anti-theft program stored in the memory and executable on the processor;
[0021] The anti-theft program implements the steps of the method described above when executed by the processor.
[0022] To achieve the above object, the present invention further provides a security system, which includes a mobile terminal and the monitoring device as described above.
[0023] The anti-theft method, monitoring device and computer-readable storage medium provided by the present invention obtain each frame of image captured by the camera through the monitoring device, and then calculate the mean and variance of each point in each frame of image within a predetermined time as a background model, and determine the moving object according to the preset model, and calculate the distance between the moving object and the camera, and then when the distance reaches the preset warning distance, send the image of the moving object to the mobile terminal, so that the user can issue an alarm instruction to the monitoring device. In this way, the alarm can be triggered before the monitoring device is damaged, thereby effectively improving the anti-theft effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic diagram of the hardware structure of a monitoring device provided in an embodiment of the present invention;
[0025] Figure 2 A schematic diagram of a wireless communication system of a monitoring device according to an embodiment of the present invention;
[0026] Figure 3 It is a schematic diagram of the flow chart of the first embodiment of the anti-theft method of the present invention;
[0027] Figure 4 The original image captured by the camera of the present invention;
[0028] Figure 5 The moving object calculated by the present invention;
[0029] Figure 6 It is a flowchart of the second embodiment of the anti-theft method of the present invention. DETAILED DESCRIPTION
[0030] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0031] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0032] The monitoring device can be implemented in various forms. For example, the monitoring device described in the present invention can include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, etc., and fixed terminals such as digital TVs and desktop computers.
[0033] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will appreciate that, in addition to components specifically used for mobile purposes, the configuration according to the embodiments of the present invention can also be applied to fixed-type terminals.
[0034] See also Figure 1 , which is a schematic diagram of the hardware structure of a monitoring device for implementing various embodiments of the present invention, the monitoring device 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The monitoring device structure shown in the figure does not constitute a limitation on the monitoring device. The monitoring device may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0035] Combine the following Figure 1 The following is a detailed introduction to the various components of the monitoring device:
[0036] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.
[0037] WiFi is a short-range wireless transmission technology. The monitoring device can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not a necessary component of the monitoring device and can be omitted as needed without changing the essence of the invention.
[0038] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the monitoring device 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the monitoring device 100 (for example, a call signal receiving sound, a message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0039] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.
[0040] The monitoring device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the monitoring device 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0041] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0042] The user input unit 107 can be used to receive input digital or character information, and generate key signal input related to the user settings and function control of the monitoring device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.
[0043] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 1 In the embodiment, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the monitoring device. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the monitoring device, which is not limited here.
[0044] The interface unit 108 serves as an interface through which at least one external device can be connected to the monitoring device 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the monitoring device 100 or may be used to transmit data between the monitoring device 100 and an external device.
[0045] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0046] The processor 110 is the control center of the monitoring device. It uses various interfaces and lines to connect various parts of the entire monitoring device. By running or executing software programs and / or modules stored in the memory 109 and calling data stored in the memory 109, it performs various functions of the monitoring device and processes data, thereby monitoring the monitoring device as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.
[0047] The monitoring device 100 may also include a power supply 111 (such as a battery) for supplying power to each component. Preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0048] although Figure 1 Not shown, the monitoring device 100 may also include a Bluetooth module, etc., which will not be described in detail here.
[0049] To facilitate understanding of the embodiments of the present invention, the communication network system on which the monitoring device of the present invention is based is described below.
[0050] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present invention. The communication network system is an LTE system of universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are sequentially connected for communication.
[0051] Specifically, UE201 may be the above-mentioned monitoring device 100, which will not be described in detail here.
[0052] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Among them, eNodeB 2021 can be connected to other eNodeBs 2022 through a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 can provide UE 201 with access to EPC 203 .
[0053] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).
[0054] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.
[0055] Although the above introduction is made using the LTE system as an example, those skilled in the art should know that the present invention is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.
[0056] Based on the above-mentioned monitoring device hardware structure and communication network system, various embodiments of the method of the present invention are proposed.
[0057] The memory 109 as a computer storage medium may include an operating system, a network communication module and an anti-theft program.
[0058] The processor 110 of the monitoring device is used to call the anti-theft program stored in the memory 109 and perform the following operations:
[0059] The monitoring device obtains each frame of image captured by the camera;
[0060] Calculate the mean and variance of each point in each frame of the image within a predetermined time as a background model, and determine the moving object according to the preset model;
[0061] Calculating the distance between the moving object and the camera;
[0062] When the distance reaches a preset warning distance, the image of the moving object is sent to a mobile terminal, so that the user can issue an alarm instruction to the monitoring device.
[0063] Furthermore, the processor 110 may call the anti-theft program stored in the memory 109, and further perform the following operations:
[0064] The camera is a binocular infrared camera.
[0065] Furthermore, the processor 110 may call the anti-theft program stored in the memory 109, and further perform the following operations:
[0066] When it is determined that there is a moving object, face recognition is performed to determine whether there is a face;
[0067] If there is no human face, the left image and the right image acquired by the binocular infrared camera are corrected.
[0068] Furthermore, the processor 110 may call the anti-theft program stored in the memory 109, and further perform the following operations:
[0069] If there is a face, determine whether the face is a registered face;
[0070] If not, the face is sent to the mobile terminal to enable the user to trigger a corresponding operation instruction.
[0071] Furthermore, the processor 110 may call the anti-theft program stored in the memory 109, and further perform the following operations:
[0072] If so, the preset operation instruction is triggered.
[0073] Furthermore, the processor 110 may call the anti-theft program stored in the memory 109, and further perform the following operations:
[0074] The correction process is binocular joint correction.
[0075] Reference Figure 3 In a first embodiment, the present invention provides an anti-theft method, comprising the following steps:
[0076] Step S1, the monitoring device obtains each frame of image captured by the camera;
[0077] In this embodiment, the monitoring device can be connected to the user's mobile terminal through wireless communication. When the monitoring device issues an alarm command, the suspicious image information collected by the camera is sent to the mobile terminal, so that the user can issue relevant control commands to the camera or the monitoring device through the mobile terminal. The mobile terminal is correspondingly installed with an application for controlling the monitoring device, such as controlling the monitoring device to sound an alarm, or playing a pre-set voice "I have reported an alarm", etc.; when the monitoring device sends the image collected by the camera to the mobile terminal, after confirmation by the user, the mobile terminal can send instructions such as opening the door to the user's access control system.
[0078] The camera can be a binocular infrared camera that takes photos in real time or at a fixed time, or takes videos in real time. The monitoring device can also have an LED auxiliary light source to improve the quality of the image collected by the camera when the light is poor.
[0079] Step S2, calculating the mean and variance of each point in each frame of the image within a predetermined time as a background model, and determining the moving object according to the preset model;
[0080] In this embodiment, the monitoring device mainly obtains images of moving objects captured in the field of view of the camera, and specifically performs motion and static separation through the technology of single Gaussian background modeling to extract the moving objects from the foreground objects.
[0081] Single Gaussian background modeling is an improvement on the frame difference method. The frame difference method uses the gray value difference between frames to calculate the foreground object. When the moving object is relatively slow, the frame difference method cannot calculate the moving object, and single Gaussian background modeling can overcome this problem.
[0082] The single Gaussian background model assumes that for a background image, the distribution of specific pixel brightness satisfies the Gaussian distribution, that is, for the background image B, the brightness of each point (x, y) satisfies B(x, y) ~ N(u, d):
[0083]
[0084] That is, each point (x, y) contains two attributes, mean u and variance d.
[0085] Calculate the mean u and variance d of each point in the video sequence image over a period of time as the background model. For an arbitrary image G containing a foreground, calculate for each point (x, y) on the image, if:
[0086]
[0087] (T is a constant threshold), then the point is considered to be a background point, otherwise it is a foreground point. Next, the background is updated, and each frame of the image participates in the background update:
[0088] B t (x, y) = p*B t-1 (x,y)+(1-p)*G t (x, y)
[0089] Among them, p is a constant used to reflect the background update rate. The larger p is, the slower the background is updated. In general, the change of d after the background is updated is very small, so d is generally not updated after the background is updated. Figure 4 is the original image captured by the camera, Figure 5 is the calculated moving object.
[0090] Step S3, calculating the distance between the moving object and the camera;
[0091] Step S4: When the distance reaches a preset warning distance, the image of the moving object is sent to a mobile terminal, so that the user can issue an alarm instruction to the monitoring device.
[0092] In this embodiment, the distance between the moving object and the camera can be calculated based on the calculated coordinates of the moving object. The preset warning distance can be reasonably set according to actual needs, such as 1m. In other embodiments, it can also be set to any value in the range of 1 to 5m. When it is detected that the distance between the moving object and the camera reaches the preset warning distance, the monitoring device can be controlled to alarm immediately; of course, in order to avoid false alarms, the image of the moving object can be sent to the mobile terminal first to allow the user to determine whether to issue an alarm instruction to the monitoring device.
[0093] The anti-theft method provided by the present invention obtains each frame of image collected by the camera through the monitoring device, and then calculates the mean and variance of each point in each frame of image within a predetermined time as a background model, and determines the moving object according to the preset model, and calculates the distance between the moving object and the camera, and then when the distance reaches the preset warning distance, sends the image of the moving object to the mobile terminal, so that the user can issue an alarm instruction to the monitoring device. In this way, the alarm can be sounded before the monitoring device is damaged, thereby effectively improving the anti-theft effect.
[0094] Reference Figure 6 In the second embodiment, based on Figure 3 In the first embodiment shown, before step S3, the following steps are further included:
[0095] Step S5: when it is determined that there is a moving object, perform face recognition and determine whether there is a face;
[0096] Step S6: If there is no human face, the left image and the right image acquired by the binocular infrared camera are corrected.
[0097] In this embodiment, when it is determined that there is a moving object, face recognition is performed to determine whether there is a face, and if there is no face, the left image and the right image acquired by the binocular infrared camera are corrected. Optionally, the correction process is binocular joint correction.
[0098] In a binocular system, registration is based on complete line alignment. In practical applications, it is impossible to have an imaging plane that is accurately coplanar and line aligned. Usually, the line error of the uncorrected left and right images can reach more than 12 pixels.
[0099] The goal of binocular image line correction is to reproject the image planes of the two cameras so that the reprojected images fall back onto the same plane and keep the lines aligned. How to select a specific plane to mathematically align the cameras depends on the algorithm used. The conventional method is to first calibrate the camera in mono and then in stereo. Specifically,
[0100] Conventional row correction:
[0101] 1. Single target calibration, respectively obtain the rotation RL, RR and translation TL, TR of the left and right single cameras;
[0102] 2. Since the rotation and translation between the left and right cameras are obtained, the following formula is available:
[0103] R = RR * (RL) T (T here is the transpose) (1)
[0104] T=TR-R*TL (2)
[0105] RR=RL*R (3)
[0106] TR=T+R*TL (4)
[0107] 3. Based on the R and T obtained by (1) and (2), reproject the world coordinate system image of the left camera to the right pixel coordinate system according to (3) and (4) to obtain RR and TR, and update R and T according to the error to obtain the final R and T.
[0108] The calibration method of the present invention is:
[0109] 1. Calibration plate;
[0110] 2. In addition to the left and right camera coordinate systems OL and OR, assume that there is a third coordinate system O;
[0111] 3. Initialize M0, M, M1, which are the projections of pw (world coordinate system) to OL, O, and OR respectively, where M0 is the transformation matrix from the world coordinate system to the camera coordinate system in the left camera OL coordinate system; M1 is the transformation matrix from the world coordinate system to the camera coordinate system in the right camera OR coordinate system; M is also the transformation matrix from the world coordinate system to the camera coordinate system (the middle one). The camera coordinate system (the middle one) is an imaginary coordinate system, which is actually an intermediate result of M0 and M1 when performing related calculations.
[0112] 4. At the same time, the data of coordinate system O is transformed to OL and OR through rotation and translation respectively;
[0113] 5. For the updated M0 and M1, re-project pw to the OL and OR coordinate systems, and use the Newton iteration method to update the relevant parameters;
[0114] The relevant parameters of 6 and 5 include R0 (rotation from coordinate system O to the left camera), R1 (rotation from coordinate system O to the right camera), focal length and optical center coordinates of the left and right lenses.
[0115] The joint calibration process is:
[0116] 1. Extract the corner points of the left and right chessboard images, and mark the rows and columns where each corner point is located, so that the left and right chessboard corner points correspond one to one;
[0117] 2. Calibration: Get calibration parameters;
[0118] 3. Correction: transform the left and right images to be corrected to the OL and OR cameras respectively to obtain three-dimensional data, and obtain the coplanar and row-aligned OL and OR mathematical camera coordinate systems through the inverse transformation of R0 and R1.
[0119] The present invention uses a test experiment to count the four corner points (A, B, C, D) of the left and right corrected images, and compares the four corner points. The average row error of the four corner points is 0.5 pixels. The binocular joint correction algorithm used in the present invention can improve accuracy.
[0120] Step S7: If there is a face, determine whether the face is a registered face;
[0121] Step S8: If not, the face is sent to the mobile terminal to enable the user to trigger a corresponding operation instruction.
[0122] Step S9: If yes, trigger the preset operation instruction.
[0123] In this embodiment, if a face is detected, it is further determined whether the face is a face that has been registered by the user before. If the face is not a face that has been registered by the user before, the face is sent to the mobile terminal to let the user confirm whether to trigger a corresponding operation instruction, such as sending a door opening instruction to the user's access control system through the mobile terminal; or triggering an alarm operation after the user confirms that the face is a stranger. If the face is a face that has been registered by the user before, the door opening instruction is directly sent to the user's access control system.
[0124] The present invention also provides a monitoring device, the monitoring device comprising a memory, a processor and an anti-theft program stored in the memory and capable of running on the processor;
[0125] The anti-theft program implements the steps of the method described above when executed by the processor.
[0126] The present invention also provides a security system, which includes a mobile terminal and the monitoring device as described above.
[0127] The present invention also provides a computer-readable storage medium, on which an anti-theft program is stored. When the anti-theft program is executed by a processor, the steps of the anti-theft method described above are implemented.
[0128] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0129] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0130] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, including a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
Claims
1. A theft prevention method, characterized in that: The anti-theft method comprises: The monitoring device obtains each frame of image captured by the camera; Calculate the mean and variance of each point in each frame of the image within a predetermined time as a background model, and determine the moving object based on the background model; Calculating the distance between the moving object and the camera; When the distance reaches a preset warning distance, the image of the moving object is sent to a mobile terminal so that the user can issue an alarm instruction to the monitoring device; The camera is a binocular infrared camera; Before the step of calculating the distance between the moving object and the camera, the step further includes: When it is determined that there is a moving object, face recognition is performed to determine whether there is a face; If there is no human face, the left image and the right image acquired by the binocular infrared camera are corrected; The background model is a single distribution Gaussian background model; After the step of performing face recognition and judging whether a face exists when determining that a moving object exists, the following steps are further included: If there is a face, determine whether the face is a registered face; If not, the face is sent to the mobile terminal to enable the user to trigger a corresponding operation instruction; If there is a face, the step of determining whether the face is a registered face further includes: If so, the preset operation instruction is triggered; The correction process is binocular joint correction.
2. A monitoring device, characterized in that: The monitoring device includes a memory, a processor, and an anti-theft program stored in the memory and operable on the processor; When the anti-theft program is executed by the processor, the steps of the method according to claim 1 are implemented.
3. A security system, characterized in that: The security system comprises a mobile terminal and the monitoring device as claimed in claim 2.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an anti-theft program, and when the anti-theft program is executed by the processor, the steps of the anti-theft method according to claim 1 are implemented.
Citation Information
Patent Citations
Door control system and access monitoring method
CN104464066A
Method for preventing surveillance camera from stolen and providing alarm function
CN107967778A
Method and device for detecting moving object
CN108629254A
Electronic peephole
CN204754706U
Theftproof alarming monitoring picture recording LCD TV
CN207612354U
