Moving simulation device
The movement simulation device addresses the labor-intensive challenge of creating teacher data by generating movement lines and videos efficiently, enabling effective data collection for machine learning models in diverse scenarios.
Patent Information
- Application Number
- JP2023223113
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-07-10
AI Technical Summary
Creating a large number of videos for teacher data is labor-intensive due to the need for various data inputs such as background, character appearance, and movement timing, making it difficult to efficiently collect data for machine learning models, especially for events with low occurrence frequency.
A movement simulation device that includes a structure model acquisition unit, person model acquisition unit, and movement line generation unit to generate movement lines of a person model within a structure based on the structure and person models, allowing for efficient creation of videos with varied events.
The device enables efficient generation of movement lines and videos for various events, reducing labor and facilitating the creation of teacher data for machine learning models, particularly in scenarios like railway vehicles, stores, and other structures.
Smart Images

Figure 2025104925000001_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a movement simulation device.
Background Art
[0002] Estimation techniques using learned models have been developed in various fields. For example, there is a technique for estimating objects and events shown in images.
[0003] Machine learning is performed by inputting a large amount of teacher data into a model. For example, in order to train a model to estimate the occurrence of an abnormality from the video captured by a surveillance camera, it is necessary to collect a large number of videos in which the abnormality is shown. However, since it is difficult to predict when and where an abnormality will occur and the occurrence frequency is low, it is very difficult to actually capture scenes where an abnormality has occurred and collect a large amount of teacher data.
[0004] In order to efficiently collect videos and images for teacher data, instead of actually capturing and collecting videos and images, a data augmentation technique is known in which they are created by computer graphics (CG) and substituted (Patent Document 1). According to data augmentation, it is possible to efficiently create videos and images that are difficult to capture in various patterns.
Prior Art Documents
Patent Documents
[0005]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0006] For creating a moving image by CG, it is necessary to input various data such as the background, the appearance of the characters in the scene, the movement of the characters in the scene, and the timing thereof. For teacher data, it is necessary to create a large number of moving images in various patterns, and a great deal of labor is required for preparing and inputting the data for creating the moving images.
[0007] The present disclosure aims to provide a system capable of efficiently creating a large number of videos for use as teacher data.
Means for Solving the Problem
[0008] The movement simulation device according to the present disclosure includes a structure model acquisition unit that acquires a structure model, a person model acquisition unit that acquires a person model, and a movement line generation unit that generates a movement line of the person model when an event occurs in the structure model based on the structure model and the person model.
Effect of the Invention
[0009] According to the movement simulation device according to the present disclosure, since the movement line of a person in a structure is generated according to an event occurring in the structure, the movement line of a person can be efficiently generated according to various events that occur, and the generated movement line can be used for creating a video in which a person moves in the structure.
Brief Description of the Drawings
[0010]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22
Figure 23
Modes for Carrying Out the Invention
[0011] Hereinafter, a teacher data creation system according to an embodiment of the present disclosure will be specifically described with reference to the drawings. Note that each of the embodiments described below shows comprehensive or specific examples. Also, each figure is a schematic diagram and is not necessarily strictly illustrated. Furthermore, in each figure, substantially the same components are denoted by the same reference numerals, and duplicate descriptions may be omitted or simplified.
[0012] In the following embodiments, the present disclosure will be described by taking as an example the case of creating teacher data used for learning an event estimation model by CG. This event estimation model estimates an event that occurred at a predetermined location based on a video captured by a camera at that location.
[0013] FIG. 1 is a diagram showing the functional configuration of a teacher data creation system 1 according to the present embodiment. The teacher data creation system 1 includes a movement simulation device 10 and a moving image creation device 20.
[0014] The structure model acquisition unit 12 of the movement simulation device 10 acquires a structure model that models a structure that is the target of moving image creation for teacher data. The structure model is, for example, a model of a railway vehicle, a movie theater, a store, a station, an underground shopping mall, a road, etc., and includes information necessary for generating the movement lines of human models, such as walls, pillars, entrances and exits, passages, obstacles, seats, display shelves, etc. included in these structures.
[0015] The human model acquisition unit 14 acquires a human model that models a person who appears in the video. The human model may include information such as attributes such as age, gender, height, weight, current position, etc. Also, for example, when creating a video of a scene where an abnormality occurs inside a railway vehicle, the human model may include attribute information such as a destination (disembarkation station), an abnormal actor, a fallen person, etc. The number of human models to be acquired is determined according to the video to be created. For example, it is automatically set based on predetermined conditions or arbitrarily by the input of an operator, such as a large number for a video inside a commuter train in the morning and evening, and a small number for a video inside a train during the day. Also, the human model acquisition unit 14 may sequentially acquire human models over time.
[0016] Based on the acquired structure model and human model, the movement line generation unit 16 generates and outputs the movement line of a person within the structure. The movement line generation unit 16 can randomly generate the movement line based on the structure model and the human model, or can generate it according to predetermined conditions. The movement line is generated so as to move at a predetermined speed while avoiding obstacles according to the walls, columns, entrances and exits, passages, obstacles, seats, display shelves, etc. included in the structure model, and according to the positions of other human models. For example, in the scenario where passengers board a railway vehicle, the movement line is generated so as not to collide with other passengers or walls when heading from the entrance and exit of the railway vehicle to an empty seat.
[0017] The movement line acquisition unit 24 of the moving image creation device 20 acquires the movement line of a person within the structure from the movement simulation device 10. The movement line acquisition unit 24 may sequentially and real-time acquire at the time when the movement simulation device 10 generates the movement line, or may collectively acquire the movement lines generated by the movement simulation device 10 during a predetermined period. Also, the generated movement lines may be accumulated in the storage device each time, and the movement lines generated in the past may be read from the storage device and acquired.
[0018] The structure model appearance acquisition unit 26 acquires the appearance of the structure where the moving image is to be created. Here, the appearance includes not only the exterior of the structure but also the interior appearance. That is, it includes the appearance necessary for creating the moving image. For example, if it is inside a railway vehicle, the appearance inside the railway vehicle including, for example, walls, seats, entrances and exits, etc. is acquired. Also, if it is inside a store, the appearance inside the store including, for example, walls, display shelves, passages, entrances and exits, etc. is acquired.
[0019] The human model appearance acquisition unit 22 acquires the appearance of the person appearing in the moving image. The appearance of the person is set according to age, gender, height, weight, clothing, etc. respectively. The appearance of the person may be set based on the attributes of the human model acquired by the human model acquisition unit 14, or may be appropriately set by an operator in the moving image creation device 20.
[0020] The moving image creation unit 28 creates a moving image in which a person moves along a traffic line inside a structure based on the appearance of the structure, the appearance of the person, and the traffic line. The moving image may be created by rendering it as an image from a camera (viewpoint) provided at a predetermined location of the structure.
[0021] As described above, since the traffic line of the person is generated by the movement simulation device 10 and the moving image creation device 20 creates a moving image using the generated traffic line, the information input by the operator to the moving image creation device 20 is reduced, and the creation of the moving image can be performed efficiently.
[0022] FIG. 2 is a diagram showing an example of the system configuration of the teacher data creation system 1. The movement simulation device 10 and the moving image creation device 20 may be configured to exchange information between the two devices via a network or the like as different devices (such as a PC), or the functions of the movement simulation device 10 and the moving image creation device 20 may be provided in one device.
[0023] When the movement simulation device 10 and the moving image creation device 20 are configured as different devices, they may be connected by a network to send information from the movement simulation device to the moving image creation device, or information may be recorded on a recording medium and transferred.
[0024] When connecting by a network, a network in a limited area such as a LAN may be used, or a network connecting remote locations such as the Internet may be used. When using a recording medium, recording media such as a USB memory or a DVD-ROM can be used.
[0025] FIG. 3 is a diagram showing the hardware configuration of the movement simulation device 10. A memory 31, a storage device 32 such as an SSD, a DVD-ROM drive 33, a display 34, a keyboard / mouse 35, a communication circuit 36, etc. are connected to the CPU 30.
[0026] The communication circuit 36 is a circuit for connecting to the Internet or a LAN. An operating system 37, a movement simulation program 38, and data 39 such as structure models and human models are recorded in the storage device 32. The movement simulation program 38 cooperates with the operating system 37 to fulfill its functions.
[0027] 4 is a diagram showing the hardware configuration of the moving image creation device 20. A memory 51, a storage device 52 such as an SSD, a DVD-ROM drive 53, a display 54, a keyboard / mouse 55, a communication circuit 56, etc. are connected to a CPU 50.
[0028] The communication circuit 56 is a circuit for connecting to the Internet or a LAN. An operating system 57, a video creation program 58, and data 59 such as structure models and human models are recorded in the storage device 52. The video creation program 58 cooperates with the operating system 57 to fulfill its functions.
[0029] Hereinafter, the present disclosure will be described taking as an example an anomaly detection system that detects the occurrence of an anomaly in a railway vehicle using the teacher data creation system according to the present embodiment. The anomaly detection system is constructed by installing a surveillance camera in the railway vehicle and using a trained model that estimates whether an abnormal state is included in the captured image.
[0030] The learned model is a model that estimates whether the movement of the projected person is different from normal. Inside a moving railway vehicle, it is normal for passengers to move little, so if multiple people start moving at the same time, it is judged that some abnormality has occurred. For example, if an abnormal actor (criminal) appears, it is conceivable that the people around will all flee, and if a critically ill person collapses, it is conceivable that the people around will rush to help. Therefore, if it is detected that multiple passengers have started moving at the same time, it is judged that an abnormality has occurred. Also, as a model for estimating the occurrence of an abnormality, when a suspicious abandoned object is recognized inside the vehicle, the passengers take an avoidance action of detouring to avoid the abandoned object. In this case, it is possible to judge that an abnormality has occurred based on the frequency of the abandoned object and the passengers' avoidance actions.
[0031] For model learning, a video in which a scene where multiple people start moving at the same time (move in a way different from normal) is projected is used as teacher data. The video is prepared by creating a video in which the movements of people in various patterns are projected using the teacher data creation system of the present embodiment.
[0032] Note that, unlike the present embodiment, when constructing a learned model using a video in which only normal scenes are projected as teacher data, the occurrence of an abnormality can be detected by making an estimation that it does not correspond to a normal scene.
[0033] FIG. 5 is a block diagram of an abnormality detection system 300 using the teacher data creation system 1 and the video created thereby. The movement simulation device 10 simulates the movement of people in a structure, and using the result, the video creation device 20 creates a video of the movement of people in the structure. The abnormality detection system 300 causes the model to learn using the video created by the video creation device 20 as teacher data, and detects the abnormality projected onto the camera 304 by the learned model.
[0034] Specifically, the video acquisition unit 301 of the abnormality detection system 300 acquires the video created by the video creation device 20 and stores it in the video database 302. Then, after the preprocessing unit 303 performs the necessary preprocessing on the video, the abnormality detection model learning unit 305 inputs the video into the model for learning.
[0035] When actually performing abnormality detection, the abnormality detection model inference unit 306 inputs the video captured by the camera 304 installed on the structure into the learned model to detect the occurrence of an abnormality. If an abnormality is detected, the warning notification unit 307 issues a warning through screen display, alarm sound, etc.
[0036] Next, while referring to the detailed block diagram of the movement simulation device 10 shown in FIG. 6, the processing of the movement simulation device 10 will be described according to the flowcharts of FIGS. 8 to 10. The CPU 30 of the movement simulation device 10 (hereinafter, may be abbreviated as the "movement simulation device 10") first acquires a vehicle model (step S1). The operator creates a vehicle model by inputting parameters such as a plan view and overall length of the vehicle into the movement simulation device 10 using a keyboard / mouse 35, etc., and the created vehicle model is stored in the vehicle information database 109.
[0037] FIG. 12 is a diagram showing an example of the input vehicle model. In the vehicle model 60, the space inside the vehicle is defined by the outer wall 61. On the outer wall 61, entrances and exits 62 are defined on the side surface. The position and number of the entrances and exits 62 are appropriately designed according to the vehicle model to be created. Doors 63 for moving to adjacent vehicles are defined at the front and rear ends of the outer wall 61. Seats 64 are defined inside the vehicle. The position and number of the seats are appropriately designed according to the vehicle model to be created. In the illustrated example, it is a six-seater long seat provided along the inside of the outer wall 61.
[0038] Next, the operator inputs the simulation conditions (step S2). FIG. 13 is a diagram showing an example of an input screen 80 for inputting simulation conditions and displaying simulation results. In the simulation area 81, a plan view of the defined vehicle model and the positions of the persons (black circles) inside it are shown. Note that the persons do not yet exist at the start of the simulation.
[0039] In the condition input area 82, an area for inputting various simulation conditions is set. The operator inputs or selects the train timetable, scenario, abnormal person occurrence rate, fallen person occurrence rate, seat occupancy rate, and male-female ratio of the railway vehicle respectively.
[0040] FIG. 14 is a diagram showing an example of a timetable. In the timetable, the station name, arrival time, and the number of persons boarding the vehicle at the station are set and stored in the timetable database 101. The timetable is selected from data in which the stations and their arrival times are pre-stored according to the route assumed in the simulation. The timetable may be the timetable data of an actual route or the timetable data of an imaginary route. The timetable may be set so that the number of boarding persons is different at different times at the same station.
[0041] FIG. 15 is a diagram showing an example of a scenario. The scenario is created by the scenario creation unit 102. In the scenario, the occurrence time of an abnormality, the type of the abnormality, the attributes of the persons involved in the abnormality, and the actions of each person at the time of the abnormality occurrence are set and stored in the scenario database 103.
[0042] In the "abnormal behavior", for example, it is set that an "abnormal person" moves in a predetermined direction from the current position, and a "normal passenger" moves to an adjacent vehicle so as to escape from the "abnormal person".
[0043] In the case of "falling", for example, it is set that the "normal passengers" around (within a predetermined range) the person who has "fallen" move to the vicinity of the person who has "fallen".
[0044] Returning to FIG. 13, in the condition input area 82, the abnormal person occurrence rate is the probability that an abnormal person occurs during the running of the railway vehicle. Here, if it is set to 100%, the scenario and the attributes of the person model are set assuming that an abnormal person will surely occur during the running of the railway vehicle.
[0045] The faller occurrence rate is the probability that a faller occurs during the running of the railway vehicle. Here, if it is set to 100%, the scenario and the attributes of the person model are set assuming that a faller will surely occur during the running of the railway vehicle.
[0046] The seat occupancy rate is the probability that the person model who has boarded the train heads for the seat. Here, if it is set to 100%, all person models will move to the seat as long as there are empty seats.
[0047] The male-female ratio is the ratio for setting the gender of the person model. Here, if it is set to 100%, all person models are set as male.
[0048] In the elapsed time display area 83, the time in the simulation and the arrival station at that time are displayed.
[0049] In the start time setting area 84 and the end time setting area 85, the start time and end time of the simulation can be input.
[0050] After inputting various conditions, by operating the execution button 86, the simulation is started.
[0051] Returning to FIG. 8, when the simulation process is started (step S3), the event occurrence unit 104 of the movement simulation device 10 recognizes the occurrence of an event according to the passage of time (step S4). The event occurs at a time determined according to the timetable and the scenario, which is either the arrival at the station, the appearance of a suspicious person (abnormal person), or the occurrence of a faller.
[0052] Next, the movement simulation device 10 determines whether the generated event is arrival at a station or not (step S5). If Yes, it simulates the movement of passengers when arriving at the station and calculates the flow lines of boarding and alighting passengers.
[0053] The positioning unit 108 of the movement simulation device 10 starts processing regarding the person inside the vehicle (step S6), and obtains the flow line of the passengers getting off at the arrived station. Regarding the passengers located inside the vehicle, it determines whether to get off at the said station based on the attribute information described later (step S7). If step S7 is Yes, it activates and executes a getting-off thread (step S8). If step S7 is No, it is assumed that the said person model does not move. Such determination is repeated to end the processing regarding the persons inside the vehicle (step S9).
[0054] FIG. 9 is a diagram showing the processing of the getting-off thread. The positioning unit 108 of the movement simulation device 10 determines the flow line for the said person model to move to the entrance / exit (step S31). When reaching the entrance / exit, the said person model is regarded as having gotten off and the data is deleted (steps S32, 33).
[0055] Next, new person models are created according to the number of boarding passengers at the arrived station and the boarding processing is started (step S10). First, the attribute creation unit 105 of the movement simulation device 10 sets the attributes of the newly created person models and saves them in the passenger information database 110 (step S11).
[0056] FIG. 16 is a diagram showing an example of the attributes set for the person models. Each person model is set with an ID number, gender, age, physique, type, position inside the vehicle, destination station, and status. Among these, the type indicates whether it is a suspicious person (abnormal person) or other general passengers (ordinary passengers). The position of a person indicates the position inside the vehicle model. The destination station indicates the station towards which to head to the entrance / exit when arriving. The status indicates whether standing upright (being at a position other than a seat after boarding), sitting (heading towards a position with a seat after boarding), having fallen, or rescuing (heading towards the fallen person).
[0057] Returning to FIG. 8, the position of the person model newly created in the boarding process is set at the entrance and exit. Also, based on the seat occupancy rate, an attribute is set such that the state of the person model is "seated" or "standing upright" (step S11). Then, the seat selection unit 106 of the movement simulation device 10 determines whether there is an empty seat in the vehicle based on the seat information in the seat information database 107 (step S12).
[0058] If there is an empty seat and the state of the person model is "seated" (step S13 is Yes), the seat selection unit 106 of the movement simulation device 10 selects a seat (step S14), makes the person model wait at the seat (step S15), and determines the movement route of the person model from the entrance and exit to the seat.
[0059] FIG. 17 is a diagram showing an example of seat information. The seat information is set as a part of the railway vehicle model as information on a combination of ID, seat position, and whether it is an empty seat, and is stored in the storage device 32.
[0060] On the other hand, if the state of the person model is "standing upright" (step S13 is No), the positioning unit 108 of the movement simulation device 10 determines to move to a standing position other than the seat, that is, an arbitrary position (step S16), makes the person model wait at the arbitrary position (step S17), and determines the movement route of the person model from the entrance and exit to the position.
[0061] If step S12 is No, the positioning unit 108 of the movement simulation device 10 determines to move to an arbitrary position as standing at a position other than the seat in the vehicle regardless of whether the state of the person model is "seated" or "standing upright" (step S16), makes the person model wait at the arbitrary position (step S17), and determines the movement route of the person model from the entrance and exit to the position.
[0062] By repeating steps S11 to S17 for the number of person models boarding, the processing for the number of boarding passengers is completed (step S18).
[0063] FIG. 18 is a diagram showing an outline of a simulation when the vehicle model 60 stops at a station and the person models 66 and 67 board from the entrance 62. For the person model 66 in the "seated" state, since there is an empty seat in the vehicle, the movement simulation device 10 determines a route so that the boarding person model 66 moves toward the empty seat. On the other hand, for the person model 67 in the "standing" state, the movement simulation device 10 determines a route so that the person model 67 moves to an area other than the seats in the vehicle. The person models already on board do not move.
[0064] Returning to FIG. 8, when step S5 is No, the movement simulation device 10 starts processing related to the people in the vehicle as an event other than arrival at the station (step S19), specifically, simulates the appearance of a suspicious person or the occurrence of a fallen person.
[0065] When a suspicious person appears, the movement simulation device 10 sets some of the person models as "suspicious persons" and the rest as "ordinary passengers". The setting may be made when creating the person models or when an event occurs.
[0066] When a fallen person occurs, the movement simulation device 10 sets some of the person models as "fallen persons" and sets the person models within a predetermined distance from the "fallen persons" among the other person models as "rescuers". The setting may be made when creating the person models or when an event occurs.
[0067] When an event occurs, the positioning unit 108 of the movement simulation device 10 determines whether each person model is a target of the event. If it is a target of the event (step S20 is Yes), the movement simulation device 10 starts an event action thread (step S21). If it is not a target of the event (step S20 is No), the processing related to the people in the vehicle ends here (step S22), and the next person model is processed.
[0068] FIG. 10 is a diagram showing the processing of an event action thread. The positioning unit 108 of the movement simulation device 10 determines the movement route of the person model so that the person model acts according to the event generated by the person model and the attributes determined by itself (step S34). At this time, when the person model sitting on the seat (the state is "seated") moves, the information is updated assuming that the seat where the person model was located has become an empty seat (step S35).
[0069] The "abnormal person" is set to move randomly in a walking direction from the current position. The "ordinary passenger" is set to run and move from the current position toward the door 63 (connection passage) of the adjacent vehicle.
[0070] FIG. 19 is a diagram showing an overview of the movement of the abnormal person 68 and ordinary passengers when the abnormal person 68 appears. All ordinary passengers move at high speed toward the door 63 of the adjacent vehicle so as to move away from the abnormal person 68. Here, high speed is assumed to be running away. The abnormal person 68 moves at low speed. Here, low speed is assumed to be walking.
[0071] The "fallen person" is set not to move on the spot, and the "rescue" is set to move to near the "fallen person".
[0072] FIG. 20 is a diagram showing an overview of the movement of the surrounding passengers when the fallen person 69 occurs. The passengers 71 located within a predetermined distance from the fallen person 69 move to the vicinity thereof so as to rush toward the fallen person. The passengers 72 located more than a predetermined distance away from the fallen person do not move as bystanders.
[0073] The movement routes determined in the above steps are sent to the moving image creation device 20 in real time or in a lump for a certain period of time (step S23).
[0074] In this way, from the start of the simulation process (step S3) to the end of the simulation process (step S24) in FIG. 8, it is continued until the end time of the simulation.
[0075] Next, while referring to the detailed block diagram of the moving image creation device 20 shown in FIG. 7, the processing of the moving image creation device 20 will be described with reference to the flowchart of FIG. 11. First, the CPU 50 of the moving image creation device 20 (hereinafter, may be abbreviated as the "moving image creation device 20") reads and acquires information on the vehicle model including the appearance of the vehicle model in the scene where the moving image is to be created (step S41). The information on the vehicle model may use the information on the vehicle model input to the movement simulation device 10, or may be directly input to the moving image creation device 20. The information on the vehicle model is stored in the vehicle information database 207.
[0076] When the vehicle model has been acquired, the moving image creation process is started (step S42).
[0077] FIG. 21 is a diagram showing an example of the operation screen 90 of the moving image creation device 20. "Camera setting" is for setting the position, direction, field of view range, etc. of the viewpoint of the moving image to be created, and the moving image is created from the viewpoint of shooting inside the railway vehicle by a camera provided inside the railway vehicle. The camera may be configured to be able to select a pre-prepared camera, or may be configured to be arbitrarily set.
[0078] "Lighting setting" is for setting the lighting inside the railway vehicle, and in the moving image, shadows are generated assuming that light hits from the set lighting. The lighting may be configured to be able to select pre-prepared lighting, or may be configured to be arbitrarily set. Specifically, the position where the lighting is provided, the brightness, the irradiation direction, etc. are set.
[0079] The moving image creation process can select "real-time processing" that is performed in parallel with the route generation process of the movement simulation device 10 and "offline processing" that is performed after receiving the route after the route generation process of the movement simulation device 10 has ended. In real-time processing, the route generated by the movement simulation device 10 is sequentially received and a moving image is created in real time. In offline processing, the routes for a predetermined period generated by the movement simulation device 10 are collectively received and a moving image is created offline.
[0080] In the overall display area 91, an image of a railway vehicle and the people inside it is displayed from an overhead view. The camera set in the "Camera Settings" and the lighting set in the "Lighting Settings" are also displayed in the overall display area. In conjunction with the operations of the camera addition button and the lighting addition button, cameras and lighting may be added, and the cameras and lighting may be selected in the overall display area 91 to change (delete) the settings.
[0081] In the rendering display area 92, a video rendered as if the railway vehicle interior and people were photographed with the set camera is displayed. By changing the camera settings and lighting settings while viewing the rendering display area 92, it may be possible to create a video while arbitrarily adjusting the camera and lighting settings.
[0082] The "start time" and "end time" set the period for which a video is to be created based on the traffic line obtained from the movement simulation device 10. If the "start time" and "end time" are not input, the video may be created for the entire period (the running time of the vehicle).
[0083] After the input of various settings is completed, click the "Execute CG Video Creation" button to execute the video creation process.
[0084] Returning to FIG. 11, the human model placement / deletion unit 201 of the video creation device 20 determines whether it is real-time processing in step S43. If Yes, passenger information including the movement line of people is received (acquired) from the movement simulation device 10 in real time (step S44). If No, the passenger information including the movement line generated by the movement simulation device 10 is collectively read and acquired (step S45).
[0085] Next, the process for each passenger character model is started (step S46). The ID management unit 202 starts a search process (matching process) of the ID list (see FIG. 22.) stored in the personal information database 203 as the ID of the passenger information obtained, which has already appeared in the character model, and determines whether it is a character model that has already appeared or a new character model that has not appeared based on the result (steps S47, S48). In the case of a new character model (when step S48 is Yes), the character model placement / deletion unit 201 creates a new character model and places the character model in the vehicle (step S49). Then, the appearance reflection unit 204 obtains appearance information such as body build and clothing color from the character model database 205 based on the attribute information of the character model and reflects the appearance of the character model (step S50).
[0086] On the other hand, when step S48 is No, it is determined whether the character model has already gotten off (old passenger information) (step S51). If Yes, the character model is deleted (step S52), and the search process of the ID list is terminated (step S53). If No, the process for the ID ends.
[0087] Next, when the placement and appearance reflection of the character model are completed, the position reflection unit 206 of the character model places the character model in the vehicle model stored in the vehicle information database 207 (step S54). When the animation application unit 208 of the character model sends the information of the vehicle model where the character model is placed and the information of the traffic line to the animation control unit 209, the animation control unit 209 selects an appropriate animation from the animation database 210 and applies (creates) an animation in which the character model moves (step S55). In this way, steps S47 to S55 are executed for all character models, and the process for each passenger character model is terminated (step S56).
[0088] Next, the camera placement unit 211 places a camera serving as a video viewpoint inside the railway vehicle based on the information stored in the camera parameter database 212 (step S57). Further, the lighting placement unit 213 places lighting necessary for shadow generation based on the information stored in the lighting parameter 214 (step S58). Then, the rendering unit 215 of the video creation device 20 creates a video by performing rendering based on the placement of the camera (step S59), and ends the video creation process (step S60).
[0089] FIG. 23 is a diagram showing a movement simulation created by the movement simulation device 10, an overall display created by the video creation device 20, and a rendered video. In the movement simulation device 10, the movement path of the human model inside the railway vehicle is generated along the time series.
[0090] In the video creation device 20, a video is created based on the movement path generated by the movement simulation device 10 and further based on the interior view of the railway vehicle and the appearance of each human model. The video is created by rendering the video captured by a camera installed at a predetermined position with respect to the created video.
[0091] According to the teacher data creation system of the present disclosure, since the movement path of a person is generated by the movement simulation device and a video is created by the video creation device based on this movement path, the video can be created efficiently. In addition, a large number of videos when various events occur in the structure model can be created efficiently. By making the model learn using the created video as teacher data, a learned abnormal occurrence estimation model that can estimate that an abnormality has occurred can be created efficiently.
[0092] The above embodiment is an example. The structure model can be applied to various things such as stores, movie theaters, underground malls, roads, etc. in addition to railway vehicles. The events that occur are set according to the target location, and the movement of the human model at that time can also be set arbitrarily.
[0093] The present disclosure includes the following aspects.
[0094] (1) A teacher data creation system having a movement simulation device that generates the movement route of a human model and a video creation device that creates a video of the human model, wherein the movement simulation device includes a structure model acquisition unit that acquires a structure model, a human model acquisition unit that acquires a human model, and a movement route generation unit that generates the movement route of the human model based on the structure model, and the video creation device includes a movement route acquisition unit that acquires the movement route from the movement simulation device, a structure model appearance acquisition unit that acquires the appearance of the structure model, a human model appearance acquisition unit that acquires the appearance of the human model, and a video creation unit that creates a video based on the appearance of the structure model, the appearance of the human model, and the movement route.
[0095] According to the above configuration, since the movement route of a person in a structure is generated by a movement simulation device and a video is created by a video creation device using the movement route, the movement route of a person input to the video creation device can be efficiently generated, and a video of a person moving in a structure can be efficiently created.
[0096] (2) In the teacher data creation system of (1) above, the movement simulation device further includes an event information acquisition unit that acquires event information regarding an event occurring within the structure model, and the movement route generation unit generates the movement route of the human model based on the event information.
[0097] According to the above configuration, since the movement route of a person is generated according to an event occurring within a structure, a video of a person moving in response to the occurrence of various events can be efficiently created.
[0098] (3) In the teacher data creation system of (2) above, the event is the occurrence of an abnormality or the stopping of a railway vehicle at a station.
[0099] According to the above configuration, since the flow line of a person is generated according to the occurrence of an abnormality or a station stop, a video in which a person moves according to the occurrence of a specific event can be efficiently created.
[0100] (4) In the teacher data creation system of (1) above, the flow line generation unit is a teacher data creation system that generates a flow line so as to go in a predetermined direction or an unspecified direction within the structure model.
[0101] According to the above configuration, since the flow line of a person in a structure is generated so as to go in a predetermined direction or an unspecified direction, a video in which a person moves in various directions can be efficiently created.
[0102] (5) In the teacher data creation system of (1) above, the person model is classified as an abnormal person or a general person, and the flow line generation unit is a teacher data creation system that generates the flow line of the general person based on the current position of the abnormal person.
[0103] According to the above configuration, since the flow line of a person in a structure is generated based on the current position of an abnormal person, for example, a video in which surrounding people escape in a direction away from the abnormal person can be efficiently created.
[0104] In addition, the present disclosure includes the following aspects.
[0105] (6) A movement simulation device including a structure model acquisition unit that acquires a structure model, a person model acquisition unit that acquires a person model, and a flow line generation unit that generates a flow line of the person model when an event occurs in the structure model based on the structure model and the person model.
[0106] According to the above configuration, since the flow line of a person model is determined based on an event occurring in a structure, the flow line of a person model corresponding to various events can be efficiently generated.
[0107] (7) The movement simulation device of (6) above, wherein the structure model is a railway vehicle model.
[0108] According to the above configuration, it is possible to efficiently generate the flow lines of the human model according to various events occurring inside the railway vehicle.
[0109] (8) In the movement simulation device of (7) above, the event is an abnormality that occurred inside the railway vehicle model, and the flow line generation unit is a movement simulation device that generates the flow line of the human model when the abnormality occurs.
[0110] According to the above configuration, it is possible to efficiently generate the flow line of the human model when an abnormality occurs.
[0111] (9) In the movement simulation device of (7) or (8) above, it has a boarding / alighting passenger number acquisition unit that acquires the number of boarding passengers or alighting passengers set according to different times at a specific station, and the flow line generation unit is a movement simulation device that generates a flow line between the boarding / alighting opening of the railway vehicle model and a predetermined position inside the railway vehicle model based on the number of boarding passengers or the number of alighting passengers.
[0112] According to the above configuration, since the number of boarding and alighting passengers different according to the time zone is set at a specific station, it is possible to efficiently generate the flow line of the human model at the time of boarding and alighting according to the actual number of boarding and alighting passengers.
[0113] (10) In the movement simulation device of (9) above, a seating area and a standing area are defined in the railway vehicle model, and the flow line generation unit is a movement simulation device that generates a flow line from the boarding / alighting opening to the seating area or the standing area based on a preset seating rate.
[0114] According to the above configuration, it is possible to efficiently generate the flow line of the human model by setting the ratio of people sitting and standing at the time of boarding according to the seating rate in various ratios.
[0115] (11) In the movement simulation device of (9) above, a getting-off station is defined in the person model, and the route generation unit is a movement simulation device that generates a route from the current position of the person model for which the getting-off station is the specific station to the boarding / alighting opening.
[0116] According to the above configuration, the route of the person model getting off at the station can be efficiently generated.
[0117] (12) In the movement simulation device of (8) above, the person model acquisition unit is a movement simulation device that acquires a number of person models according to the set number of passengers or boarding rate.
[0118] According to the above configuration, the routes of the person models when an abnormality occurs in various cases with different numbers of passengers or boarding rates can be efficiently generated.
[0119] (13) In the movement simulation device of (8) or (12) above, the route generation unit is a movement simulation device that generates a route so as to go in a predetermined direction or an unspecified direction inside the railway vehicle.
[0120] According to the above configuration, the routes of the person models can be efficiently generated for various cases of the direction the person model is going.
[0121] (14) In the movement simulation device of (8) or (12) above, the person model is classified as a person with a disability or a general person, and the route generation unit is a movement simulation device that generates the route of the general person based on the current position of the person with a disability.
[0122] According to the above configuration, the route of the general person can be efficiently generated based on the person with a disability as a reference.
[0123] (15) In the movement simulation device of (14) above, the railway vehicle model has a connection port to an adjacent vehicle, and the route generation unit is a movement simulation device that generates the route of the general person so as to go to the connection port.
[0124] According to the above configuration, when an abnormal actor appears, the movement route when a general person moves to escape from the abnormal actor can be efficiently generated.
[0125] (16) In the movement simulation device of (14) above, the general person is further classified into a rescuer or other standby person around the abnormal person, and the movement route generation unit is a movement simulation device that generates the movement route of the rescuer so as to go toward the abnormal person.
[0126] According to the above configuration, the movement route of the person model when a person with an abnormality is rescued by the surrounding people can be efficiently generated.
[0127] (17) In the movement simulation device of (14) above, an acquisition unit that acquires an abnormal occurrence rate that is the probability of an abnormal person occurring, and an attribution unit that attributes the attributes of the abnormal person to the person model based on the abnormal occurrence rate.
[0128] According to the above configuration, the movement route of the person model can be efficiently generated by setting the abnormal occurrence rate in various ways.
[0129] (18) In the movement simulation device of (6), (7), (8) or (12) above, a teacher data creation device that creates a video based on the movement route acquired from the movement simulation device.
[0130] According to the above configuration, teacher data for machine learning can be efficiently created assuming various cases.
Industrial Applicability
[0131] It can be suitably used when creating a large number of videos.
Explanation of Signs
[0132] 10 Movement simulation device 20 Video creation device 60 Vehicle model 80 Input screen 90 Operation screen
Claims
1. A structure model acquisition unit that acquires a structure model, A person model acquisition unit that acquires a person model, A flow line generation unit that generates a flow line of the person model when an event occurs in the structure model based on the structure model and the person model, A movement simulation device having the above.
2. The structure model is a railway vehicle model, The movement simulation device according to Claim 1.
3. The event is an abnormality that occurred inside the railway vehicle model, The flow line generation unit generates a flow line of the person model when the abnormality occurs, The movement simulation device according to Claim 2.
4. It has an on / off boarding number acquisition unit that acquires the number of boarding passengers or alighting passengers set according to different times at a specific station, The flow line generation unit generates a flow line of the person model between the on / off boarding opening of the railway vehicle model and a predetermined position inside the railway vehicle model based on the number of boarding passengers or alighting passengers, The movement simulation device according to Claim 2 or 3.
5. A seating area and a standing area are defined in the railway vehicle model, The flow line generation unit generates a flow line from the on / off boarding opening to the seating area or the standing area based on a preset seating rate, The movement simulation device according to Claim 4.
6. A disembarkation station is defined in the person model, The flow line generation unit generates a flow line from the current position of the person model whose disembarkation station is the specific station to the on / off boarding opening, The movement simulation device according to Claim 4.
7. The person model acquisition unit acquires a number of person models according to the set number of boarding passengers or boarding rate, The movement simulation device according to Claim 3.
8. The flow line generation unit generates a flow line so as to go in a predetermined direction or an unspecified direction inside the railway vehicle model, The movement simulation device according to Claim 3 or 7.
9. The person model is classified into a person with an abnormality or a general person, The flow line generation unit generates a flow line of the general person based on the current position of the person with an abnormality, The movement simulation device according to Claim 3 or 7.
10. The railway vehicle model has a connection port to an adjacent vehicle, The flow line generation unit generates a flow line of the general person so as to go to the connection port, The movement simulation device according to Claim 9.
11. The general people are further classified into rescuers or other waiters around the abnormal person, The route generation unit generates a route of the rescuer to head towards the abnormal person. The movement simulation device according to claim 9.
12. An acquisition unit that acquires an abnormality occurrence rate, which is the probability of an abnormal person occurring; An attribution unit that attributes the attributes of an abnormal person to the person model based on the abnormality occurrence rate; The movement simulation device according to claim 9, comprising:
13. A teacher data creation device that creates a moving image based on the route obtained from the movement simulation device according to any one of claims 1, 2, 3, or 7.
Citation Information
Patent Citations
Image generation device, image detection system and image generation method
JP2016062225A