Training data generation device

The training data generation device enhances learning model training by replicating frequent real-world scenarios in a virtual space, combining with real data to improve efficiency and accuracy.

JP2024114144APending Publication Date: 2024-08-23NTT DOCOMO INC

Patent Information

Application Number
JP2023019695
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Training data generated in virtual spaces that reproduce low-probability real-world situations can lead to inefficient training of learning models, as they focus on scenarios that rarely occur in reality.

Method used

A training data generation device that creates training data by generating virtual images in a virtual space using a virtual camera, adjusting parameters to replicate high-frequency real-world scenarios, and combining these with real data to enhance training efficiency and accuracy.

Benefits of technology

The device generates training data that efficiently trains learning models by replicating common real-world situations, reducing the need for manual annotation and increasing data volume, thereby improving training accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024114144000001_ABST
    Figure 2024114144000001_ABST
Patent Text Reader

Abstract

To provide a training data generation device which generates training data allowing a learning model to be efficiently trained.SOLUTION: In a training data generation device 10, a control unit 141 controls a virtual space including a person model simulating a person on the basis of a parameter defining a situation of the virtual space, an image generation unit 142 generates a virtual image obtained by capturing the person model moving in the virtual space with a virtual camera disposed in the virtual space, a first training data generation unit 144A generates a plurality of pieces of training data each of which includes a pair of first motion information indicating a motion of the person model and the virtual image, and a parameter adjustment unit 143, when a first situation appears more frequently than a second situation in a real space, adjusts the parameter so that the first situation is reproduced more frequently than the second situation in the virtual space. Thus, the number of pieces of training data corresponding to the first situation is larger than the number of pieces of training data corresponding to the second situation.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a training data generating device. [Background technology]

[0002] Conventionally, a technique for efficiently creating training data for machine learning using data in a virtual space is known. For example, a posture estimation data creation device disclosed in the following Patent Document 1 generates training data for estimating the posture of a living body. The posture estimation data creation device includes an imaging unit and a machine learning data creation unit that creates machine learning data using a three-dimensional model of the living body. The posture estimation device includes a machine training unit that learns posture estimation of the living body based on the machine learning data, and a posture estimation unit that estimates the posture of the living body in an input image based on a posture estimation learning model obtained by machine learning. The machine learning data creation unit creates three-dimensional skeletal data obtained by imaging a three-dimensional model with the imaging unit, two-dimensional skeletal data obtained by projecting the three-dimensional skeletal data onto two-dimensional coordinates, and chromakey background image data obtained by separating a part of the three-dimensional model from a part of the background from the captured image, and these are used to create machine learning data. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 6868875 Summary of the Invention [Problem to be solved by the invention]

[0004] Unlike the real world, any situation can be reproduced in the virtual space. Therefore, training data that reproduces a situation that has a low probability of occurrence in the real world may be generated. If training data that reproduces a situation with a low probability of occurrence is used, training will be performed on a situation that rarely occurs in reality, and the efficiency of training the learning model will decrease.

[0005] An object of the present invention is to generate training data that can efficiently train a learning model. [Means for solving the problem]

[0006] A training data generation device according to one embodiment of the present invention is a training data generation device that generates training data used for training a learning model, the learning model comprising: a control unit that outputs predicted motion information indicating a motion of a real object based on a two-dimensional predicted target image in which a real space including the real object is photographed, and controls a virtual space including a virtual object imitating the real object based on a parameter that defines a situation of the virtual space; an image generation unit that generates a two-dimensional virtual image obtained by capturing an image of the virtual object moving in the virtual space by a virtual camera arranged in the virtual space; a parameter adjustment unit that adjusts the parameter so as to reproduce a predetermined situation in the real space in the virtual space; and a training data generation unit that generates a plurality of training data each including a pair of virtual motion information indicating a motion of the virtual object and the virtual image, wherein when a first situation appears more frequently than a second situation in the real space, the parameter adjustment unit adjusts the parameter so that the first situation is reproduced more frequently in the virtual space than the second situation, and the number of training data corresponding to the first situation is greater than the number of training data corresponding to the second situation. Effect of the Invention

[0007] According to one aspect of the present invention, training data capable of efficiently training a learning model is generated. [Brief description of the drawings]

[0008] [Figure 1] 1 is a block diagram showing a configuration of a training data generation device 10 according to an embodiment. [Figure 2A] FIG. 2 is a diagram showing a schematic overview of a learning model LM. [Figure 2B] FIG. 2 is a diagram showing a schematic overview of a learning model LM. [Figure 3A]FIG. 2 is a diagram illustrating an example of a prediction target image PE. [Figure 3B] FIG. 2 is a diagram illustrating an example of a virtual image PV. [Figure 4] FIG. 2 is a diagram showing an example of the contents of first training data DT1. [Diagram 5] FIG. 13 is a diagram illustrating a specific example of the third situation. [Figure 6] 4 is a flowchart showing the operation of the training data generation device 10. [Figure 7] 4 is a flowchart showing the operation of the training data generation device 10. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A. Embodiment 1 is a block diagram showing a configuration of a training data generation device 10 according to an embodiment. The training data generation device 10 generates training data DT used for training a learning model LM. The learning model LM outputs predicted motion information ME indicating a motion of a real object based on a predicted target image PE in which a real space SR including the real object is captured. Note that in this embodiment, the "target object" includes living beings such as a person and inanimate objects such as objects.

