Elevator explosion-proof early warning method and system based on visual technology

By using visual technology in the elevator to detect vehicles and people, and combining preset vehicle information for elevator explosion-proof warning control, the problem of insufficient safety when electric vehicles enter the elevator in the existing technology is solved, and the accuracy and accuracy of the elevator explosion-proof warning are improved. Security.

CN118495274BActive Publication Date: 2024-10-29SHENZHEN JRY XINXIAN TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410960388.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-29
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

The existing technology cannot effectively ensure the safety of the elevator because there are few factors to consider in the elevator explosion-proof early warning. Especially when an electric vehicle enters the elevator, it is difficult to achieve accurate safety judgment and reasonable early warning control.

Method used

An elevator explosion-proof early warning method based on vision technology is adopted. By installing image acquisition devices in the waiting area and interior of the elevator, combined with the pre-trained model, the images are marked and recognized to determine whether the vehicle is an unsafe vehicle, and the elevator is given an explosion-proof early warning based on the detection results. Control, including vehicle detection and personnel quantity analysis to determine elevator operating status.

Benefits of technology

It improves the accuracy of vehicle detection results and the safety and rationality of explosion-proof warnings, achieves effective safety determination of electric vehicles and reasonable control of elevator operations, and avoids elevator safety accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118495274B_ABST
    Figure CN118495274B_ABST
Patent Text Reader

Abstract

The present application discloses an elevator explosion-proof warning method and system based on visual technology, which relates to the field of visual technology; by analyzing the image of the elevator waiting area, it is determined whether the elevator waiting area includes a vehicle, and an early explosion-proof warning can be achieved. In the case where the objects included in the elevator waiting area include vehicles, the vehicle is determined to be an unsafe vehicle by using the image collected for the vehicle and the preset vehicle information, which can improve the accuracy of the vehicle safety determination results. On the basis of determining that the vehicle is an unsafe vehicle, combined with the object detection results of the elevator waiting area and the interior of the elevator, respectively, the elevator is subjected to explosion-proof warning control, which can achieve a more reasonable and safe explosion-proof warning. Therefore, this technical solution is based on visual technology, improves the accuracy of vehicle detection results, and improves the safety and rationality of explosion-proof warnings.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of visual technology, and in particular to an elevator explosion-proof warning method and system based on visual technology. Background Art

[0002] With the development of visual technology, visual technology is being applied to more and more scenarios. For example, visual technology can be applied to elevator monitoring scenarios, where elevator images or videos are acquired and then analyzed to determine whether the elevator is safe based on the analysis results.

[0003] In the related art, visual technology can be used to analyze whether there is an unsafe electric vehicle entering the elevator. If so, the elevator is controlled to stop running to achieve elevator explosion-proof warning. Summary of the invention

[0004] The purpose of this application is to provide an elevator explosion-proof warning method and system based on visual technology, which can improve the accuracy of vehicle detection results based on visual technology, and improve the safety and rationality of explosion-proof warning.

[0005] To achieve the above-mentioned objectives, in a first aspect, an embodiment of the present application provides an elevator explosion-proof warning method based on visual technology, comprising: in response to detecting an elevator call command, acquiring a first image and a second image according to the elevator call command, the first image including an image of an elevator waiting area of ​​the elevator stop floor corresponding to the elevator call command, and the second image including an image of the interior of the elevator; determining a first object detection result based on the first image, the first object detection result being used to characterize a first object included in the elevator waiting area; determining a second object detection result based on the second image, the second object detection result being used to characterize a second object included in the interior of the elevator; if the first object includes a vehicle, determining the vehicle as an unsafe vehicle based on a third image collected for the vehicle and preset vehicle information; and performing explosion-proof warning control on the elevator based on the first object detection result and the second object detection result.

[0006] In a possible implementation, a first image acquisition device is respectively installed in the elevator waiting areas of multiple elevator stop floors, and a second image acquisition device is installed inside the elevator, the first image acquisition device is used to acquire images of the elevator waiting area from multiple different directions, and acquiring the first image and the second image according to the elevator call instruction includes: acquiring the first image acquired in a first direction by the first image acquisition device installed in the elevator area of ​​the elevator stop floor corresponding to the elevator call instruction, and the first direction is a preset direction; acquiring the second image acquired by the second image acquisition device; the elevator explosion-proof warning method also includes: if the first object includes a vehicle, determining the second direction according to the position of the vehicle in the first image; acquiring the third image acquired in the second direction by the first image acquisition device installed in the elevator area of ​​the elevator stop floor corresponding to the elevator call instruction.

[0007] In a possible implementation, determining a first object detection result based on the first image includes: performing image annotation processing on the first image according to a pre-trained first model to obtain an annotated first image, wherein multiple object regions are annotated in the annotated first image; and identifying the annotated first image according to a pre-trained second model to obtain the first object detection result.

[0008] In a possible implementation, determining a second object detection result based on the second image includes: performing image annotation processing on the second image according to a pre-trained first model to obtain an annotated second image, wherein multiple object regions are annotated in the annotated second image; and identifying the annotated second image according to the pre-trained second model to obtain the second object detection result.

[0009] In a possible implementation, the elevator explosion-proof warning method further includes: acquiring a first training data set and a second training data set, the first training data set including a plurality of first sample images, the plurality of first sample images being respectively marked with object areas, the second training data set including a plurality of second sample images, the plurality of second sample images being respectively marked with object areas, and each marked object area corresponding to an object label; training the first model to be trained according to the first training data set to obtain the pre-trained first model; determining a plurality of third sample images from the plurality of second sample images, and marking the plurality of third sample images according to the pre-trained first model to obtain a plurality of marked third sample images; determining an updated second training data set according to the plurality of marked third sample images, the plurality of third sample images and second sample images other than the third sample images; and training the second model to be trained according to the updated second training data set to obtain the pre-trained second model.

