CN115973886A - Detection area adjusting method and device, electronic equipment and storage medium - Google Patents

Detection area adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115973886A
CN115973886A CN202211623923.3A CN202211623923A CN115973886A CN 115973886 A CN115973886 A CN 115973886A CN 202211623923 A CN202211623923 A CN 202211623923A CN 115973886 A CN115973886 A CN 115973886A
Authority
CN
China
Prior art keywords
detection area
floor
target
elevator
sensor
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.)
Pending
Application number
CN202211623923.3A
Other languages
Chinese (zh)
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.)
Hitachi Building Technology Guangzhou Co Ltd
Original Assignee
Hitachi Building Technology Guangzhou 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 Hitachi Building Technology Guangzhou Co Ltd filed Critical Hitachi Building Technology Guangzhou Co Ltd
Priority to CN202211623923.3A priority Critical patent/CN115973886A/en
Publication of CN115973886A publication Critical patent/CN115973886A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B50/00Energy efficient technologies in elevators, escalators and moving walkways, e.g. energy saving or recuperation technologies

Landscapes

  • Indicating And Signalling Devices For Elevators (AREA)

Abstract

The invention discloses a detection area adjusting method, a detection area adjusting device, electronic equipment and a storage medium, wherein the detection area adjusting method comprises the following steps: when detecting that a door of an elevator is in an open state, determining a target floor at which a car of the elevator stops currently; acquiring floor data of the target floor; determining a target detection area of the target floor based on the floor data; and adjusting the detection area of the sensor of the elevator in the waiting hall of the target floor to the target detection area. The problem of the detection area of every floor fixed, the image of gathering contain the interference information too much and lead to misjudgement to passenger's motion trend is solved, the sensor can gather the image after confirming the target detection area according to floor data when the car stops at different floors, reduces invalid information in the image, on the one hand, can improve the degree of accuracy of discerning passenger's motion trend, and on the other hand, can reduce the data bulk of handling, improvement recognition efficiency.

Description

