CN114229641A - Method, device and equipment for determining water level of elevator shaft and readable storage medium - Google Patents

Method, device and equipment for determining water level of elevator shaft and readable storage medium Download PDF

Info

Publication number
CN114229641A
CN114229641A CN202111564822.9A CN202111564822A CN114229641A CN 114229641 A CN114229641 A CN 114229641A CN 202111564822 A CN202111564822 A CN 202111564822A CN 114229641 A CN114229641 A CN 114229641A
Authority
CN
China
Prior art keywords
image
elevator
water level
elevator shaft
hsv
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111564822.9A
Other languages
Chinese (zh)
Other versions
CN114229641B (en
Inventor
钟晨初
李成文
林晓坤
董晓楠
李学锋
王蕊
田文龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Huichuan Control Technology Co Ltd
Original Assignee
Suzhou Huichuan Control Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Huichuan Control Technology Co Ltd filed Critical Suzhou Huichuan Control Technology Co Ltd
Priority to CN202111564822.9A priority Critical patent/CN114229641B/en
Publication of CN114229641A publication Critical patent/CN114229641A/en
Application granted granted Critical
Publication of CN114229641B publication Critical patent/CN114229641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66BELEVATORS; ESCALATORS OR MOVING WALKWAYS
    • B66B5/00Applications of checking, fault-correcting, or safety devices in elevators
    • B66B5/0006Monitoring devices or performance analysers

Landscapes

  • Indicating And Signalling Devices For Elevators (AREA)

Abstract

The invention discloses a method, a device, equipment and a readable storage medium for judging the water level of an elevator shaft, wherein the method comprises the following steps: acquiring HSV images corresponding to the elevator pit; segmenting the HSV image according to the brightness of the HSV image to obtain a primary screening image; and carrying out texture recognition on the primary screening image, and judging the water level of the elevator shaft according to the result of the texture recognition. The cost in the water level judging process of the elevator shaft can be reduced through the invention.

Description

Method, device and equipment for determining water level of elevator shaft and readable storage medium
Technical Field
The invention relates to the field of water level judgment of an elevator shaft, in particular to a water level judgment method, a water level judgment device, water level judgment equipment and a readable storage medium of the elevator shaft.
Background
In recent years, with the increase of high-rise buildings, people rely on elevators more and more strongly. A car elevator is a vertical elevator powered by an electric motor and equipped with a box-like car for carrying people or cargo in a multi-story building.
The elevator shaft is a shaft for installing an elevator, the size of the shaft is determined according to the elevator type, the shaft is called as the shaft for short, a vertical passage special for the elevator to run up and down in a building, the size of the shaft is determined according to the elevator type, the cross section of the shaft is rectangular or square, an elevator track and a counterweight track are installed on the wall of the shaft, an elevator door is installed in a reserved door opening, an elevator machine room is arranged at the top of the shaft, one shaft is generally used for one elevator, two or more elevators can be used in parallel to form one shaft under special conditions, a door opening is formed in the floor of each floor, a shaft door can be installed, an elevator car and a guide rail sliding through a balance weight block are arranged in the shaft, a buffer of the elevator car is arranged in a shaft pit, and most of motors and transmission machinery are arranged at the top of the shaft.
The depth of the elevator shaft excavation is low compared to the lower floors of the building and cannot be completely closed. Because the pit of elevator well bottom lacks a ponding alarm device, when leading to taking place heavy rainfall or having rivers to get into in the well, cause the influence to the operation of elevator, make the unable operation of elevator break down or the phenomenon of elevator ponding in the car appear when the bottom, the staff can't learn the condition very first time, withdraw the personnel in the elevator and overhaul with the trouble of elevator, bring huge potential safety hazard to the people who take the elevator. In order to solve the safety problem, some judgment methods for the condition of water accumulation in the elevator shaft exist in the prior art, for example, a buoyancy sliding block mechanism is designed to adjust the power-on state to judge whether a large amount of water accumulation exists, but a mechanical device based on buoyancy can only judge the water accumulation in a specific scene, so that the time lag is caused, and the cost for designing a set of sliding block mechanism is high; for example, a set of circuit identification system using the water level detection head as a pointer is designed, however, as the ground of the pit is uneven, the sensitivity of a single water level detection head is not enough, which easily causes large measurement error, and a plurality of water level detection heads cause excessive cost.
Disclosure of Invention
The invention provides a method, a device, equipment and a readable storage medium for judging the water level of an elevator shaft, and aims to solve the technical problem of high cost when judging the accumulated water of the elevator shaft.
In order to achieve the above object, the present invention provides a method for determining a water level in an elevator hoistway, the method comprising the steps of:
acquiring HSV images corresponding to the elevator pit;
segmenting the HSV image according to the brightness of the HSV image to obtain a primary screening image;
and sending the primary screening image to a cloud server so that the cloud server judges the water level of the elevator shaft according to the primary screening image.
Optionally, sequentially comparing the brightness of image pixel points in the HSV image with a preset water accumulation brightness threshold;
if the brightness of the image pixel point is larger than the preset accumulated water brightness threshold value, extracting the image pixel point;
and generating a primary screening image according to the extracted image pixel points.
Optionally, if the brightness of the image pixel is less than or equal to the preset accumulated water brightness threshold, filtering the image pixel;
if all image pixel points in the HSV image are filtered, no primary screening image is generated, and the step of obtaining the HSV image corresponding to the elevator pit is repeatedly executed.
Optionally, acquiring a preliminary screening image sent by the edge computing device;
and carrying out texture recognition on the primary screening image, and judging the water level of the elevator shaft according to the result of the texture recognition.
Optionally, converting the preliminary screening image into a grayscale image corresponding to the preliminary screening image;
acquiring a gray level co-occurrence matrix corresponding to the gray level image, and extracting a texture characteristic value of the gray level co-occurrence matrix;
and determining the water accumulation condition of the elevator shaft according to the texture characteristic value.
Optionally, judging whether the texture characteristic value is larger than a preset accumulated water texture threshold value;
if the texture characteristic value is larger than a preset accumulated water texture threshold value, judging that accumulated water exists in the elevator shaft;
and if the texture characteristic value is less than or equal to a preset accumulated water texture threshold value, judging that no accumulated water exists in the elevator shaft.
Optionally, if it is determined that water is accumulated in the elevator shaft, sending warning information;
and if the situation that no accumulated water exists in the elevator shaft is judged, the step of obtaining the HSV image corresponding to the elevator pit is repeatedly executed.
In order to achieve the above object, the present application also provides a water level determination device for an elevator shaft, including:
the camera is used for acquiring video images of the elevator pit and uploading the video images to a local database frame by frame;
the edge calculation device is used for acquiring a video image, converting the video image into an HSV image, and segmenting the HSV image according to the brightness of the HSV image to obtain a primary screening image;
and the cloud server is used for carrying out texture recognition on the primary screening image and judging the water level of the elevator shaft according to the result of the texture recognition.
In order to achieve the above object, the present application also provides a water level determination device for an elevator shaft, including a memory, a processor, and an elevator shaft water level determination program stored in the memory and operable on the processor, wherein the elevator shaft water level determination program, when executed by the processor, implements the elevator shaft water level determination method.
In order to achieve the above object, the present application also proposes a readable storage medium having stored thereon a water level determination program of an elevator hoistway, which when executed by a processor, implements the water level determination method of the elevator hoistway.
According to the method and the device, the HSV image corresponding to the elevator pit is obtained, the HSV image is segmented according to the brightness of the HSV image to obtain the primary screening image, then the segmented primary screening image is subjected to texture recognition, and the water level condition of the elevator shaft is determined according to the result of the texture recognition. Utilize devices such as water level detection head or kickboard to judge among the prior art to the water level of elevator well and compare, image recognition technology is applied to this field in this application, through the mode that edge computing node and high in the clouds server combined together to lower cost and higher real-time have accomplished the judgement of elevator well water level condition.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic block diagram of a water level determination method for an elevator shaft according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for determining a water level in an elevator shaft according to an embodiment of the present invention;
fig. 3 is a flowchart of a method of determining a water level in an elevator shaft according to another embodiment of the present invention;
fig. 4 is a block diagram of a method for determining a water level in an elevator shaft according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a water level determination device for an elevator shaft according to various embodiments of the present invention. The water level determination device for the elevator hoistway includes an execution module 01, a memory 02, a processor 03, a battery system, and the like. Those skilled in the art will appreciate that the apparatus shown in fig. 1 may also include more or fewer components than those shown, or combine certain components, or a different arrangement of components. The processor 03 is connected to the memory 02 and the execution module 01, respectively, a water level determination program of the elevator shaft is stored in the memory 02, and the water level determination program of the elevator shaft is executed by the processor 03 at the same time.
The execution module 01 can acquire an HSV image corresponding to an elevator pit, segment the HSV image according to brightness of the HSV image to obtain a preliminary screening image, perform texture recognition on the preliminary screening image, judge the water level of an elevator shaft according to a result of the texture recognition, and feed back the information to the processor 03.
The memory 02 may be used to store software programs and various data. The memory 02 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data or information created according to the use of the internet of things terminal, or the like. Further, the memory 02 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 03 is a determination center of the processing platform, connects various parts of the whole internet of things terminal by using various interfaces and lines, and executes various functions and processing data of the internet of things terminal by running or executing software programs and/or modules stored in the memory 02 and calling data stored in the memory 02, thereby integrally monitoring the water level determination device of the elevator hoistway. Processor 03 may include one or more processing units; preferably, the processor 03 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 03.
Those skilled in the art will appreciate that the water level determining device structure of the elevator hoistway shown in fig. 1 does not constitute a limitation of the device, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
Various embodiments of the method of the present invention are presented in terms of the above-described hardware architecture.
In recent years, with the increase of high-rise buildings, people rely on elevators more and more strongly. A car elevator is a vertical elevator powered by an electric motor and equipped with a box-like car for carrying people or cargo in a multi-story building.
The elevator shaft is a shaft for installing an elevator, the size of the shaft is determined according to the elevator type, the shaft is called as the shaft for short, a vertical passage special for the elevator to run up and down in a building, the size of the shaft is determined according to the elevator type, the cross section of the shaft is rectangular or square, an elevator track and a counterweight track are installed on the wall of the shaft, an elevator door is installed in a reserved door opening, an elevator machine room is arranged at the top of the shaft, one shaft is generally used for one elevator, two or more elevators can be used in parallel to form one shaft under special conditions, a door opening is formed in the floor of each floor, a shaft door can be installed, an elevator car and a guide rail sliding through a balance weight block are arranged in the shaft, a buffer of the elevator car is arranged in a shaft pit, and most of motors and transmission machinery are arranged at the top of the shaft.
The depth of the elevator shaft excavation is low compared to the lower floors of the building and cannot be completely closed. Because the pit of elevator well bottom lacks a ponding alarm device, when leading to taking place heavy rainfall or having rivers to get into in the well, cause the influence to the operation of elevator, make the unable operation of elevator break down or the phenomenon of elevator ponding in the car appear when the bottom, the staff can't learn the condition very first time, withdraw the personnel in the elevator and overhaul with the trouble of elevator, bring huge potential safety hazard to the people who take the elevator. In order to solve the safety problem, some judgment methods for the condition of water accumulation in the elevator shaft exist in the prior art, for example, a buoyancy sliding block mechanism is designed to adjust the power-on state to judge whether a large amount of water accumulation exists, but a mechanical device based on buoyancy can only judge the water accumulation in a specific scene, so that the time lag is caused, and the cost for designing a set of sliding block mechanism is high; for example, a set of circuit identification system using the water level detection head as a pointer is designed, however, as the ground of the pit is uneven, the sensitivity of a single water level detection head is not enough, which easily causes large measurement error, and a plurality of water level detection heads cause excessive cost.
In order to solve the above problems, the present application proposes a method for determining a water level of an elevator shaft, and in a first embodiment of the method for determining a water level of an elevator shaft according to the present invention, referring to fig. 2, the method for determining a water level of an elevator shaft includes:
step S110, obtaining HSV images corresponding to the elevator pit;
as shown in fig. 1, the water level determination method for the elevator hoistway in the application is based on an identification system for the accumulated water in the elevator pit based on image identification, and the identification system for the accumulated water in the elevator pit at least comprises a cloud server, a cloud server database, an edge calculation device, a local database corresponding to the edge calculation device, a camera and an information receiving terminal. The information receiving terminal can be a computer terminal of an elevator manager, such as a computer terminal of a community property, a computer terminal of an office building property and the like; the computer terminal can also be a computer terminal of an elevator maintenance party, such as a computer terminal of an elevator company, a computer terminal of a rescue team and the like. Specifically, the cloud server is respectively connected with a cloud server database and an edge computing device, and the edge computing device is respectively connected with a local database, a camera and an information receiving terminal corresponding to the edge computing device. Based on the set of identification system for the water accumulated in the elevator pit, a camera can be used for shooting a video image of the elevator pit, an edge calculation device is used for converting the video image into an HSV (hue, saturation and value) image in an HSV format, and the water level in the elevator shaft is judged and judged according to the HSV image.
Step S120, segmenting the HSV image according to the brightness of the HSV image to obtain a primary screening image;
in this embodiment, a trained brightness recognition model is stored in the edge computing device, and after the edge computing device obtains an HSV image in HSV format, the edge computing device may use the brightness recognition model to segment the HSV image according to brightness, and extract a prescreened image with higher brightness. Specifically, the reflection of light due to the water-accumulating area is specular reflection, and the reflection of light by other areas is diffuse reflection. The specular reflection of the water-accumulating area is stronger than the diffuse reflection of other areas, and therefore the brightness of the water-accumulating area is relatively high when reflected in the HSV image. Therefore, the area with higher brightness can be regarded as a suspected ponding area, the HSV image is further segmented, the suspected ponding area with higher brightness is segmented to serve as a primary screening image, and whether ponding exists in the area in the primary screening image is further judged.
And S130, sending the primary screening image to a cloud server so that the cloud server judges the water level of the elevator shaft according to the primary screening image.
In this embodiment, only the brightness recognition model for generating the preliminary screening image according to the HSV image is stored in the edge computing device, but the preliminary screening image can only screen out a suspected ponding area with higher brightness, and cannot determine whether the suspected ponding area is a real ponding area. Therefore, the preliminary screening image needs to be sent to the cloud server, so that the cloud server further determines the water level of the elevator shaft.
According to the method and the device, the HSV image corresponding to the elevator pit is obtained, the HSV image is segmented according to the brightness of the HSV image to obtain the primary screening image, then the segmented primary screening image is subjected to texture recognition, and the water level condition of the elevator shaft is determined according to the result of the texture recognition. Utilize devices such as water level detection head or kickboard to judge among the prior art to the water level of elevator well and compare, image recognition technology is applied to this field in this application, through the mode that edge computing node and high in the clouds server combined together to lower cost and higher real-time have accomplished the judgement of elevator well water level condition.
In an embodiment, the step of segmenting the HSV image according to the brightness of the HSV image to obtain a primary screening image includes:
sequentially comparing the brightness of image pixel points in the HSV image with a preset water accumulation brightness threshold;
if the brightness of the image pixel point is larger than the preset accumulated water brightness threshold value, extracting the image pixel point;
and generating a primary screening image according to the extracted image pixel points.
In this embodiment, the HSV image is a color space image in HSV format, and the color space image in HSV format can express the following three features of a color image, which are Hue (Hue), Saturation (Saturation, color purity), and Value (brightness), respectively. Wherein, Hue is measured by angle, the value range is 0-360 degrees, Saturation represents the degree of color approaching to spectral color, wherein, the larger the proportion of the spectral color is, the higher the degree of color approaching to the spectral color is, and the higher the Saturation of the color is, usually, the value range of Saturation is 0-100%, and the larger the value is, the more saturated the color is. Value represents the brightness of the color, and for the light source color, the brightness Value is related to the brightness of the luminous body; for object colors, the brightness value is related to the transmittance or reflectance of the object, and the value range is usually 0% to 100%. As can be seen from the above, the brightness of each pixel in the HSV image in HSV format can be represented by the above three feature values. Therefore, each image pixel point in the HSV image can be extracted, the brightness (Value) of each image pixel point is obtained, the brightness of the image pixel points is sequentially compared with a preset ponding brightness threshold Value, if the brightness of the image pixel points is larger than the preset ponding brightness threshold Value, the image pixel points can be considered to possibly belong to a suspected ponding area, then the image pixel points are extracted, all the image pixel points with the brightness larger than the preset ponding brightness threshold Value can be extracted through the method, and all the extracted image pixel points are generated into an initial screening image. The preset accumulated water brightness threshold value is a threshold value set by a person skilled in the art according to the brightness of the accumulated water area, and can be adjusted in real time according to actual conditions.
In an embodiment, the step of sequentially comparing the brightness of the image pixel points in the HSV image with a preset water accumulation brightness threshold further includes:
if the brightness of the image pixel point is less than or equal to the preset accumulated water brightness threshold value, filtering the image pixel point;
if all image pixel points in the HSV image are filtered, no primary screening image is generated, and the step of obtaining the HSV image corresponding to the elevator pit is repeatedly executed.
In this embodiment, after the brightness of the image pixel points in the HSV image is sequentially compared with the preset water accumulation brightness threshold, if there are image pixel points with brightness greater than the preset water accumulation brightness threshold in the HSV image, an initial screening image is generated based on the image pixel points with brightness greater than the preset water accumulation brightness threshold; if image pixel points with brightness larger than the preset water accumulation brightness threshold value do not exist in the HSV image, the elevator shaft is considered to have no area suspected of water accumulation at the moment, so that a primary screening image does not need to be generated, and the step of obtaining the HSV image corresponding to the elevator pit is repeatedly executed to judge whether the area suspected of water accumulation exists in other HSV images.
In order to solve the above problems, the present application proposes a method for determining a water level of an elevator shaft, and in a second embodiment of the method for determining a water level of an elevator shaft according to the present invention, referring to fig. 3, the method for determining a water level of an elevator shaft includes:
step S210, acquiring a primary screening image sent by an edge computing device;
and S220, performing texture recognition on the primary screening image, and judging the water level of the elevator shaft according to the result of the texture recognition.
In this embodiment, after the edge device obtains the preliminary screening image, it is necessary to further determine whether the preliminary screening image is an image corresponding to the waterlogged area. Uploading a primary screening image in an edge device to a cloud server, wherein a trained image texture feature model is stored in the cloud server, the image texture feature model performs texture recognition on the primary screening image, whether accumulated water texture feature quantity in the primary screening image is larger than a preset accumulated water texture threshold value or not is judged, if the accumulated water texture feature quantity in the primary screening image is larger than the preset accumulated water texture threshold value, it can be judged that an elevator pit has accumulated water, and a message that the elevator pit has accumulated water is sent to an information receiving terminal so as to quickly inform relevant personnel to judge the water level in an elevator shaft; if the accumulated water texture characteristic quantity in the preliminary screening image is smaller than or equal to the preset accumulated water texture threshold value, the situation that no accumulated water exists in the elevator pit can be judged, or the accumulated water does not reach the degree of judgment by taking measures manually.
In one embodiment, the step of performing texture recognition on the preliminary screening image and determining the water level of the elevator shaft according to the result of the texture recognition includes:
converting the primary screening image into a gray level image corresponding to the primary screening image;
acquiring a gray level co-occurrence matrix corresponding to the gray level image, and extracting a texture characteristic value of the gray level co-occurrence matrix;
and determining the water accumulation condition of the elevator shaft according to the texture characteristic value.
In this embodiment, after the primary screening image is obtained, the gray scale processing is performed on the primary screening image to obtain a gray scale image corresponding to the primary screening image, and after the gray scale image is obtained, a gray scale co-occurrence matrix corresponding to the gray scale image may be calculated. Since the gray level of the gray image is high, if the texture feature value is calculated directly from the gray co-occurrence matrix directly calculated from the gray image, a large amount of calculation needs to be performed for a long time. In order to avoid accidents caused by water accumulation in an elevator shaft, the judgment on whether the water accumulation exists in the elevator requires high real-time performance, and obviously, the calculation for a long time does not meet the real-time performance requirement on the judgment on the water accumulation of the elevator, so that the value number and the image resolution of the gray level of the primary screening image need to be reduced on the basis of keeping the primary screening image as much as possible, and the calculation amount for calculating the texture characteristic value is reduced. Therefore, when the co-occurrence matrix is calculated, the gray level image directly converted from the primary screening image is compressed to a range with a smaller gray level according to a preset compression level on the premise of not influencing the texture characteristics, and then the texture characteristic value is calculated. The preset compression level is set in advance by a person skilled in the art according to the calculation rule of the texture characteristic value and can be adjusted in real time. After the gray level image is compressed, the size of the gray level co-occurrence matrix is reduced, so that the calculated amount of calculating the texture characteristic value is greatly reduced, and the instantaneity of judging the accumulated water of the elevator is ensured. It is to be noted that, in this embodiment, selection of the sliding window, selection of the sliding step and selection of the direction when calculating the texture feature value are not limited, and a worker in the art may adjust the values in real time according to specific situations. After the texture characteristic value is obtained through calculation, the condition of water accumulation in the elevator shaft can be further determined according to the texture characteristic value, and if the water accumulation in the elevator shaft is found, the water accumulation is timely judged to avoid damage to the elevator.
In one embodiment, the step of determining a water accumulation condition of the elevator hoistway from the textural feature values comprises:
judging whether the texture characteristic value is larger than a preset accumulated water texture threshold value or not;
if the texture characteristic value is larger than a preset accumulated water texture threshold value, judging that accumulated water exists in the elevator shaft;
and if the texture characteristic value is less than or equal to a preset accumulated water texture threshold value, judging that no accumulated water exists in the elevator shaft.
In this embodiment, after the texture feature value corresponding to the preliminary screening image is obtained through calculation, the texture feature value needs to be further compared with a preset accumulated water texture threshold value to determine whether accumulated water exists in the elevator shaft. Specifically, if the texture characteristic value is greater than a preset accumulated water texture threshold value, it can be determined that accumulated water exists in the elevator shaft, and therefore the situation needs to be fed back to the information receiving terminal to remind relevant personnel to take a corresponding measure quickly, and elevator faults are avoided; and if the texture characteristic value is less than or equal to the preset ponding texture threshold value, judging that no ponding exists in the elevator shaft. Then, no message is required to be fed back to the information receiving terminal continuously, and whether other texture characteristic values are larger than a preset accumulated water texture threshold value is judged continuously. The preset accumulated water texture threshold value is a threshold value set by a person skilled in the art according to the texture characteristic value condition of the accumulated water area, and can be adjusted in real time according to the actual condition.
In one embodiment, the step of determining the water level of the elevator shaft according to the texture recognition result comprises the following steps:
if the situation that the accumulated water exists in the elevator shaft is judged, warning information is sent to an information receiving terminal;
and if the situation that no accumulated water exists in the elevator shaft is judged, the step of obtaining the HSV image corresponding to the elevator pit is repeatedly executed.
In this embodiment, after the water level condition of the elevator shaft is determined in the cloud server, corresponding measures need to be further made according to the water level condition. Specifically, if the accumulated water in the elevator shaft is judged to exist according to the comparison of the texture characteristic value and the preset accumulated water texture threshold value, warning information is generated in the cloud server and sent to the information receiving terminal so as to remind the information receiving terminal that the accumulated water exists in the elevator shaft and needs to be processed in time; if the situation that no water is stored in the elevator shaft is judged according to the comparison of the texture characteristic value and the preset water storage texture threshold value, the cloud server does not feed back any message to the information receiving terminal, the camera and the edge computing device can repeatedly execute the step of obtaining the HSV image corresponding to the elevator pit, and the cloud server can also continuously compare other texture characteristic values with the preset water storage texture threshold value to determine the water level situation of the elevator shaft.
In one embodiment, the step of obtaining HSV images corresponding to the elevator pit comprises:
shooting a video image of the elevator pit;
and converting the video image into HSV images frame by frame.
In this embodiment, the camera and the edge computing device are required to be used simultaneously to obtain the HSV image. The camera is used for shooting a video image of an elevator pit, the format of the video image is RGB format, after the video image in RGB format is obtained, the camera uploads the video image to a local database frame by frame for storage through a network, the edge computing device extracts the video image from the local database, and the video image in RGB format is converted into a color space image in HSV format frame by using an image color space conversion method, namely an HSV image. Since the RGB color space is based on three colors, red (R), green (G), and blue (B), which are combined into almost all colors using various combinations, adjusting the color of an RGB format image requires changing the three components. The images acquired in the natural environment are easily affected by natural illumination, occlusion, shadow and the like, i.e., are sensitive to brightness. The three components of the RGB color space are closely related to the brightness, namely, as long as the brightness is changed, the three components are correspondingly changed, so that the RGB color space cannot intuitively express the color in the image; and the human eye is not as sensitive to these three color components, and in monochrome, the human eye is least sensitive to red and most sensitive to blue, so the RGB color space is a color space with poor uniformity. If the similarity of colors is directly measured by Euclidean distance, the result has a large deviation from the human vision. For colors on an image in a certain RGB format, it is difficult to estimate more accurate three-component values for representation, and therefore, the RGB color space is suitable for application in a display system, but not suitable for image processing. Therefore, in order to accurately and intuitively express the features on the image and further accurately judge the water accumulation condition of the elevator shaft, the video image in the RGB format needs to be converted into an HSV image.
The invention also provides a water level determination device of an elevator shaft, which comprises:
the camera A10 is used for acquiring video images of an elevator pit and uploading the video images frame by frame to a local database;
the edge calculation device A20 is used for acquiring a video image, converting the video image into an HSV image, and segmenting the HSV image according to the brightness of the HSV image to obtain a primary screening image;
and the cloud server A30 is used for performing texture recognition on the primary screening image and judging the water level of the elevator shaft according to the result of the texture recognition.
The specific implementation of the water level determination device of the elevator shaft of the present application is basically the same as that of each embodiment of the water level determination method of the elevator shaft, and is not described herein again.
The invention also provides a water level determining device of the elevator shaft, which comprises a memory, a processor and an elevator shaft water level determining program stored on the memory and capable of running on the processor, wherein the elevator shaft water level determining program is used for executing the method of the various embodiments of the invention.
The invention also proposes a readable storage medium on which a water level determination program for an elevator hoistway is stored. The readable storage medium includes a computer-readable storage medium, which may be the Memory in fig. 1, and may also be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes several instructions to enable an internet of things terminal device (which may be a mobile phone, a computer, a server, an internet of things terminal, or a network device) having a processor to execute the method according to the embodiments of the present invention.
In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, and those skilled in the art can understand the specific meanings of the above terms in the present invention according to specific situations.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although the embodiment of the present invention has been shown and described, the scope of the present invention is not limited thereto, it should be understood that the above embodiment is illustrative and not to be construed as limiting the present invention, and that those skilled in the art can make changes, modifications and substitutions to the above embodiment within the scope of the present invention, and that these changes, modifications and substitutions should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for determining a water level in an elevator shaft, the method being applied to an edge calculation device, the method comprising:
acquiring HSV images corresponding to the elevator pit;
segmenting the HSV image according to the brightness of the HSV image to obtain a primary screening image;
and sending the primary screening image to a cloud server so that the cloud server judges the water level of the elevator shaft according to the primary screening image.
2. The method for determining the water level of the elevator hoistway according to claim 1, wherein the step of segmenting the HSV image according to the brightness of the HSV image to obtain a prescreened image comprises:
sequentially comparing the brightness of image pixel points in the HSV image with a preset water accumulation brightness threshold;
if the brightness of the image pixel point is larger than the preset accumulated water brightness threshold value, extracting the image pixel point;
and generating a primary screening image according to the extracted image pixel points.
3. The method for determining the water level of the elevator hoistway according to claim 2, wherein the step of sequentially comparing the brightness of the image pixel points in the HSV image with a preset water brightness threshold further comprises:
if the brightness of the image pixel point is less than or equal to the preset accumulated water brightness threshold value, filtering the image pixel point;
if all image pixel points in the HSV image are filtered, no primary screening image is generated, and the step of obtaining the HSV image corresponding to the elevator pit is repeatedly executed.
4. A water level determination method for an elevator shaft is applied to a cloud server, and comprises the following steps:
acquiring a primary screening image sent by an edge computing device;
and carrying out texture recognition on the primary screening image, and judging the water level of the elevator shaft according to the result of the texture recognition.
5. The method of determining a water level of an elevator shaft according to claim 4, wherein the step of performing texture recognition on the preliminary screening image and determining the water level of the elevator shaft according to a result of the texture recognition includes:
converting the primary screening image into a gray level image corresponding to the primary screening image;
acquiring a gray level co-occurrence matrix corresponding to the gray level image, and extracting a texture characteristic value of the gray level co-occurrence matrix;
and determining the water accumulation condition of the elevator shaft according to the texture characteristic value.
6. The method of determining water level in an elevator hoistway according to claim 5, wherein the step of determining a water accumulation condition of the elevator hoistway based on the textural feature value comprises:
judging whether the texture characteristic value is larger than a preset accumulated water texture threshold value or not;
if the texture characteristic value is larger than a preset accumulated water texture threshold value, judging that accumulated water exists in the elevator shaft;
and if the texture characteristic value is less than or equal to a preset accumulated water texture threshold value, judging that no accumulated water exists in the elevator shaft.
7. The method of determining a water level of an elevator hoistway according to claim 6, wherein the step of determining the water level of the elevator hoistway based on the result of texture recognition includes:
if the situation that the accumulated water exists in the elevator shaft is judged, warning information is sent;
and if the situation that no accumulated water exists in the elevator shaft is judged, the step of obtaining the HSV image corresponding to the elevator pit is repeatedly executed.
8. A water level determination device for an elevator hoistway, comprising:
the camera is used for acquiring video images of the elevator pit and uploading the video images to a local database frame by frame;
the edge calculation device is used for acquiring a video image, converting the video image into an HSV image, and segmenting the HSV image according to the brightness of the HSV image to obtain a primary screening image;
and the cloud server is used for carrying out texture recognition on the primary screening image and judging the water level of the elevator shaft according to the result of the texture recognition.
9. A water level determination apparatus for an elevator shaft, comprising a memory, a processor, and an elevator shaft water level determination program stored on the memory and executable on the processor, the elevator shaft water level determination program when executed by the processor implementing the steps of the elevator shaft water level determination method according to any one of claims 1 to 7.
10. A readable storage medium having stored thereon a water level determination program for an elevator hoistway, which when executed by a processor, performs the steps of the water level determination method for an elevator hoistway according to any one of claims 1 to 7.
CN202111564822.9A 2021-12-20 2021-12-20 Method, apparatus, device and readable storage medium for determining water level in elevator hoistway Active CN114229641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111564822.9A CN114229641B (en) 2021-12-20 2021-12-20 Method, apparatus, device and readable storage medium for determining water level in elevator hoistway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111564822.9A CN114229641B (en) 2021-12-20 2021-12-20 Method, apparatus, device and readable storage medium for determining water level in elevator hoistway

Publications (2)

Publication Number Publication Date
CN114229641A true CN114229641A (en) 2022-03-25
CN114229641B CN114229641B (en) 2024-02-23

Family

ID=80759559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111564822.9A Active CN114229641B (en) 2021-12-20 2021-12-20 Method, apparatus, device and readable storage medium for determining water level in elevator hoistway

Country Status (1)

Country Link
CN (1) CN114229641B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114758139A (en) * 2022-06-16 2022-07-15 成都鹏业软件股份有限公司 Foundation pit accumulated water detection method
CN114820468A (en) * 2022-04-06 2022-07-29 上海擎测机电工程技术有限公司 Accumulated water detection method based on color-changing paper and image recognition
CN116740577A (en) * 2023-08-10 2023-09-12 瞳见科技有限公司 Road ponding identification method, system, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009217725A (en) * 2008-03-12 2009-09-24 Nippon Telegr & Teleph Corp <Ntt> Monitoring device and monitoring method
CN107506798A (en) * 2017-08-31 2017-12-22 福建四创软件有限公司 A kind of water level monitoring method based on image recognition
CN110127477A (en) * 2019-04-01 2019-08-16 日立楼宇技术(广州)有限公司 Elevator control method, device and computer equipment based on pit ponding
CN110411533A (en) * 2019-08-12 2019-11-05 南昌亿君祥科技有限公司 A kind of railway ponding monitoring alarm and method based on machine vision
CN110775759A (en) * 2019-10-11 2020-02-11 湖州师范学院 Elevator shaft water level monitoring and water inlet early warning method based on Internet of things technology
CN111652089A (en) * 2020-05-18 2020-09-11 纪义胜 Water level automatic identification method and system based on image processing
CN212475684U (en) * 2020-05-22 2021-02-05 山东千颐科技有限公司 Mine winder tail rope monitoring protection system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009217725A (en) * 2008-03-12 2009-09-24 Nippon Telegr & Teleph Corp <Ntt> Monitoring device and monitoring method
CN107506798A (en) * 2017-08-31 2017-12-22 福建四创软件有限公司 A kind of water level monitoring method based on image recognition
CN110127477A (en) * 2019-04-01 2019-08-16 日立楼宇技术(广州)有限公司 Elevator control method, device and computer equipment based on pit ponding
CN110411533A (en) * 2019-08-12 2019-11-05 南昌亿君祥科技有限公司 A kind of railway ponding monitoring alarm and method based on machine vision
CN110775759A (en) * 2019-10-11 2020-02-11 湖州师范学院 Elevator shaft water level monitoring and water inlet early warning method based on Internet of things technology
CN111652089A (en) * 2020-05-18 2020-09-11 纪义胜 Water level automatic identification method and system based on image processing
CN212475684U (en) * 2020-05-22 2021-02-05 山东千颐科技有限公司 Mine winder tail rope monitoring protection system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114820468A (en) * 2022-04-06 2022-07-29 上海擎测机电工程技术有限公司 Accumulated water detection method based on color-changing paper and image recognition
CN114758139A (en) * 2022-06-16 2022-07-15 成都鹏业软件股份有限公司 Foundation pit accumulated water detection method
CN116740577A (en) * 2023-08-10 2023-09-12 瞳见科技有限公司 Road ponding identification method, system, terminal and storage medium
CN116740577B (en) * 2023-08-10 2024-01-12 瞳见科技有限公司 Road ponding identification method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN114229641B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN114229641B (en) Method, apparatus, device and readable storage medium for determining water level in elevator hoistway
CN109484935B (en) Elevator car monitoring method, device and system
WO2021036636A1 (en) Vibration detection method and apparatus for lifting device, server and storage medium
CN109635758B (en) Intelligent building site video-based safety belt wearing detection method for aerial work personnel
CN111047818A (en) Forest fire early warning system based on video image
CN105828065B (en) A kind of video pictures overexposure detection method and device
CN111275923B (en) Man-machine collision early warning method and system for construction site
CN110493574B (en) Security monitoring visualization system based on streaming media and AI technology
CN112184773A (en) Helmet wearing detection method and system based on deep learning
US20230049656A1 (en) Method of processing image, electronic device, and medium
KR20120035734A (en) A method for detecting fire or smoke
CN112863187A (en) Detection method of perception model, electronic equipment, road side equipment and cloud control platform
CN110728212A (en) Road well lid monitoring device and method based on computer vision
CN108460357B (en) Windowing alarm detection system and method based on image recognition
CN114627388A (en) Power transmission line foreign matter detection equipment and foreign matter detection method thereof
CN103425957A (en) Recognition method for judging whether person image exists in elevator or not through camera
CN110407045B (en) Method for displaying personnel distribution information in elevator and intelligent elevator system
US20230048649A1 (en) Method of processing image, electronic device, and medium
JP7092616B2 (en) Object detection device, object detection method, and object detection program
CN111582278A (en) Portrait segmentation method and device and electronic equipment
CN115995097A (en) Deep learning-based safety helmet wearing standard judging method
CN112232307B (en) Method for detecting wearing of safety helmet in night vision environment
CN112801072B (en) Elevator non-flat-layer door opening fault recognition device and method based on computer vision
CN115641607A (en) Method, device, equipment and storage medium for detecting wearing behavior of power construction site operator
CN109345788A (en) A kind of monitoring early-warning system of view-based access control model feature

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant