Passenger behavior modeling and data enrichment methods for virtual reality interaction scenes of traction elevators

The method uses digital twin technology and kinematics principles to model and enrich passenger behavior data in virtual reality elevator scenes, addressing data scarcity and safety challenges, enabling efficient and safe data collection for improved elevator monitoring.

JP7564575B2Active Publication Date: 2024-10-09CHINA JILIANG UNIV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023114184
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-11-29
Filing Date
2023-07-12
Publication Date
2024-10-09
Estimated Expiration
2043-07-12

AI Technical Summary

Technical Problem

Current methods for recognizing abnormal passenger behaviors in elevators face challenges due to the scarcity of real-life data and the high costs and safety risks associated with data collection, and existing digital twin technologies are not effectively applied for personnel safety monitoring.

Method used

A method for passenger behavior modeling and data enrichment in virtual reality interaction scenes using digital twin technology and kinematics principles, involving the construction of a traction elevator system twin scene, human behavior twin model, and virtual reality mapping to accurately map real-world human movements onto virtual models, utilizing multi-source heterogeneous data and skeletal point detection algorithms.

Benefits of technology

Enables accurate mapping of real-world passenger behaviors onto virtual models, reducing the need for costly and risky data collection, and providing a new data enrichment method for image recognition, thereby enhancing safety and efficiency in elevator monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007564575000174
    Figure 0007564575000174
  • Figure 0007564575000175
    Figure 0007564575000175
  • Figure 0007564575000176
    Figure 0007564575000176
Patent Text Reader

Abstract

To provide passenger action modeling and data enhancement methods in a virtual reality interaction scene of a traction type elevator for realizing exact mapping of actions between an actual human and a virtual human, constructing passenger action data, constructing abnormal action data, reducing time and device cost, and also securing safety of an examiner.SOLUTION: Methods comprise steps of: constructing a twin scene of a traction type elevator system; performing construction and virtual reality mapping of a human body action twin model; detecting a human body skeleton point in the twin scene for recognizing a skeleton of a virtual human in the twin scene on the basis of skeleton point detection algorithm; and enhancing data of an elevator passenger action on the basis of the constructed human body action twin model.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention belongs to the field of traction elevator virtual reality interaction scenes, and relates to a method for passenger behavior modeling and data enrichment in traction elevator virtual reality interaction scenes. [Background technology]

[0002] Abnormal behavior of passengers in elevators is one of the important contents for monitoring elevator safety. At present, many scholars have conducted research on recognizing various abnormal behaviors in elevator cars, such as falling, jumping, fighting, and scratching the door.

[0003] There are two common solutions to the current behavior recognition problem. The first is the top-down method, which divides the behavior recognition problem into two sub-problems: target detection and pose estimation. The second is the bottom-up method, which first detects all joint points in a given image, and then combines the joint points based on human body examples. However, the above methods essentially belong to supervised learning, and training needs to be assisted by a large amount of data set to obtain a better recognition model, but real-life abnormal behavior data is scarce. There are two solutions to the current abnormal behavior data enhancement. (1) The dangerous behavior is simulated by volunteers, but this method has safety risks in the practical process and requires time and equipment cost issues to be considered. (2) The dangerous behavior is simulated by a human body physics model, but the human body physics model has a fixed pose and cannot meet actual demands.

[0004] Digital twin refers to constructing a virtual model equivalent to a physical entity, and adding or enhancing new capabilities for the physical entity through virtual reality interaction feedback between the physical entity and the virtual model, data fusion analysis, and iterative optimization of decision-making, etc. In recent years, researchers have tried to generate synthetic data automatically marked in the virtual environment provided by the digital twin, and further use these data to train deep learning models and further improve the performance of the models. However, it is mainly used for early failure detection of industrial equipment, and has little application in the field of monitoring personnel safety status. Summary of the Invention [Problem to be solved by the invention]

[0005] In order to overcome the shortcomings of the prior art, the present invention provides a passenger behavior modeling and data enrichment method in virtual reality interaction scenes of traction elevators, realizes accurate mapping of behavioral movements between real humans and virtual humans, solves the problems of difficulty in obtaining real elevator videos and scarcity of passenger abnormal behavior data, provides a new data enrichment method in the field of image recognition, reduces time and equipment costs, and ensures the safety of testers. [Means for solving the problem]

[0006] The technical solutions used by the present invention to solve the technical problems are as follows:

[0007] A method for passenger behavior modeling and data enrichment in a virtual reality interaction scene of a traction elevator, comprising: Step 1 to build a twin scene for a traction elevator system; Step 2 involves constructing a human behavior twin model and virtual reality mapping; A step 3 of detecting human body skeleton points in the twin scene performs skeleton recognition on the virtual human in the twin scene based on a skeleton point detection algorithm; Step 4 includes performing data enrichment on elevator passenger behavior based on the human behavior twin model constructed in step 2; Step 1 of the process is: Step (1.1) of drawing a geometric model of the traction elevator system by using three-dimensional modeling software, the geometric model is based on a physical entity, and a 1:1 3D visualization model is constructed using digital twin technology to ensure that the twin model and the physical entity are highly consistent in terms of geometric size, material attributes, color, and shape, and truly reflect the assembly relationship and dependency relationship of the physical entity, and have a structural "twin"; Step (1.2) of constructing a digital twin scene by outputting the geometric model drawn in step (1.1) in a unified file format and importing it into a commonly used digital twin engine to define the overall assembly, hierarchical relationships, and motion constraints; a twin-scene data-driven step (1.3) for driving the twin-scene geometric model mainly with the operation data and video data of the traction elevator system; Step 2 of the process is: The human body action posture decomposition step (2.1), A step (2.2) of modeling the behavior of the human body based on kinematic principles that allows the motion of all the joints of the human body to be controlled by means of forward kinematics and inverse kinematics; A step (2.3) of virtual reality mapping of a human behavior model using the human 3D model in step (1.2), inputting human skeletal joint point data, and combining it with digital twin technology and kinematics principles to map real-world human movements onto the human 3D model in the twin scene in real time; Step 3 of the process is: A step (3.1) of recording the movements of the virtual human while performing the step (2.3); Step (3.2) uses the video image data obtained in step (3.1) as input for the first 10 layers of VGG19 to obtain a corresponding feature map F; (3.3) inputting the feature map F into a skeleton extraction network to extract human skeleton points; characterizing the correlation of the articulation point pair by computing the linear integral of the PAFs for any two articulation points (3.4);

number

number

number

[0008] Furthermore, in the step (1.1), the geometric model of the traction type elevator system includes a hoistway building model, an elevator machine model, and a three-dimensional human body model; In the step (1.1.1) of the elevator building model, the elevator building model includes three parts: the machine room, the elevator wall and the pit. In step (1.1.2) of the elevator machine model, the traction elevator is composed of eight systems, namely, the traction system, the guide system, the car, the door system, the weight balance system, the power drag system, the electrical control system and the safety protection system. The traction system provides kinetic energy to the equipment to operate the elevator normally. It mainly consists of a hoist, wire rope, guide wheel and electromagnetic brake. The guide system is for restricting the degree of freedom of movement of the car and the counterweight so that the car and the counterweight can only ascend and descend along the guide rail, and is composed of a guide rail, a guide shoe, and a guide rail frame; The car comprises a car frame and a car body, the car frame being a load-bearing frame for fixing the car body, and the car body being an operating container; The door system mainly includes a car door, a floor door, a door lock device, and an automatic door drag device; The weight balance system is used to balance the weight of the elevator car, maintain the weight difference between the car and the counterweight within a specified range, and ensure the normal traction transmission of the elevator. The power drag system mainly consists of a hoist, a power supply system, a speed feedback device, and a speed governor, and is used to control the speed of the elevator. The electrical control system is mainly used to operate and control the operation of the elevator, and consists of a control device, an operating device, a leveling device and a position display device. Safety protection systems can be divided into mechanical safety protection systems and electrical safety protection systems. The mechanical part mainly includes speed limiters and buffers, while the electrical part mainly includes terminal protection devices and various interlock switches. In the step (1.1.3) of drawing the 3D human model, the 3D human model consists of a skeleton model and a human model, and since the skeleton and the model are independent of each other, skinning technology is used to generate rational movement of the skeleton-driven model.

[0009] Furthermore, in the step (1.2), the assembly process needs to consider the hierarchical relationship between the elevator building model, the elevator machine model and the human body three-dimensional model in the real world; The elevator building model, elevator machine model and human body 3D model are the first level, and the sub-models under each model are the second level. The motion units during elevator operation include the hoist, wire rope, elevator car, elevator car door, floor door and counterweight device, and by setting motion constraints between related units, the motion in the virtual model twin scene can be maintained to have the same effect as in the real world.

[0010] In addition, in the step (1.3), the elevator driving data and the video data belong to multi-source heterogeneous data, where multi-source mainly refers to the diversity of data sources, and heterogeneous mainly refers to the difference in data structure, the elevator driving data is mainly used to drive the motor unit in the twin scene, and the video data is mainly used to drive the human movement in the twin scene; Various sensors are connected to the edge control platform through a communication bus for data transmission and storage. The edge control platform is a virtual reality interaction intermediate platform that, on the one hand, can send real data to the client digital twin platform for data processing, and on the other hand, can obtain twin data from the client to perform corresponding control on physical entities.

[0011] In the step (2.1), the process of human body action posture decomposition includes a step (2.1.1) of a human body skeleton model and a step (2.1.2) of a human body skeleton joint tree; In step (2.1.1) of the human body skeleton model, the three-dimensional movement of the human body is mainly a series of movements of the joints and limbs, therefore, the human body model can be simplified into a hinge structure consisting of 17 skeleton points; The 17 skeletal points are the head, neck, chest, pelvis, buttocks, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, right knee, right ankle, left hip, left knee, and left ankle. In the step (2.1.2) of the human body skeleton joint tree, according to the traditional three-dimensional coordinate description method, the position parameters of each skeleton point during movement are independent of each other, and the position change of any skeleton point does not affect other skeleton points. Therefore, using a hierarchical method to equate the human body skeleton model to a skeleton joint tree can overcome this defect; The root node of the tree is the geometric center (buttocks) of the human skeletal model, which can control the overall displacement and orientation of the human model, and the remaining child nodes jointly assist in determining the posture and presenting the movement process of the human model through direct and indirect connections with the root node.

[0012] In the step (2.2), forward kinematics is used to control the human to perform the corresponding motion, and inverse kinematics is used to obtain the refined joint point data during posture transformation, and the process is as follows: In the forward kinematics step (2.2.1), the forward kinematics of the human posture is the relative displacement of each joint.

number

number

number

number

number

number

number

number

number

number

number

number

[0013] The process of step (2.3) includes a step (2.3.1) of extracting skeleton points, a step (2.3.2) of mapping joints, a step (2.3.3) of converting coordinates, a step (2.3.4) of importing data, a step (2.3.5) of obtaining detailed joint point data by inverse kinematics, and a step (2.3.6) of obtaining and generating motion data by forward kinematics. In step (2.3.1), we obtain the real human body joint tag data by a common skeleton point detection algorithm; In step (2.3.2), joint mapping is a one-to-one correspondence between the human skeletal model in the digital twin scene and the joint point tags obtained in step 2.3.1. In step (2.3.3), each joint tag obtained in step (2.3.1) has an independent coordinate system (local coordinate system), and in order to avoid joint misalignment and joint drift problems during motion mapping, the local coordinate system of the joint tag must be converted to the same coordinate system (global coordinate system) in step (2.3.2). The transformation from the local coordinate system to the global coordinate system can be realized by multiplying the homogeneous transformation matrix,

number

number

number

[0014] In the step (3.2), VGG19 is a convolutional neural network containing 19 hidden layers, including 16 convolutional layers and 3 fully connected layers. It is currently widely used in the field of image recognition; In the step (3.3), the skeleton extraction network is a multi-stage convolutional neural network with two branches, One branch is used to predict 2D confidence maps (S), and the other branch is used to predict part affinity fields (L). S = (S1, S2, …, S j ), where j represents the number of joints to be detected. L = (L1, L2, …, L c ), where c represents the number of limbs (joint pairs) to be detected, The process of step (3.3) is The input of the first stage is the feature map F obtained in step (3.2), and the output results are two branches: a 2D confidence map and a part affinity field, step (3.3.1). From the second stage (k ≥ 2), the inputs of the network are F, S k-1 , and L k-1 The input / output relationship at different stages of the two branches is

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

[0015] The process of step (4.2) is a step (4.2.1) of controlling the virtual with reality and a step (4.2.2) of simulating the reality with the virtual; In step (4.2.1), the method is generally consistent with the virtual reality mapping process in step (2.3), and still requires using real human skeletal data to drive the virtual human model, but this can be achieved without the need for a real human to enter the elevator scene; it can be achieved by simply placing the virtual human in the twin scene and performing motion simulation in an arbitrary safe space.