[0010] In a possible implementation, the preset vehicle information includes preset vehicle information corresponding to a plurality of preset identification information, the preset identification information is used to characterize the identity of the vehicle owner corresponding to the corresponding preset vehicle information, each preset vehicle information includes a plurality of vehicle images and vehicle-related information, and determining that the vehicle is an unsafe vehicle based on a third image collected for the vehicle and the preset vehicle information includes: if a vehicle image matching the third image is determined from a plurality of vehicle images respectively included in a plurality of preset vehicle information, determining that the vehicle is an unsafe vehicle based on the vehicle-related information in the preset vehicle information to which the vehicle image matching the third image belongs; if a vehicle image matching the third image is not determined from a plurality of vehicle images respectively included in a plurality of preset vehicle information, determining that the vehicle is an unsafe vehicle.

[0011] In a possible implementation, the vehicle-related information included in each preset vehicle information includes: basic vehicle information and vehicle basic information update time, and the vehicle basic information includes: vehicle model, vehicle battery model, vehicle size and vehicle charger model; determining that the vehicle is an unsafe vehicle based on the vehicle-related information in the preset vehicle information to which the vehicle image matching the third image belongs includes: determining the time interval between the vehicle basic information update time and the current time; if the time interval is less than the preset time interval, determining that the vehicle is an unsafe vehicle based on the vehicle model, vehicle battery model, vehicle size and vehicle charger model; if the time interval is greater than or equal to the preset time interval, determining that the vehicle is an unsafe vehicle.

[0012] In a possible implementation, the explosion-proof warning control of the elevator based on the first object detection result and the second object detection result includes: determining the number of elevator waiting people included in the elevator waiting area according to the first object detection result; determining the number of elevator people included in the elevator according to the second object detection result; and performing explosion-proof warning control on the elevator according to the number of elevator waiting people, the number of people in the elevator and the elevator stop floor corresponding to the elevator call instruction.

[0013] In a possible implementation manner, the explosion-proof warning control of the elevator is performed according to the number of people waiting for the elevator, the number of people in the elevator, and the elevator stop floor corresponding to the elevator call instruction, including: if the number of people in the elevator is greater than a first preset number, and the elevator stop floor corresponding to the elevator call instruction is not a target floor, the target floor includes: a preset floor, an intermediate stop floor for people in the elevator, and a terminal stop floor for people in the elevator, the elevator is controlled not to stop at the elevator stop floor corresponding to the elevator call instruction; if the number of people in the elevator is less than or equal to the first preset number, and the number of people waiting for the elevator is greater than a second preset number, the elevator is controlled not to stop at the elevator stop floor corresponding to the elevator call instruction. The elevator is controlled to stop at the elevator stop floor corresponding to the elevator call instruction, and the early warning device at the elevator stop floor corresponding to the elevator call instruction is controlled to output a first early warning message, the second preset number is less than the first preset number, and the first early warning message is used to indicate that the vehicle is prohibited from entering the elevator; if the number of people in the elevator is less than or equal to the first preset number, and the number of people waiting for the elevator is less than or equal to the second preset number, the elevator is controlled to stop at the elevator stop floor corresponding to the elevator call instruction, and the early warning device is controlled to output a second early warning message, and the second early warning message is used to remind people in the elevator and people waiting for the elevator that the vehicle has an explosion-proof hazard.

[0014] In a second aspect, an embodiment of the present application provides an elevator explosion-proof warning system based on visual technology, comprising: a plurality of first image acquisition devices, the plurality of first image acquisition devices are respectively installed in the elevator waiting area of ​​the corresponding elevator stop floor, each of the first image acquisition devices is used to acquire images of the corresponding elevator waiting area from multiple different directions; a second image acquisition device, the second image acquisition device is installed inside the elevator, the second image acquisition device is used to acquire images of the inside of the elevator; a plurality of warning devices, the plurality of warning devices are respectively installed in the elevator waiting area of ​​the corresponding elevator stop floor; a control device, the control device is respectively connected to the first image acquisition device, the second image acquisition device, the warning device and the elevator, and the control device is used to implement the elevator explosion-proof warning method based on visual technology as described in the first aspect.

[0015] Compared with the prior art, the technical solution of the embodiment of the present application has the following technical effects:

[0016] When an elevator call is detected, an image of the elevator waiting area of ​​the elevator stop floor corresponding to the elevator call is obtained according to the elevator call, and an image of the interior of the elevator is obtained; by analyzing the image of the elevator waiting area, it is determined whether the elevator waiting area includes a vehicle, and an early explosion-proof warning can be achieved. In the case where the objects included in the elevator waiting area include vehicles, the vehicle is determined to be an unsafe vehicle by using the image collected for the vehicle and the preset vehicle information, which can improve the accuracy of the vehicle safety determination results. On the basis of determining that the vehicle is an unsafe vehicle, combined with the object detection results of the elevator waiting area and the interior of the elevator, the elevator is controlled by explosion-proof warning, which can achieve a more reasonable and safe explosion-proof warning. Therefore, this technical solution is based on visual technology to improve the accuracy of vehicle detection results, as well as the safety and rationality of explosion-proof warnings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a structural block diagram of an elevator system according to an embodiment of the present application;

[0018] Figure 2 This is a structural block diagram of an elevator explosion-proof warning system based on visual technology according to an embodiment of the present application;

[0019] Figure 3 is a flow chart of an elevator explosion-proof early warning method based on visual technology according to an embodiment of the present application;

[0020] Figure 4A~Figure 4B is a schematic diagram of an image acquisition direction according to an embodiment of the present application;

[0021] Figure 5 is a block diagram of a model joint training according to an embodiment of the present application;

[0022] Figure 6 is a block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] The specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present application is not limited by the specific implementation methods.

[0024] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.