[0010] Specifically, the training data generation device 10 is an information processing terminal such as a personal computer, a tablet, or a smartphone. The training data generation device 10 includes, for example, an input device 110, a display device 120, a storage device 130, a processing device 140, and a bus 150. The input device 110, the display device 120, and the storage device 130 are each connected to the processing device 140 by the bus 150 that mediates data transmission and reception. The bus 150 may be configured using a single bus, or may be configured using different buses between each element.

[0011] The input device 110 is an input device (e.g., a keyboard, a mouse, a switch, a button, or a sensor) that accepts input from the outside. The display device 120 is a display device (e.g., various display panels such as a liquid crystal display panel or an organic EL display panel) that displays information to the outside. The input device 110 and the display device 120 may be integrated, for example, as a touch panel.

[0012] The storage device 130 is a recording medium readable by the processing device 140. The storage device 130 may be configured with at least one of, for example, a read only memory (ROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a random access memory (RAM), and the like. The storage device 130 stores a program PG and a learning model LM. The program PG is a program for operating the training data generation device 10.

[0013] 2A and 2B are diagrams showing a schematic overview of the learning model LM. When a prediction target image PE in which a real space SR including a real object is captured is input, the learning model LM outputs predicted motion information ME indicating the motion of the real object captured in the prediction target image PE. The operation of the learning model LM is divided into a training phase (see FIG. 2A) in which the learning model LM is trained using training data DT, and a prediction phase (see FIG. 2B) in which unknown problems are predicted using the training learning model LM.

[0014] As shown in FIG. 2B, in the prediction phase, input data DI including a prediction target image PE, which is a two-dimensional image captured from a real space SR, is input to the learning model LM. The prediction target image PE includes a real object to be predicted by the learning model LM. The learning model LM outputs output data DO including predicted motion information ME regarding the motion of the real object. The predicted motion information ME may be, for example, information specifying the direction of the motion of the real object (such as an angle or vector), a numerical value indicating the magnitude or speed of the motion, or a word indicating the content of the motion.

[0015] FIG. 3A is a diagram showing a schematic example of a prediction target image PE. In this embodiment, the real space SR shown in the prediction target image PE includes a real object and a real facility FR in which the real object performs an action. In the example of FIG. 3A, the real facility FR is a store, and the real object is a person H (e.g., a visitor to the store or a store clerk, etc.). Note that the real object is not limited to the person H. Depending on the use of the learning model LM, the real object may be, for example, a moving object such as a vehicle, an animal, or a robot.

[0016] FIG. 3B is a diagram showing a schematic example of the predicted motion information ME. In this embodiment, the motion of the real object to be predicted is the person H's visual recognition of the surroundings, and the predicted motion information ME indicates the direction of the person H's gaze. When a prediction target image PE (input data DI) in which the person H appears is input in the prediction phase, the learning model LM outputs predicted motion information ME indicating the direction of the person H's gaze as output data DO. In this embodiment, the learning model LM extracts the head of the person H from the real image PR. The learning model LM predicts the direction in which the face of the head of the person H is facing (for example, approximating the face to a plane and the normal direction of the plane) as the direction of the person H's gaze.

[0017] In the example of FIG. 3B, the predicted motion information ME is shown superimposed on the prediction target image PE. The predicted motion information ME includes a rectangle (area information) E1 that specifies the head of the person H, an arrow (directional information) E2 that indicates the direction of the gaze of the person H, and auxiliary lines (directional information) E3 that indicate the remaining two axes that are orthogonal to the gaze direction of the head. In the example of FIG. 3B, one of the auxiliary lines is not displayed because it coincides with the imaging direction of the prediction target image PE. Note that the predicted motion information ME only needs to include directional information that indicates at least the gaze direction of the person H.

[0018] By obtaining predicted motion information ME indicating the direction of gaze of person H in a store, for example, a store manager can change the layout of the store or change the display of products in order to further increase sales.

[0019] Next, the training phase will be described. In the training phase, training is performed on the learning model LM using a plurality of training data DT. As shown in FIG. 2A, the training data DT includes first training data DT1 and second training data DT2. The first training data DT1 is an example of the training data DT. Of the training data DT, at least the first training data DT1 is generated by the training data generating device 10. Hereinafter, when there is no need to distinguish between the first training data DT1 and the second training data DT2, they will be simply referred to as "training data DT".

[0020] FIG. 4 is a diagram showing an example of the contents of the first training data DT1. The first training data DT1 includes a virtual image PV and first action information MV. The first action information MV is an example of virtual action information. In the example of FIG. 4, the first action information MV is shown superimposed on the virtual image PV. The virtual image PV is an image of a virtual space SV generated by the training data generation device 10 captured by a virtual camera CV. The virtual space SV includes a virtual object that imitates a real object and a virtual facility FV that imitates a real facility FR. In this embodiment, the virtual object is a human model F that imitates a person H, and the first action information MV indicates the direction of the line of sight of the human model F.

[0021] The virtual facility FV is a virtual store that imitates a store that is a real facility FR. By providing not only the person model F but also the virtual facility FV in the virtual space SV, the virtual image PV becomes closer to the prediction target image PE, improving the training accuracy of the learning model LM. In addition, when the person model F moves, interference with the items that make up the virtual facility FV may occur, making it easier to reproduce the natural movements of the person H.

[0022] Note that "simulating a real facility FR" is not limited to directly imitating the real facility FR where the prediction target image PE used as the input data DI in the prediction phase is captured (for example, performing 3D capture in the real facility FR where the prediction target image PE is captured). For example, it may be reproducing a typical layout in the same type of facility as the real facility FR where the prediction target image PE is captured. As a specific example, if the real facility FR where the prediction target image PE is captured is a convenience store "Mart A Branch B", the most accurate training data DT can be generated by using a 3D model that reproduces the interior of "Mart A Branch B" as the virtual facility FV. On the other hand, generating a 3D model corresponding to each real facility FR is costly. Therefore, for example, a 3D model that reproduces a typical layout in "Mart A" or "convenience store" may be used as the virtual facility FV.

[0023] In addition, the virtual facility FV becomes the background of the person model F, which is a virtual object. Therefore, depending on the type of the motion to be predicted, there may be cases where the influence on the prediction of the learning model LM is small. For example, as in this embodiment, when the prediction target is the direction of the gaze of the person H, the head of the person H is cut out and processed from the prediction target image PE, so that the influence of the background is relatively small. In such a case, a facility of a different type from the real facility FR where the prediction target image PE is captured may be the virtual facility FV. Specifically, for example, when the real facility FR where the prediction target image PE is captured is a convenience store (shop), a facility other than a shop such as a station may be the virtual facility FV. In addition, instead of providing the virtual facility FV in the background of the person model F, a blank image such as a blue screen may be placed.

[0024] The virtual camera CV is a virtual camera that captures the virtual image PV. The virtual camera CV may be disposed as a physical camera in the virtual space SV, or the imaging conditions of the virtual image PV (various camera parameters such as imaging position, imaging direction, and focal length) may simply be specified. The virtual camera CV (for convenience, referred to as the "first camera") is captured in the virtual image PV shown in FIG. 4, but the first camera is a different camera from the virtual camera CV (for convenience, referred to as the "second camera") that captures the virtual image PV shown in FIG. 4. Generally, a store is equipped with multiple cameras, and the inside of the store can be captured from various angles. Therefore, for example, another virtual image PV captured by the first camera at the same time as the virtual image PV shown in FIG. 4 can be obtained.

[0025] The first action information MV includes a rectangle (range information) V1 that specifies the head of the person model F, an arrow (directional information) V2 that indicates the direction of the line of sight of the person model F, and an auxiliary line (directional information) V3 that indicates the remaining two axes perpendicular to the line of sight of the head. Note that the first action information MV only needs to include directional information that indicates at least the direction of the line of sight of the person model F. The action of the person model F in the virtual space SV is controlled by a control unit 141, which will be described later. The line of sight of the person model F is also controlled by the control unit 141, and an accurate line of sight direction can be acquired when generating the first training data DT1. Therefore, the first action information MV included in the first training data DT1 is error-free, and the learning model LM can perform highly accurate learning.

[0026] Next, the second training data DT2 will be described. As shown in FIG. 2A, the second training data DT2 includes a real image PR and second action information MR. The real image PR is an image of a person H in a real facility FR (for example, A-Mart B branch in the real space SR) in the real space SR. The real image PR is an image captured by a camera installed in the real facility FR, for example. The second action information MR indicates the action of the person H appearing in the real image PR. In this embodiment, the second action information MR is the direction of the line of sight of the person H appearing in the real image PR, and includes, for example, a rectangle (range information) that specifies the head of the person H, an arrow (direction information) that indicates the direction of the line of sight of the person H, and auxiliary lines (direction information) that indicate the remaining two axes that are perpendicular to the direction of the line of sight for the head, similar to the first action information MV shown in FIG. 4.

[0027] The second action information MR is generally associated with the real image PR by annotation by the worker. In the annotation, the worker determines the action (e.g., the direction of gaze) of the person H appearing in the real image PR, and associates the result with the real image PR as the second action information MR. When the second training data DT2 is illustrated, it is almost the same as the first training data DT1 shown in FIG. 4.

[0028] Conventionally, the second training data DT2 has generally been used to train the learning model LM. However, the second training data DT2 has the following problems, for example: (A1) annotation takes time, (A2) the second action information MR is determined by the worker's judgment, so there is a possibility that the accuracy of the second action information MR is low, and (A3) there is a possibility that the intended situation cannot be learned, because there is a limit to the images captured in the real space SR.

[0029] In contrast, the first training data DT1 has the following advantages over the second training data DT2: (B1) annotation by the worker is not required, (B2) the direction of the gaze of the human model F is controlled by the control unit 141, so the accuracy of the first action information MV is high, and (B3) any number of first training data DT1 reproducing any situation can be generated.

[0030] In this embodiment, the first training data DT1 is generated by the training data generating device 10, and the learning model LM is trained using the first training data DT1 and the second training data DT2. Therefore, compared with the case where only the second training data DT2 is used, the number of training data DT available for training is increased. In addition, training can be performed using the first training data DT1, which has a relatively high accuracy. As a result, the learning model LM can efficiently perform highly accurate learning.

[0031] Returning to the explanation of FIG. 1, the processing device 140 includes one or more CPUs (Central Processing Units). When an instruction to execute the program PG is given by an input operation on the input device 110, the processing device 140 reads the program PG from the storage device 130. The processing device 140 executes the read program PG. By executing the program PG, the processing device 140 functions as a control unit 141, an image generation unit 142, a parameter adjustment unit 143, a first training data generation unit 144A, a second training data acquisition unit 144B, a training unit 145, and an evaluation unit 146. At least some of the functions of the control unit 141, the image generation unit 142, the parameter adjustment unit 143, the first training data generation unit 144A, the second training data acquisition unit 144B, the training unit 145 and the evaluation unit 146 may be configured by circuits such as a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device) and an FPGA (Field Programmable Gate Array).

[0032] The control unit 141 controls the virtual space SV including a virtual object that imitates a real object, based on parameters that define the state of the virtual space SV. The control unit 141 generates the virtual space SV on the storage device 130 based on the parameters. When the parameters are adjusted by a parameter adjustment unit 143 (described later), the control unit 141 regenerates the virtual space SV based on the adjusted parameters. Therefore, the state of the virtual space SV changes every time the parameters are adjusted.

[0033] As described above, in this embodiment, the real object is a person H, and the virtual object is a person model F that imitates the person H. The parameters that define the virtual space SV include, for example, a first parameter that defines the situation of the person model F in the virtual space SV, a second parameter that defines the situation of the virtual camera CV in the virtual space SV, and a third parameter that defines the situation of the virtual facility FV in the virtual space SV.

[0034] The first parameter specifies, for example, the direction of gaze of the person model F, the posture of the person model F, the position of the person model F in the virtual facility FV, the clothing of the person model F (for example, whether or not a mask or helmet is worn), or the hairstyle of the person model F (for example, whether or not there are bangs).

[0035] The second parameters specify, for example, the installation position of the virtual camera CV in the virtual facility FV, the pan, tilt or zoom state of the virtual camera CV, the resolution of the virtual camera CV, the angle of view of the virtual camera CV or the imaging timing of the virtual camera CV.

