Outdoor camera fault detection method, device and system
By detecting the image and rotation calibration values of the camera, generating a fault signal and transmitting it through wireless communication, the problem of outdoor camera image and rotation fault detection is solved, reducing cost and power consumption and improving detection efficiency.
Patent Information
- Application Number
- CN202210108721.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-28
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2042-01-28
AI Technical Summary
The prior art is difficult to detect image failures and rotation failures installed on outdoor cameras simultaneously, resulting in high cost, difficult, time-consuming and labor-intensive, and traditional solutions cannot effectively detect the rotation state of the camera.
By converting the image data obtained by the camera into a standard image, the image calibration value is calculated, and the fault signal is generated by comparing it with the initial calibration value; at the same time, infrared rays are emitted to the camera around it, the camera is controlled to rotate, and the rotation calibration value is obtained through the received infrared rays, and the rotation is determined by judging the rotation Fault signal, the fault signal is transmitted using CAT.1 cellular wireless communication protocol.
The ability to detect camera images and rotation faults simultaneously is realized, reducing detection costs, improving response speed, avoiding repeated wiring problems, and reducing device power consumption.
Smart Images

Figure CN114584759B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of camera equipment, and in particular to an outdoor camera fault detection method, an outdoor camera fault detection device and an outdoor camera fault detection system. Background Art
[0002] There are many cameras installed outdoors. If one of them fails, it is often necessary to manually check them one by one, which is costly, difficult, time-consuming and labor-intensive. In addition, traditional solutions can only detect image failures. For outdoor cameras, it is also necessary to detect whether the rotation itself is faulty.
[0003] Therefore, how to simultaneously detect image failures and rotation failures of cameras installed outdoors is an urgent problem to be solved. Summary of the invention
[0004] The present invention provides an outdoor camera fault detection method, device and system, which can achieve the effect of simultaneously detecting image faults and rotation faults of a camera installed outdoors.
[0005] In a first aspect, an embodiment of the present invention provides an outdoor camera fault detection method, the outdoor camera fault detection method comprising:
[0006] Convert the current image data acquired by the camera into the standard image required for calibration;
[0007] Obtain the current image calibration value according to the standard image;
[0008] Determine whether the difference between the current image calibration value and the initial image calibration value is within a preset range, where the initial image calibration value is obtained based on data collected by the camera within a preset time;
[0009] When the difference between the current image calibration value and the initial image calibration value does not fall within a first preset range, a first fault signal is generated;
[0010] Infrared rays are emitted around the camera to control the camera's rotation, and the camera's current rotation calibration value is obtained through the received infrared rays;
[0011] Determine whether the difference between the current rotation calibration value and the initial rotation calibration value is within a preset range, the initial rotation calibration value being obtained based on data collected by the camera within a preset time;
[0012] When the difference between the current rotation calibration value and the initial rotation calibration value does not fall within a second preset range, generating a second fault signal;
[0013] The first fault signal and / or the second fault signal is sent to a remote device.
[0014] In a second aspect, an embodiment of the present invention provides an outdoor camera fault detection device, the outdoor camera fault detection device comprising:
[0015] Image acquisition module: used to convert the current image data acquired by the camera into the standard image required for calibration;
[0016] Image calibration module: used to obtain the current image calibration value based on the standard image;
[0017] Image detection module: used to determine whether the difference between the current image calibration value and the initial image calibration value belongs to a preset range, the initial image calibration value is obtained according to the data collected by the camera within a preset time; when the difference between the current image calibration value and the initial image calibration value does not belong to the first preset range, a first fault signal is generated;
[0018] Rotation calibration module: used to transmit infrared rays around the camera and control the rotation of the camera, and obtain the current rotation calibration value of the camera through the received infrared rays;
[0019] Rotation judgment module: used to judge whether the difference between the current rotation calibration value and the initial rotation calibration value belongs to a preset range, and the initial rotation calibration value is obtained according to the data collected by the camera within a preset time; when the difference between the current rotation calibration value and the initial rotation calibration value does not belong to a second preset range, a second fault signal is generated;
[0020] Fault signal transmission module: used to send the first fault signal and / or the second fault signal to the remote device.
[0021] In a third aspect, an embodiment of the present invention provides an outdoor camera fault detection system, the outdoor camera fault detection system comprising:
[0022] A camera for acquiring image data; and
[0023] The above-mentioned outdoor camera fault detection device.
[0024] The above-mentioned outdoor camera fault detection method, device and system, by setting the initial image calibration value, judges the current image acquired by the camera, thereby obtaining whether the camera's current function of acquiring graphics is normal; by setting the initial rotation calibration value, infrared rays are used to obtain the current rotation state of the camera, thereby determining whether the current rotation function of the camera is normal. Not only can image problems be detected, but also whether the rotation of the outdoor camera is faulty. Furthermore, this solution uses the CAT.1 cellular wireless communication protocol to transmit fault signals and corresponding detection signals, avoiding the problem of repeated wiring, improving the system response speed, reducing the power consumption of the device, and reducing the detection cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without creative work.
[0026] Figure 1 This is a flow chart of the outdoor camera fault detection method provided in the first embodiment of the present invention.
[0027] Figure 2 A sub-flow chart of the outdoor camera fault detection method provided in the first embodiment of the present invention.
[0028] Figure 3 A sub-flow chart of the outdoor camera fault detection method provided in the second embodiment of the present invention.
[0029] Figure 4 A sub-flow chart of the outdoor camera fault detection method provided in the third embodiment of the present invention.
[0030] Figure 5 A schematic diagram of the internal structure of an outdoor camera fault detection device provided in the first embodiment of the present invention.
[0031] Figure 6 A schematic diagram of the structure of an outdoor camera fault detection system provided in the first embodiment of the present invention.
[0032] Figure 7 A schematic diagram of the structure of an outdoor camera fault detection system provided in the second embodiment of the present invention.
[0033] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. 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.
[0035] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0036] It should be noted that the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0037] Please refer to Figure 1 , which is a flow chart of the outdoor camera fault detection method provided by an embodiment of the present invention. Among them, the outdoor camera fault detection method provided by an embodiment of the present invention specifically includes the following steps.
[0038] Step S101, converting the current image data acquired by the camera into a standard image required for calibration. In this embodiment, when detecting whether the image acquisition function of the camera is accurate, the current image acquired by the camera is obtained, and the current image is converted into a standard image according to a preset image conversion rule. The standard image can be a picture of a specified size. Specifically, the camera can perform image function detection according to a preset time period. In other feasible embodiments, the camera can also perform image detection according to a temporarily received detection instruction.
[0039] Step S102, obtain the current image calibration value according to the standard image. Decompose the standard image into three primary colors: red, green, and blue, and calculate the current calibration value obtained according to the three primary colors: red, green, and blue. For details, please refer to steps S1021-S1022.
[0040] Step S103, it is determined whether the difference between the current image calibration value and the initial image calibration value is within a preset range, and the initial image calibration value is obtained based on the data collected by the camera within a preset time. In this embodiment, the initial image calibration value is 910 for red, 690 for green, and 560 for blue. In this embodiment, the values are only examples and are not limited. In actual applications, they are set according to actual needs.
[0041] Step S104 : when the difference between the current image calibration value and the initial image calibration value does not belong to a first preset range, a first fault signal is generated.
[0042] Step S105, emitting infrared rays around the camera and controlling the camera to rotate, and obtaining the current rotation calibration value of the camera through the received infrared rays.
[0043] Step S106, determining whether the difference between the current rotation calibration value and the initial rotation calibration value is within a preset range, where the initial rotation calibration value is obtained based on the data collected by the camera within a preset time. Specifically, the camera can detect the rotation function according to a preset time period. In other feasible embodiments, the camera can also detect the rotation according to a temporarily received detection instruction.
[0044] Step S107 , when the difference between the current rotation calibration value and the initial rotation calibration value does not belong to the second preset range, a second fault signal is generated.
[0045] Step S108, sending the first fault signal and / or the second fault signal to the remote device. In this embodiment, the first fault signal and / or the second fault signal are sent to the remote device using a 4G cellular communication network. Specifically, the first fault signal and / or the second fault signal are sent to the remote device using a 4G cellular communication network of Cat.1 level.
[0046] The above-mentioned outdoor camera fault detection method sets the initial image calibration value to judge the current image acquired by the camera, thereby obtaining whether the camera's current function of acquiring graphics is normal; sets the initial rotation calibration value to obtain the current rotation state of the camera using infrared rays, thereby determining whether the current rotation function of the camera is normal. Not only can it detect image problems, but it can also detect whether the rotation of the outdoor camera is faulty. Furthermore, this solution uses the CAT.1 cellular wireless communication protocol to transmit fault signals and corresponding detection signals, avoiding the problem of repeated wiring, improving the system response speed, reducing the power consumption of the device, and reducing the detection cost.
[0047] Please refer to Figure 2 , which is a sub-step flow chart of step S102 provided in an embodiment of the present invention. Step S102, obtaining a current image calibration value according to a standard image, specifically includes the following steps.
[0048] Step S1021, converting the standard image into red, green and blue data.
[0049] Step S1022, obtaining the current image calibration value according to the red, green and blue data.
[0050] Please refer to Figure 3 , which is a flow chart of the outdoor camera fault detection method provided by the second embodiment of the present invention. The difference between the outdoor camera fault detection method provided by the second embodiment and the outdoor camera fault detection method provided by the first embodiment is that the initial image calibration value is obtained based on the data collected within the preset time of the camera. The outdoor camera fault detection method provided by the second embodiment, wherein obtaining the initial image calibration value also includes the following steps.
[0051] Step S501, determining whether the current time is within a preset time range.
[0052] Step S502, when the current time belongs to a preset time range, an initial image calibration value is obtained according to the image data collected by the camera within the preset time.
[0053] Please refer to Figure 4 , which is a flow chart of the outdoor camera fault detection method provided by the third embodiment of the present invention. The difference between the outdoor camera fault detection method provided by the second embodiment and the outdoor camera fault detection method provided by the first embodiment is that the initial rotation calibration value is obtained based on the data collected within the preset time of the camera. The outdoor camera fault detection method provided by the second embodiment, wherein obtaining the initial rotation calibration value also includes the following steps.
[0054] Step S601, determining whether the current time is within a preset time range.
[0055] Step S602, when the current time belongs to the preset time range, infrared rays are emitted around the camera.
[0056] The preset camera rotation instruction is obtained, where the rotation instruction includes the camera rotation period and the camera rotation angle.
[0057] Step S603, obtaining reflected infrared rays obtained according to the rotation of the camera.
[0058] Step S604, obtaining the initial rotation calibration value of the camera according to the reflected infrared rays.
[0059] The difference between the outdoor camera fault detection method provided by the fourth embodiment and the outdoor camera fault detection method provided by the first embodiment is that before emitting infrared rays around the camera and controlling the rotation of the camera, it also includes: obtaining a preset camera rotation instruction, and the rotation instruction includes the camera rotation period and the camera rotation angle.
[0060] The difference between the outdoor camera fault detection method provided by the fifth embodiment and the outdoor camera fault detection method provided by the first embodiment lies in obtaining the fault detection instruction sent by the remote device using the Cat.1 level 4G cellular communication network.
[0061] In this embodiment, the Cat.1 level 4G cellular communication network has the advantages of fast transmission and low cost for small data, and can quickly transmit detection instructions or fault information to remote settings, facilitating rapid detection of outdoor cameras.
[0062] The present invention also provides an outdoor camera fault detection device 100, please refer to Figure 5 The outdoor camera fault detection device 100 includes: an image acquisition module 110, an image calibration module 120, an image detection module 130, a rotation calibration module 140, a rotation judgment module 150, a rotation judgment module 160 and a fault signal transmission module 170.
[0063] The image acquisition module 110 is used to convert the current image data acquired by the camera into a standard image required for calibration.
[0064] The image calibration module 120 is used to obtain a current image calibration value according to a standard image.
[0065] The image detection module 130 is used to determine whether the difference between the current image calibration value and the initial image calibration value is within a preset range, and the initial image calibration value is obtained based on the data collected by the camera within a preset time. When the difference between the current image calibration value and the initial image calibration value does not belong to the first preset range, a first fault signal is generated.
[0066] The rotation calibration module 140 is used to emit infrared rays around the camera and control the rotation of the camera, and obtain the current rotation calibration value of the camera through the received infrared rays.
[0067] The rotation determination module 150 is used to determine whether the difference between the current rotation calibration value and the initial rotation calibration value is within a preset range, and the initial rotation calibration value is obtained based on the data collected by the camera within a preset time.
[0068] When the difference between the current rotation calibration value and the initial rotation calibration value does not belong to the second preset range, a second fault signal is generated.
[0069] The fault signal transmitting module 160 is used to send the first fault signal and / or the second fault signal to a remote device.
[0070] In the above embodiment, the outdoor camera fault detection device can avoid the problem of large number of cameras. If one of them fails, it is often necessary to manually check them one by one, which is costly, difficult, time-consuming and labor-intensive. It can achieve response speed and reduce device power consumption, thereby reducing the effect of detection cost.
[0071] The present invention also provides an outdoor camera fault detection system 200, which includes a camera 210 and an outdoor camera fault detection device 100. The camera 210 is used to acquire image data. The outdoor camera fault detection device 100 is used to detect whether the image acquisition function and the rotation function of the camera are normal.
[0072] In some feasible embodiments, please refer to Figure 6 The camera 210 and the outdoor camera fault detection device 100 in the outdoor camera fault detection system 200 may be connected via a cable.
[0073] In some other feasible embodiments, please refer to Figure 7 In the outdoor camera fault detection system 200 , the camera 210 and the outdoor camera fault detection device 100 are directly assembled into one.
[0074] In the above embodiment, the outdoor camera fault detection system can avoid the problem of a large number of cameras. If one of them fails, it often needs to be manually checked one by one, which is costly, difficult, time-consuming and labor-intensive. It can achieve faster response and reduce the power consumption of the device, thereby reducing the effect of detection cost.
[0075] The present invention also provides a computer-readable storage medium. The computer-readable storage medium may be a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape, an optical medium, such as a DVD, or a semiconductor medium, such as a solid-state disk (SSD). The computer-readable storage medium may also be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), or other media that can store program instructions.
[0076] The computer-readable storage medium stores program instructions of the outdoor camera fault detection method that can be loaded and executed by the processor. When the program instructions are loaded and executed on the device, the process or function according to the embodiment of the present invention is generated in whole or in part. The device can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Since the computer-readable storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be repeated here.
[0077] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the outdoor camera fault detection method embodiment described above is only schematic. For example, the division of the unit is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0078] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0079] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0080] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer-readable storage medium, including a number of instructions for a computer device, such as a personal computer, a server or a network device, to perform all or part of the steps of the methods of various embodiments of the present invention.
[0081] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0082] The above examples are only preferred embodiments of the present invention, and certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims
1. A method for detecting outdoor camera faults, characterized in that: The outdoor camera fault detection method comprises: Convert the current image data acquired by the camera into the standard image required for calibration; Obtaining a current image calibration value according to the standard image, specifically comprising: converting the standard image into red, green and blue data; obtaining the current image calibration value according to the red, green and blue data; Determining whether the difference between the current image calibration value and the initial image calibration value is within a preset range, wherein the initial image calibration value is obtained according to data collected by the camera within a preset time, wherein obtaining the initial image calibration value specifically includes: determining whether the current time is within the preset time range; when the current time is within the preset time range, obtaining the initial image calibration value according to the image data collected by the camera within the preset time; When the difference between the current image calibration value and the initial image calibration value does not fall within a first preset range, generating a first fault signal; Transmitting infrared rays around the camera to control the rotation of the camera, and obtaining the current rotation calibration value of the camera through the received infrared rays; Determine whether the difference between the current rotation calibration value and the initial rotation calibration value is within a preset range, the initial rotation calibration value is obtained based on data collected by the camera within a preset time, wherein obtaining the initial rotation calibration value specifically includes: determining whether the current time is within a preset time range; when the current time is within the preset time range, emitting infrared rays around the camera; obtaining a preset rotation instruction of the camera, the rotation instruction including a rotation period of the camera and an angle of rotation of the camera; obtaining reflected infrared rays obtained according to the rotation of the camera; and obtaining the initial rotation calibration value of the camera according to the reflected infrared rays; When the difference between the current rotation calibration value and the initial rotation calibration value does not belong to a second preset range, generating a second fault signal; The first fault signal and / or the second fault signal is sent to a remote device.
2. The outdoor camera fault detection method according to claim 1, characterized in that: The first fault signal and / or the second fault signal are sent to a remote device using a 4G cellular communication network.
3. The outdoor camera fault detection method according to claim 2, characterized in that: The first fault signal and / or the second fault signal is sent to a remote device using a Cat. 1 level 4G cellular communication network.
4. The outdoor camera fault detection method according to claim 1, characterized in that: Before emitting infrared rays around the camera and controlling the camera to rotate, the method further includes: A preset camera rotation instruction is obtained, wherein the camera rotation instruction includes a rotation period of the camera and an angle of rotation of the camera.
5. The outdoor camera fault detection method according to claim 3, characterized in that: Obtain fault detection instructions sent by a remote device using a Cat.1 level 4G cellular communication network.
6. An outdoor camera fault detection device, characterized in that: The outdoor camera fault detection device comprises: Image acquisition module: used to convert the current image data acquired by the camera into the standard image required for calibration; Image calibration module: used to obtain the current image calibration value according to the standard image, specifically including converting the standard image into red, green and blue data; obtaining the current image calibration value according to the red, green and blue data; Image detection module: used to determine whether the difference between the current image calibration value and the initial image calibration value belongs to a preset range, and the initial image calibration value is obtained according to the data collected by the camera within a preset time; when the difference between the current image calibration value and the initial image calibration value does not belong to the first preset range, a first fault signal is generated, wherein obtaining the initial image calibration value specifically includes: determining whether the current time belongs to the preset time range; when the current time belongs to the preset time range, obtaining the initial image calibration value according to the image data collected by the camera within the preset time; Rotation calibration module: used for emitting infrared rays around the camera and controlling the rotation of the camera, and obtaining the current rotation calibration value of the camera through the received infrared rays; Rotation judgment module: used to judge whether the difference between the current rotation calibration value and the initial rotation calibration value belongs to a preset range, and the initial rotation calibration value is obtained according to the data collected within the preset time of the camera; when the difference between the current rotation calibration value and the initial rotation calibration value does not belong to the second preset range, a second fault signal is generated, wherein obtaining the initial rotation calibration value specifically includes: judging whether the current time belongs to the preset time range; when the current time belongs to the preset time range, emitting infrared rays around the camera; obtaining a preset rotation instruction of the camera, the rotation instruction includes the rotation period of the camera and the rotation angle of the camera; obtaining reflected infrared rays obtained according to the rotation of the camera; obtaining the initial rotation calibration value of the camera according to the reflected infrared rays; Fault signal transmitting module: used for transmitting the first fault signal and / or the second fault signal to a remote device.
7. An outdoor camera fault detection system, characterized in that: The outdoor camera fault detection system comprises: A camera for acquiring image data; and The outdoor camera fault detection device as described in claim 6.
Citation Information
Patent Citations
Camera fault determination method, device and computer readable storage medium
CN108650503A
Holder fault detection method and device, computer equipment and storage medium
CN111381579A