[0025] The technical solution provided in the embodiment of the present application can be applied to various scenarios involving elevators, for example, it can be applied to scenarios such as residential areas and factories. In these scenarios, the entry and exit management of vehicles may not be so strict, so some people may drive electric vehicles directly into the elevator, which may cause elevator safety accidents.

[0026] Generally speaking, the reason why electric vehicles cause elevator accidents is that the electric vehicles themselves are unsafe, such as: overtemperature, battery failure, charger problems, etc. That is, not all electric vehicles will cause elevator accidents, so it is necessary to configure a reasonable elevator explosion-proof warning method to avoid elevator accidents without affecting user convenience.

[0027] With the development of visual technology, visual technology is being applied to more and more scenarios. Therefore, visual technology can be applied to elevator monitoring scenarios. In the elevator monitoring scenario, by acquiring elevator images or videos, and then analyzing the elevator images or videos, it is determined whether the elevator is safe based on the analysis results. Therefore, visual technology can be used to analyze whether there are unsafe electric vehicles in the elevator, so as to provide explosion-proof warning for the elevator.

[0028] In the related art, visual technology is used to analyze whether there is an unsafe electric vehicle entering the elevator. If so, the elevator is controlled to stop running to achieve elevator explosion warning. This method takes fewer factors into consideration and cannot provide effective elevator explosion warning, and thus cannot guarantee the safety of the elevator.

[0029] Based on this, an embodiment of the present application provides a technical solution that combines visual technology to analyze the safety of elevators from more dimensions, thereby improving the accuracy of vehicle detection results, and improving the safety and rationality of explosion-proof warnings.

[0030] Please refer to Figure 1 , is a structural block diagram of an elevator system according to an embodiment of the present application, such as Figure 1 As shown, the elevator system includes a control device and an elevator.

[0031] It is understood that an elevator system may include one or more elevators. Figure 1 There are 2 elevators shown.

[0032] The elevator may include an elevator car and an elevator lifting device, wherein the elevator lifting device is used to control the lifting of the elevator car. Thus, the control device may be connected to the elevator lifting device to control the operation of the elevator car by controlling the elevator lifting device.

[0033] Furthermore, it is understood that, in addition to the elevator car and elevator lifting device, the elevator may also include parts involving human-computer interaction, such as: an elevator call panel inside the elevator, an elevator call panel outside the elevator, and an elevator floor display device, etc., which are not limited here.

[0034] Please refer to Figure 2 , is a structural block diagram of an elevator explosion-proof warning system based on visual technology according to an embodiment of the present application. The elevator explosion-proof warning system can be independent of the elevator system or integrated into the elevator system, which is not limited here.

[0035] The elevator explosion-proof warning system may include: a first image acquisition device, a second image acquisition device, a warning device and a control device.

[0036] As for the control device, it is respectively connected with the first image acquisition device, the second image acquisition device, the early warning device and the elevator. Figure 1 The control device shown, with Figure 2 The control devices shown may be the same control device or different control devices.

[0037] The control device in the embodiment of the present application may be a controller, a control device, etc.

[0038] There may be multiple first image acquisition devices, which are respectively installed in the elevator waiting area of ​​the corresponding elevator parking floor, and each first image acquisition device is used to acquire images of the corresponding elevator waiting area from multiple different directions.

[0039] Generally speaking, a camera is installed in the waiting area of ​​the elevator, and the camera can be used as the first imaging device.

[0040] The second image device is installed inside the elevator and is used to collect images inside the elevator. Generally speaking, a camera is installed inside the elevator, and the camera can be used as the second image device.

[0041] Regarding the early warning device, it is installed in the elevator waiting area of ​​the corresponding elevator stop floor. In some embodiments, if the elevator stop floor is equipped with a display device with richer display functions, such as a display device for displaying advertisements and playing videos, the display device can be regarded as an early warning device. In other embodiments, if the elevator stop floor is not equipped with a display device with richer display functions, and only has a display device that displays the current floor of the elevator, a new early warning device can be added separately, such as a voice early warning device, a photoelectric early warning device, etc., which is not limited here.

[0042] Generally, it can be seen from the introduction of each device module of the above system that the technical solution of the embodiment of the present application does not need to add more elevator basic hardware. Based on the elevator basic hardware, elevator explosion-proof warning can also be achieved, and the hardware cost is relatively low.

[0043] Further, based on Figure 1 and Figure 2 For the two systems shown, please refer to Figure 3 , is a flow chart of an elevator explosion-proof warning method based on visual technology according to an embodiment of the present application. The method can be applied to the aforementioned control device. The method includes the following steps:

[0044] Step 301, in response to detecting an elevator call instruction, acquiring a first image and a second image according to the elevator call instruction. The first image includes an image of an elevator waiting area at an elevator stop floor corresponding to the elevator call instruction, and the second image includes an image inside the elevator.

[0045] Step 302: Determine a first object detection result according to the first image. The first object detection result is used to characterize a first object included in the elevator waiting area.

[0046] Step 303: Determine a second object detection result according to the second image. The second object detection result is used to characterize a second object included in the elevator.

[0047] Step 304: If the first object includes a vehicle, determine that the vehicle is an unsafe vehicle based on the third image collected for the vehicle and preset vehicle information.

[0048] Step 305: Perform explosion-proof early warning control on the elevator according to the first object detection result and the second object detection result.

[0049] In step 301, the elevator call command is a call command initiated by the user based on the elevator call panel set in the elevator waiting area, that is, the elevator call command inside the elevator does not need to be performed. It can be understood that when the user calls the elevator, it is equivalent to making a corresponding judgment based on visual technology in advance. Compared with the related technology that makes a judgment after the vehicle enters the elevator, it can avoid unsafe vehicles from entering the elevator as much as possible.

[0050] In some embodiments, if there are elevator call instructions initiated from different elevator stop floors at the same time, the elevator call instructions from the elevator stop floor closer to the current elevator floor can be processed accordingly, and then other elevator call instructions can be processed.