[0016] In step (4.2.2), this method does not need to obtain real human skeletal data, but can directly manipulate the virtual human skeletal model in the twin scene and obtain the corresponding behavioral motions by kinematics alone; In the present invention, the process of simulating virtual reality is realized by the steps of skeleton retargeting (4.2.2.1), detailed joint data acquisition (4.2.2.2), motion data generation (4.2.2.3), state integration (4.2.2.4), event trigger (4.2.2.5), and data augmentation (4.2.2.6). In step (4.2.2.1), in order to save the time of constructing different virtual humans in the twin scene to perform the same behavioral movements, it is necessary to perform skeletal retargeting on the virtual humans imported into the twin scene. Skeletal retargeting means pairing virtual humans with different skeletal structures to realize that the same set of motion data can drive different skeletons. In step (4.2.2.2), the skeletal nodes of the virtual human are manipulated to create the desired postures at successive keyframe times, and the posture data of two adjacent keyframes are used as input for the inverse kinematics in step (2.2.2). The intermediate process obtains detailed joint point data, In step (4.2.2.3), the refined joint data obtained in step (4.2.2.2) is used as the input for the forward kinematics in step (2.2.1) to generate the corresponding motion data; In step (4.2.2.4), multiple state events are added to the same virtual human, and each state event is bound to corresponding action data. In step (4.2.2.5), a virtual human is placed in the elevator car twin scene, and trigger conditions are added to various events in step (4.2.2.4); In step (4.2.2.6), the corresponding trigger conditions are executed, and the roles of the people in the scene, the background of the car and the lighting intensity are set, so as to realize multi-scene and multi-role behavioral data augmentation.

[0017] The process of step (4.3) includes a step (4.3.1) of setting a virtual camera, a step (4.3.2) of capturing passenger behavior, and a step (4.3.3) of data pre-processing. In step (4.3.1), in order to simulate the shooting scene in the actual elevator car, multiple virtual cameras are added at different orientations of the elevator car twin scene, and the shooting angle, viewing angle, frame rate and output format of the cameras are set; In step (4.3.2), a behavioral event is triggered and the virtual camera is controlled to simultaneously capture passenger actions in the twin scenes. In step (4.3.3), the behavioral videos collected in step (4.3.2) are extracted at fixed frames to obtain video image datasets of different behavioral movements.

[0018] The technical concept of the present invention is as follows: first, build a digital twin model of the traction elevator system, then build a human body behavior model and realize virtual reality mapping of the movement based on the digital twin technology and kinematics principle, then collect virtual human videos in the twin scene, and use the skeleton point detection algorithm for recognition verification, and finally realize passenger behavior data enrichment in the traction elevator twin system. Effect of the Invention

[0019] The beneficial effects of the present invention are mainly as follows: (1) A passenger behavior twin model is constructed by using digital twin technology and kinematic principles, and accurate mapping of behavioral movements between real and virtual humans is realized. (2) Passenger behavior data is constructed in a traction elevator digital twin system, solving problems such as the difficulty of obtaining actual elevator videos and the scarcity of passenger abnormal behavior data, and providing a new data enrichment method in the field of image recognition. (3) Abnormal behavior data is constructed by using digital twin technology, reducing time and equipment costs while ensuring the safety of testers. [Brief description of the drawings]

[0020] [Figure 1] 1 shows a schematic diagram of a human skeletal model and a skeletal joint tree. [Diagram 2] 1 shows a flowchart of passenger behavior data enrichment. [Diagram 3] 1 shows a schematic diagram of the results of passenger behavior data augmentation, where (a) is the result of human body behavior data augmentation controlling virtual in reality, (b) is the result of human body behavior data augmentation simulating reality in virtual, and (c) is the UE4 skeletal tree. [Figure 4] 1 shows a schematic diagram of collecting elevator passenger behavior data. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] The invention will now be further described in conjunction with the drawings, in which:

[0022] Referring to FIGS. 1 to 4, a method for passenger behavior modeling and data enrichment in a virtual reality interaction scene of a traction elevator includes the following steps.

[0023] Step 1: Build a twin scene of the traction elevator system, In the step (1.1) of drawing the geometric model of the traction elevator system, the geometric model of the traction elevator system is drawn by three-dimensional modeling software such as Revit, SolidWorks, Maya, etc., and the geometric model is based on the physical entity and uses digital twin technology to build a 1:1 3D visualization model that reproduces the real thing, ensuring that the twin model and the physical entity are highly consistent in terms of geometric size, material attributes, color, and shape, and truly reflects the assembly relationship and subordinate relationship of the physical entity, and has a structural "twin". The geometric model of the traction elevator system includes a hoistway building model, an elevator machine model, and a three-dimensional human body model; In the step (1.1.1) of the elevator building model, the elevator building model includes three parts: the machine room, the elevator wall and the pit. In the elevator machine model step (1.1.2), the traction elevator mainly consists of eight systems: traction system, guide system, car, door system, weight balance system, power drag system, electrical control system and safety protection system; In the step of drawing the 3D human body model (1.1.3), the 3D human body model is composed of a skeleton model and a human model. Since the skeleton and the model are independent of each other, skinning technology is used to generate rational movement of the skeleton-driven model; Skinning is a technique used in 3D animation to bind a model to a skeleton. In step (1.2) of constructing the digital twin scene, all the geometric models drawn in step (1.1) are output in FBX file format and imported into Unreal Engine 4 (UE4) to define the overall assembly, hierarchical relationships and motion constraints.

[0024] UE4 is a video engine developed by EPIC and an integrated tool consisting of pre-written core code, which is currently widely used in building digital twin platforms.

[0025] The assembly process needs to consider the hierarchical relationship between the elevator building model, elevator machine model and human body 3D model in the real world. The elevator building model, elevator machine model and human body 3D model are the first level, and the sub-models under each model are the second level. The motion units during elevator operation mainly include the hoist, wire rope, car, car door, floor door and counterweight device. Therefore, by setting the motion constraint conditions between related units such as the hoist and wire rope, the car and counterweight, the motion in the twin scene of the virtual model can be kept the same effect as in the real world; In the twin scene data-driven step (1.3), the twin scene geometric model is driven by the operation data and video data of the traction elevator system; Elevator driving data and video data belong to multi-source heterogeneous data, where multi-source mainly refers to the diversity of data sources, and heterogeneous mainly refers to the difference in data structure. Elevator driving data is mainly used to drive the motor unit in the twin scene, and video data is mainly used to drive the human movement in the twin scene. Various sensors are connected to the edge control platform (Raspberry Pi) through communication buses such as RS485 and RS232 for data transmission and storage. The edge control platform is a virtual reality interaction intermediate platform that, on the one hand, can send real data to the client (UE4) for data processing, and on the other hand, can obtain twin data from the client and perform corresponding control on the physical entity. In step 2, we will build a human behavior twin model and perform virtual reality mapping. In the human body behavior posture decomposition step (2.1), FIG. 1 shows a schematic diagram of a human skeletal model and a skeletal joint tree; In step (2.1.1) of the human body skeleton model, the three-dimensional movement of the human body is mainly a series of movements of the joints and limbs, so the entire human body model can be simplified into a hinge structure consisting of 17 skeleton points as shown in Figure 1(a); The 17 skeletal points are the head, neck, chest, pelvis, buttocks (root), right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, right knee, right ankle, left hip, left knee, and left ankle. In the step (2.1.2) of the human body skeleton joint tree, according to the traditional three-dimensional coordinate description method, the position parameters of each skeleton point during movement are independent of each other, and the position change of any skeleton point does not affect other skeleton points. Therefore, using a hierarchical method to equate the human body skeleton model to the skeleton joint tree shown in Figure 1(b) can overcome this defect. The root node of the tree is the geometric center (hips) of the human skeleton model, which can control the overall displacement and orientation of the human model, and the remaining child nodes jointly help determine the posture and present the movement process of the human model through direct and indirect connections with the root node; In the step (2.2) of modeling human body movements based on kinematic principles, the motion of all the joints of the human body can be controlled by the methods of forward kinematics and inverse kinematics; Forward kinematics is used to control the human to execute the corresponding motion, and inverse kinematics is used to obtain the detailed joint point data during posture transformation. In the forward kinematics step (2.2.1), the forward kinematics of the human posture is the relative displacement of each joint.

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