Detection area adjusting method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of elevator passenger detection, in particular to a detection area adjusting method, a detection area adjusting device, electronic equipment and a storage medium.
Background
Along with the development of elevator intellectualization demand, a technology of sensing the movement trend of passengers in an elevator waiting hall through a sensor and controlling the closing or opening of elevator doors of an elevator according to the movement trend of the passengers is provided, and a camera is installed on a door lintel of an elevator car, wherein the number of the sensor can be 1 or more, and the installation angle is fixed or adjustable.
As shown in fig. 1, a sensor 3 is installed on a door lintel of the car 1, and the sensor 3 can collect images of the area inside the car 1 and the area of the elevator hall 2, and analyze the movement trend of passengers inside the car and in the elevator hall through the images to control the door opening and closing time after the car reaches the target floor.
However, in the elevator waiting hall 2, the detection area 5 of the sensor 3 (the area facing the elevator waiting hall 2 except the elevator door 4) is fixed when the elevator door 4 is completely opened, and pedestrians passing through the elevator door are also in the detection area 5, so that the pedestrians passing through the elevator door do not have the elevator riding requirement, the image interference information collected by the fixed detection area is large, and the movement tendency of passengers in the elevator waiting hall is easily misjudged.
Disclosure of Invention
The invention provides a detection area adjusting method, a detection area adjusting device, electronic equipment and a storage medium, and aims to solve the problem that misjudgment is caused to the movement trend of passengers in a waiting hall due to the fact that the detection area of collected images of the waiting hall in an elevator is fixed and image interference information is more.
In a first aspect, the present invention provides a detection area adjustment method, including:
when detecting that a door of an elevator is in an open state, determining a target floor at which a car of the elevator stops currently;
acquiring floor data of the target floor;
determining a target detection area of the target floor based on the floor data;
and adjusting the detection area of the sensor of the elevator in the waiting hall of the target floor to the target detection area.
In a second aspect, the present invention provides a detection region adjusting apparatus, including:
the device comprises a stopping floor determining module, a detecting module and a control module, wherein the stopping floor determining module is used for determining a target floor at which a car of an elevator stops currently when detecting that a door of the elevator is in an open state;
the floor data acquisition module is used for acquiring the floor data of the target floor;
the target detection area determining module is used for determining a target detection area of the target floor based on the floor data;
and the detection area adjusting module is used for adjusting the detection area of the sensor of the elevator in the elevator waiting hall of the target floor to the target detection area.
In a third aspect, the present invention provides an electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the detection area adjustment method of the first aspect of the invention.
In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions for causing a processor to implement the detection region adjustment method according to the first aspect of the present invention when the computer instructions are executed.
According to the embodiment of the invention, when the elevator door of the elevator is detected to be in an open state, the target floor where the elevator car stops at present is determined, the floor data of the target floor is obtained, the target detection area of the target floor is determined based on the floor data, the detection area of the elevator sensor in the elevator waiting hall of the target floor is adjusted to the target detection area, so that the elevator sensor can determine the target detection area of the stopped floor according to the floor data of the floor where the elevator car stops, the target detection area can be determined according to whether the target floor is a public floor or a non-public floor, or the target detection area can be determined according to whether the current time is within a preset time period of the target floor, or the number of passengers in the elevator waiting hall of the target floor is dynamically obtained to determine the target detection area, the problem that the detection area of each floor is fixed, the collected images contain excessive interference information to cause misjudgment on the movement trend of passengers is solved, the sensor can collect the images after the target detection area is determined according to the data of different floors when the elevator car stops at different floors, invalid information in the images is reduced, on the one hand, the accuracy of identifying passengers can be improved, the processing efficiency of the trend identifying passengers can be improved, and the efficiency of the other hand, the trend identifying efficiency can be improved.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of a sensor mounting and detection area;
fig. 2 is a flowchart of a detection area adjustment method according to an embodiment of the present invention;
fig. 3A is a flowchart of a detection area adjustment method according to a second embodiment of the present invention;
FIG. 3B is a schematic illustration of the sensing area of a sensor at different mounting angles in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a detection area adjustment apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 2 is a flowchart of a detection area adjusting method according to an embodiment of the present invention, where this embodiment is applicable to a situation where an elevator car is stopped at different floors to adjust a detection area of a sensor, and the method can be executed by a detection area adjusting device, where the detection area adjusting device can be implemented in hardware and/or software, and the detection area adjusting device can be configured in an electronic device, such as a controller of an elevator. As shown in fig. 2, the detection area adjustment method includes:
s201, when the door of the elevator is detected to be in an open state, determining a target floor at which the car of the elevator stops currently.
As shown in fig. 1, in this embodiment, a sensor 3 is installed on a car of an elevator, and the sensor may be a common camera, such as a black and white camera, an RGB camera, or an active light sensor, such as a TOF (Time of flight) depth sensor, a structured light sensor, or the like, that is, a sensor that obtains a depth image by emitting light and receiving light for sensing, of course, the sensor may also be a radar, and the type of the sensor is not limited in this embodiment.
In one example, the sensor of the present embodiment may be an active optical sensor, the sensor 3 may be mounted on the car 1 such that the detection area of the sensor 3 covers the area inside the car 1 and the area of the waiting hall 2, and optionally, the sensor 3 may be mounted on a lintel of a car door of the car 1, for example, at a middle position of the lintel of the car door, such that the detection area of the sensor 3 covers the area inside the car 1 and the area of the waiting hall 2.
In one example, the number of the sensors 3 may be one, that is, the sensors 3 may be active optical sensors having a large angle of view, further, when the number of the sensors 3 is one, the angle of the sensors 3 may be adjustable or fixed, or the angle of the light emitting axis of the sensors 3 with the vertical direction may be variable, that is, the sensors 3 may be adjustable in angle, so that the detection area 5 of the sensors 3 in the lobby 2 may be enlarged or reduced.
As shown in fig. 1, in another example, the number of the sensors 3 may be two, among the two sensors 3, the light emitting axis of one sensor 3 faces the car 1 to collect images of the area in the car 1, and the light emitting axis of the other sensor 3 faces the elevator waiting hall 2 to collect images of the area in the elevator waiting hall 2, optionally, the detection ranges of the two sensors 3 have an overlapping area to ensure that the images of all the areas from the car 1 to the elevator waiting hall 2 can be collected, and at the same time, when the sensors are 1 active light sensors in the vertical direction of the light emitting axes, the overexposure problem generated after the elevator is closed when the images of all the areas from the car 1 to the elevator waiting hall 2 are collected at the same time is avoided. For example, the angles of the light emission axes of the two sensors 3 with the vertical direction may be adjusted to adjust the detection areas of the two sensors 3. Of course, the angle of the light emission axis of the two sensors 3 to the vertical direction may also be fixed.
In practical application, the sensor 3 may collect depth images according to a preset frame rate, and send the depth images to a controller of an elevator, the elevator usually opens a door when reaching a certain target floor, at this time, the sensor 3 collects depth images of an area in the car 1 and an area of the elevator waiting hall 2, and in order to determine a target detection area of a floor where the car 1 stops, for example, a floor number of the floor where the car 1 stops, may be determined first.
S202, obtaining floor data of the target floor.
The floor data can include at least one of a plurality of data such as a floor number of a target floor, a preset time period, a total number of people in the elevator waiting hall counted in the preset time period, and the number of people taking the elevator, wherein the floor number can indicate whether the target floor is a public floor, such as a floor of a first floor hall, a public floor with more elevator taking demands such as a dining floor, and the like, the preset time period is a time period with more people taking the elevator from the target floor, such as working hours, dining hours, rest hours, and the like, the total number of people in the elevator waiting hall counted in the preset time period and the number of people taking the elevator can be the total number of people in the elevator waiting hall counted in the preset time period before the current time, the total number of people in the elevator waiting hall can include the number of pedestrians and the number of people waiting in the elevator passing the elevator waiting hall in the preset time period, and the number of people taking the elevator in the preset time period.
In this embodiment, the controller can respond to the elevator calling request to control the car to stop, and then the controller can acquire the target floor at which the car stops currently, and in addition, the preset time period of each floor can be stored in the controller in advance, and the number of people taking the elevator in the preset time period is counted through the sensor, and the total number of people in the elevator waiting hall and the number of people taking the elevator in the elevator waiting hall within the preset time period are counted.
And S203, determining a target detection area of the target floor based on the floor data.
In one example, a target detection area may be set in advance for each floor, and a corresponding detection area may be searched for as a target detection area of a target floor according to a floor number of the target floor.
In another example, at least one preset time period may be set for each floor, and different time periods correspond to different detection areas, for example, a larger detection area may be set in the time periods of working, going off work and dining, a smaller detection area may be set in the time periods of night or non-working, a target preset time period to which the current time belongs may be determined, and a detection area corresponding to the target preset time period may be searched as a target detection area.
In another example, the number of people taking the elevator in a preset time period before the current time may be counted, and a detection area corresponding to the number of people taking the elevator may be obtained as a detection area of the target floor, or the total number of people taking the elevator and the total number of people waiting in the elevator hall in the target floor in the preset time period may be counted, and a ratio of the number of people taking the elevator to the total number of people is calculated to determine the detection area.
Certainly, in practical applications, a person skilled in the art may also count floor data such as the number of times that the car stops in each floor within a preset time period, the average time period of stopping, the number of external calls, and the like to determine the target detection area, and the embodiment does not limit the manner of determining the target detection area by the floor data.
And S204, adjusting the detection area of the sensor of the elevator in the waiting hall of the target floor to the target detection area.
In an optional embodiment, the detection area of the sensor may be adjusted to the target detection area by adjusting the sensor, and for example, the installation position and the current angle of the sensor may be obtained, and parameters such as a field angle and a focal length of the sensor may be obtained, so as to calculate a mapping relationship between the target detection area and the angle of the sensor, thereby obtaining target angles of the sensors corresponding to different target detection areas, and thus adjusting the angle of the sensor to the target angle.
In another optional embodiment, after the installation position and the current angle of the sensor are obtained, and the parameters such as the field angle and the focal length of the sensor are obtained, the boundary of the target detection area in the acquired image is calculated through the imaging principle, so that the boundaries of different target detection areas in the image are obtained, the acquired image is cut according to the boundaries, and a target image corresponding to the target detection area is obtained, so that the detection area is adjusted.
According to the embodiment of the invention, when the elevator door of the elevator is detected to be in an open state, the target floor where the elevator car stops at present is determined, the floor data of the target floor is obtained, the target detection area of the target floor is determined based on the floor data, the detection area of the elevator sensor in the elevator waiting hall of the target floor is adjusted to the target detection area, so that the elevator sensor can determine the target detection area of the stopped floor according to the floor data of the floor where the elevator car stops, the target detection area can be determined according to whether the target floor is a public floor or a non-public floor, or the target detection area can be determined according to whether the current time is within a preset time period of the target floor, or the number of passengers in the elevator waiting hall of the target floor is dynamically obtained to determine the target detection area, the problem that the detection area of each floor is fixed, the problem that the collected images contain much interference information to cause misjudgment on the movement trend of passengers is solved, the sensor can collect the images after the target detection area is determined according to the data of different floors when the elevator car stops at different floors, invalid information in the images is reduced, on the one hand, the accuracy of identifying passengers can be improved, and the data processing efficiency of the other hand can be improved.
Example two
Fig. 3A is a flowchart of a detection area adjustment method according to a second embodiment of the present invention, which is optimized based on the first embodiment of the present invention, and as shown in fig. 3A, the detection area adjustment method includes:
s301, when the door of the elevator is detected to be in an open state, determining a target floor at which the car of the elevator stops currently.
In this embodiment, the sensor is mainly used for acquiring images of the inside of the car and the elevator waiting hall when the car stops at a floor, so as to detect the movement trends of the elevator taking people in the car and the elevator waiting people in the elevator waiting hall through the images, and determine whether to extract the closing of the door, the opening duration of the door and the like through the movement trends, i.e., the door of the elevator is usually opened when reaching a certain target floor, i.e., the car can be determined to stop when the door of the car is opened, and the target floor at which the car stops at present can be determined.
And S302, acquiring the floor number of the target floor.
In an elevator system, each floor is provided with a floor number, a controller of the elevator can control a car to stop at each floor, and then the controller can determine the floor number of a target floor at which the car currently stops.
And S303, searching a detection area matched with the floor number in a preset floor number-detection range comparison table to be used as a target detection area of a target floor.
In the present embodiment, a detection area may be preset for each floor to form a floor number-detection range comparison table, for example, for a common floor such as floor 1, when a person is in a waiting hall of the common floor, the person may have a higher possibility of riding in an elevator, and in order to predict a movement tendency of more persons more accurately from an image collected by a sensor, a larger detection area may be set for the common floor, and for a non-common floor, the person in the waiting hall of the non-common floor may have a lower possibility of riding in the elevator, for example, the person may pass through the waiting hall instead of riding in the elevator, and the pedestrian passing through the elevator is usually on the side far from the elevator doors, as shown in fig. 1, in the detection area 5, the person a may be close to and face the elevator doors 4 in the waiting hall 2, the person B may pass through the waiting hall 2, and may be far from and not face the elevator doors, the person a may have a higher possibility of riding in the elevator, and the person B may have a lower possibility of riding in the detection area 5, so that the person B may be excluded from the detection area 5.
Specifically, in this embodiment, after the floor number of the target floor where the user currently stops is obtained, the detection area corresponding to the floor number can be searched in the floor number-detection range comparison table to obtain the target detection area of the target floor, so that the target detection area of the sensor can be adjusted according to the floor, interference information in images of the elevator waiting hall collected by each floor can be reduced, and accuracy of the movement trend of the user can be improved.
In an optional embodiment, at least one time period can be set according to peak time of using the elevator on each floor, at least one target time period matched with the floor number of the target floor is obtained in the preset floor number-time period, and after the current time is obtained, whether the current time is within the at least one target time period is judged, if yes, a detection area matched with the target time period to which the current time belongs is searched in the preset time period-detection range comparison table to serve as the target detection area of the target floor. For example, if 10 floors in an office building are dining floors, the peak hours of which using an elevator are usually dining peak hours, such as 8-00 am, 12 am.
In another optional embodiment, the target detection area may be determined according to the number of elevator passengers on the target floor within a preset time period, that is, the number of elevator passengers on the target floor may be obtained, and a detection area matching the number of elevator passengers is searched in a preset elevator passenger number-detection range comparison table to serve as the target detection area on the target floor. For example, in 5 minutes, the detection range corresponding to different elevator taking people can be preset, for example, in 5 minutes, the number of elevator taking people is less than 8 people, the detection range is a first detection area, in 5 minutes, the number of elevator taking people is greater than 8 people and less than 15 people, the detection range is a second detection area, in 15 people, the detection range is a third detection area, wherein the areas of the first detection area, the second detection area and the third detection area are sequentially increased, the number of elevator taking people of a target floor in 5 minutes before the current time can be counted, so that the corresponding detection area can be selected according to the number of elevator taking people, in an exemplary manner, when the number of elevator taking people in 5 minutes is greater than 15 people, the target floor has a high elevator waiting demand and more elevator waiting people, in order to detect more people, the detection area of the target floor is adjusted to the third detection area, so that the detection area can be dynamically adjusted according to the number of elevator taking people of the target floor in the preset time, and the detection area of a sensor in the target floor can be flexibly adjusted.
In yet another optional embodiment, the detection area can be adjusted according to the elevator taking proportion of the people of the target floor, specifically, the total number of people waiting for the elevator hall and the number of people entering the elevator of the target floor within the preset time can be obtained, and the ratio of the number of people taking the elevator to the total number of people is calculated; and searching a detection area matched with the ratio in a preset ratio-detection range comparison table to serve as a target detection area of the target floor. The method comprises the steps that the number of people passing through the elevator waiting hall and the number of people taking the elevator are counted, the ratio of the number of people taking the elevator to the total number of people taking the elevator is calculated, different detection areas are set for different elevator taking ratios, normally, the people needing to take the elevator are usually close to the elevator door, the people going through the elevator waiting hall are usually far away from the elevator door, if the elevator taking ratio is large, the number of people taking the elevator in the elevator waiting hall is large, the number of people going through the elevator waiting hall is small, the detection areas can be enlarged, the movement trend of more people in the elevator waiting hall is predicted, and conversely, if the elevator taking ratio is small, the number of people taking the elevator in the elevator waiting hall is small, the number of people going through the elevator waiting hall is large, the detection areas can be reduced, the movement trend of the people going through the elevator waiting hall is prevented from being predicted, the influence of the people going through the elevator waiting hall on the movement trend prediction result is reduced, and the accuracy of the movement trend prediction is improved.
Of course, in practical applications, a person skilled in the art may also determine the target detection area according to the floor number, the preset time period, the number of people taking the elevator, and the elevator taking ratio of the target floor, and in one example, weights may be respectively set for the floor number, the preset time period, the number of people taking the elevator, and the elevator taking ratio to calculate a weighted sum of the floor number, the preset time period, the number of people taking the elevator, and the elevator taking ratio, and the weighted sum matching detection area is obtained as the target detection area of the target floor, so that the detection area of the target floor is comprehensively determined from various aspects such as the nature of the target floor (a public floor or a non-public floor), whether the current time period is the elevator peak time, the number of people taking the elevator, and the elevator taking ratio, and images collected by the sensor can better reflect the situation of the elevator waiting hall of the target floor, and can more accurately predict the movement trend of people in the elevator waiting hall, so as to control the opening or closing of the elevator door through the movement trend.
And S304, acquiring installation data of the sensor and a field angle of the sensor.
The installation data of the sensor may be the installation position of the sensor, in one example, the installation data includes data of coordinates of the sensor relative to the car, and the field angle of the sensor may be an included angle between a boundary of an area which can be detected after the sensor is currently debugged and a central connecting line of the sensor, as shown in fig. 1, with a middle position in a lintel of a car door as an installation position (origin of coordinates) of the sensor 3, the installation data of the sensor 3 includes a height from the sensor 3 to the bottom of the car 1 or the elevator hall 2, and the field angle is an angle a shown in fig. 1.
And S305, determining the adjustment parameters of the sensor according to the installation data, the view angle and the target detection area.
Specifically, the angle of the sensor corresponding to the target detection area may be calculated through an imaging geometric principle, the angle is an adjustment parameter, as shown in fig. 3B, a schematic diagram of the angles of the sensors corresponding to different target detection areas is shown, and an angle B between a light emission axis of the sensor 3 and the vertical direction may be calculated through the installation height of the sensor 3, the field angle a, and the range of the target detection area, so as to obtain the angle B corresponding to different detection areas.
S306, adjusting the sensor according to the adjusting parameter so as to adjust the sensor to the target detection area in the detection area of the elevator waiting hall of the target floor.
Specifically, the adjustment parameter may be an angle between a light emitting axis of the sensor and the vertical direction, and the driving mechanism may be controlled to drive the sensor to rotate to adjust the angle, so that the sensor is adjusted to the target detection area in the detection area of the hall of the target floor.
Of course, when the angle of view, the focal length, and the like of the sensor are adjustable, the sensor may be adjusted by at least one of the angle of view, the focal length, and the angle between the light emission axis of the sensor 3 and the vertical direction, so as to adjust the detection area of the sensor in the hall of the target floor to the target detection area.
According to the embodiment, the parameters of the sensor are adjusted, so that the detection area of the sensor in the elevator waiting hall of the target floor is adjusted to the target detection area, the data calculation amount is small, the adjustment scheme is simple, and the efficiency is high.
In another alternative embodiment, after the installation data of the sensor and the viewing angle of the sensor are acquired in S304, the target detection area of the hall where the sensor is located at the target floor can be determined by the following steps:
s307, determining a target detection area of the elevator waiting hall of the target floor in the image acquired by the sensor.
Specifically, the boundary of the target detection area in the image acquired by the sensor may be determined according to the installation data, the field angle and the target detection area, and the image may be cut according to the boundary to obtain the target image, which is used as the image of the target detection area of the elevator hall of the target floor where the sensor is located.
When the sensor is unchanged according to the position and the angle of view, the number of pixels of the image acquired by the sensor is unchanged, namely each pixel in the image corresponds to each position in the elevator waiting hall, namely each pixel in the image is mapped to each position in the elevator waiting hall, after the target detection area is determined, the pixel corresponding to the boundary pair of the target detection area can be determined in the image acquired by the sensor, the acquired image is cut according to the boundary, and the image only comprising the target detection area can be obtained, so that the adjustment of the detection area is realized, the cutting of the target detection area is realized by image cutting, the sensor is not required to be adjusted on each floor, the image is cut, the accuracy of the target detection area is high, the data quantity of the image transmitted to the controller is small, and the controller is not required to be further cut.
After the detection area is adjusted to obtain the image, the image can be input into the motion trend analysis model to identify the motion direction, the motion speed, the position change and the like of each object (person, wheelchair, robot) in the image, so as to judge whether the object in the elevator waiting hall has the elevator taking trend, for example, when the identified person approaches to the elevator door at a higher speed, it is determined that the person has the elevator taking trend, the door opening duration can be prolonged, or when the object comprises the robot, the door opening duration is prolonged, or when the child approaches to the elevator door, the door opening duration is prolonged, of course, if the elevator door is opened and the person in the elevator waiting hall is still, it is explained that the elevator taking direction of the person in the elevator waiting hall is opposite to the current operation direction of the elevator car, and the elevator door does not have the elevator taking trend, so as to improve the operation efficiency of the elevator.
When the elevator door of the elevator is detected to be in an open state, the target floor where the elevator car of the elevator stops at present is determined, the floor number of the target floor, the preset time period set for the target floor, the number of elevator passengers in the preset time period, the total number of elevator waiting halls in the preset time period and the number of elevator passengers are obtained, the target detection area of the target floor is determined, and the detection area of the target floor in the elevator waiting halls of the target floor is adjusted to the target detection area by adjusting the sensor, so that the detection area of the target floor is comprehensively determined in various aspects such as the nature (public floor or non-public floor) of the target floor, whether the current time period is the elevator peak period, the number of elevator passengers, the elevator riding proportion and the like, and invalid information in the image is reduced.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a detection area adjustment apparatus according to a third embodiment of the present invention. As shown in fig. 4, the detection region adjusting apparatus includes:
a stop floor determination module 401, configured to determine, when it is detected that a door of an elevator is in an open state, a target floor at which a car of the elevator currently stops;
a floor data acquiring module 402, configured to acquire floor data of the target floor;
a target detection area determination module 403, configured to determine a target detection area of the target floor based on the floor data;
a detection area adjusting module 404, configured to adjust a detection area of the sensor of the elevator in the lobby of the target floor to the target detection area.
Optionally, the floor data acquiring module 402 includes:
the floor number acquisition unit is used for acquiring the floor number of the target floor;
the target detection area determination module 403 includes:
and the first target detection area matching unit is used for searching a detection area matched with the floor number in a preset floor number-detection range comparison table to be used as a target detection area of the target floor.
Optionally, the floor data acquiring module 402 comprises:
the target time period acquisition unit is used for acquiring at least one target time period matched with the floor number of the target floor in the preset floor number-time period;
the target detection area determination module 403 includes:
the time period judging unit is used for judging whether the current time is within at least one target time period;
and the second target detection area matching unit is used for searching a detection area matched with the target time period to which the current time belongs in a preset time period-detection range comparison table to serve as the target detection area of the target floor.
Optionally, the floor data acquiring module 402 includes:
the elevator taking number obtaining unit is used for obtaining the elevator taking number of the target floor, and the elevator taking number is counted in advance and is within a preset time length before the current time;
the target detection area determination module 403 includes:
and the third target detection area matching unit is used for searching a detection area matched with the number of the elevator passengers in a preset elevator passenger number-detection range comparison table to serve as the target detection area of the target floor.
Optionally, the floor data acquiring module 402 includes:
the elevator waiting hall total number of people and the number of people taking the elevator are obtained, and the elevator waiting hall total number of people and the number of people taking the elevator enter the target floor are obtained, wherein the elevator waiting hall total number of people comprises the number of people taking the elevator in the elevator waiting hall and the number of people not taking the elevator when the elevator passes;
the target detection area determination module 403 includes:
the elevator taking proportion calculating unit is used for calculating the ratio of the number of people taking the elevator to the total number of people;
and the fourth target detection area matching unit is used for searching a detection area matched with the ratio in a preset ratio-detection range comparison table to be used as the target detection area of the target floor.
Optionally, the detection area adjusting module 404 includes:
a sensor data acquisition unit for acquiring mounting data of the sensor and a field angle of the sensor;
an adjustment parameter determination unit configured to determine an adjustment parameter of the sensor based on the mounting data, the field angle, and the target detection area;
the detection area adjusting unit is used for adjusting the sensor according to the adjusting parameters so as to adjust the detection area of the sensor in the elevator waiting hall of the target floor to the target detection area;
wherein the adjustment parameter comprises at least one of an angle, a focal length, and a viewing angle of the sensor.
Optionally, the detection area adjusting module 404 includes:
a sensor data acquisition unit for acquiring mounting data of the sensor and an angle of field of the sensor;
an image boundary determining unit, configured to determine, according to the installation data, the field angle, and the target detection area, a boundary of the target detection area in the image acquired by the sensor;
and the image cutting unit is used for cutting the image according to the boundary to obtain a target image which is used as an image of the sensor in a target detection area of the elevator waiting hall of the target floor.
The detection area adjusting device provided by the embodiment of the invention can execute the detection area adjusting method provided by the first embodiment and the second embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
FIG. 5 illustrates a schematic diagram of an electronic device 50 that may be used to implement an embodiment of the invention. The electronic device 50 is intended to represent various forms of digital computers, such as desktop computers, workstations, servers, blade servers, mainframe computers, and the like. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 50 includes at least one processor 51, and a memory communicatively connected to the at least one processor 51, such as a Read Only Memory (ROM) 52, a Random Access Memory (RAM) 53, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 51 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 52 or the computer program loaded from a storage unit 58 into the Random Access Memory (RAM) 53. In the RAM 53, various programs and data necessary for the operation of the electronic apparatus 50 can also be stored. The processor 51, the ROM 52, and the RAM 53 are connected to each other via a bus 54. An input/output (I/O) interface 55 is also connected to bus 54.
A plurality of components in the electronic apparatus 50 are connected to the I/O interface 55, including: an input unit 56 such as a keyboard, a mouse, a sensor, and the like; an output unit 57 such as various types of displays, speakers, and the like; a storage unit 58 such as a magnetic disk, an optical disk, or the like; and a communication unit 59 such as a network card, modem, wireless communication transceiver, etc. The communication unit 59 allows the electronic device 50 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 51 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processors 51 include, but are not limited to, central Processing Units (CPUs), graphics Processing Units (GPUs), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processors, controllers, microcontrollers, and the like. The processor 51 performs the various methods and processes described above, such as the detection region adjustment method.
In some embodiments, the detection region adjustment method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 58. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 50 via the ROM 52 and/or the communication unit 59. When the computer program is loaded into the RAM 53 and executed by the processor 51, one or more steps of the detection region adjustment method described above may be performed. Alternatively, in other embodiments, the processor 51 may be configured to perform the detection region adjustment method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the Internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A detection area adjustment method, comprising:
when detecting that a door of an elevator is in an open state, determining a target floor at which a car of the elevator stops currently;
acquiring floor data of the target floor;
determining a target detection area of the target floor based on the floor data;
and adjusting the detection area of the sensor of the elevator in the waiting hall of the target floor to the target detection area.
2. The detection area adjustment method according to claim 1, wherein the acquiring floor data of the target floor includes:
acquiring the floor number of the target floor;
the determining a target detection area of the target floor based on the floor data includes:
and searching a detection area matched with the floor number in a preset floor number-detection range comparison table to serve as a target detection area of the target floor.
3. The detection area adjustment method according to claim 1, wherein the acquiring floor data of the target floor includes:
acquiring at least one target time period matched with the floor number of the target floor from preset floor number-time periods;
the determining a target detection area of the target floor based on the floor data includes:
judging whether the current time is within at least one target time period;
if so, searching a detection area matched with the target time period to which the current time belongs in a preset time period-detection range comparison table to serve as the target detection area of the target floor.
4. The detection area adjustment method according to claim 1, wherein the acquiring floor data of the target floor includes:
acquiring the number of elevator taking people of the target floor, wherein the number of elevator taking people is counted in advance and is within a preset time length before the current time;
the determining a target detection area of the target floor based on the floor data includes:
and searching a detection area matched with the number of the passengers taking the elevator in a preset elevator taking number-detection range comparison table to be used as a target detection area of the target floor.
5. The detection area adjustment method according to claim 1, wherein the acquiring floor data of the target floor includes:
acquiring the total number of people in the elevator waiting hall of the target floor and the number of people entering the elevator, wherein the total number of people in the elevator waiting hall comprises the number of people taking the elevator in the elevator waiting hall and the number of people not taking the elevator when passing by the elevator;
the determining a target detection area of the target floor based on the floor data includes:
calculating the ratio of the elevator taking number to the total number;
and searching a detection area matched with the ratio in a preset ratio-detection range comparison table to serve as a target detection area of the target floor.
6. The detection area adjustment method according to any one of claims 1 to 5, wherein the adjusting of the detection area of the sensor of the elevator at the lobby of the target floor to the target detection area comprises:
acquiring installation data of the sensor and a field angle of the sensor;
determining an adjustment parameter of the sensor according to the installation data, the field angle and the target detection area;
adjusting the sensor according to the adjustment parameters so as to adjust the sensor to the target detection area in the detection area of the elevator waiting hall of the target floor;
wherein the adjustment parameter comprises at least one of an angle, a focal length, and a viewing angle of the sensor.
7. The detection area adjustment method according to any one of claims 1 to 5, wherein the adjusting of the detection area of the sensor of the elevator at the lobby of the target floor to the target detection area comprises:
acquiring installation data of the sensor and a field angle of the sensor;
determining the boundary of the target detection area in the image acquired by the sensor according to the installation data, the field angle and the target detection area;
and cutting the image according to the boundary to obtain a target image, wherein the target image is used as an image of the sensor in a target detection area of the elevator waiting hall of the target floor.
8. A detection region adjusting apparatus, comprising:
the device comprises a stopping floor determining module, a detecting module and a control module, wherein the stopping floor determining module is used for determining a target floor at which a car of an elevator stops currently when detecting that a door of the elevator is in an open state;
the floor data acquisition module is used for acquiring the floor data of the target floor;
the target detection area determining module is used for determining a target detection area of the target floor based on the floor data;
and the detection area adjusting module is used for adjusting the detection area of the sensor of the elevator in the elevator waiting hall of the target floor to the target detection area.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the detection area adjustment method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform the detection region adjustment method of any one of claims 1-7 when executed.
CN202211623923.3A 2022-12-16 2022-12-16 Detection area adjusting method and device, electronic equipment and storage medium Pending CN115973886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211623923.3A CN115973886A (en) 2022-12-16 2022-12-16 Detection area adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211623923.3A CN115973886A (en) 2022-12-16 2022-12-16 Detection area adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115973886A true CN115973886A (en) 2023-04-18