[0036] The third parameter specifies, for example, the type of virtual facility FV, the layout of the virtual facility FV, the lighting or sunlight conditions in the virtual facility FV, and the like.

[0037] The image generation unit 142 generates a virtual image PV obtained by capturing an image of a human model F moving in the virtual space SV with a virtual camera CV arranged in the virtual space SV. The image generation unit 142 captures an area of ​​the virtual space SV that is the imaging range of the virtual camera CV, and generates a two-dimensional virtual image PV. As described above, multiple virtual cameras CV may be provided within the virtual facility FV, and for example, one human model F may be captured from different positions.

[0038] The parameter adjustment unit 143 adjusts parameters so as to reproduce a predetermined situation in the real space SR in the virtual space SV. As described above, in this embodiment, the parameters include the first parameter to the third parameter. The parameter adjustment unit 143 adjusts at least one of the first parameter to the third parameter. Parameters that are not the subject of adjustment by the parameter adjustment unit 143 are maintained at, for example, initial values.

[0039] The predetermined situation is, for example, a situation that occurs frequently in the real space SR. That is, when the first situation occurs more frequently than the second situation in the real space SR, the parameter adjustment unit 143 adjusts the parameters so that the first situation is reproduced more frequently than the second situation in the virtual space SV. In other words, when the first situation occurs more frequently than the second situation in the real space SR, the parameter adjustment unit 143 makes the weight of the parameter value that reproduces the first situation in the virtual space SV higher than the weight of the parameter value that reproduces the second situation in the virtual space SV.

[0040] For example, in a store in the real space SR, a situation where a person H faces a product on a shelf (an example of a first situation) occurs more frequently than a situation where the person H faces a wall without shelves (an example of a second situation). Therefore, the parameter adjustment unit 143 increases the frequency with which the line of sight of the person model F, which is one of the first parameters, is directed toward shelves in the virtual facility FV, compared to the frequency with which it is directed toward a wall without shelves.

[0041] Also, for example, most of the surveillance cameras installed in stores in the real space SR are attached near the ceiling facing diagonally downward. Therefore, the prediction target image PE input as the input data DI of the learning model LM is often an image of the person H captured diagonally from above (an example of the first situation), and an image of the person H captured looking up from below (an example of the second situation) is rarely input. The parameter adjustment unit 143 sets the installation position of the virtual camera CV, which is one of the second parameters, to near the ceiling of the virtual facility FV. Also, the parameter adjustment unit 143 sets the imaging direction of the virtual camera CV, which is one of the second parameters, to a predetermined angle downward with respect to the horizontal direction.

[0042] Various methods can be used to determine which parameters to adjust when reproducing a specific situation in the virtual space SV. For example, if a virtual image PV corresponding to the time of dusk is to be obtained, the time of dusk may be reproduced by adjusting parameters related to the sunlight conditions in the virtual facility FV, or the time of dusk may be reproduced by adjusting parameters of the virtual camera CV.

[0043] The first training data generation unit 144A generates a plurality of first training data DT1 each including a pair of first action information MV related to the action of the human model F and a virtual image PV. In this embodiment, the first action information MV indicates the direction of the line of sight of the human model F. The direction of the line of sight of the human model F is one of the parameters that define the situation of the virtual space SV. The first training data generation unit 144A acquires the first action information MV indicating the direction of the line of sight of the human model F from the control unit 141. In addition, the first training data generation unit 144A acquires the virtual image PV generated by the image generation unit 142. The first training data generation unit 144A generates the first training data DT1 by associating the first action information MV with the virtual image PV.

[0044] As described above, in the virtual space SV, the first situation, which occurs relatively frequently in the real space SR, is reproduced more frequently than the second situation, which occurs relatively less frequently, by adjusting the parameters by the parameter adjustment unit 143. Therefore, the number of first training data DT1 corresponding to the first situation is greater than the number of first training data DT1 corresponding to the second situation.

[0045] The second training data acquisition unit 144B acquires the second training data DT2. For example, the second training data DT2 may be received from another information processing device via a network (not shown), or the second training data DT2 stored in a storage medium such as a USB (registered trademark) memory may be read. Alternatively, the second training data acquisition unit 144B may provide an interface for an operator to annotate the second action information MR on the real image PR using the training data generation device 10.

[0046] The training unit 145 trains the learning model LM using a plurality of training data DT. More specifically, the training unit 145 trains the learning model LM using a plurality of first training data DT1 generated by the first training data generation unit 144A and a plurality of second training data DT2 acquired by the second training data acquisition unit 144B. The training unit 145 utilizes a machine learning algorithm to adjust parameters (such as network weights and biases in a neural network) that define the learning model LM.

[0047] In this embodiment, the learning model LM is stored in the training data generation device 10, and the processing device 140 functions as the training unit 145. However, an information processing device other than the training data generation device 10 may be provided with functional units corresponding to the learning model LM and the training unit 145. In that case, the training data DT generated by the first training data generation unit 144A is provided to the information processing device that stores the learning model LM. Also, a functional unit corresponding to the second training data acquisition unit 144B is provided in the information processing device that stores the learning model LM.

[0048] The evaluation unit 146 evaluates the recognition accuracy of the gaze direction of the person H or the human model F in the third situation using a learning model LM (hereinafter referred to as the "trained model") trained using a plurality of training data DT. The evaluation unit 146 provides a test image other than the image (virtual image PV or real image PR) used as the training data DT to the trained model as input data DI. The test image may be either a real image PR capturing a real space SR or a virtual image PV capturing a virtual space SV. However, it is assumed that the gaze direction of the person H or the human model F shown in the test image (hereinafter referred to as the "correct action information") is accurately known. The third situation is the situation of the real space SR or the virtual space SV shown in the test image.

[0049] The evaluation unit 146 obtains output data DO including predicted motion information ME indicating the direction of gaze of the person H or human model F appearing in the test image. The evaluation unit 146 evaluates the recognition accuracy of the trained model based on the error between the predicted motion information ME output by the learning model LM and the correct motion information. In general, the recognition accuracy is evaluated as being lower the larger the error between the predicted motion information ME and the correct motion information, and the recognition accuracy is evaluated as being higher the smaller the error.

[0050] If the recognition accuracy is less than the target accuracy, the parameter adjustment unit 143 adjusts the parameters so that the third situation is reproduced in the virtual space SV. The first training data generation unit 144A generates training data DT corresponding to the third situation. The training unit 145 performs additional training on the trained model using the training data DT corresponding to the third situation. This improves the recognition accuracy for the third situation, i.e., a situation in which the recognition accuracy is low in the trained model.

[0051] FIG. 5 is a diagram showing a schematic example of the third situation. For example, consider the case where the angle between the face direction α of the person H (or human model F) and the imaging direction of the surveillance camera is 0° to 70° (for example, when the surveillance camera is at position P1) and the case where the angle is 70° to 90° (for example, when the surveillance camera is at position P2). When the angle is 0° to 70°, the face of the person H is likely to appear in the prediction target image PE, which is the image captured by the surveillance camera. On the other hand, when the angle is 70° to 90°, the hair of the person H is mostly captured in the prediction target image PE, which is the image captured by the surveillance camera, and the face is unlikely to appear. Therefore, in a situation where the angle between the face direction α of the person H and the imaging direction of the surveillance camera is 70° to 90°, the recognition accuracy of the gaze direction of the person H tends to be low.