[0026] In the step of simulating reality in virtual reality (4.2.2), this method does not need to obtain real human skeletal data, and can obtain the corresponding abnormal behavior by directly manipulating the virtual human skeletal model in the twin scene and calculating it by kinematics. The process of simulating virtual reality in the present invention is realized based on UE4 by the following steps: In the skeletal retargeting step (4.2.2.1), in order to save the time of constructing different virtual humans in UE4 to perform the same behavioral actions, skeletal retargeting needs to be performed on the virtual humans imported into UE4. Skeletal retargeting means pairing virtual humans with different skeletal structures so that the same set of motion data can drive different skeletons. In the step (4.2.2.2) of obtaining detailed joint point data, the skeletal nodes of the virtual human are operated in the animation blueprint to create desired postures at consecutive key frame times, and the posture data of two adjacent key frames are used as inputs for inverse kinematics in step (2.2.2), and the intermediate process obtains detailed joint point data; In the motion data generation step (4.2.2.3), the refined joint data obtained in step (4.2.2.2) is used as the input for the forward kinematics in step (2.2.1) to generate the corresponding motion data (e.g., jumping, kicking a door, etc.). In the state integration step (4.2.2.4), multiple state events (e.g., normal state, slight danger state, severe danger state, etc.) are added to the same virtual human in the character blueprint, and corresponding action data is bound to each state event. In the event trigger step (4.2.2.5), a virtual human is placed in the elevator car twin scene, and trigger conditions (e.g., inputting alphabets, pressing keys, etc.) are added to various events in step (4.2.2.4). In the data augmentation step (4.2.2.6), the corresponding trigger conditions are executed, and the roles of the people in the scene, the background of the car, and the lighting intensity are set, so as to realize multi-scene and multi-role behavior data augmentation. By setting the Position and Rotation of Transform, you can change the position of the human character in the scene. By setting the elements in Materials, you can change the background and material of the car. By setting the Lights attributes, you can change the type, brightness, and position of the light. Figure 3(a) shows the result of human body action data augmentation to control virtual in reality, Figure 3(b) shows the result of human body action data augmentation to simulate reality in virtual, and Figure 3(c) is a schematic diagram of the UE4 skeletal joint tree.

[0027] In the passenger behavior dataset generation step (4.3), FIG. 4 shows a schematic diagram of collecting elevator passenger behavior data; In the step (4.3.1) of setting the virtual camera, a CameraActor virtual camera is added at each of the four apex positions of the elevator car twin scene to simulate the shooting scene in the real elevator car. The virtual camera may use the following settings: the shooting angle is parallel to the top of the car and 45° downward, the viewing angle is 60°, the frame rate is 50fpx, and the output format is avi; In the passenger behavior capture step (4.3.2), we trigger behavior events and write C++ code in UE4 to control all virtual cameras to capture passenger behaviors in the twin scenes simultaneously. In the data pre-processing step (4.3.3), the behavioral motion videos collected in step (4.3.2) are extracted at fixed frames to obtain video image datasets of different behaviors.

[0028] In the solution of this embodiment, a passenger behavior twin model is constructed by using digital twin technology and kinematics principles, and accurate mapping of behavioral movements between real and virtual humans is realized, and passenger behavior data is constructed in the traction elevator digital twin system, solving the problems of difficulty in obtaining real elevator video and scarcity of passenger abnormal behavior data, and providing a new data enrichment method in the field of image recognition. The use of digital twin technology to construct abnormal behavior data reduces time and equipment costs while ensuring the safety of testers.

[0029] The contents described in the embodiments of this specification are merely enumerations of the implementation forms of the concept of the invention, and are for the purpose of explanation only. The scope of protection of the present invention is not limited to the specific forms described in the embodiments, and the scope of protection of the present invention also includes equivalent technical means that a person skilled in the art can think of based on the concept of the present invention.

[0030] (Additional Note) (Appendix 1) A method for passenger behavior modeling and data enrichment in a virtual reality interaction scene of a traction elevator, comprising: Step 1 to build a twin scene for a traction elevator system; Step 2 involves constructing a human behavior twin model and virtual reality mapping; A step 3 of detecting human body skeleton points in the twin scene performs skeleton recognition on the virtual human in the twin scene based on a skeleton point detection algorithm; and a step 4 of elevator passenger behavior data enrichment, which performs data enrichment on elevator passenger behavior based on the human body behavior twin model constructed in the step 2; Step 1 of the process is: Step (1.1) of drawing a geometric model of the traction elevator system by using three-dimensional modeling software, the geometric model is based on a physical entity, and a 1:1 3D visualization model is constructed using digital twin technology to ensure that the twin model and the physical entity are highly consistent in terms of geometric size, material attributes, color, and shape, and truly reflect the assembly relationship and dependency relationship of the physical entity, and have a structural "twin"; Step (1.2) of constructing a digital twin scene by outputting the geometric model drawn in step (1.1) in a unified file format and importing it into a commonly used digital twin engine to define the overall assembly, hierarchical relationships, and motion constraints; a twin-scene data-driven step (1.3) of driving the twin-scene geometric model with the operation data and video data of the traction elevator system; Step 2 of the process is: The human body action posture decomposition step (2.1), A step (2.2) of modeling the behavior of the human body based on kinematic principles that allows the motion of all the joints of the human body to be controlled by means of forward kinematics and inverse kinematics; A step (2.3) of virtual reality mapping of a human behavior model using the human 3D model in step (1.2), inputting human skeletal joint point data, and combining it with digital twin technology and kinematics principles to map real-world human movements onto the human 3D model in the twin scene in real time; Step 3 of the process is: A step (3.1) of recording the movements of the virtual human while performing the step (2.3); Step (3.2) uses the video image data obtained in step (3.1) as input for the first 10 layers of VGG19 to obtain a corresponding feature map F; (3.3) inputting the feature map F into a skeleton extraction network to extract human skeleton points; characterizing the correlation of the articulation point pair by computing the linear integral of the PAFs for any two articulation points (3.4);