[0051] The first image is an image of the elevator waiting area of ​​the elevator stop floor corresponding to the elevator call instruction. The elevator waiting area may be an area within a preset range of the elevator door location, for example, a circular area within 1 meter.

[0052] The second image is an image of the interior of the elevator, which is collected in real time and can be obtained at any time.

[0053] In step 304, a third image is also involved, and the third image is an image collected for the vehicle, that is, an image further collected for the vehicle when it is determined that there is a vehicle. It can be understood that the first image may be an image collected at a fixed angle, and the clarity and recognition of the vehicle in the image may be low. Therefore, after determining that there is a vehicle, an image with higher clarity and recognition can be collected for the vehicle to improve the accuracy of image processing.

[0054] Therefore, as an optional implementation, a first image acquisition device is respectively installed in the elevator waiting areas of multiple elevator stop floors, and a second image acquisition device is installed inside the elevator. The first image acquisition device is used to acquire images of the elevator waiting area from multiple different directions. The acquisition of the first image and the second image may include: acquiring a first image acquired in a first direction by the first image acquisition device installed in the elevator area of ​​the elevator stop floor corresponding to the elevator call instruction, the first direction being a preset direction; and acquiring a second image acquired by the second image acquisition device.

[0055] It can be understood that the first direction is a preset direction, usually a fixed collection direction, and the collection direction can be a range rather than a specified direction.

[0056] For examples, please refer to Figure 4A , is a schematic diagram of an image acquisition direction according to an embodiment of the present application, such as Figure 4A As shown, the first image acquisition device can be at the same horizontal plane as the highest point of the elevator car door, which can be understood as the first image acquisition device is installed above the elevator waiting area. Accordingly, the first image acquisition device can capture images in multiple directions. The first direction can be any direction within the direction range facing the elevator waiting area.

[0057] Regarding the second image acquisition device, the way in which it acquires the second image can refer to the mature technology in the field.

[0058] Regarding the third image, its acquisition process may include: if the first object includes a vehicle, determining the second direction according to the position of the vehicle in the first image; obtaining the third image acquired in the second direction by the first image acquisition device installed in the elevator area of ​​the elevator stop floor corresponding to the elevator call instruction.

[0059] In this implementation, based on the fact that the first object includes a vehicle, the position of the vehicle in the first image may be determined first, and the second direction may be determined according to the position.

[0060] In some embodiments, the center position of the first image is determined; then, the second direction is determined based on the direction of the vehicle relative to the center position and the first direction. For example, if the vehicle is to the right of the center position, the second direction is to the right of the first direction. If the vehicle is above the center position, the second direction is above the first direction. That is, the center position and the first direction may correspond.

[0061] For examples, please refer to Figure 4B , is a schematic diagram of another image acquisition direction according to an embodiment of the present application, such as Figure 4B As shown, the first image acquisition device can be at the same horizontal plane as the highest point of the elevator car door, which can be understood as the first image acquisition device is installed above the elevator waiting area. Accordingly, the first image acquisition device can capture images in multiple directions. Assuming that the position of the vehicle in the first image is below the image, the second direction is also below the first direction.

[0062] In step 302, the first object detection result may represent the first object included in the elevator waiting area. It can be understood that the first object may include: a person and a vehicle.

[0063] In step 303, the second object detection result may represent the second object included in the elevator. It is understandable that the second object may also include: a person and a vehicle.

[0064] As an optional implementation, step 302 includes: performing image annotation processing on the first image according to a pre-trained first model to obtain an annotated first image, wherein multiple object areas are annotated in the annotated first image; and identifying the annotated first image according to a pre-trained second model to obtain a first object detection result.

[0065] As an optional implementation, step 303 includes: performing image annotation processing on the second image according to the pre-trained first model to obtain an annotated second image, wherein multiple object areas are annotated in the annotated second image; and identifying the annotated second image according to the pre-trained second model to obtain a second object detection result.

[0066] In the embodiment of the present application, the processing purpose of the first image and the second image is to identify the object. Therefore, the first image and the second image can be processed using the same model.

[0067] In some embodiments, the first model and the second model can both be image processing models, such as convolutional network models and adaptive network models.

[0068] In some embodiments, the pre-trained first model is used to implement the annotation processing of the region of interest of the image, so as to facilitate the subsequent better identification of objects in the region of interest. In the embodiment of the present application, the region of interest may be a region involving a person or a vehicle.

[0069] In some embodiments, the pre-trained second model is used to implement object detection, which can identify the type of object, for example, whether it is a person or a vehicle.

[0070] In some embodiments, the first model and the second model can be trained separately, for example, the first model is trained based on a region annotation dataset, and the second model is trained based on an object annotation dataset.

[0071] In the embodiment of the present application, since the image input by the second model is an image annotated by the first model, in order to improve the accuracy of the joint application of the first model and the second model, the first model and the second model can be jointly trained.

[0072] Therefore, as an optional implementation, the joint training process of the first model and the second model includes: obtaining a first training data set and a second training data set, the first training data set includes multiple first sample images, and the multiple first sample images are respectively marked with object areas, and the second training data set includes multiple second sample images, and the multiple second sample images are respectively marked with object areas, and each marked object area corresponds to an object label; according to the first training data set, the first model to be trained is trained to obtain a pre-trained first model; multiple third sample images are determined from the multiple second sample images, and according to the pre-trained first model, the multiple third sample images are marked to obtain multiple marked third sample images; according to the multiple marked third sample images, the multiple third sample images and the second sample images other than the third sample images, an updated second training data set is determined; according to the multiple marked third sample images, the multiple third sample images and the second sample images other than the third sample images, the second model to be trained is trained according to the updated second training data set to obtain the pre-trained second model.

[0073] Regarding the first sample image, the object region can be annotated manually or in other ways. Regarding the second sample image, based on the object region annotated, the object type, ie, the object label, can be annotated manually or in other ways.