[0052] The evaluation unit 146 identifies a situation in which the recognition accuracy of the gaze direction of the person H tends to decrease as described above. The parameter adjustment unit 143 and the first training data generation unit 144A generate training data DT for additional training on a situation in which the recognition accuracy of the gaze direction of the person H tends to decrease. In accordance with the example of FIG. 6, a plurality of training data DT are generated, each including a virtual image PV in which the angle between the face direction α of the person model F and the imaging direction of the surveillance camera is 70° to 90°. By performing additional training using such training data DT, the recognition accuracy of the movement of the person H by the learning model LM is further improved.

[0053] 6 and 7 are flowcharts showing the operation of the training data generation device 10. First, a flow of the generation process of the first training data DT1 will be described with reference to FIG. 6. The processing device 140 of the training data generation device 10 functions as a parameter adjustment unit 143 and adjusts parameters that define the virtual space SV (step S10). The parameter adjustment unit 143 adjusts parameters so that situations that frequently occur in the real space SR are also reproduced frequently in the virtual space SV. The processing device 140 functions as a control unit 141 and generates the virtual space SV based on the parameters adjusted in step S10 (step S11).

[0054] The processing device 140 functions as an image generating unit 142 and generates a virtual image PV by capturing an image of the virtual space SV with the virtual camera CV (step S12). The processing device 140 also functions as a first training data generating unit 144A and generates first training data DT1 including the virtual image PV and the first action information MV (step S13). The processing device 140 returns the process to step S10 until the number of first training data DT1 (indicated as "number of training data" in the figure) becomes equal to or greater than a target value (step S14: NO). When the number of first training data DT1 becomes equal to or greater than the target value (step S14: YES), the processing device 140 ends the process of this flowchart.

[0055] Next, a process flow of training and additional training of the learning model LM will be described with reference to FIG. 7. Prior to the process of FIG. 7, the processing device 140 of the training data generation device 10 functions as the second training data acquisition unit 144B and acquires the second training data DT2. The processing device 140 of the training data generation device 10 functions as the training unit 145 and trains the learning model LM using the first training data DT1 and the second training data DT2 generated in the process of FIG. 6 (step S20). The processing device 140 functions as the evaluation unit 146 and inputs a test image to the trained model trained in step S20 and evaluates the recognition accuracy of the predicted motion information ME output from the trained model (step S21).

[0056] If the recognition accuracy is equal to or higher than the target accuracy (step S22: YES), the processing device 140 ends the process of this flowchart. On the other hand, if the recognition accuracy is lower than the target accuracy (step S22: NO), the processing device 140 functions as a parameter adjustment unit 143 and adjusts parameters to reproduce the situation of the test image (step S23). The processing device 140 functions as a first training data generation unit 144A and generates additional training data using a virtual image PV of a virtual space SV that reproduces the situation of the test image (step S24).

[0057] The processing device 140 of the training data generation device 10 functions as a training unit 145, and trains the learning model LM using the additional training data generated in step S24 (step S25). The processing device 140 functions as an evaluation unit 146, and inputs a test image to the trained model additionally trained in step S25, and re-evaluates the recognition accuracy of the predicted motion information ME output from the trained model (step S26).

[0058] If the recognition accuracy is equal to or greater than the target accuracy (step S27: YES), the processing device 140 ends the process of this flowchart. On the other hand, if the recognition accuracy is less than the target accuracy (step S27: NO), the processing device 140 returns the process to step S23.

[0059] As described above, the training data generation device 10 according to the embodiment reproduces a predetermined situation that appears in the real space SR in the virtual space SV, and generates the first training data DT1 using the virtual image PV that captures the virtual space SV. Therefore, the training data generation device 10 can generate a large amount of training data DT in a short time without the need for annotation by an operator, as compared with generating the second training data DT2 using, for example, the real image PR that captures the real space SR. In addition, since the situation of the virtual space SV, represented by the direction of the gaze of the person model F, is controlled by the control unit 141, the accuracy of the first action information MV of the first training data DT1 is high. Therefore, the learning model LM can perform training with high accuracy. In addition, the training data generation device 10 can generate an arbitrary number of first training data DT1 that reproduces an arbitrary situation. Therefore, it is possible to selectively generate the first training data DT1 that corresponds to a situation that frequently appears in the real space SR. Therefore, the learning model LM can efficiently perform training with high accuracy.

[0060] Furthermore, the training data generation device 10 adjusts at least one of a first parameter that defines the situation of the human model F in the virtual space SV and a second parameter that defines the situation of the virtual camera CV in the virtual space SV. By adjusting the first parameter and the second parameter, any situation in the real space SR can be efficiently reproduced in the virtual space SV.

[0061] The training data generation device 10 also generates a virtual space SV including a virtual facility FV that imitates a real facility FR. By providing the virtual facility FV in the virtual space SV, the virtual image PV becomes closer to the prediction target image PE, improving the training accuracy of the learning model LM. In addition, when the person model F moves, interference with items that constitute the virtual facility FV may occur, making it easier to reproduce the natural movements of the person H.