number

number

number

[0031] (Appendix 2) In the step (1.1), the geometric model of the traction type elevator system includes a hoistway building model, an elevator machine model, and a three-dimensional human body model; In the step (1.1.1) of the elevator building model, the elevator building model includes three parts: the machine room, the elevator wall and the pit. In step (1.1.2) of the elevator machine model, the traction elevator is composed of eight systems, namely, the traction system, the guide system, the car, the door system, the weight balance system, the power drag system, the electrical control system and the safety protection system. The traction system provides kinetic energy to the equipment to operate the elevator normally. It consists of a hoist, wire rope, guide wheel and electromagnetic brake. The guide system is for restricting the degree of freedom of movement of the car and the counterweight so that the car and the counterweight can only ascend and descend along the guide rail, and is composed of a guide rail, a guide shoe, and a guide rail frame; The car comprises a car frame and a car body, the car frame being a load-bearing frame for fixing the car body, and the car body being an operating container; The door system includes a car door, a floor door, a door lock device, and an automatic door drag device; The weight balance system is used to balance the weight of the elevator car, maintain the weight difference between the car and the counterweight within a specified range, and ensure the normal traction transmission of the elevator. The power drag system is composed of a hoist, a power supply system, a speed feedback device, and a speed governor, and is used to control the speed of the elevator. The electrical control system is used to operate and control the operation of the elevator, and consists of a control device, an operating device, a leveling device and a position display device; Safety protection systems are divided into mechanical safety protection systems and electrical safety protection systems. The mechanical part includes speed limiters and buffers, while the electrical part includes terminal protection devices and various interlock switches. The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes for traction-type elevators described in Appendix 1, characterized in that in the step (1.1.3) of drawing the 3D human body model, the 3D human body model consists of a skeleton model and a human model, and since the skeleton and the model are independent of each other, skinning technology is used to generate reasonable movement of the skeleton-driven model.

[0032] (Appendix 3) In the step (1.2), the assembly process needs to consider the hierarchical relationship between the elevator building model, the elevator machine model and the human body 3D model in the real world; The elevator building model, elevator machine model and human body 3D model are the first level, and the sub-models under each model are the second level. The passenger behavior modeling and data enrichment method in virtual reality interaction scenes of traction elevators described in Appendix 2 is characterized in that the motion units during elevator operation include a hoist, a wire rope, a car, a car door, a floor door and a counterweight device, and by setting motion constraint conditions between related units, the motion in the twin scene of the virtual model can be maintained to have the same effect as in the real world.

[0033] (Appendix 4) In the step (1.3), the elevator driving data and the video data belong to multi-source heterogeneous data, where multi-source mainly refers to the diversity of data sources, and heterogeneous mainly refers to the difference in data structure, and the elevator driving data is used to drive the motor unit in the twin scene, and the video data is used to drive the human movement in the twin scene; The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes of a traction elevator as described in Appendix 3, characterized in that various sensors are connected to an edge control platform by a communication bus for data transmission and storage, and the edge control platform is a virtual reality interaction intermediate platform, which, on the one hand, can send actual data to a client digital twin platform for data processing, and on the other hand, can obtain twin data from the client to perform corresponding control on physical entities.

[0034] (Appendix 5) In the step (2.1), the process of human body action posture decomposition includes a step (2.1.1) of a human body skeleton model and a step (2.1.2) of a human body skeleton joint tree; In step (2.1.1) of the human skeletal model, the three-dimensional movement of the human body is a series of movements of the joints and limbs, and therefore the human body model can be simplified into a hinge structure consisting of 17 skeletal points; The 17 skeletal points are the head, neck, chest, pelvis, buttocks, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, right knee, right ankle, left hip, left knee, and left ankle. In the step (2.1.2) of the human body skeleton joint tree, according to the traditional three-dimensional coordinate description method, the position parameters of each skeleton point during movement are independent of each other, and the position change of any skeleton point does not affect other skeleton points. Therefore, using a hierarchical method to equate the human body skeleton model to a skeleton joint tree can overcome this defect; The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes of traction elevators described in any one of Appendices 1 to 3, characterized in that the root node of the tree is the geometric center (buttocks) of the human skeletal model, which can control the overall displacement and orientation of the human model, and the remaining child nodes jointly assist in determining the posture and presenting the movement process of the human model through direct and indirect connections with the root node.

[0035] (Appendix 6) In the step (2.2), forward kinematics is used to control the human to perform the corresponding motion, and inverse kinematics is used to obtain the refined joint point data during posture transformation, and the process is as follows: In the forward kinematics step (2.2.1), the forward kinematics of the human posture is the relative displacement of each joint.

number

number

number

number

number

number

number

number

number

number

number

number

[0036] (Appendix 7) The process of step (2.3) includes a step (2.3.1) of extracting skeleton points, a step (2.3.2) of mapping joints, a step (2.3.3) of converting coordinates, a step (2.3.4) of importing data, a step (2.3.5) of obtaining detailed joint point data by inverse kinematics, and a step (2.3.6) of obtaining and generating motion data by forward kinematics. In step (2.3.1), we obtain the real human body joint tag data by a common skeleton point detection algorithm; In step (2.3.2), joint mapping is a one-to-one correspondence between the human skeletal model in the digital twin scene and the joint point tags obtained in step 2.3.1. In step (2.3.3), each joint tag obtained in step (2.3.1) has an independent coordinate system, and in order to avoid joint misalignment and joint drift problems during motion mapping, the local coordinate systems of the joint tags must be transformed into the same coordinate system in step (2.3.2). The transformation from the local coordinate system to the global coordinate system can be realized by multiplying the homogeneous transformation matrix,

number

number

number

[0037] (Appendix 8) In the step (3.2), VGG19 is a convolutional neural network containing 19 hidden layers, including 16 convolutional layers and 3 fully connected layers. It is currently widely used in the field of image recognition; In the step (3.3), the skeleton extraction network is a multi-stage convolutional neural network with two branches, One branch is used to predict 2D Confidence maps (S), and the other branch is used to predict Part Affinity Fields (L). S = (S1, S2, …, S j ), where j represents the number of joints to be detected. L = (L1, L2, …, L c ), where c represents the number of limbs (joint pairs) to be detected, The process of step (3.3) is The input of the first stage is the feature map F obtained in step (3.2), and the output results are two branches: a 2D confidence map and a part affinity field, step (3.3.1). From the second stage (k ≥ 2), the inputs of the network are F, S k-1 , and L k-1 The input / output relationship at different stages of the two branches is

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

number

[0038] (Appendix 9) The process of step (4.2) is a step (4.2.1) of controlling the virtual with reality and a step (4.2.2) of simulating the reality with the virtual; In step (4.2.1), the method is generally consistent with the virtual reality mapping process in step (2.3), and still requires using the skeletal data of a real human to drive the virtual human model, but it does not require a real human to enter the elevator scene, and can be realized by simply placing the virtual human in the twin scene and performing motion simulation in an arbitrary safe space. In step (4.2.2), this method does not need to obtain real human skeletal data, but can directly manipulate the virtual human skeletal model in the twin scene and obtain the corresponding behavioral motions by kinematics alone; The process of simulating virtual reality is realized by the steps of skeletal retargeting (4.2.2.1), detailed joint data acquisition (4.2.2.2), motion data generation (4.2.2.3), state integration (4.2.2.4), event triggering (4.2.2.5), and data augmentation (4.2.2.6). In step (4.2.2.1), in order to save the time of constructing different virtual humans in the twin scene to perform the same behavioral movements, it is necessary to perform skeletal retargeting on the virtual humans imported into the twin scene. Skeletal retargeting means pairing virtual humans with different skeletal structures to realize that the same set of motion data can drive different skeletons. In step (4.2.2.2), the skeletal nodes of the virtual human are manipulated to create the desired postures at successive keyframe times, and the posture data of two adjacent keyframes are used as input for the inverse kinematics in step (2.2.2). The intermediate process obtains detailed joint point data, In step (4.2.2.3), the refined joint data obtained in step (4.2.2.2) is used as the input for the forward kinematics in step (2.2.1) to generate the corresponding motion data; In step (4.2.2.4), multiple state events are added to the same virtual human, and each state event is bound to corresponding action data. In step (4.2.2.5), a virtual human is placed in the elevator car twin scene, and trigger conditions are added to various events in step (4.2.2.4); The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes of traction elevators described in any one of Appendixes 1 to 3, characterized in that in step (4.2.2.6), corresponding trigger conditions are executed, and the roles of the people in the scene, the background and lighting intensity of the elevator car are set, so as to realize multi-scene, multi-role behavior data augmentation.

[0039] (Appendix 10) The process of step (4.3) includes a step (4.3.1) of setting a virtual camera, a step (4.3.2) of capturing passenger behavior, and a step (4.3.3) of data pre-processing. In step (4.3.1), in order to simulate the shooting scene in the actual elevator car, multiple virtual cameras are added at different orientations of the elevator car twin scene, and the shooting angle, viewing angle, frame rate and output format of the cameras are set; In step (4.3.2), a behavioral event is triggered and the virtual camera is controlled to simultaneously capture passenger actions in the twin scenes. The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes for traction elevators described in Appendix 9, characterized in that in step (4.3.3), the behavior video collected in step (4.3.2) is extracted in fixed frames to obtain video image datasets of different behavioral movements.

Claims

1. A method for passenger behavior modeling and data enrichment in a virtual reality interaction scene of a traction elevator, comprising: Step 1 of constructing a twin scene for a traction elevator system; Step 2: constructing a human behavior twin model and performing virtual reality mapping; A step 3 of detecting human body skeleton points in the twin scene performs skeleton recognition on the virtual human in the twin scene based on a skeleton point detection algorithm; and an elevator passenger behavior data enrichment step 4, which performs data enrichment on elevator passenger behavior based on the human body behavior twin model constructed in the step 2; Step 1 of the process is: (1.1) drawing a geometric model of the traction elevator system using three-dimensional modeling software, the geometric model being based on a physical entity, and using digital twin technology to build a 1:1 3D visualization model of the real thing, ensuring that the twin model and the physical entity are highly consistent in terms of geometric size, material attributes, color, and shape, and truly reflecting the assembly relationship and dependency relationship of the physical entity, the geometric model of the traction elevator system having a structural "twin"; A step (1.2) of constructing a digital twin scene by outputting the geometric model drawn in step (1.1) in a unified file format and importing it into a commonly used digital twin engine to define the overall assembly, hierarchical relationships, and motion constraints; a twin-scene data-driven step (1.3) of driving the twin-scene geometric model with the operation data and video data of the traction elevator system; Step 2 of the process is: A human body action posture decomposition step (2.1); A step (2.2) of modelling the behaviour of the human body based on kinematic principles, which allows the motion of all the joints of the human body to be controlled by means of forward kinematics and inverse kinematics; A step (2.3) of virtual reality mapping of a human behavior model using the human 3D model in step (1.2), taking human skeleton joint point data as input, and combining with digital twin technology and kinematics principles to map real-world human actions onto the human 3D model in the twin scene in real time; Step 3 of the process is: A step (3.1) of recording the movements of the virtual human while performing the step (2.3); (3.2) taking the video image data acquired in step (3.1) as input for the first 10 layers of the VGG 19 to obtain a corresponding feature map F; (3.3) inputting the feature map F into a skeleton extraction network to extract human skeleton points; characterizing the correlation of the articulation point pair by computing the linear integrals of the PAFs for any two articulation points (3.4); [0010] (where E represents the reliability of connecting two joints to form a limb, and d j1 and j2 represents the coordinate positions of joint point 1 and joint point 2, [0025] Let σ represent the length of the limb consisting of joint points 1 and 2, and for fast integration, we approximate the similarity between these two joint points by uniform sampling. [0030] ) Selecting and connecting all of the most reliable joint points to form a skeletal pose of the entire human body (3.5); Determining the difference in bone detection accuracy between the virtual human and the real human according to the virtual human bone posture obtained in step (3.5); If the error between the skeleton detection accuracy of the virtual human and the skeleton detection accuracy of the real human is maintained within the allowable range, the passenger behavior data reinforcement is performed in step 4, or conversely, the virtual human model is modified, and step 2 and step 3 are repeatedly performed in step (3.6); Step 4 of the process is: Before enhancing passenger behavior data, it is necessary to first define and classify passenger behavior in the elevator. Normal behavior refers to the correct boarding and alighting behavior of passengers in an elevator. Abnormal behavior refers to dangerous behavior by passengers in an elevator that threatens the safe operation of the equipment or the safety of people's lives. A passenger behavior definition and classification step (4.1), in which abnormal behavior may be classified into low-risk behavior and high-risk behavior according to the degree of danger, and into single abnormal behavior and multiple abnormal behavior according to the number of passengers; The passenger behavior data augmentation step (4.2) can be divided into two types: controlling the virtual with reality and simulating reality with virtual. and a passenger behavior data set generation step (4.3).