[0074] Furthermore, the first training data set may be used to train the first model to be trained to obtain a pre-trained first model.

[0075] Then, a portion of the third sample image may be determined from the second sample image. The portion of the third sample image may be determined by random selection, and the portion of the third sample image may occupy one third or one quarter of the amount of the second sample image.

[0076] After determining the third sample image, the third sample image may be copied to retain the original third sample image. Next, the object region annotation in the copied third sample image is deleted, the third sample image without the object region annotation is input into the pre-trained first model, and the third sample image without the object region annotation is annotated to obtain a plurality of annotated third sample images, and the annotated third sample images at this time may be different from the original third sample image.

[0077] Therefore, in some embodiments, based on the labeled third sample image output by the pre-trained first model, the object area labeled by the pre-trained first model and the object area labeling of the original third sample image can be compared. If the difference is large, the object area labeled by the pre-trained first model is not used, but the pre-trained first model is retrained. After the retraining, the above-mentioned implementation method is used to obtain the labeled sample image.

[0078] If the difference is small, there is no need to retrain the pre-trained first model, and the annotated third sample image, the original third sample image and the second sample image excluding the third sample image are directly used to generate an updated second training data set.

[0079] Therefore, the second training data set includes not only manually annotated object regions and corresponding object labels, but also object regions and corresponding object labels annotated by the first model.

[0080] For easier understanding, please refer to Figure 5 , is a block diagram of a model joint training according to an embodiment of the present application, such as Figure 5 As shown, the training data set of the first model is used to train the first model, and the training data set of the second model can be divided into original training data and test data, and the test data can be used to test the first model to obtain a test result. The test result can be integrated with the test data to generate new training data, so that the final training data set of the second model is the original training data + the new training data obtained based on the test data.

[0081] Furthermore, the second model is trained using the updated second training data set to obtain a pre-trained second model.

[0082] Due to the adoption of the above-mentioned joint training method, the second model has a strong generalization ability and a high precision. Moreover, the above-mentioned joint training method can also serve as a test for the first model and ensure the precision of the first model.

[0083] In some embodiments, if the first object does not include a vehicle, the current explosion-proof warning process can be terminated and explosion-proof warning monitoring can be continued. If the first object includes a vehicle, step 304 is executed to determine that the vehicle is an unsafe vehicle based on the third image collected for the vehicle and the preset vehicle information.

[0084] The method for acquiring the third image has been introduced in the aforementioned embodiment and will not be repeated here.

[0085] The preset vehicle information may include: preset vehicle information corresponding to a plurality of preset identification information respectively, the preset identification information is used to characterize the identity of the vehicle owner corresponding to the corresponding preset vehicle information, and each preset vehicle information includes a plurality of vehicle images and vehicle-related information.

[0086] In this implementation, vehicles that need to enter the elevator can be pre-registered. For example, in a residential area, not all electric vehicles have the need to enter the elevator, for example, some electric vehicles are charged in the underground garage, so they are generally parked in the underground garage; not all electric vehicles have the right to enter the elevator, for example, some electric vehicles have safety hazards and cannot enter the elevator.

[0087] Therefore, the electric vehicle information can be registered in the corresponding platform of the community. The registered electric vehicle information is double-checked by humans and machines, and after being determined to be safe, it is stored as the preset vehicle information. Furthermore, the corresponding platform can upload the preset vehicle information to the elevator early warning system, so that the elevator early warning system can judge whether the vehicle is a safe vehicle based on it.

[0088] Furthermore, the preset identification information represents the identity of the owner of the corresponding preset vehicle information, and the preset identification information also needs to be reviewed. For example, for a residential community, the preset identification information needs to be a resident of the community.

[0089] Each preset vehicle information includes a plurality of vehicle images, which are the plurality of vehicle images uploaded by the user when registering the vehicle, and may involve different vehicle angles and different vehicle parts.

[0090] Vehicle-related information may include: basic vehicle information. Further, the basic vehicle information may include: vehicle model, vehicle battery model, vehicle size and vehicle charger model. These vehicle-related information are information uploaded by users when registering their vehicles, and this information needs to be reviewed. For example: vehicle model, vehicle battery model, vehicle size and vehicle charger model all need to be corresponding information that complies with safety regulations. Specifically, whether safety regulations are met and the formulation of safety regulations can be implemented in different ways in combination with different application scenarios, which are not limited here.

[0091] It is understandable that during registration, if the review is passed, it only means that the basic information of the original registration is safe. In the subsequent process, if there are updates, security assessment will need to be carried out again.

[0092] Furthermore, determining whether the vehicle is a safe vehicle may include: if a vehicle image matching the third image is determined from among multiple vehicle images respectively included in multiple preset vehicle information, determining that the vehicle is an unsafe vehicle based on vehicle-related information in the preset vehicle information to which the vehicle image matching the third image belongs; if a vehicle image matching the third image is not determined from among multiple vehicle images respectively included in multiple preset vehicle information, determining that the vehicle is an unsafe vehicle.

[0093] In this embodiment, the third image is matched with a plurality of vehicle images respectively included in a plurality of preset vehicle information to determine a vehicle image matching the third image. For example, the similarity between the third image and the plurality of vehicle images respectively included in the plurality of preset vehicle information is calculated, and a vehicle image having a similarity greater than a preset similarity is determined as a vehicle image matching the third image. The preset similarity may be a value between 95% and 100%.

[0094] Thus, based on the vehicle-related information in the preset vehicle information to which the vehicle image matching the third image belongs, it can be determined whether the vehicle is an unsafe vehicle.

[0095] Furthermore, if a vehicle image matching the third image is not determined from among the plurality of vehicle images respectively included in the plurality of preset vehicle information, the vehicle may be directly determined to be an unsafe vehicle.

[0096] In some embodiments, the vehicle-related information includes: basic vehicle information and the time when the basic vehicle information is updated.

