A garage gate lifting rod control method, system and device and a garage management system
By combining image structure detection, ranging, and thermal imaging of garage turnstiles, the problem of garage turnstiles being unable to verify the source of license plates has been solved, enabling accurate identification of real vehicles and improving the security of garage management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG DAHUA TECH CO LTD
- Filing Date
- 2023-10-31
- Publication Date
- 2026-05-15
AI Technical Summary
Existing parking garage turnstiles cannot effectively verify whether the license plates they identify belong to real vehicles, resulting in losses for parking lots or residential communities.
By performing structured detection on images using monitoring equipment, measuring physical distances using ranging equipment, and detecting temperature using thermal imaging equipment, a comprehensive judgment is made on whether the vehicle is genuine, thereby improving the accuracy of identification.
It enables accurate identification of vehicles entering and exiting the gate, prevents misidentification of non-genuine vehicles, and improves the security and accuracy of garage management.
Smart Images

Figure CN117475540B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent transportation technology, and in particular to a method, system, device and garage gate lifting control method, and garage management system. Background Technology
[0002] With the increasing number of cars, parking garage entrance cameras simply recognize the license plate and raise the barrier to allow passage. If someone holds a picture of a vehicle, as long as the picture contains complete license plate information, the camera can also recognize the license plate and raise the barrier. There are no other measures to verify whether the recognized license plate belongs to the vehicle entering or exiting the garage or is just a picture held by someone. This causes some degree of loss to parking lots and residential communities. Summary of the Invention
[0003] This application provides a garage gate lifting control method, system, device, and garage management system to determine whether the gate is for a real vehicle and improve the accuracy of vehicle identification.
[0004] This application provides a method for controlling the lifting of a garage gate, the method comprising:
[0005] The images collected in real time by the monitoring equipment are analyzed. When there is a vehicle in the gate detection area of the image, the frame image is subjected to structured detection to obtain the type of vehicle and image coordinate information in the frame image. In addition, the physical distance between the vehicle and the ranging device currently measured by the ranging device is obtained.
[0006] Based on the image coordinate information of the vehicle, the size of the vehicle is calculated. Based on the comparison between the size of the vehicle and the reference value of the vehicle size corresponding to the preset vehicle type, and the physical distance and the preset distance, it is determined whether to control the gate to perform the lifting action; wherein, the preset distance is the physical distance between the gate detection area and the ranging device.
[0007] This method analyzes images captured in real time by monitoring equipment. When a vehicle is present in the gate detection area of the image, structured detection is performed on the frame to obtain the vehicle type and image coordinate information. Additionally, the physical distance between the vehicle and the ranging device, currently measured by the ranging device, is obtained. Based on the vehicle's image coordinate information, the vehicle's size is calculated. Then, based on the comparison between the vehicle's size and a preset reference value for the vehicle type, and the physical distance and a preset distance, it is determined whether to control the gate to lift the barrier. The preset distance is the physical distance between the gate detection area and the ranging device, thus ensuring that the gate is used to identify real vehicles and improving the accuracy of vehicle recognition.
[0008] In some embodiments, after obtaining a reference value for the size of the vehicle and the size of a vehicle corresponding to a preset vehicle type, and a comparison result between the physical distance and a preset distance, before determining whether to control the gate to perform a lifting action, the method further includes:
[0009] When the monitoring device acquires the image, the thermal imaging device simultaneously acquires a thermal imaging image. Based on the thermal imaging image, the temperature of the target area in the thermal imaging image is determined, and the temperature of the target area is compared with a preset temperature threshold.
[0010] The target area is the same area determined from the thermal imaging image based on the area where the vehicle component is located in the image, which is selected in advance.
[0011] This method enables the exclusion of scenarios where a person is holding a vehicle image for identification based on the temperature of the thermal imaging region, thereby improving the accuracy of vehicle detection.
[0012] In some embodiments, when the size of the vehicle meets the reference value of the vehicle size corresponding to the preset vehicle type, the comparison result of the physical distance with the preset distance meets the preset conditions, and the temperature of the target area is higher than the preset temperature threshold, the gate is controlled to perform a lifting action.
[0013] The preset conditions include: the difference between the vehicle size and the reference value of the vehicle size corresponding to the preset vehicle type is less than a first preset threshold, and the difference between the physical distance and the preset distance is less than a second preset threshold.
[0014] This method enables the determination of whether a vehicle located in the gate detection area is a real vehicle based on the comparison results and the temperature of the target area.
[0015] In some embodiments, reference values for vehicle size corresponding to different vehicle types are determined based on the installation height and angle of the monitoring equipment and the location information of the gate detection area.
[0016] This method allows for the determination of reference values for vehicle size corresponding to different vehicle types.
[0017] This application provides a garage gate lifting control system, comprising:
[0018] The detection module is used to analyze the images collected in real time by the monitoring equipment. When there is a vehicle in the gate detection area of the image, the module performs structured detection on the frame image to obtain the type of vehicle and image coordinate information in the frame image, and obtains the physical distance between the vehicle and the ranging device currently measured by the ranging device.
[0019] The control module is used to calculate the size of the vehicle based on the image coordinate information of the vehicle, and to determine whether to control the gate to perform a lifting action based on the comparison result of the size of the vehicle with the reference value of the vehicle size corresponding to the preset vehicle type and the physical distance with the preset distance; wherein, the preset distance is the physical distance between the gate detection area and the ranging device.
[0020] This system helps determine whether a vehicle is entering or exiting a gate, thus improving the accuracy of vehicle identification.
[0021] In some embodiments, after obtaining a reference value for the size of the vehicle and the vehicle size corresponding to a preset vehicle type, and a comparison result between the physical distance and a preset distance, before determining whether to control the gate to perform a lifting action, the control module is further configured to:
[0022] When the monitoring device acquires the image, the thermal imaging device simultaneously acquires a thermal imaging image. Based on the thermal imaging image, the temperature of the target area in the thermal imaging image is determined, and the temperature of the target area is compared with a preset temperature threshold.
[0023] The target area is the same area determined from the thermal imaging image based on the area where the vehicle component is located in the image, which is selected in advance.
[0024] This system enables the exclusion of scenarios where a person is holding a vehicle image for identification based on the temperature of the thermal imaging region, thereby improving the accuracy of vehicle detection.
[0025] In some embodiments, the system further includes a determining module, the determining module being configured to:
[0026] Based on the installation height and angle of the monitoring equipment and the location information of the gate detection area, reference values for vehicle size corresponding to different vehicle types are determined.
[0027] This system enables the determination of reference values for the size of vehicles corresponding to different vehicle types.
[0028] Another embodiment of this application provides a garage management system, including a turnstile, monitoring equipment, thermal imaging equipment, ranging equipment, and the aforementioned garage turnstile lifting control system.
[0029] Another embodiment of this application provides a garage gate lifting control device, which includes a memory and a processor, wherein the memory is used to store program instructions, and the processor is used to call the program instructions stored in the memory and execute any of the methods described above according to the obtained program.
[0030] Furthermore, according to embodiments, for example, a computer program product for a computer is provided, which includes software code portions that, when the product is run on the computer, perform the steps of the methods defined above. The computer program product may include a computer-readable medium on which the software code portions are stored. Furthermore, the computer program product may be directly loaded into the computer's internal memory and / or sent via a network through at least one of an upload process, a download process, and a push process.
[0031] Another embodiment of this application provides a computer-readable storage medium storing computer-executable instructions for causing the computer to perform any of the methods described above. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 This application provides an overall flowchart of a garage gate lifting control method.
[0034] Figure 2 This is a schematic diagram of a gate detection area provided in an embodiment of this application;
[0035] Figure 3 A schematic diagram illustrating the presence of a vehicle in a gate detection area, as provided in an embodiment of this application;
[0036] Figure 4 This is a schematic diagram of a thermal imaging target area provided in an embodiment of this application;
[0037] Figure 5 This application provides a schematic diagram of the structure of a garage gate lifting control system.
[0038] Figure 6 A schematic diagram of the structure of a garage management system provided in this application embodiment;
[0039] Figure 7 A schematic diagram illustrating the specific process of a garage gate lifting control method (excluding thermal imaging) provided in this application embodiment;
[0040] Figure 8 A schematic diagram illustrating the specific process of another garage gate lifting control method (including thermal imaging) provided in this application embodiment;
[0041] Figure 9 A schematic diagram illustrating the specific process of another garage gate lifting control method (executed through a garage management system) provided in this application embodiment;
[0042] Figure 10 This is a schematic diagram of a garage gate lifting control device provided in an embodiment of this application. Detailed Implementation
[0043] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0044] This application provides a garage gate lifting control method, system, device, and garage management system to determine whether the gate is for a real vehicle and improve the accuracy of vehicle identification.
[0045] The method and apparatus are based on the same concept of the application. Since the methods and apparatus solve problems in similar ways, the implementation of the apparatus and methods can refer to each other, and the repeated parts will not be described again.
[0046] The terms "first," "second," etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0047] The following examples and embodiments are to be understood as illustrative only. While this specification may refer to "a," "an," or "some" examples or embodiments in several places, this does not mean that every such reference relates to the same example or embodiment, nor does it mean that the feature applies only to a single example or embodiment. Individual features of different embodiments may also be combined to provide other embodiments. Furthermore, terms such as "comprising" and "including" should be understood not to limit the described embodiments to consisting only of those features mentioned; such examples and embodiments may also include features, structures, units, modules, etc., not specifically mentioned.
[0048] The various embodiments of this application will now be described in detail with reference to the accompanying drawings. It should be noted that the order in which the embodiments are presented in this application represents only a chronological order and does not represent the superiority or inferiority of the technical solutions provided by the embodiments.
[0049] It should be noted that the technical solution provided in this application analyzes the images collected in real time by the monitoring equipment. When a vehicle is present in the gate detection area of the image, structured detection is performed on the frame image to extract the vehicle type and image coordinate information from the image. The physical distance from the vehicle to the ranging device measured by the ranging device is obtained. The size of the vehicle is calculated based on the image coordinate information. Based on the vehicle type, a reference value for the size of the vehicle corresponding to that vehicle type is found. By comparing the size of the vehicle with the reference value for the size of the vehicle corresponding to that vehicle type, and the physical distance from the vehicle to the ranging device with the distance from the gate detection area to the ranging device, when it is determined that the vehicle located at the gate is a real vehicle, the gate is controlled to lift the lever as an example, but it is not limited to this.
[0050] See Figure 1 This application provides a method for controlling the lifting of a garage gate, comprising:
[0051] Step S101: Analyze the images collected in real time by the monitoring equipment. When there is a vehicle in the gate detection area of the image, perform structured detection on the frame image to obtain the type of vehicle and image coordinate information in the frame image, and obtain the physical distance between the vehicle and the ranging device currently measured by the ranging device.
[0052] The monitoring equipment can be, for example, a camera with structured detection capabilities or a regular camera. When the monitoring equipment has structured detection capabilities, it can perform target detection on the presented image, and when a vehicle is detected in the gate detection area of the image, it can extract structured data from the image. Structured detection refers to intelligent analysis of the image, extracting key information from the image, and performing textual semantic description. For example, multiple frames of images are input into a deep learning detection model to obtain the target of interest, such as a vehicle, in each frame. The various attributes of the target are then classified, and the attribute values of the target, i.e., structured data, such as vehicle type and license plate number, are output. The system collects key information such as vehicle body color and various other characteristics of the vehicle, and then uses this information to analyze the target, such as determining whether the target is a real vehicle or a vehicle image. The ranging device, such as a lidar, emits a detection signal to the gate detection area. The detection signal is reflected back when it encounters a vehicle in the detection area, such as the front of the vehicle. The lidar can then determine the distance between the vehicle and the lidar based on the signal reflected back from the vehicle. The monitoring equipment and the ranging device can be installed on the gate or at any location within the gate, as long as the monitoring equipment can perform complete image acquisition of the gate detection area and the ranging device can detect the gate detection area.
[0053] The detection area, for example Figure 2 The area shown in the box can only be detected once a vehicle enters the detection area; otherwise, it cannot be detected. For example... Figure 3 As shown.
[0054] Step S102: Calculate the size of the vehicle based on the image coordinate information of the vehicle; determine whether to control the gate to perform a lifting action based on the comparison result of the size of the vehicle with the reference value of the vehicle size corresponding to the preset vehicle type and the physical distance with the preset distance; wherein, the preset distance is the physical distance between the gate detection area and the ranging device.
[0055] In step S101 above, when performing structured detection on the image, when a vehicle is detected, a target detection box is marked on the outline of the vehicle. This step calculates the size of the vehicle target detection box based on its position coordinates in the image, and then obtains the size of the vehicle based on the conversion relationship between the target detection box and the actual size of the vehicle.
[0056] Based on the detected vehicle type, a reference value table for vehicle size corresponding to different vehicle types is consulted (this table can also be obtained through actual measurement), which is pre-calculated based on the installation height and angle of the monitoring equipment and the location information of the gate detection area. The size of the detected vehicle is then compared with the reference value to determine if the detected vehicle size is normal. If normal, a real vehicle is considered detected. However, this detection method cannot rule out the possibility of a person pointing a complete image of a vehicle at the monitoring equipment for identification. In such scenarios, structured detection will still treat vehicles in the image as real vehicles. Therefore, after identifying a vehicle as real by comparing its size, it is necessary to further compare the physical distance with a preset distance (the physical distance between the gate detection area and the ranging device, for example...). Figure 3 If the distance from the line in front of the vehicle to the ranging device is close, it is determined that the vehicle in the gate detection area is a real vehicle, not a picture of a vehicle held by a person. In both cases, if the vehicle is determined to be a real vehicle, the gate is controlled to lift the barrier and the monitoring equipment is linked to issue a voice prompt "Please pass". Otherwise, the detection event is discarded and not processed, or the monitoring equipment can be linked to issue a voice prompt "No vehicle detected".
[0057] It should be noted that, alternatively, the physical distance can be compared with a preset distance first. When it is determined that the object located in the gate detection area is a vehicle, the size of the vehicle can be calculated based on the vehicle's image coordinate information. Then, the size of the vehicle can be compared with a reference value for the size of a vehicle corresponding to this type of vehicle. When it is determined that the vehicle is a real vehicle, the gate can be controlled to perform a lifting action. Alternatively, when comparing the physical distance with the preset distance, the size of the vehicle can be calculated simultaneously based on the vehicle's image coordinate information. The size of the vehicle can be compared with a reference value for the size of a vehicle corresponding to this type of vehicle. Then, based on these two comparison results, it can be determined whether the vehicle is a real vehicle. This application embodiment does not impose any limitations on this.
[0058] To improve the accuracy of vehicle detection, in some embodiments, after obtaining a reference value for the size of the vehicle and the size of a vehicle corresponding to a preset vehicle type, and a comparison result of the physical distance and a preset distance, before determining whether to control the gate to perform the lifting action, the method further includes:
[0059] When the monitoring device acquires the image, the thermal imaging device simultaneously acquires a thermal imaging image. Based on the thermal imaging image, the temperature of the target area in the thermal imaging image is determined, and the temperature of the target area is compared with a preset temperature threshold.
[0060] The target area is the same area determined from the thermal imaging image based on the area where the vehicle component is located in the image, which is selected in advance.
[0061] By comparing the size of the vehicle with a preset reference value for the vehicle type and the physical distance with a preset distance, it is possible to determine whether the object in the gate detection area is a real vehicle or a vehicle image. This method is applicable to most application scenarios, but it cannot rule out scenarios where a person holds a vehicle image the same size as a real car and points it at the monitoring equipment for identification. All objects with a temperature above absolute zero can generate thermal radiation; the higher the temperature, the more heat is radiated. The temperatures of people and vehicles are different, especially the engine temperature of a running vehicle, which is much higher than human body temperature. Therefore, measuring the temperature of an object in the gate detection area can determine whether it is a person or a vehicle. However, since vehicles carry people and different parts of the vehicle have different temperatures, some parts of the vehicle may have temperatures similar to human body temperature. Therefore, to improve the accuracy and convenience of detection, thermal imaging equipment is used to simultaneously acquire images of the gate detection area. Based on the acquired thermal imaging images, the temperature of each image area in the thermal imaging image is determined, and the highest temperature of the image area is compared with... The system compares the temperature to a preset temperature threshold. If the temperature exceeds this threshold, the object in the gate detection area is identified as a vehicle. However, a high temperature in a certain area of the image could also be due to an object carried by a person with a similar temperature to the vehicle, or other heat sources with similar temperatures. To rule out such scenarios and improve detection accuracy, the system can determine the locations of various vehicle components based on the images captured by the monitoring equipment. A specific component area can be selected, such as the engine area (where the engine's temperature is much higher than a person's when running). Then, a similar area (e.g., the engine area) can be identified from the thermal imaging image, and its temperature can be compared to the preset temperature threshold to determine whether the object in the gate detection area is a vehicle. Figure 4 As shown.
[0062] It should be noted that the monitoring equipment and the thermal imaging equipment can also be the same device. This device has a dual-channel imaging function and can simultaneously acquire visible light images and thermal imaging images. This application embodiment does not impose any restrictions on this.
[0063] To accurately identify real vehicles, in some embodiments, when the size of the vehicle meets the preset reference value for the size of the vehicle corresponding to the preset vehicle type, the comparison result of the physical distance with the preset distance meets the preset conditions, and the temperature of the target area is higher than the preset temperature threshold, the gate is controlled to perform a lifting action.
[0064] The preset conditions include: the difference between the vehicle size and the reference value of the vehicle size corresponding to the preset vehicle type is less than a first preset threshold (i.e., the vehicle size is similar to the actual size), and the difference between the physical distance and the preset distance is less than a second preset threshold (i.e., the distance from the vehicle to the ranging device is similar to the distance from the gate detection area to the ranging device).
[0065] To facilitate subsequent determination of whether a vehicle is a real vehicle based on the calculated vehicle size, in some embodiments, reference values for the vehicle size corresponding to different vehicle types are determined based on the installation height and angle of the monitoring equipment and the location information of the gate detection area.
[0066] See Figure 5 This application provides a garage gate lifting control system, comprising:
[0067] The detection module 100 is used to analyze the images collected in real time by the monitoring equipment. When there is a vehicle in the gate detection area of the image, it performs structured detection on the frame image to obtain the type of vehicle and image coordinate information in the frame image, and obtains the physical distance between the vehicle and the ranging device currently measured by the ranging device.
[0068] The control module 200 is used to calculate the size of the vehicle based on the image coordinate information of the vehicle, and to determine whether to control the gate to perform a lifting action based on the comparison result of the size of the vehicle with the reference value of the vehicle size corresponding to the preset vehicle type and the physical distance with the preset distance; wherein, the preset distance is the physical distance between the gate detection area and the ranging device.
[0069] In some embodiments, after obtaining a reference value for the size of the vehicle and the vehicle size corresponding to a preset vehicle type, and a comparison result between the physical distance and a preset distance, before determining whether to control the gate to perform a lifting action, the control module 200 is further configured to:
[0070] When the monitoring device acquires the image, the thermal imaging device simultaneously acquires a thermal imaging image. Based on the thermal imaging image, the temperature of the target area in the thermal imaging image is determined, and the temperature of the target area is compared with a preset temperature threshold.
[0071] The target area is the same area determined from the thermal imaging image based on the area where the vehicle component is located in the image, which is selected in advance.
[0072] In some embodiments, the system further includes a determining module 300, for example... Figure 5 As shown, the determining module 300 is used for:
[0073] Based on the installation height and angle of the monitoring equipment and the location information of the gate detection area, reference values for vehicle size corresponding to different vehicle types are determined.
[0074] See Figure 6 This application provides a parking garage management system, including turnstiles, monitoring equipment, thermal imaging equipment, ranging equipment, and, for example, [other components]. Figure 5 The parking garage gate lifting control system shown.
[0075] The following are examples of specific methodologies and procedures.
[0076] Example 1:
[0077] See Figure 7 This application provides a method for controlling the lifting of a garage gate. This method is executed through, for example, monitoring equipment, ranging equipment, or a garage gate lifting control system. Specific steps include:
[0078] Step S701: Real-time image acquisition of the gate detection area is performed using monitoring equipment, and the gate detection area is detected using ranging equipment;
[0079] Step S702: Analyze each frame of the real-time acquired image to determine whether there is a vehicle in the gate detection area of the frame. If yes, proceed to step S703; otherwise, analyze the next frame.
[0080] In this step, the monitoring equipment with intelligent analysis function can directly perform intelligent analysis on each frame of the collected image. When a vehicle is detected in the gate detection area, the current frame image is sent to the garage gate lifting control system. Alternatively, the garage gate lifting control system can directly perform intelligent analysis on each frame of the image uploaded by the monitoring equipment. This application embodiment does not impose any restrictions on this.
[0081] Step S703: Perform structured detection on the frame image to obtain the vehicle type and image coordinate information, and calculate the size of the vehicle based on the image coordinate information;
[0082] In this step, the image can be structured by a monitoring device with structured detection capabilities, and the detected vehicle type and image coordinate information can be sent to the garage gate lifting control system. The garage gate lifting control system can then calculate the size of the vehicle based on the image coordinate information. Alternatively, the image can be structured directly by the garage gate lifting control system. This application embodiment does not impose any restrictions on this approach.
[0083] Step S704: Compare the calculated vehicle size with the preset reference value for the vehicle size corresponding to the vehicle type, and determine whether the vehicle size is normal. If yes, proceed to step S705; otherwise, proceed to step S702.
[0084] Step S705: Obtain the physical distance between the vehicle currently being measured by the ranging device and the ranging device, compare the physical distance with the distance from the gate detection area to the ranging device, and determine whether the object in the detection area is a vehicle. If yes, proceed to step S706; otherwise, proceed to step S702.
[0085] Step S706: Control the gate to perform the lifting action.
[0086] It should be noted that steps S703 and S705 have no specific order. Step S705 can be performed after step S702, and step S703 can be performed after the judgment result of step S705 is yes. Step S706 can be performed after the judgment result of step S704 is yes. Alternatively, steps S703 and S705 can be performed simultaneously, and step S706 can be performed after the judgment results of both steps S704 and S705 are yes.
[0087] Example 2:
[0088] See Figure 8 This application provides a method for controlling the lifting of a garage gate. This method is executed through, for example, monitoring equipment, ranging equipment, or a garage gate lifting control system. Specific steps include:
[0089] Step S801: Real-time image acquisition of the gate detection area is performed using a monitoring device with dual-channel imaging function, and the gate detection area is detected using a ranging device.
[0090] Step S802: Analyze each frame of the real-time acquired visible light image to determine whether there is a vehicle in the gate detection area of the visible light image frame. If yes, proceed to step S803; otherwise, analyze the next frame of the visible light image.
[0091] Step S803: Perform structured detection on the visible light image frame to obtain the vehicle type and image coordinate information, and calculate the size of the vehicle based on the image coordinate information;
[0092] Step S804: Compare the calculated vehicle size with the preset reference value for the vehicle size corresponding to the vehicle type, and determine whether the vehicle size is normal (normal means real vehicle, abnormal means vehicle image). If yes, proceed to step S805; otherwise, proceed to step S802.
[0093] Step S805: Obtain the physical distance between the vehicle currently being measured by the ranging device and the ranging device, compare the physical distance with the distance from the gate detection area to the ranging device, and determine whether the object in the detection area is a vehicle. If yes, proceed to step S806; otherwise, proceed to step S802.
[0094] Step S806: Obtain the thermal imaging image simultaneously acquired by the monitoring device when acquiring the visible light image of this frame, and determine the same area from the thermal imaging image by comparing it with the pre-selected area where the vehicle engine is located in the visible light image.
[0095] Step S807: Determine the temperature of the target area obtained in step S806 and compare it with a preset temperature threshold to determine whether the object in the gate detection area is a vehicle. If yes, proceed to step S808; otherwise, proceed to step S802.
[0096] Step S808: Control the gate to perform the lifting action.
[0097] It should be noted that steps S803, S805, and S806 have no specific order requirement; they can be performed in a certain order or simultaneously.
[0098] Example 3:
[0099] See Figure 9 This application provides a method for controlling the lifting of a garage gate, which is executed, for example, through the aforementioned garage management system. The specific steps include:
[0100] Step S901: Real-time image acquisition of the gate detection area is performed through monitoring equipment, and the acquired images are reported to the garage gate lifting control system.
[0101] Step S902: The garage gate lifting control system analyzes each frame of the image to determine whether there is a vehicle in the gate detection area of the current frame of the image. If yes, proceed to step S903; otherwise, analyze the next frame of the image.
[0102] Step S903: The garage gate lifting control system obtains the distance between the currently measured vehicle and the ranging device from the ranging device, and compares it with the distance from the gate detection area to the ranging device to determine whether the object in the detection area is a vehicle. If yes, proceed to step S904; if no, the linkage monitoring device issues a voice prompt "No vehicle detected", and then proceed to step S902.
[0103] The monitoring equipment supports voice functionality.
[0104] Step S904: The garage gate lifting control system performs structured detection on the current frame image to obtain the vehicle type and image coordinate information, and calculates the size of the vehicle based on the image coordinate information;
[0105] Step S905: The garage gate lifting control system compares the calculated vehicle size with the preset reference value for the vehicle size corresponding to the vehicle type to determine whether the vehicle size is normal. If yes, proceed to step S906; otherwise, the linkage monitoring equipment issues a voice prompt "No vehicle detected" and then proceeds to step S902.
[0106] Step S906: The garage gate lifting control system acquires a thermal imaging image from the thermal imaging device that is simultaneously acquired with the current frame image, and compares it with the pre-selected vehicle engine location area in the current frame image to determine the same area from the thermal imaging image.
[0107] Step S907: The garage gate lifting control system determines the temperature of the target area obtained in step S906 and compares it with the preset temperature threshold to determine whether the object in the gate detection area is a vehicle. If it is, proceed to step S908; if not, the linkage monitoring equipment issues a voice prompt "No vehicle detected" and then proceeds to step S902.
[0108] Step S908: The garage gate lifting control system performs license plate information recognition on the current frame image and determines whether the license plate information is recognized. If yes, proceed to step S909; otherwise, the monitoring equipment is linked to issue a voice prompt "License plate information not recognized, please do not cover the license plate" and then proceed to step S902.
[0109] Based on the image recognition of license plate information, the process can also be performed simultaneously during intelligent analysis in step S902, or simultaneously during structured detection in step S904. This application embodiment does not impose any limitations on this.
[0110] Step S909: The garage gate lifting control system sends a lifting command to the gate, and the linkage monitoring equipment issues a voice prompt: "The gate is open, please proceed with caution."
[0111] Step S910: The gate performs the lifting action according to the received lifting command, allowing the vehicle to pass through the gate.
[0112] The following describes the device or apparatus provided in the embodiments of this application, and the explanations or examples of the same or corresponding technical features as those described in the above methods will not be repeated hereafter.
[0113] See Figure 10 This application provides a garage gate lifting control device, comprising:
[0114] Processor 600 is used to read the program from memory 620 and execute the following procedures:
[0115] The images collected in real time by the monitoring equipment are analyzed. When there is a vehicle in the gate detection area of the image, the frame image is subjected to structured detection to obtain the type of vehicle and image coordinate information in the frame image. In addition, the physical distance between the vehicle and the ranging device currently measured by the ranging device is obtained.
[0116] Based on the image coordinate information of the vehicle, the size of the vehicle is calculated. Based on the comparison between the size of the vehicle and the reference value of the vehicle size corresponding to the preset vehicle type, and the physical distance and the preset distance, it is determined whether to control the gate to perform the lifting action; wherein, the preset distance is the physical distance between the gate detection area and the ranging device.
[0117] In some embodiments, after obtaining a reference value for the size of the vehicle corresponding to a preset vehicle type and a comparison result between the physical distance and a preset distance, before determining whether to control the gate to perform a lifting action, the processor 600 is further configured to read the program in the memory 620 and execute:
[0118] When the monitoring device acquires the image, the thermal imaging device simultaneously acquires a thermal imaging image. Based on the thermal imaging image, the temperature of the target area in the thermal imaging image is determined, and the temperature of the target area is compared with a preset temperature threshold.
[0119] The target area is the same area determined from the thermal imaging image based on the area where the vehicle component is located in the image, which is selected in advance.
[0120] In some embodiments, when the size of the vehicle meets the reference value of the vehicle size corresponding to the preset vehicle type, the comparison result of the physical distance with the preset distance meets the preset conditions, and the temperature of the target area is higher than the preset temperature threshold, the gate is controlled to perform a lifting action.
[0121] The preset conditions include: the difference between the vehicle size and the reference value of the vehicle size corresponding to the preset vehicle type is less than a first preset threshold, and the difference between the physical distance and the preset distance is less than a second preset threshold.
[0122] In some embodiments, the processor 600 is further configured to read a program from the memory 620 and execute it:
[0123] Based on the installation height and angle of the monitoring equipment and the location information of the gate detection area, reference values for vehicle size corresponding to different vehicle types are determined.
[0124] In some embodiments, the garage gate lifting control device provided in this application further includes a transceiver 610, which is used to receive data sent by monitoring equipment, thermal imaging equipment, and ranging equipment under the control of processor 600, and to send data to the gate.
[0125] Among them, Figure 10 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 600) and memory (memory 620). The bus architecture can also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 610 can be multiple elements, including a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium.
[0126] In some embodiments, the garage gate lifting control device provided in this application further includes a user interface 630. The user interface 630 may be an interface that can connect to external or internal devices, including but not limited to keypads, displays, speakers, microphones, joysticks, etc.
[0127] The processor 600 is responsible for managing the bus architecture and general processing, while the memory 620 can store the data used by the processor 600 when performing operations.
[0128] In some embodiments, the processor 600 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a CPLD (Complex Programmable Logic Device).
[0129] This application provides a computing device, which may specifically be a desktop computer, portable computer, smartphone, tablet computer, personal digital assistant (PDA), etc. The computing device may include a central processing unit (CPU), memory, input / output devices, etc. Input devices may include a keyboard, mouse, touchscreen, etc., and output devices may include display devices, such as a liquid crystal display (LCD) or a cathode ray tube (CRT).
[0130] The memory may include read-only memory (ROM) and random access memory (RAM), and provides the processor with program instructions and data stored in the memory. In the embodiments of this application, the memory may be used to store the program of any of the methods provided in the embodiments of this application.
[0131] The processor executes any of the methods described in the embodiments of this application according to the program instructions stored in the memory.
[0132] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the methods described in the above embodiments. The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.
[0133] This application provides a computer-readable storage medium for storing computer program instructions used in the apparatus provided in the above-described embodiments, including a program for performing any of the methods provided in the above-described embodiments. The computer-readable storage medium may be a non-transitory computer-readable medium.
[0134] The computer-readable storage medium can be any available medium or data storage device that a computer can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0135] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0136] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0137] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0138] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0139] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for controlling the lifting of a garage gate, characterized in that, The method includes: The images collected in real time by the monitoring equipment are analyzed. When there is a vehicle in the gate detection area of the image, the frame image is subjected to structured detection to obtain the type of vehicle and image coordinate information in the frame image. In addition, the physical distance between the vehicle and the ranging device currently measured by the ranging device is obtained. Based on the image coordinate information of the vehicle, the size of the vehicle is calculated. Based on the comparison between the size of the vehicle and a reference value corresponding to the size of a vehicle of the preset vehicle type, and the physical distance and the preset distance, it is determined whether to control the gate to perform a lifting action; wherein, the preset distance is the physical distance between the gate detection area and the ranging device. Before determining whether to control the gate to perform the lifting action, after obtaining the reference value of the vehicle size corresponding to the preset vehicle type and the comparison result of the physical distance and the preset distance, the process further includes: When the monitoring device acquires the image, the thermal imaging device simultaneously acquires a thermal imaging image. Based on the thermal imaging image, the temperature of the target area in the thermal imaging image is determined, and the temperature of the target area is compared with a preset temperature threshold. The target area is the same area determined from the thermal imaging image based on the area where the vehicle component is located in the image, which is selected in advance. Determining reference values for the vehicle size corresponding to the vehicle type includes: Based on the vehicle type, a reference value table for the vehicle size corresponding to different vehicle types is found, which is pre-calculated based on the installation height and angle of the monitoring equipment and the location information of the gate detection area, to obtain the reference value for the vehicle size of the vehicle type.
2. The method according to claim 1, characterized in that, When the size of the vehicle meets the preset reference value for the size of the vehicle corresponding to the preset vehicle type, the comparison result of the physical distance with the preset distance meets the preset conditions, and the temperature of the target area is higher than the preset temperature threshold, the gate is controlled to perform a lifting action. The preset conditions include: the difference between the vehicle size and the reference value of the vehicle size corresponding to the preset vehicle type is less than a first preset threshold, and the difference between the physical distance and the preset distance is less than a second preset threshold.
3. A garage gate lifting control system, characterized in that, include: The detection module is used to analyze the images collected in real time by the monitoring equipment. When there is a vehicle in the gate detection area of the image, the module performs structured detection on the frame image to obtain the type of vehicle and image coordinate information in the frame image, and obtains the physical distance between the vehicle and the ranging device currently measured by the ranging device. The control module is used to calculate the size of the vehicle based on the image coordinate information of the vehicle, and to determine whether to control the gate to perform a lifting action based on the comparison result of the size of the vehicle with the reference value of the vehicle size corresponding to the preset vehicle type and the physical distance with the preset distance; wherein, the preset distance is the physical distance between the gate detection area and the ranging device. Before determining whether to control the gate to perform the lifting action, after obtaining the reference value of the vehicle size corresponding to the preset vehicle type and the comparison result of the physical distance and the preset distance, the control module is further used to: When the monitoring device acquires the image, the thermal imaging device simultaneously acquires a thermal imaging image. Based on the thermal imaging image, the temperature of the target area in the thermal imaging image is determined, and the temperature of the target area is compared with a preset temperature threshold. The target area is the same area determined from the thermal imaging image based on the area where the vehicle component is located in the image, which is selected in advance. The system further includes a determining module, used for: Based on the vehicle type, a reference value table for the vehicle size corresponding to different vehicle types is found, which is pre-calculated based on the installation height and angle of the monitoring equipment and the location information of the gate detection area, to obtain the reference value for the vehicle size of the vehicle type.
4. A garage management system, characterized in that, It includes turnstiles, monitoring equipment, thermal imaging equipment, ranging equipment, and the system described in claim 3.
5. A garage gate lifting control device, characterized in that, include: Memory, used to store program instructions; A processor is configured to invoke program instructions stored in the memory and execute the method of claim 1 or 2 according to the obtained program.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing the computer to perform the method of claim 1 or 2.