Vehicle snapshot method and device and storage medium
The vehicle capture device integrates cameras and sensors to generate a unique code for vehicles, improving collaboration and reducing installation complexity while ensuring consistent capture and easy data management.
Patent Information
- Application Number
- CN202411190946.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-20
AI Technical Summary
Existing vehicle tracking systems face challenges in ensuring collaborative working between multiple cameras, leading to difficulties in data integration and inefficient vehicle capture due to separate installations.
A vehicle capture device with integrated modules, including cameras and sensors, that generate a unique code for vehicles entering a designated area, allowing synchronized image capture and tracking, and optional inclusion of a storage module for data management.
Enhances camera collaboration, reduces installation complexity and cost, ensures consistent vehicle capture, and facilitates easy data integration and retrieval, with optional features for violation detection and enhanced monitoring.
Smart Images

Figure CN119169830A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of public security, transportation, emergency and other monitoring technologies, and in particular to a vehicle capture method, device and storage medium. Background Art
[0002] With the development of intelligent transportation systems, using cameras to track and capture vehicles has become an important means of traffic management.
[0003] Existing technologies usually use separate cameras to achieve different shooting requirements from different perspectives. A common practice is to install multiple independent cameras to capture panoramic images, front license plate images, and side windows. Due to the weak collaborative working ability between the cameras, it is difficult to ensure that different cameras capture the same vehicle, making data integration difficult. Summary of the invention
[0004] In order to solve the above problems in the prior art, the present invention proposes a vehicle capture method, device and storage medium, which improve the collaborative working ability between cameras.
[0005] In a first aspect of the present invention, a vehicle capture device is provided, the device comprising:
[0006] The first camera has a shooting angle covering a preset vehicle front license plate photo taking area within a specified road section;
[0007] The second camera has a shooting angle covering a preset through-window photo taking area within the designated road section;
[0008] A vehicle detection module, configured to detect whether there is a new vehicle entering the designated road section;
[0009] The vehicle tracking module is configured to: when a new vehicle enters the designated road section, generate a unique code UID for the new vehicle and track the position change of the new vehicle;
[0010] The vehicle front photo shooting module is configured to: when the newly-entered vehicle enters the preset vehicle front license plate photo shooting area, control the first camera to shoot the vehicle front photo of the newly-entered vehicle, and embed the unique code UID in the vehicle front photo;
[0011] The through-window photo shooting module is configured to: when the newly-entered vehicle enters the preset through-window photo shooting area, control the second camera to shoot a through-window photo of the newly-entered vehicle, and embed the unique code UID in the through-window photo.
[0012] Optionally, the device further comprises:
[0013] A third camera, whose shooting angle covers the designated road section;
[0014] a panoramic shooting module, configured to control the third camera to shoot a panoramic image within the designated road section at a preset time interval;
[0015] The vehicle detection module is specifically configured to detect whether there is a new vehicle entering the designated road section according to the panoramic image;
[0016] The vehicle tracking module is specifically configured as follows: when a new vehicle enters the designated road section, a unique code UID is generated for the new vehicle, and the position change of the new vehicle is tracked according to the panoramic image.
[0017] Optionally, the device further comprises:
[0018] Infrared thermal imager, microwave radar or laser radar, the scanning range covers the designated road section;
[0019] The vehicle detection module is specifically configured to use the infrared thermal imager, the microwave radar or the laser radar to detect whether there is a new vehicle entering the designated road section;
[0020] The vehicle tracking module is specifically configured as follows: when a new vehicle enters the designated road section, a unique code UID is generated for the new vehicle, and the position change of the new vehicle is tracked by using the infrared thermal imager, the microwave radar or the laser radar.
[0021] Preferably, the device further comprises:
[0022] The storage module is configured to store the vehicle front photo and the window photo into a database.
[0023] Preferably, the device further comprises:
[0024] a photo recognition module, configured to read the through-the-window photo and the front-of-the-vehicle photo from the database according to the unique code UID, and perform through-the-window detection and license plate number detection respectively, and store the detection results in the database;
[0025] The results of the through-window detection include: the number of passengers, whether the driver is on the phone, and / or whether the passengers in the vehicle are wearing seat belts.
[0026] Preferably, the device further comprises:
[0027] The fourth camera has a shooting angle covering a preset rear license plate photo taking area in the designated road section;
[0028] The rear photo shooting module is configured to: when the newly entered vehicle enters the preset rear license plate photo shooting area, control the fourth camera to shoot a rear photo of the newly entered vehicle, and embed the unique code UID in the rear photo;
[0029] The storage module is also configured to store the rear-end photo into the database;
[0030] The photo recognition module is also configured to detect the license plate number based on the corresponding rear photo when the license plate number is not detected in the front photo.
[0031] A second aspect of the present invention further provides a vehicle capture method, the method comprising:
[0032] Detect whether there are new vehicles entering the specified road section;
[0033] When a new vehicle enters the designated road section, a unique code UID is generated for the new vehicle, and the position change of the new vehicle is tracked;
[0034] When the newly entered vehicle enters the preset vehicle front license plate photo taking area, the first camera is controlled to take a front photo of the newly entered vehicle, and the unique code UID is embedded in the front photo;
[0035] When the newly-entered vehicle enters the preset through-window photographing area, the second camera is controlled to take a through-window photograph of the newly-entered vehicle, and the unique code UID is embedded in the through-window photograph.
[0036] Optionally, before “detecting whether there is a new vehicle entering the designated road section”, the method further includes:
[0037] Controlling the third camera to capture a panoramic image within the designated road section at a preset time interval;
[0038] The step of “detecting whether there is a new vehicle entering the designated road section” includes: detecting whether there is a new vehicle entering the designated road section according to the panoramic image;
[0039] The step of "tracking the position change of the newly-entered vehicle" includes: tracking the position change of the newly-entered vehicle according to the panoramic image.
[0040] Optionally, the step of “detecting whether there is a new vehicle entering the designated road section” includes: detecting whether there is a new vehicle entering the designated road section using an infrared thermal imager, a microwave radar or a laser radar;
[0041] The step of "tracking the position change of the newly entered vehicle" includes: using the infrared thermal imager, the microwave radar or the laser radar to track the position change of the newly entered vehicle.
[0042] According to a third aspect of the present invention, a computer-readable storage medium is provided, storing a computer program that can be loaded by a processor and execute the method described above.
[0043] The present invention has the following beneficial effects:
[0044] In the vehicle capture device proposed by the present invention, the vehicle detection module and the vehicle tracking module are respectively used to detect and track newly entered vehicles in the designated road section, the front photo shooting module uses a first camera to shoot the front photo of the vehicle, and the through-window photo shooting module uses a second camera to shoot the through-window photo. By arranging the above modules in the same device, not only can complex wiring and installation be avoided, and the cost is reduced, but also the cameras can work better together to ensure that different cameras shoot the same vehicle and there is no data integration problem; in addition, the vehicle tracking module will also generate a unique coded UID for the newly entered vehicle, so that the unique coded UID can be embedded in both the front photo and the through-window photo, making subsequent storage and retrieval very convenient.
[0045] For the vehicle detection module and the vehicle tracking module, the present invention provides several optional implementations, which are respectively implemented by means of a third camera, an infrared thermal imager or a radar.
[0046] The capture device of the present invention may also include a storage module and a photo recognition module, so as to save the taken photos and timely identify possible violations in the car.
[0047] The capture device of the present invention may also include a fourth camera and a rear-end photo shooting module for taking a rear-end photo of the vehicle, so that when the license plate number is not detected in the front-end photo, the license plate number can be detected based on the corresponding rear-end photo, thereby enhancing the monitoring effect of the device. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is a main structural diagram of the first embodiment of the vehicle capture device of the present invention;
[0049] Figure 2 It is a main structural diagram of the second embodiment of the vehicle capture device of the present invention;
[0050] Figure 3 It is a schematic diagram of the main structure of the third embodiment of the vehicle capture device of the present invention;
[0051] Figure 4 It is a main structural diagram of a fourth embodiment of a vehicle capture device in the present invention;
[0052] Figure 5 It is a main structural diagram of a fifth embodiment of a vehicle capture device in the present invention;
[0053] Figure 6 It is a schematic diagram of the main steps of an embodiment of the vehicle capturing method in the present invention. DETAILED DESCRIPTION
[0054] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0056] It should be noted that, in the description of the present invention, the terms "first" and "second" are only for the convenience of description, and do not indicate or imply the relative importance of the devices, elements or parameters, and therefore cannot be understood as limiting the present invention. In addition, the term "and / or" in the present invention is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.
[0057] Figure 1 FIG. 1 is a schematic diagram of the main structure of the first embodiment of the vehicle capture device of the present invention. Figure 1 As shown, the capture device of this embodiment includes: a first camera 101, a second camera 102, a vehicle detection module 103, a vehicle tracking module 104, a front photo shooting module 105 and a through-window photo shooting module 106. The arrow direction in the figure indicates the data flow direction.
[0058] In this embodiment, the shooting angle of the first camera 101 covers a preset front license plate photo taking area within the specified road section; the shooting angle of the second camera 102 covers a preset through-window photo taking area within the specified road section; the vehicle detection module 103 is configured to detect whether there is a new vehicle entering the specified road section; the vehicle tracking module 104 is configured to generate a unique coded UID for the new vehicle when there is a new vehicle entering the specified road section, and track the position change of the new vehicle; the front photo shooting module 105 is configured to control the first camera to take a front photo of the new vehicle when the new vehicle enters the preset front license plate photo taking area, and embed the unique coded UID in the front photo; the through-window photo shooting module 106 is configured to control the second camera to take a through-window photo of the new vehicle when the new vehicle enters the preset through-window photo taking area, and embed the unique coded UID in the through-window photo.
[0059] The vehicle detection module 103 and the vehicle tracking module 104 can monitor the designated road section with the help of a camera, an infrared imager or a radar, so as to detect whether there is a new vehicle entering and track it.
[0060] Figure 2 FIG. 2 is a schematic diagram of the main structure of the second embodiment of the vehicle capture device of the present invention. Figure 2 As shown, in this embodiment, a camera is used to monitor a designated road section. The capture device of this embodiment includes: a first camera 201, a second camera 202, a third camera 203, a panoramic shooting module 204, a vehicle detection module 205, a vehicle tracking module 206, a front photo shooting module 207 and a through-window photo shooting module 208. The direction of the arrows in the figure indicates the data flow direction.
[0061] In this embodiment, the first camera 201, the second camera 202, the front photo shooting module 207 and the through-window photo shooting module 208 correspond to the first camera 101, the second camera 102, the front photo shooting module 105 and the through-window photo shooting module 106 in the above-mentioned embodiment 1, and are not repeated here.
[0062] The shooting angle of the third camera 203 covers the designated road section; the panoramic shooting module 204 is configured to control the third camera 203 to shoot a panoramic image of the designated road section at a preset time interval; the vehicle detection module 205 is configured to detect whether there is a new vehicle entering the designated road section based on the panoramic image; the vehicle tracking module 206 is configured to: when there is a new vehicle entering the designated road section, generate a unique code UID for the new vehicle, and track the position changes of the new vehicle based on the panoramic image.
[0063] Figure 3 FIG. 1 is a schematic diagram of the main structure of the third embodiment of the vehicle capture device of the present invention. Figure 3 As shown, in this embodiment, an infrared thermal imager, a microwave radar or a laser radar is used to monitor a designated road section. The capture device of this embodiment includes: a first camera 301, a second camera 302, an infrared thermal imager or a radar (microwave radar or a laser radar) 303, a vehicle detection module 304, a vehicle tracking module 305, a front photo shooting module 306 and a through-window photo shooting module 307. The direction of the arrows in the figure indicates the data flow direction.
[0064] In this embodiment, the first camera 301, the second camera 302, the front photo shooting module 306 and the through-window photo shooting module 307 correspond to the first camera 101, the second camera 102, the front photo shooting module 105 and the through-window photo shooting module 106 in the above-mentioned embodiment 1, and are not repeated here.
[0065] The scanning range of the infrared thermal imager or radar 303 covers the designated road section; the vehicle detection module 304 is configured to use the infrared thermal imager or radar 303 to detect whether there is a new vehicle entering the designated road section; the vehicle tracking module 305 is configured to generate a unique code UID for the new vehicle when there is a new vehicle entering the designated road section, and use the infrared thermal imager or radar to track the position changes of the new vehicle.
[0066] Figure 4 FIG. 4 is a schematic diagram of the main structure of the vehicle capture device in the fourth embodiment of the present invention. Figure 4 As shown, the capture device of this embodiment includes: a first camera 401, a second camera 402, a third camera 403, a panoramic shooting module 404, a vehicle detection module 405, a vehicle tracking module 406, a front photo shooting module 407, a through-window photo shooting module 408, a storage module 409 and a photo recognition module 410. The direction of the arrows in the figure indicates the data flow.
[0067] In this embodiment, the functions of the first camera 401, the second camera 402, the third camera 403, the panoramic shooting module 404, the vehicle detection module 405, the vehicle tracking module 406, the front photo shooting module 407 and the through-window photo shooting module 408 are the same as those of the first camera 201, the second camera 202, the third camera 203, the panoramic shooting module 204, the vehicle detection module 205, the vehicle tracking module 206, the front photo shooting module 207 and the through-window photo shooting module 208 in the above-mentioned second embodiment, and are not repeated here.
[0068] The storage module 409 is configured to store the front photo and the through-window photo into a database; the photo recognition module 410 is configured to read the through-window photo and the front photo from the database according to the unique code UID, and perform through-window detection and license plate number detection respectively, and store the detection results into the database; the through-window detection results may include: the number of passengers, whether the driver is making a phone call and / or whether the passengers in the car are wearing seat belts, etc.
[0069] Figure 5 FIG. 5 is a schematic diagram of the main structure of the vehicle capture device embodiment 5 of the present invention. Figure 5 As shown, the capture device of this embodiment includes: a first camera 501, a second camera 502, a third camera 503, a fourth camera 504, a panoramic shooting module 505, a vehicle detection module 506, a vehicle tracking module 507, a front photo shooting module 508, a through-window photo shooting module 509, a rear photo shooting module 510, a storage module 511 and a photo recognition module 512. The direction of the arrows in the figure indicates the data flow direction.
[0070] In this embodiment, the first camera 501, the second camera 502, the third camera 503, the panoramic shooting module 505, the vehicle detection module 506, the vehicle tracking module 507, the front photo shooting module 508, the through-window photo shooting module 509, the storage module 511 and the photo recognition module 512 correspond to the first camera 401, the second camera 402, the third camera 403, the panoramic shooting module 404, the vehicle detection module 405, the vehicle tracking module 406, the front photo shooting module 407, the through-window photo shooting module 408, the storage module 409 and the photo recognition module 410 in the above-mentioned fourth embodiment, and are not repeated here.
[0071] The shooting angle of the fourth camera 504 covers the preset rear license plate photo-taking area within the designated road section; the rear photo-taking module 505 is configured as follows: when a newly-entered vehicle enters the preset rear license plate photo-taking area, the fourth camera is controlled to take a rear photo of the newly-entered vehicle, and a uniquely coded UID is embedded in the rear photo; the storage module 511 is configured to store the front photo, the through-window photo and the rear photo in a database; the photo recognition module 512 is configured as follows: according to the uniquely coded UID, the through-window photo and the front photo are read from the database, and through-window detection and license plate number detection are performed respectively; when the license plate number is not detected in the front photo, the license plate number is detected according to the corresponding rear photo; the detection result is stored in the database; the result of the through-window detection may include: the number of passengers, whether the driver is making a phone call and / or whether the passengers in the car are wearing seat belts, etc.
[0072] The vehicle capture device is divided into modules in the present invention only for a better understanding of the functions involved in the technical solution of the present invention. In practice, the functions corresponding to these modules can be loaded and executed by a single or multiple hardware programs.
[0073] Based on the above-mentioned vehicle capturing device, the present invention also provides an embodiment of a vehicle capturing method.
[0074] Figure 6 FIG. 1 is a schematic diagram of the main steps of the vehicle capture method embodiment of the present invention. Figure 6 As shown, the snapshot method of this embodiment includes steps S10-S40:
[0075] Step S10: Detect whether there is a new vehicle entering the designated road section.
[0076] Step S20: When a new vehicle enters the designated road section, a unique code UID is generated for the new vehicle, and the position change of the new vehicle is tracked.
[0077] Step S30: When a newly-entered vehicle enters a preset front license plate photographing area, the first camera is controlled to take a front photo of the newly-entered vehicle, and a unique code UID is embedded in the front photo.
[0078] Step S40: When a newly-entered vehicle enters the preset through-window photographing area, the second camera is controlled to take a through-window photograph of the newly-entered vehicle, and a unique code UID is embedded in the through-window photograph.
[0079] In an optional embodiment, the method further includes step S5:
[0080] Step S5: Control the third camera to capture the panoramic image within the designated road section at a preset time interval.
[0081] Accordingly, in step S10 , it is possible to detect whether there is a new vehicle entering the designated road section based on the captured panoramic image; and in step S20 , it is possible to track the position change of the new vehicle entering the road based on the panoramic image.
[0082] In another optional embodiment, in step S10, an infrared thermal imager, microwave radar or laser radar can be used to detect whether there is a new vehicle entering the designated road section; in step S20, an infrared thermal imager, microwave radar or laser radar can be used to track the position changes of the new vehicle entering.
[0083] Although the various steps in the above embodiment are described in the above-mentioned order, those skilled in the art can understand that in order to achieve the effect of this embodiment, different steps do not have to be executed in such an order. They can be executed simultaneously (in parallel) or in a reverse order. These simple changes are within the scope of protection of the present invention.
[0084] Furthermore, based on the above vehicle capture method, the present invention also provides an embodiment of a computer-readable storage medium. The storage medium of this embodiment stores a computer program that can be loaded by a processor and execute the above method.
[0085] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0086] Those skilled in the art should be able to appreciate that the method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of electronic hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in electronic hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0087] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A vehicle capture device, characterized in that: The device comprises: The first camera has a shooting angle covering a preset vehicle front license plate photo taking area within a specified road section; The second camera has a shooting angle covering a preset through-window photo taking area within the designated road section; A vehicle detection module, configured to detect whether there is a new vehicle entering the designated road section; The vehicle tracking module is configured to: when a new vehicle enters the designated road section, generate a unique code UID for the new vehicle and track the position change of the new vehicle; The vehicle front photo shooting module is configured to: when the newly-entered vehicle enters the preset vehicle front license plate photo shooting area, control the first camera to shoot the vehicle front photo of the newly-entered vehicle, and embed the unique code UID in the vehicle front photo; The through-window photo shooting module is configured to: when the newly-entered vehicle enters the preset through-window photo shooting area, control the second camera to shoot a through-window photo of the newly-entered vehicle, and embed the unique code UID in the through-window photo.
2. The vehicle capture device according to claim 1, characterized in that: The device also includes: A third camera, whose shooting angle covers the designated road section; a panoramic shooting module, configured to control the third camera to shoot a panoramic image within the designated road section at a preset time interval; The vehicle detection module is specifically configured to detect whether there is a new vehicle entering the designated road section according to the panoramic image; The vehicle tracking module is specifically configured as follows: when a new vehicle enters the designated road section, a unique code UID is generated for the new vehicle, and the position change of the new vehicle is tracked according to the panoramic image.
3. The vehicle capture device according to claim 1, characterized in that: The device also includes: Infrared thermal imager, microwave radar or laser radar, the scanning range covers the designated road section; The vehicle detection module is specifically configured to use the infrared thermal imager, the microwave radar or the laser radar to detect whether there is a new vehicle entering the designated road section; The vehicle tracking module is specifically configured as follows: when a new vehicle enters the designated road section, a unique code UID is generated for the new vehicle, and the position change of the new vehicle is tracked by using the infrared thermal imager, the microwave radar or the laser radar.
4. The vehicle capture device according to claim 1, characterized in that: The device also includes: The storage module is configured to store the vehicle front photo and the window photo into a database.
5. The vehicle capture device according to claim 4, characterized in that: The device also includes: a photo recognition module, configured to read the through-the-window photo and the front-of-the-vehicle photo from the database according to the unique code UID, and perform through-the-window detection and license plate number detection respectively, and store the detection results in the database; The results of the through-window detection include: the number of passengers, whether the driver is on the phone, and / or whether the passengers in the vehicle are wearing seat belts.
6. The vehicle capture device according to claim 5, characterized in that: The device also includes: The fourth camera has a shooting angle covering a preset rear license plate photo taking area in the designated road section; The rear photo shooting module is configured to: when the newly entered vehicle enters the preset rear license plate photo shooting area, control the fourth camera to shoot a rear photo of the newly entered vehicle, and embed the unique code UID in the rear photo; The storage module is also configured to store the rear-end photo into the database; The photo recognition module is also configured to detect the license plate number based on the corresponding rear photo when the license plate number is not detected in the front photo.
7. A vehicle capture method, characterized in that: The method comprises: Detect whether there are new vehicles entering the specified road section; When a new vehicle enters the designated road section, a unique code UID is generated for the new vehicle, and the position change of the new vehicle is tracked; When the newly entered vehicle enters the preset vehicle front license plate photo taking area, the first camera is controlled to take a front photo of the newly entered vehicle, and the unique code UID is embedded in the front photo; When the newly-entered vehicle enters the preset through-window photographing area, the second camera is controlled to take a through-window photograph of the newly-entered vehicle, and the unique code UID is embedded in the through-window photograph.
8. The vehicle capture method according to claim 7, characterized in that: Before "detecting whether there is a new vehicle entering the designated road section", the method further includes: Controlling the third camera to capture a panoramic image within the designated road section at a preset time interval; The step of "detecting whether there is a new vehicle entering the designated road section" includes: detecting whether there is a new vehicle entering the designated road section according to the panoramic image; The step of "tracking the position change of the newly entered vehicle" includes: tracking the position change of the newly entered vehicle according to the panoramic image.
9. The vehicle capture method according to claim 7, characterized in that: The step of "detecting whether there is a new vehicle entering the designated road section" includes: using an infrared thermal imager, a microwave radar or a laser radar to detect whether there is a new vehicle entering the designated road section; The step of "tracking the position change of the newly entered vehicle" includes: using the infrared thermal imager, the microwave radar or the laser radar to track the position change of the newly entered vehicle.
10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 7 to 9.