[0097] It is understood that after the user registers the vehicle information, the basic vehicle information needs to be updated regularly. If it is not updated, the registered vehicle information is considered invalid. If there is an update, it is necessary to determine whether the updated information is safe to determine whether the vehicle is safe.

[0098] Therefore, determining that the vehicle is an unsafe vehicle based on the vehicle-related information in the preset vehicle information belonging to the vehicle image matching the third image can include: determining the time interval between the update time of the vehicle basic information and the current time; if the time interval is less than the preset time interval, determining that the vehicle is an unsafe vehicle based on the vehicle model, vehicle battery model, vehicle size and vehicle charger model; if the time interval is greater than or equal to the preset time interval, determining that the vehicle is an unsafe vehicle.

[0099] In this embodiment, the preset time interval may be a value between 1 and 3 months.

[0100] In some embodiments, the vehicle model, vehicle battery model, vehicle size, and vehicle charger model involved in the update are judged according to preset safety standards, and if all of them meet the safety standards, the vehicle is considered to be a safe vehicle. Otherwise, the vehicle is an unsafe vehicle.

[0101] The preset safety standards may be safety standards uploaded by relevant maintenance personnel, which may include safety conditions corresponding to vehicle model, vehicle battery model, vehicle size, and vehicle charger model. The safety standards may be continuously updated according to actual conditions. For example, if a new elevator accident occurs elsewhere, and the basic information of the vehicle involved in the elevator accident meets the safety conditions, the safety conditions need to be updated accordingly.

[0102] In some embodiments, the safety conditions may include: a safe vehicle model set, a safe battery model set, a safe vehicle size range, a vehicle charger model set, and the like.

[0103] Furthermore, if it is determined that the vehicle is a safe vehicle, the current explosion-proof warning process is terminated.

[0104] If the vehicle is determined to be an unsafe vehicle, step 305 is executed to perform explosion-proof early warning control on the elevator according to the first object detection result and the second object detection result.

[0105] As an optional implementation, step 305 includes: determining the number of people waiting for the elevator in the elevator waiting area according to the first object detection result; determining the number of people inside the elevator according to the second object detection result; and performing explosion-proof warning control on the elevator according to the number of people waiting for the elevator, the number of people in the elevator and the elevator stop floor corresponding to the elevator call instruction.

[0106] In some embodiments, according to the first object detection result, the number of people waiting for the elevator in the elevator waiting area may be determined, for example, by counting the number of people in the first object.

[0107] And, according to the second object detection result, the number of people in the elevator included in the elevator can be determined. For example, the number of people in the second object is counted.

[0108] Furthermore, explosion-proof early warning control is performed on the elevator according to the number of people waiting for the elevator, the number of people in the elevator, and the elevator stop floor corresponding to the elevator call command.

[0109] As an optional implementation, explosion-proof warning control is performed on the elevator according to the number of people waiting for the elevator, the number of people in the elevator and the elevator stop floor corresponding to the elevator call instruction, including: if the number of people in the elevator is greater than a first preset number, and the elevator stop floor corresponding to the elevator call instruction is not the target floor, the target floor includes: a preset floor, an intermediate stop floor for the people in the elevator and a terminal stop floor for the people in the elevator, the elevator is controlled not to stop at the elevator stop floor corresponding to the elevator call instruction; if the number of people in the elevator is less than or equal to the first preset number, and the number of people waiting for the elevator is greater than a second preset number, the elevator is controlled to stop at the elevator stop floor corresponding to the elevator call instruction, and the warning device at the elevator stop floor corresponding to the elevator call instruction is controlled to output a first warning message, the second preset number is less than the first preset number, and the first warning message is used to indicate that vehicles are prohibited from entering the elevator; if the number of people in the elevator is less than or equal to the first preset number, and the number of people waiting for the elevator is less than or equal to the second preset number, the elevator is controlled to stop at the elevator stop floor corresponding to the elevator call instruction, and the warning device is controlled to output a second warning message, and the second warning message is used to remind the people in the elevator and the vehicles of the people waiting for the elevator that there is an explosion-proof hazard.

[0110] In some embodiments, the first preset number may be half of the maximum number of people that the elevator can accommodate. The second preset number may be any value less than the first preset number, which is not limited here.

[0111] In some embodiments, the preset floor may be the default stop floor of the elevator when no one is in the elevator, usually floor 1. The intermediate stop floor for people in the elevator and the final stop floor for people in the elevator are known information of the elevator control and can be directly obtained.

[0112] Therefore, when the number of people in the elevator is greater than the first preset number, and the elevator stop floor corresponding to the elevator call instruction is not the target floor, the elevator can be directly controlled not to stop at the elevator stop floor corresponding to the elevator call instruction. In this case, there are already a large number of people in the elevator, and no one will get off the elevator at the elevator stop floor corresponding to the elevator call instruction, so the safety hazard is relatively large. A more mandatory early warning measure is adopted to directly control the elevator not to stop at the elevator stop floor corresponding to the elevator call instruction to avoid safety hazards.

[0113] When the number of people in the elevator is greater than the first preset number and the elevator stop floor corresponding to the elevator call instruction is the target floor, the elevator can be controlled to stop at the elevator stop floor corresponding to the elevator call instruction, and the early warning device at the elevator stop floor corresponding to the elevator call instruction can be controlled to output the first early warning information.

[0114] When the number of people in the elevator is less than or equal to a first preset number and the number of people waiting for the elevator is greater than a second preset number, the elevator can be controlled to stop at the elevator stop floor corresponding to the elevator call instruction, and the warning device at the elevator stop floor corresponding to the elevator call instruction can be controlled to output a first warning message.

[0115] Regarding the above two situations, in the first situation, there are already a large number of people in the elevator, and someone will get off the elevator at the elevator stop floor corresponding to the elevator call instruction, so the elevator has to stop at the elevator stop floor corresponding to the elevator call instruction. In the second situation, there are fewer people in the elevator, and there are also more people waiting for the elevator, so the elevator needs to stop at the elevator stop floor corresponding to the elevator call instruction.

