Road monitoring device and method
Technical Field
The invention relates to the field of road monitoring, in particular to a road monitoring device and method.
Background
At present, high-definition visible light industrial cameras are mostly adopted in the field of road violation photographing for monitoring and capturing. And an additional light source is added at night to supplement light for the vehicle so as to obtain a clearer photographing effect. The monitoring system can clearly shoot the driving state of the driver through the vehicle window under the ideal condition, for example, illegal behaviors such as no safety belt fastening, call receiving and making and the like are found.
However, in sunny days, the photographing effect is often not ideal. At present, a lot of vehicles in China are pasted with solar films on front windshields, the pasting films have strong light reflecting capacity, and can protect drivers to a certain extent and reflect sunlight when the sunlight is sufficient in the daytime. But as such, such sheeting also creates a significant problem for taking pictures of traffic violations. Because the window is too bright, an ordinary visible light camera is difficult to shoot the inside scene of the vehicle clearly through the window, and illegal behaviors in the driving process of the vehicle cannot be found.
Aiming at the problem that strong ambient light reflection influences the imaging quality of a road monitoring device in the related art, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a road monitoring device and a method, which at least solve the technical problem that strong ambient light reflection influences the imaging quality of the road monitoring device in the related technology.
According to an aspect of an embodiment of the present invention, there is provided a road monitoring apparatus including: the infrared camera is used for acquiring a first image of the interior of a vehicle running on a road; a visible light camera for acquiring a second image of the exterior of the vehicle; the infrared camera and the visible light camera work simultaneously, and the optical axis of the infrared camera is perpendicular to the optical axis of the visible light camera.
Further, the apparatus further comprises: the light inlet hole is arranged opposite to the infrared camera and is used for transmitting infrared radiation and visible light; and the infrared filter is arranged between the light inlet hole and the infrared camera, is arranged opposite to the visible light camera, and is used for transmitting infrared radiation to the infrared camera and reflecting visible light to the visible light camera.
Further, the angle between the infrared filter and the optical axis of the infrared camera is 45 °.
Further, the wavelength of the infrared filter is 600-1400 nm.
Further, the infrared camera is a passive infrared camera.
Further, the apparatus further comprises: and the control circuit is connected with the infrared camera and the visible light camera and is used for controlling the infrared camera and the visible light camera to work simultaneously.
Further, the apparatus further comprises: and the balance weight is used for adjusting the gravity center of the device.
According to another aspect of the embodiments of the present invention, there is also provided a road monitoring method, including: acquiring a first image of the interior of a vehicle running on a road, which is acquired by an infrared camera, and acquiring a second image of the exterior of the vehicle, which is acquired by a visible light camera; obtaining a driving state of a driver of the vehicle based on the first image and the second image; the optical axis of the infrared camera is perpendicular to the optical axis of the visible light camera.
According to another aspect of the embodiments of the present invention, there is also provided a road monitoring apparatus, including: the infrared camera is used for acquiring a first image of the interior of a vehicle running on a road; a visible light camera for acquiring a second image of the exterior of the vehicle; a processor that runs a program, wherein the program runs to perform the following processing steps for data output from the infrared camera and the visible light camera: obtaining a driving state of a driver of the vehicle based on the first image and the second image; the infrared camera and the visible light camera work simultaneously, and the optical axis of the infrared camera is perpendicular to the optical axis of the visible light camera.
According to another aspect of the embodiments of the present invention, there is also provided a road monitoring apparatus, including: the infrared camera is used for acquiring a first image of the interior of a vehicle running on a road; a visible light camera for acquiring a second image of the exterior of the vehicle; a storage medium for storing a program, wherein the program performs the following processing steps on data output from the infrared camera and the visible light camera when executed: obtaining a driving state of a driver of the vehicle based on the first image and the second image; the infrared camera and the visible light camera work simultaneously, and the optical axis of the infrared camera is perpendicular to the optical axis of the visible light camera.
In the embodiment of the invention, the road monitoring device can comprise an infrared camera and a visible light camera, images inside the vehicle are shot through the infrared camera, and images outside the vehicle are shot through the visible light camera, so that the vehicles violating the road can be found in time by combining video signals of the two cameras.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic view of a road monitoring device according to an embodiment of the present invention;
FIG. 2 is a schematic view of an alternative roadway monitoring device according to an embodiment of the present invention;
FIG. 3 is a flow chart of a road monitoring method according to an embodiment of the invention; and
fig. 4 is a flow chart of an alternative road monitoring method according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, a road monitoring device is provided. The road monitoring device is mainly used for monitoring road violation.
Fig. 1 is a schematic view of a road monitoring apparatus according to an embodiment of the present invention, as shown in fig. 1, the apparatus including: an infrared camera 10 and a visible light camera 20.
The infrared camera is used for acquiring a first image of the interior of a vehicle running on a road; the visible light camera is used for acquiring a second image outside the vehicle; the infrared camera and the visible light camera work simultaneously, and the optical axis of the infrared camera is perpendicular to the optical axis of the visible light camera.
Optionally, the infrared camera is a passive infrared camera. According to the imaging principle of the infrared camera, the infrared camera can convert the infrared radiation naturally emitted by an object into an infrared image visible to people. In nature, any object will continuously radiate energy outward as long as its temperature is above absolute zero. Due to the fact that the difference between the temperature of the human body and the temperature of other objects around the human body is large, the behavior of a driver in the vehicle can be observed clearly by utilizing the characteristic. Therefore, the infrared camera is not influenced by the brightness of the outside visible light, and the task of shooting the interior scene of the vehicle through the vehicle window is always completed. Thus, the road monitoring device may comprise an infrared camera for capturing images of the interior of the vehicle.
However, since the infrared camera cannot obtain the license plate information of the vehicle, the road monitoring device further includes a visible light camera, which is mainly used to photograph the license plate information of the vehicle and can also be used to observe the scene inside the vehicle under the condition of weak reflected light.
In order to allow a visible light camera to capture the same scene as an infrared camera, it is conventional to place the two cameras side by side and bring them as close together as possible. Only at a certain distance can the optical axes of the two cameras be approximately considered to be coincident, and the obtained image contents are basically the same. However, a certain scene difference still exists between the two cameras, and the installation and debugging of the two cameras are very difficult. In this embodiment, the infrared camera may be placed vertically with respect to the visible camera, as shown in fig. 2.
According to the embodiment of the invention, the road monitoring device can comprise the infrared camera and the visible light camera, the infrared camera is used for shooting the image inside the vehicle, and the visible light camera is used for shooting the image outside the vehicle, so that the vehicle violating the road can be timely found by combining the video signals of the two cameras.
Optionally, in the above embodiment of the present invention, as shown in fig. 1, the apparatus further includes: a light entrance aperture 30 and an infrared filter 40.
The light inlet hole is arranged opposite to the infrared camera and is used for transmitting infrared radiation and visible light; the infrared filter is arranged between the light inlet hole and the infrared camera, is arranged opposite to the visible light camera, and is used for transmitting infrared radiation to the infrared camera and reflecting visible light to the visible light camera.
Optionally, the infrared filter is at an angle of 45 ° to the optical axis of the infrared camera. In this embodiment, the wavelength of the infrared filter is 600-1400 nm.
In this embodiment, the infrared filter transmits infrared radiation, and the visible light is totally reflected and does not transmit. Because the infrared camera and the visible light camera are vertically arranged, as shown in fig. 2, the infrared camera can be directly opposite to the light inlet hole, and the infrared filter and the two cameras are arranged at an included angle of 45 degrees. Light enters the device from the light inlet, and is divided into infrared radiation and visible light by the infrared filter. Infrared radiation enters the infrared camera through the infrared filter, and reflected light enters the visible camera.
Optionally, in the above embodiment of the present invention, the apparatus further includes: and the control circuit is connected with the infrared camera and the visible light camera and is used for controlling the infrared camera and the visible light camera to work simultaneously.
In this embodiment, in order to make the infrared camera and the visible light camera work well together, it is necessary to provide corresponding auxiliary circuits for the infrared camera and the visible light camera.
Optionally, in the above embodiment of the present invention, the apparatus further includes: and the balance weight is used for adjusting the gravity center of the device.
In this embodiment, in order to make the device more firm and stable, the center of gravity of the device needs to be adjusted to the centroid, and therefore, a counterweight object adjusting device needs to be added appropriately to make the center of gravity coincide with the centroid.
Example 2
In accordance with an embodiment of the present invention, there is provided a road monitoring method, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 3 is a flow chart of a road monitoring method according to an embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step S302, a first image of the interior of a vehicle running on a road, which is acquired by an infrared camera, is acquired, and a second image of the exterior of the vehicle, which is acquired by a visible light camera, is acquired at the same time.
In step S304, the driving state of the driver of the vehicle is obtained based on the first image and the second image.
In this embodiment, the driving state may refer to whether the driver has a violation, for example, whether the driver is not wearing a seat belt, whether the driver makes a call, or the like.
The optical axis of the infrared camera is perpendicular to the optical axis of the visible light camera.
The method provided in this embodiment may be implemented by the road monitoring device provided in embodiment 1 above. In an alternative embodiment, as shown in fig. 4, visible light and infrared radiation enter the device through the light inlet simultaneously, and the dual light passes through the infrared filter to realize field matching, wherein the infrared radiation passes through the filter and the visible light is reflected by the filter. The infrared radiation enters the infrared camera after penetrating through the optical filter, so that the infrared camera obtains the information in the car window; the visible light enters the visible light camera after being reflected by the optical filter, so that the visible light camera obtains the vehicle license plate information. Through combining the information of infrared camera and visible light camera to the complete information acquisition of vehicle is accomplished, can in time discover the road vehicle violating the regulations, and information is complete, and the evidence is clear.
According to the embodiment of the invention, the road monitoring device can comprise the infrared camera and the visible light camera, the infrared camera is used for shooting the image inside the vehicle, and the visible light camera is used for shooting the image outside the vehicle, so that the vehicle violating the road can be timely found by combining the video signals of the two cameras.
Example 3
According to an embodiment of the present invention, a road monitoring device is provided. The device includes:
the infrared camera is used for acquiring a first image of the interior of a vehicle running on a road.
A visible light camera for capturing a second image of the exterior of the vehicle.
A processor that runs a program, wherein the program runs to perform the following processing steps for data output from the infrared camera and the visible light camera: obtaining a driving state of a driver of the vehicle based on the first image and the second image; the infrared camera and the visible light camera work simultaneously, and the optical axis of the infrared camera is perpendicular to the optical axis of the visible light camera.
Example 4
According to an embodiment of the present invention, a road monitoring device is provided. The device includes:
the infrared camera is used for acquiring a first image of the interior of a vehicle running on a road.
A visible light camera for capturing a second image of the exterior of the vehicle.
A storage medium for storing a program, wherein the program performs the following processing steps on data output from the infrared camera and the visible light camera when executed: obtaining a driving state of a driver of the vehicle based on the first image and the second image; the infrared camera and the visible light camera work simultaneously, and the optical axis of the infrared camera is perpendicular to the optical axis of the visible light camera.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.