Family

ID=85969277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211623923.3A Pending CN115973886A (en) 2022-12-16 2022-12-16 Detection area adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115973886A (en)

Similar Documents

Publication Publication Date Title
CN112863187B (en) Detection method of perception model, electronic equipment, road side equipment and cloud control platform
CN111488799B (en) Falling object identification method and system based on image identification
EP3508445B1 (en) Elevator auto-positioning for validating maintenance
CN111377325B (en) System and method for enhancing elevator sensor operation
CN101587537A (en) Method and system of crowd density statistics based on intelligent video identification technology
CN114229641B (en) Method, apparatus, device and readable storage medium for determining water level in elevator hoistway
CN113903058A (en) Intelligent control system based on regional personnel identification
CN116402863A (en) Intelligent analysis and early warning system for building construction monitoring data
CN115973886A (en) Detection area adjusting method and device, electronic equipment and storage medium
CN114500865A (en) Method and device for regulating and controlling light supplement lamp, electronic equipment and storage medium
CN109661365B (en) Peak transport detection based on passenger transport intensity
CN114187738A (en) Safety early warning method, device, equipment and medium
CN115520739A (en) Target layer registration method and device, electronic equipment and storage medium
CN112801072B (en) Elevator non-flat-layer door opening fault recognition device and method based on computer vision
CN115321322A (en) Control method, device and equipment for elevator car door and storage medium
CN113343836A (en) Floor elevator waiting crowd detection system and method based on convolutional neural network
CN115973885A (en) Object behavior determination method and device, electronic equipment and storage medium
CN113807209A (en) Parking space detection method and device, electronic equipment and storage medium
CN109896378B (en) Monitoring method, device, elevator control cabinet, system, equipment and storage medium
CN115744525A (en) Sensor detection method and device, electronic equipment and storage medium
CN116253217A (en) Sensor control method and device, electronic equipment and storage medium
CN115797918A (en) Passenger dangerous behavior detection method and device, electronic equipment and storage medium
CN117372962A (en) People counting method, device, equipment and storage medium
CN116109653A (en) Depth image segmentation method and device, electronic equipment and storage medium
CN113715019B (en) Robot control method, device, robot and storage medium

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