[0116] However, there are safety hazards in both cases, so if the vehicle has to stop, it is possible to directly prohibit the vehicle from entering the elevator.

[0117] Therefore, the first preset warning information can be a voice prompt information or a text prompt information displayed on a display device. The content corresponding to the voice prompt information or the text prompt information can be, for example: your vehicle has a hidden danger, please do not drive the vehicle into the elevator, otherwise you will be fined, etc. In different application scenarios, it can be flexibly configured and is not limited here.

[0118] In some embodiments, if the number of people in the elevator is less than or equal to a first preset number, and the number of people waiting for the elevator is less than or equal to a second preset number, the safety hazard is relatively smaller than the previous situations. In this case, the elevator can be controlled to stop at the elevator stop floor corresponding to the elevator call command, and the early warning device can be controlled to output a second early warning message. The second early warning message is used to remind people in the elevator and people waiting for the elevator that their vehicles are explosion-proof hazardous.

[0119] The second preset warning information may be a voice prompt information or a text prompt information displayed on a display device. The content corresponding to the voice prompt information or the text prompt information may be, for example: the vehicle has a safety hazard, please pay attention to safety for people in the elevator and people waiting for the elevator.

[0120] At the same time, in this case, an early warning message can also be sent to the remote monitoring terminal of the elevator (such as the monitoring room of the elevator) to remind relevant users to pay attention to the safety situation in time.

[0121] It can be understood that in addition to the above-mentioned explosion-proof warning control method, other explosion-proof warning control methods can also be adopted in combination with different application scenarios, which are not limited here.

[0122] It can be seen from the introduction of the embodiments of the present application that when an elevator call command is detected, an image of the elevator waiting area of ​​the elevator stop floor corresponding to the elevator call command is obtained according to the elevator call command, and an image of the interior of the elevator is obtained; by analyzing the image of the elevator waiting area, it is determined whether the elevator waiting area includes a vehicle, and an early explosion-proof warning can be achieved. In the case where the objects included in the elevator waiting area include vehicles, the vehicle is determined to be an unsafe vehicle by using the image collected for the vehicle and the preset vehicle information, which can improve the accuracy of the vehicle safety determination result. On the basis of determining that the vehicle is an unsafe vehicle, combined with the object detection results of the elevator waiting area and the interior of the elevator, respectively, the elevator is subjected to explosion-proof warning control, which can achieve a more reasonable and safe explosion-proof warning. Therefore, this technical solution is based on visual technology, improves the accuracy of vehicle detection results, and improves the safety and rationality of explosion-proof warnings.

[0123] Please refer to Figure 6 , an embodiment of the present application also provides an electronic device, which can be used as the aforementioned control device.

[0124] The electronic device includes a processor 601 and a memory 602, and the processor 601 and the memory 602 are communicatively connected.

[0125] The processor 601 and the memory 602 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, these elements can be electrically connected through one or more communication buses or signal buses. The method steps executed by the aforementioned modules or interactive terminals respectively include at least one software function module that can be stored in the memory 602 in the form of software or firmware.

[0126] The processor 601 may be an integrated circuit chip with signal processing capability. The processor 601 may be a general-purpose processor, including a CPU (Central Processing Unit), an NP (Network Processor), etc.; it may also be a digital signal processor, an application-specific integrated circuit, a readily available programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. It may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0127] The memory 602 can store various software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602, that is, implements various steps in the embodiment of the present application.

[0128] The memory 602 may include, but is not limited to, RAM (Random Access Memory), ROM (Read Only Memory), PROM (Programmable Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electric Erasable Programmable Read-Only Memory), etc.

[0129] Understandably, Figure 6 The structure shown is for illustration only. The electronic device may also include Figure 6 More or fewer components as shown, or with Figure 6 Different configurations are shown.

[0130] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0131] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0132] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0134] The foregoing description of the specific exemplary embodiments of the present application is for the purpose of illustration and illustration. These descriptions are not intended to limit the present application to the precise form disclosed, and it is clear that many changes and variations can be made based on the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present application and its practical application, so that those skilled in the art can realize and utilize the various exemplary embodiments of the present application and various selections and changes. The scope of the present application is intended to be limited by the claims and their equivalents.

Claims

1. An elevator explosion-proof early warning method based on visual technology, characterized in that: include: In response to detecting an elevator call instruction, acquiring a first image and a second image according to the elevator call instruction, the first image including an image of an elevator waiting area of ​​an elevator stop floor corresponding to the elevator call instruction, and the second image including an image of the interior of the elevator; Determine a first object detection result according to the first image, where the first object detection result is used to characterize a first object included in the elevator waiting area; Determine a second object detection result according to the second image, where the second object detection result is used to characterize a second object included in the elevator; If the first object includes a vehicle, determining that the vehicle is an unsafe vehicle according to a third image collected for the vehicle and preset vehicle information; performing explosion-proof early warning control on the elevator according to the first object detection result and the second object detection result; The preset vehicle information includes preset vehicle information corresponding to a plurality of preset identification information respectively, the preset identification information is used to indicate the identity of the vehicle owner corresponding to the corresponding preset vehicle information, each preset vehicle information includes a plurality of vehicle images and vehicle-related information, and the determining that the vehicle is an unsafe vehicle based on the third image collected for the vehicle and the preset vehicle information includes: If a vehicle image matching the third image is determined from a plurality of vehicle images respectively included in a plurality of preset vehicle information, the vehicle is determined to be an unsafe vehicle according to vehicle-related information in the preset vehicle information to which the vehicle image matching the third image belongs; If no vehicle image matching the third image is determined from the plurality of vehicle images respectively included in the plurality of preset vehicle information, determining that the vehicle is an unsafe vehicle; The vehicle-related information included in each preset vehicle information includes: basic vehicle information and vehicle basic information update time, and the basic vehicle information includes: vehicle model, vehicle battery model, vehicle size and vehicle charger model; the vehicle-related information in the preset vehicle information to which the vehicle image matching the third image belongs, determining that the vehicle is an unsafe vehicle, includes: Determine the time interval between the vehicle basic information update time and the current time; If the time interval is less than a preset time interval, determining the vehicle as an unsafe vehicle according to the vehicle model, vehicle battery model, vehicle size, and vehicle charger model; If the time interval is greater than or equal to the preset time interval, the vehicle is determined to be an unsafe vehicle.