[0062] In addition, the training data generation device 10 evaluates the recognition accuracy of the learning model LM trained using multiple training data DT using a test image. When the recognition accuracy is below a target accuracy, the training data generation device 10 generates training data DT corresponding to the situation of the test image. Therefore, the learning model LM can be additionally trained in a situation with poor recognition accuracy, and the recognition accuracy of the learning model LM is improved.

[0063] Moreover, the training data generation device 10 uses a human model F that imitates a person H to generate first training data DT1 including first action information MV indicating the gaze direction of the human model F. The learning model LM trained using the first training data DT1 becomes capable of predicting the gaze direction of the person H appearing in the prediction target image PE. The gaze direction of the person H can be used, for example, for behavior analysis of the person H, and can be utilized for marketing, facility design, crime prevention, and the like.

[0064] In this embodiment, the learning model LM is trained using the first training data DT1 and the second training data DT2, but the learning model LM may be trained using, for example, only the first training data DT1.

[0065] B:Other (1) In the above-described embodiment, ROM, RAM, etc. are given as examples of storage device 130, but storage device 130 may also be a flexible disk, a magneto-optical disk (e.g., a compact disk, a digital versatile disk, a Blu-ray (registered trademark) disc), a smart card, a flash memory device (e.g., a card, a stick, a key drive), a CD-ROM (Compact Disc-ROM), a register, a removable disk, a hard disk, a floppy (registered trademark) disk, a magnetic strip, a database, a server, or any other suitable storage medium.

[0066] (2) In the above-described embodiments, the described information, signals, etc. may be represented using any of a variety of different technologies. For example, data, instructions, commands, information, signals, bits, symbols, chips, etc. that may be referred to throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or magnetic particles, optical fields or photons, or any combination thereof.

[0067] (3) In the above-described embodiment, the input / output information, etc. may be stored in a specific location (e.g., memory) or may be managed using a management table. The input / output information, etc. may be overwritten, updated, or added. The output information, etc. may be deleted. The input information, etc. may be transmitted to another device.

[0068] (4) In the above-described embodiments, the determination may be made based on a value represented by 1 bit (0 or 1), a Boolean value (true or false), or a numerical comparison (e.g., comparison with a predetermined value).

[0069] (5) The order of the process steps, sequences, flow charts, etc. illustrated in the above-described embodiments may be changed without causing any inconsistency. For example, the methods described in this disclosure present elements of various steps using an example order, and are not limited to the particular order presented.

[0070] (6) Each function illustrated in FIG. 1 is realized by any combination of at least one of hardware and software. Furthermore, the method of realizing each functional block is not particularly limited. That is, each functional block may be realized by using one device that is physically or logically combined, or may be realized by using two or more devices that are physically or logically separated and directly or indirectly connected (for example, by using wires, wirelessly, etc.). The functional block may be realized by combining the one device or the multiple devices with software.

[0071] (7) The programs exemplified in the above-described embodiments should be broadly interpreted to mean instructions, instruction sets, code, code segments, program code, programs, subprograms, software modules, applications, software applications, software packages, routines, subroutines, objects, executable files, execution threads, procedures, functions, etc., regardless of whether they are called software, firmware, middleware, microcode, hardware description language, or by other names.

[0072] Additionally, software, instructions, information, etc. may be transmitted or received over a transmission medium. For example, if the software is transmitted from a website, server, or other remote source using wired technologies (such as coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL)), and / or wireless technologies (such as infrared, microwave, etc.), then these wired and / or wireless technologies are included within the definition of transmission media.

[0073] (8) In each of the above embodiments, the terms “system” and “network” are used interchangeably.

[0074] (9) The information, parameters, etc. described in this disclosure may be expressed using absolute values, relative values ​​from a predetermined value, or corresponding other information.

[0075] (10) In the above-described embodiments, the portable device may be a mobile station (MS). A mobile station may be referred to by those skilled in the art as a subscriber station, a mobile unit, a subscriber unit, a wireless unit, a remote unit, a mobile device, a wireless device, a wireless communication device, a remote device, a mobile subscriber station, an access terminal, a mobile terminal, a wireless terminal, a remote terminal, a handset, a user agent, a mobile client, a client, or some other suitable term. In this disclosure, the terms "mobile station", "user terminal", "user equipment (UE)", "terminal", etc. may be used interchangeably.

[0076] (11) In the above-mentioned embodiments, the terms "connected" and "coupled" or any variation thereof refer to any direct or indirect connection or coupling between two or more elements, and may include the presence of one or more intermediate elements between two elements that are "connected" or "coupled" to each other. The coupling or connection between elements may be physical, logical, or a combination thereof. For example, "connected" may be read as "accessed." As used in this disclosure, two elements may be considered to be "connected" or "coupled" to each other using at least one of one or more wires, cables, and printed electrical connections, as well as electromagnetic energy having wavelengths in the radio frequency range, microwave range, and light (both visible and invisible) range, as some non-limiting and non-exhaustive examples.