2. In the step (1.1), the geometric model of the traction elevator system includes a hoistway building model, an elevator machine model, and a three-dimensional human body model; In the step (1.1.1) of the elevator building model, the elevator building model includes three parts: the machine room, the elevator wall and the pit. In step (1.1.2) of the elevator machine model, the traction elevator is composed of eight systems, namely, a traction system, a guide system, a car, a door system, a weight balance system, a power drag system, an electric control system and a safety protection system; The traction system provides kinetic energy to the equipment to operate the elevator normally. It consists of a hoist, wire rope, guide wheel and electromagnetic brake. The guide system is for restricting the degree of freedom of movement of the car and the counterweight so that the car and the counterweight can only ascend and descend along the guide rail, and is composed of a guide rail, a guide shoe, and a guide rail frame; The car comprises a car frame and a car body, the car frame being a load-bearing frame for fixing the car body, and the car body being an operating container; The door system includes a car door, a floor door, a door lock device, and an automatic door drag device; The weight balance system is used to balance the weight of the elevator car, maintain the weight difference between the car and the counterweight within a specified range, and ensure the normal traction transmission of the elevator. The power drag system is composed of a hoist, a power supply system, a speed feedback device, and a speed governor, and is used to control the speed of the elevator. The electrical control system is used to operate and control the operation of the elevator, and consists of a control device, an operating device, a leveling device and a position display device; Safety protection systems are divided into mechanical safety protection systems and electrical safety protection systems. The mechanical part includes speed limiters and buffers, while the electrical part includes terminal protection devices and various interlock switches. The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes for traction elevators according to claim 1, characterized in that in the step (1.1.3) of drawing the 3D human body model, the 3D human body model is composed of a skeleton model and a human model, and since the skeleton and the model are independent of each other, skin technology is used to generate reasonable motion of the skeleton-driven model.

3. In the step (1.2), the assembly process needs to consider the hierarchical relationship between the elevator building model, the elevator machine model and the human body 3D model in the real world; The elevator building model, elevator machine model and human body 3D model are the first level, and the sub-models under each model are the second level. By analogy, The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes of traction elevators according to claim 2, characterized in that the motion units during elevator operation include a hoist, a wire rope, a car, a car door, a floor door and a counterweight device, and by setting motion constraint conditions between related units, the motion in the twin scene of the virtual model can be maintained with the same effect as in the real world.

4. In the step (1.3), the elevator driving data and the video data belong to multi-source heterogeneous data, where multi-source mainly refers to the diversity of data sources, and heterogeneous mainly refers to the difference in data structure, and the elevator driving data is used to drive the motor unit in the twin scene, and the video data is used to drive the human movement in the twin scene; The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes of traction elevators as claimed in claim 3, characterized in that: various sensors are connected to the edge control platform by a communication bus for data transmission and storage, and the edge control platform is a virtual reality interaction intermediate platform, which, on the one hand, can send real data to the client digital twin platform for data processing, and on the other hand, can obtain twin data from the client to perform corresponding control on the physical entity.

5. In the step (2.1), the process of human body action posture decomposition includes a step (2.1.1) of human body skeleton model and a step (2.1.2) of human body skeleton joint tree; In the step (2.1.1) of the human body skeleton model, the three-dimensional movement of the human body is a series of movements of the joints and limbs, and therefore the human body model can be simplified into a hinge structure consisting of 17 skeleton points; The 17 skeletal points are the head, neck, chest, pelvis, buttocks, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, right knee, right ankle, left hip, left knee, and left ankle, In the step (2.1.2) of the human body skeleton joint tree, according to the traditional three-dimensional coordinate description method, the position parameters of each skeleton point during the movement are independent of each other, and the position change of any skeleton point does not affect other skeleton points. Therefore, using the hierarchical method to equate the human body skeleton model to the skeleton joint tree can overcome this defect; The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes of traction elevators according to any one of claims 1 to 3, characterized in that the root node of the tree is the geometric center (buttocks) of the human skeleton model, which can control the overall displacement and orientation of the human model, and the remaining child nodes jointly assist in determining the posture and presenting the motion process of the human model through direct and indirect connections with the root node.

6. In the step (2.2), forward kinematics is used to control the human to perform the corresponding motion, and inverse kinematics is used to obtain the refined joint point data during posture transformation, and the process is as follows: In the step of forward kinematics (2.2.1), the forward kinematics of the human body posture is the relative displacement of each joint. [0045] and relative rotation [0050] is known, and the overall human posture after exercise is [006] The process of finding Q = H(R, T) where N represents the number of joints in the human body. [0070] represents the 3D posture matrix after the motion of the i-th joint, [0080] represents the three-dimensional position matrix of the i-th joint in the relative displacement matrix, p(i) represents the parent joint index of the i-th joint, and R pa(i),i represents the rotation of the i-th joint with respect to its parent joint, and H(R,T) represents the process of recursing the displacement and rotation matrices from the root node to all child nodes. [0090] Here, t pa(i) represents the parent joint displacement information of the i-th joint, and R i represents the global rotation of the i-th joint with respect to the canonical rest pose space, and for a root node with no parent node, [0010] and In the inverse kinematics step (2.2.2), inverse kinematics is the inverse process of forward kinematics, and the desired human pose is calculated. ##EQU00011## By inputting the relative displacement T, the relative rotation R of the joint is calculated. R = G(P,T), Where: ##EQU00012## represents the desired posture of the input i-th joint, and G(P,T) is ##EQU00013## must be satisfied, ##EQU14## represents the parent joint posture of the i-th joint, and in the case of a root node with no parent node, ##EQU00015## The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes of a traction elevator according to claim 5, characterized in that:

7. The process of step (2.3) includes a step (2.3.1) of extracting skeleton points, a step (2.3.2) of mapping joints, a step (2.3.3) of converting coordinates, a step (2.3.4) of importing data, a step (2.3.5) of obtaining detailed joint point data by inverse kinematics, and a step (2.3.6) of obtaining and generating motion data by forward kinematics. In step (2.3.1), the real human body joint tag data is obtained by a general skeleton point detection algorithm; In step (2.3.2), joint mapping refers to a one-to-one correspondence between the human skeletal model in the digital twin scene and the joint point tags obtained in step 2.3.1; In step (2.3.3), each joint tag obtained in step (2.3.1) has an independent coordinate system, and in order to avoid problems of joint misalignment and joint drift during motion mapping, the local coordinate systems of the joint tags need to be transformed into the same coordinate system in step (2.3.2); The transformation from the local coordinate system to the global coordinate system can be realized by multiplying the homogeneous transformation matrix, ##EQU00016## However, T * is the homogeneous transformation matrix, ##EQU00017## is the three-dimensional rotation matrix of the current coordinate system relative to the previous coordinate system, [0018] is the three-dimensional displacement matrix of the current coordinate system relative to the previous coordinate system, In step (2.3.4), the joint point data obtained in step (2.3.1) is sent to the client digital twin platform in the form of a byte stream for processing, and then imported into the human three-dimensional model to realize the reproduction of the human body posture of the key frame; Byte stream is the format of processing data byte by byte, and key frame is the current frame from which the skeleton detection algorithm in step (2.3.1) obtains real human joint point data; In step (2.3.5), since there is an internal correlation between human skeletal joint points, directly determining the translation and rotation of each joint is likely to result in unnatural movements. Therefore, the skeletal posture data of two adjacent key frames is input, and the inverse kinematics in step (2.2.2) is used to obtain each joint point data with a more detailed intermediate process; The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes of traction elevators according to claim 6, characterized in that in step (2.3.6), the detailed joint point data obtained in step (2.3.5) is imported into the skeleton nodes of the virtual human at a certain frequency, and combined with the forward kinematics in (2.2.1) to realize the motion mapping of the virtual human.