2. The elevator explosion-proof early warning method according to claim 1 is characterized in that: The elevator waiting areas of the multiple elevator stop floors are respectively equipped with first image acquisition devices, and the second image acquisition device is installed inside the elevator. The first image acquisition device is used to acquire images of the elevator waiting area from multiple different directions. The first image and the second image are acquired according to the elevator call instruction, including: Acquire the first image captured in a first direction by a first image acquisition device installed in an elevator area of ​​the elevator stop floor corresponding to the elevator call instruction, where the first direction is a preset direction; Acquire the second image captured by the second image acquisition device; The elevator explosion-proof early warning method also includes: If the first object includes a vehicle, determining a second direction according to a position of the vehicle in the first image; The third image captured in the second direction by a first image capture device installed in an elevator area of ​​an elevator stop floor corresponding to the elevator call instruction is acquired.

3. The elevator explosion-proof early warning method according to claim 1 is characterized in that: The step of determining a first object detection result according to the first image includes: According to the pre-trained first model, performing image annotation processing on the first image to obtain an annotated first image, wherein a plurality of object regions are annotated in the annotated first image; The labeled first image is recognized according to the pre-trained second model to obtain the first object detection result.

4. The elevator explosion-proof early warning method according to claim 1 is characterized in that: The step of determining a second object detection result according to the second image includes: performing image annotation processing on the second image according to the pre-trained first model to obtain an annotated second image, wherein a plurality of object regions are annotated in the annotated second image; The labeled second image is recognized according to the pre-trained second model to obtain the second object detection result.

5. The elevator explosion-proof early warning method according to claim 3 or 4, characterized in that: The elevator explosion-proof early warning method also includes: Acquire a first training data set and a second training data set, wherein the first training data set includes a plurality of first sample images, each of which is marked with an object region, and the second training data set includes a plurality of second sample images, each of which is marked with an object region, and each marked object region corresponds to an object label; Training the first model to be trained according to the first training data set to obtain the pre-trained first model; Determining a plurality of third sample images from the plurality of second sample images, and annotating the plurality of third sample images according to the pre-trained first model to obtain a plurality of annotated third sample images; determining an updated second training data set according to the plurality of annotated third sample images, the plurality of third sample images, and second sample images other than the third sample images; The second model to be trained is trained according to the updated second training data set to obtain the pre-trained second model.

6. The elevator explosion-proof early warning method according to claim 1 is characterized in that: The method of performing explosion-proof early warning control on the elevator according to the first object detection result and the second object detection result includes: Determine the number of people waiting for elevators in the elevator waiting area according to the first object detection result; Determining the number of people in the elevator included in the elevator according to the second object detection result; The elevator is subjected to explosion-proof early warning control according to the number of people waiting for the elevator, the number of people in the elevator and the elevator stop floor corresponding to the elevator call instruction.

7. The elevator explosion-proof early warning method according to claim 6, characterized in that: The explosion-proof early warning control of the elevator according to the number of people waiting for the elevator, the number of people in the elevator and the elevator stop floor corresponding to the elevator call instruction includes: If the number of people in the elevator is greater than a first preset number, and the elevator stop floor corresponding to the elevator call instruction is not a target floor, the target floor includes: a preset floor, an intermediate stop floor for people in the elevator, and a terminal stop floor for people in the elevator, the elevator is controlled not to stop at the elevator stop floor corresponding to the elevator call instruction; If the number of people in the elevator is less than or equal to a first preset number, and the number of people waiting for the elevator is greater than a second preset number, the elevator is controlled to stop at the elevator stop floor corresponding to the elevator call instruction, and the early warning device at the elevator stop floor corresponding to the elevator call instruction is controlled to output a first early warning message, the second preset number is less than the first preset number, and the first early warning message is used to indicate that the vehicle is prohibited from entering the elevator; If the number of people in the elevator is less than or equal to a first preset number, and the number of people waiting for the elevator is less than or equal to a second preset number, the elevator is controlled to stop at the elevator stop floor corresponding to the elevator call instruction, and the early warning device is controlled to output a second early warning message, wherein the second early warning message is used to remind the people in the elevator and the people waiting for the elevator that the vehicle has an explosion-proof hazard.

8. An elevator explosion-proof warning system based on visual technology, characterized in that: include: A plurality of first image acquisition devices, each of which is installed in an elevator waiting area at a corresponding elevator stop floor, and each of the first image acquisition devices is used to acquire an image of the corresponding elevator waiting area from a plurality of different directions; a second image acquisition device, the second image acquisition device being installed inside the elevator, and the second image acquisition device being used to acquire an image inside the elevator; A plurality of early warning devices, wherein the plurality of early warning devices are respectively installed in the elevator waiting area of ​​the corresponding elevator stop floor; A control device, wherein the control device is respectively connected to the first image acquisition device, the second image acquisition device, the early warning device and the elevator, and the control device is used to implement the elevator explosion-proof early warning method based on visual technology as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Elevator monitoring method without dead angle

    CN107128763A

  • Elevator real-time control method based on video identification and terminal

    CN111204620A

  • Battery car detection method and device, computer equipment and storage medium

    CN111353451A

  • Alarm method and related alarm device of battery car in elevator

    CN111439644A

  • Battery car elevator entry alarming method combining re-recognition and system

    CN111776905A