[0077] (12) In the above embodiments, the phrase "based on" does not mean "based only on," unless otherwise specified. In other words, the phrase "based on" means both "based only on" and "based at least on."

[0078] (13) As used in this disclosure, the terms "determining" and "determining" may encompass a wide variety of actions. "Determining" and "determining" may include, for example, judging, calculating, computing, processing, deriving, investigating, looking up, search, inquiry (e.g., searching in a table, database, or other data structure), ascertaining, and the like. Also, "determining" and "determining" may include receiving (e.g., receiving information), transmitting (e.g., sending information), input, output, accessing (e.g., accessing data in a memory), and the like. In addition, "judgment" and "decision" can include considering resolving, selecting, choosing, establishing, comparing, etc., to be a "judgment" or "decision." In other words, "judgment" and "decision" can include considering some action to be a "judgment" or "decision." In addition, "judgment (decision)" can be interpreted as "assuming," "expecting," "considering," etc.

[0079] (14) In the above embodiments, when "include," "including," and variations thereof are used, these terms are intended to be inclusive, similar to the term "comprising." Furthermore, the term "or" used in this disclosure is not intended to be an exclusive or.

[0080] (15) In this disclosure, where articles have been added by translation, such as a, an, and the in English, the disclosure may include that the nouns following these articles are in the plural.

[0081] (16) In this disclosure, the term "A and B are different" may mean "A and B are different from each other." The term may also mean "A and B are each different from C." Terms such as "separate" and "combined" may also be interpreted in the same way as "different."

[0082] (17) Each aspect / embodiment described in this disclosure may be used alone, in combination, or switched according to execution. In addition, notification of specific information (e.g., notification that "X is the case") is not limited to being done explicitly, but may be done implicitly (e.g., not notifying the specific information). [Explanation of symbols]

[0083] 10...training data generation device, 110...input device, 120...display device, 130...storage device, 140...processing device, 141...control unit, 142...image generation unit, 143...parameter adjustment unit, 144A...first training data generation unit, 144B...second training data acquisition unit, 145...training unit, 146...evaluation unit, F...person model, CV...virtual camera, DI...input data, DO...output data, DT...training data, DT1...first training data, DT2...second training data, H...person, LM...learning model, ME...predicted motion information, MR...second motion information, MV...first motion information, PE...predicted target image, PR...real image, PV...virtual image, SR...real space, SV...virtual space.

Claims

1. A training data generation device that generates training data used for training a learning model, comprising: The learning model outputs predicted motion information indicating a motion of a real object based on a two-dimensional predicted target image obtained by capturing a real space including the real object; a control unit that controls a virtual space including a virtual object that imitates the real object based on a parameter that defines a state of the virtual space; an image generation unit that generates a two-dimensional virtual image obtained by capturing an image of the virtual object operating in the virtual space by a virtual camera disposed in the virtual space; a parameter adjustment unit that adjusts the parameters so as to reproduce a predetermined situation in the real space in the virtual space; a training data generating unit that generates a plurality of training data each including a pair of virtual image and virtual motion information indicating a motion of the virtual object; the parameter adjustment unit, when a first situation occurs more frequently than a second situation in the real space, adjusts the parameter such that the first situation is reproduced more frequently in the virtual space than the second situation; The number of training data corresponding to the first situation is greater than the number of training data corresponding to the second situation. Training data generator.

2. the parameters include a first parameter that defines a state of the virtual object in the virtual space and a second parameter that defines a state of the virtual camera in the virtual space; The parameter adjustment unit adjusts at least one of the first parameter or the second parameter.

2. The training data generating device according to claim 1.

3. the real space includes a real facility in which the real object performs an action; the virtual space includes a virtual facility that imitates the real facility, The parameters include a third parameter that defines a situation of the virtual facility in the virtual space.

2. The training data generating device according to claim 1.

4. an evaluation unit that evaluates a recognition accuracy of a motion of the real object in a third situation by using the learning model trained using the plurality of training data; the parameter adjustment unit adjusts the parameters so that the third situation is reproduced when the recognition accuracy is less than a target accuracy; The training data generation unit generates training data corresponding to the third situation.

2. The training data generating device according to claim 1.

5. the real object is a person, The predicted motion information indicates a direction of the person's gaze, the virtual object is a human model that imitates the person, The virtual action information indicates a direction of a line of sight of the human model.

2. The training data generating device according to claim 1.

Citation Information

Patent Citations

  • Sight line position estimating method, sight line position estimating device, program, and recording medium

    JP2010257344A

  • Learning device, control device, learning method, and learning program

    JP2020057161A

  • System including work machine and work machine

    JP2021009556A

  • Gaze detection using one or more neural networks

    JP2021033997A

  • Posture estimation learning system, posture estimation learning method, and program for creating machine learning data

    JP6868875B1

Cited By

  • Spatial evaluation system and spatial evaluation method

    JP7909782B1

  • Information processing method

    WO2026211010A1