8. In the step (3.2), VGG19 is a convolutional neural network including 19 hidden layers, including 16 convolutional layers and 3 fully connected layers, which is currently widely used in the field of image recognition; In the step (3.3), the skeleton extraction network is a multi-stage convolutional neural network having two branches; One branch is used to predict 2D confidence maps (S), and the other branch is used to predict part affinity fields (L); S = (S 1 , S 2 , …, S j ), j represents the number of joints to be detected, L = (L 1 , L 2 , ..., L c ), c represents the number of limbs (joint pairs) to be detected, The process of step (3.3) is The input of the first stage is the feature map F obtained in step (3.2), and the output results are two branches: a 2D confidence map and a part affinity field, step (3.3.1); From the second stage (k ≥ 2), the inputs of the network are F, S k-1 , and L k-1 The input / output relationship at different stages of the two branches is [0019] where k represents the current stage number, [0020] is the 2D confidence map (S k ) and feature map F, 2D confidence map (S k-1 ) and the network relationship between the part affinity fields, ##EQU00021## represents the network relationships between the part affinity fields and the feature map F at the kth stage, the 2D confidence map at the k-1th stage, and the part affinity fields (3.3.2); During training, the two branches at each stage generate corresponding losses, which are used to avoid the problem of gradient vanishing. Gradient vanishing means that as the number of layers in a neural network increases, the closer to the input layer, the less effective the weights between layers can be (the derivatives tend to be zero), resulting in poor neural network performance. Loss represents the loss function and is the most important factor to ensure that the network can converge. The loss of the two branches at each stage is [0022] where J represents the total number of joints, C represents the total number of limbs, [0023] represents the loss function of the 2D confidence map branch at the kth stage, [0024] represents the loss function of the part affinity field branch at the kth stage, a represents the pixel point position, and W represents the binarization matrix. [0025] represents the tag pixel point of the 2D confidence map of the j joint point at the k stage, [0026] represents the actual pixel point of the 2D confidence map of the j joint point at the k stage, [0027] represents the tag pixel point of the part affinity field of the c appendage at the k stage, [0028] represents the actual pixel point of the part affinity field of the c appendage at the k stage, [0029] represents the L2 norm (the Euclidean distance between two or more points), The unmarked human articulation points are W(a)=0, and the marked human articulation points and non-articulation points are W(a)=1. Therefore, the unmarked human articulation points do not affect the model learning process, and the optimization objective function of the convolutional neural network architecture is: [0030] where f is the optimization objective function and K is the total number of steps; [0031] and [0032] and a step (3.3.4) of calculating The process of step (3.3.4) is as follows: The heatmap of the jth joint of the nth person is [Equation 33] [0034] where exp represents the natural constant e, [Equation 35] represents the position coordinate of the j-th joint of the n-th person, [0036] Step (3.3.4.1), where is the standard deviation; The vectormap of the limb connection direction corresponding to the current skeleton is [Equation 37] [Equation 38] where: [0039] and [0040] represents the position coordinates of joint point 1 and joint point 2 of the nth person, [0041] represents the nth person's c-body, [0042] represents the length of the limb consisting of joint point 1 and joint point 2 of the nth person, The affinity field of the nth person's c-body is [0043] where: [0044] and c is the total number of pixel points of the limbs.

9. The process of step (4.2) is a step (4.2.1) of controlling the virtual with reality and a step (4.2.2) of simulating the reality with the virtual; In step (4.2.1), the method is generally consistent with the virtual reality mapping process in step (2.3), and still requires using the skeletal data of a real human to drive the virtual human model, but it does not require a real human to enter the elevator scene, and can be realized by simply placing the virtual human in the twin scene and performing motion simulation in an arbitrary safe space; In step (4.2.2), the method does not need to obtain skeletal data of a real human, and can obtain the corresponding behavioral movements by directly manipulating the skeletal model of the virtual human in the twin scene and calculating it by kinematics; The process of simulating virtual reality is realized by the steps of skeleton retargeting (4.2.2.1), detailed joint data acquisition (4.2.2.2), motion data generation (4.2.2.3), state integration (4.2.2.4), event trigger (4.2.2.5), and data augmentation (4.2.2.6). In step (4.2.2.1), in order to save the time of constructing different virtual humans in the twin scene to perform the same behavioral movements, it is necessary to perform skeletal retargeting on the virtual humans imported into the twin scene. Skeletal retargeting means pairing virtual humans with different skeletal structures to realize that the same set of motion data can drive different skeletons; In step (4.2.2.2), the skeleton nodes of the virtual human are operated to create a desired posture at successive key frame times, and the posture data of two adjacent key frames is used as the input of the inverse kinematics in step (2.2.2), and the intermediate process obtains detailed joint point data; In step (4.2.2.3), the refined joint point data obtained in step (4.2.2.2) is used as an input for the forward kinematics in step (2.2.1) to generate corresponding motion data; In step (4.2.2.4), multiple state events are added to the same virtual human, and corresponding action data is bound to each state event; In step (4.2.2.5), a virtual human is placed in the elevator car twin scene, and trigger conditions are added to various events in step (4.2.2.4); The method for passenger behavior modeling and data enrichment in virtual reality interaction scenes of traction elevators according to any one of claims 1 to 3, characterized in that in step (4.2.2.6), corresponding trigger conditions are executed, and the roles of people in the scene, the background and lighting intensity of the car are set, so as to realize multi-scene, multi-role behavior data augmentation.

10. The process of step (4.3) includes a step (4.3.1) of setting a virtual camera, a step (4.3.2) of capturing passenger behavior, and a step (4.3.3) of data pre-processing; In step (4.3.1), multiple virtual cameras are added in different orientations of the elevator car twin scene to simulate the shooting scene in the actual elevator car, and the shooting angle, viewing angle, frame rate and output format of the cameras are set; In step (4.3.2), a behavioral event is triggered and the virtual camera is controlled to simultaneously capture passenger actions in the twin scenes; The method for passenger behavior modeling and data enrichment in traction elevator virtual reality interaction scenes as claimed in claim 9, characterized in that in step (4.3.3), the motion video collected in step (4.3.2) is extracted in fixed frames to obtain video image datasets of different behavioral movements.

Citation Information

Patent Citations

  • Image extracting device

    JP2019185752A