Posture data generation device and behavior recognition device

The posture data generation device addresses the challenge of generating natural human postures with diverse patterns using VAE or GAN models, enhancing behavior recognition by automatically producing accurate learning data and correcting for skeletal inaccuracies.

JP2024140576AActive Publication Date: 2024-10-10SECOM CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023051767
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-10
Estimated Expiration
2043-03-28

AI Technical Summary

Technical Problem

Existing methods for recognizing human behavior based on posture data face challenges due to the vast number of possible posture patterns and the need to correct unnatural skeletal postures, requiring extensive learning data and high costs.

Method used

A posture data generation device using a variational autoencoder (VAE) or generative adversarial network (GAN) model generates natural human postures by training with latent variables, correcting errors through an error calculation and updating mechanism to satisfy arbitrary constraints.

Benefits of technology

The device efficiently produces a large amount of natural posture data, improving behavior recognition accuracy by generating diverse and accurate learning data while correcting for unnatural postures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024140576000001_ABST
    Figure 2024140576000001_ABST
Patent Text Reader

Abstract

To provide a posture data generation device and an action recognition device for generating posture data which satisfies an arbitrarily set restriction condition and regenerates a natural posture of a human.SOLUTION: A posture data generation device 1 includes: a decoder 10 as a posture generation unit being a posture generation model having learned by using posture data on postures that a human can take, as a learning model for generating posture data on a human from a potential variable; error calculation means 14 for calculating an error between a position of a specific site of regeneration posture data generated by inputting a potential variable to decoder 10 and a target value showing a target position of the specific site; and potential variable update means 16 for updating the value of a potential variable on the basis of the error. The decoder 10 generates target posture data by inputting the potential variable updated by the potential variable update menas 16.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a posture data generating device and an action recognition device that recognizes human actions. [Background technology]

[0002] The following Patent Document 1 describes a behavior recognition method for recognizing a person's behavior based on a posture detected from a captured image of the person. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2022-189456 A Summary of the Invention [Problem to be solved by the invention]

[0004] There are countless patterns of postures that a person may have when performing a certain action. For example, when recognizing "postures to pick up a product from a shelf," not only upright postures but also postures such as squatting or bending down to pick up the product are possible. Therefore, in order to recognize a person's actions based on their posture, many posture patterns are required, and a large amount of training data must be prepared. Furthermore, when generating posture data of a person from a captured image of the person, an unnatural posture that is not possible skeletally may be estimated. In such cases, it is necessary to correct the posture data to a natural posture that a human can assume. The present invention has been made in consideration of these problems, and has an object to generate posture data that reproduces natural human postures while satisfying arbitrarily set constraint conditions. [Means for solving the problem]

[0005] A posture data generating device according to one embodiment of the present invention includes a posture generation unit which is a posture generation model trained using posture data of postures a person can take as a learning model that generates posture data of a person from latent variables, an error calculation unit which calculates an error between a position of a specific part of regenerated posture data generated by inputting the latent variables into the posture generation unit and a target value indicating a target position of the specific part, and an update unit which updates the value of the latent variable based on the error, and the posture generation unit generates posture data by inputting the latent variables updated by the update unit. Effect of the Invention

[0006] According to the present invention, it is possible to generate posture data that reproduces a natural human posture while satisfying arbitrarily set constraint conditions. [Brief description of the drawings]

[0007] [Figure 1] 1 is a schematic diagram illustrating an example of a hardware configuration of a posture data generation device or a behavior recognition device according to an embodiment of the present invention. [Diagram 2] 2 is a block diagram illustrating an example of a functional configuration of a posture data generating device according to the first embodiment. FIG. [Diagram 3] FIG. 4 is a schematic diagram of an example of posture data. [Figure 4] FIG. 1 is a block diagram of an example of a functional configuration of a variational autoencoder (VAE). [Diagram 5] FIG. 1 is a block diagram of an example of the functional configuration of VAEGAN. [Figure 6] (a) is a schematic diagram of latent variables in a latent variable space, (b) is a schematic diagram of regenerated posture data generated from the initial values ​​of the latent variables and the target values, and (c) is a schematic diagram of regenerated posture data generated from the updated latent variables. [Figure 7] (a)-(c) are schematic diagrams of posture data for various postures when opening a door. [Figure 8] 2 is a schematic diagram illustrating an example of a functional configuration of the behavior recognition device according to the first embodiment. FIG. [Figure 9] 4 is a flowchart of an example of a posture data generating method according to the first embodiment. [Figure 10] FIG. 11 is a block diagram illustrating an example of a functional configuration of a posture data generating device according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that the embodiment of the present invention shown below is an example of an apparatus and method for embodying the technical idea of ​​the present invention, and the technical idea of ​​the present invention does not limit the structure, arrangement, etc. of the components to those described below. The technical idea of ​​the present invention can be modified in various ways within the technical scope defined by the claims.

[0009] (First embodiment) FIG. 1 is a schematic diagram showing an example of a hardware configuration for realizing a posture data generation device 1 and a behavior recognition device 30 according to an embodiment of the present invention. The posture data generating device 1 and the behavior recognition device 30 are composed of an operation input unit 2, a file input / output unit 3, a storage unit 4, a control unit 5, and an output unit 6. Of these, the file input / output unit 3, the storage unit 4, and the control unit 5 can be realized by a so-called computer, and the operation input unit 2 and the output unit 6 can be realized as peripheral devices of the computer.

[0010] The operation input unit 2 is a user interface such as a keyboard, a mouse, etc., and is operated by a user to input data, etc. The operation input unit 2 is connected to the control unit 5, converts the user's operation into an operation signal, and outputs it to the control unit 5.

[0011] The file input / output unit 3 is a DVD (Digital Versatile Disc) drive, a USB (Universal Serial Bus) interface, a network interface, etc., with one end connected to an external device, recording medium, network, etc. not shown, and the other end connected to the control unit 5, inputting data to the control unit 5 as a file, and outputting data from the control unit 5 as a file.

[0012] The storage unit 4 is a memory device such as a ROM (Read Only Memory) or a RAM (Random Access Memory), and stores various programs and various data. The storage unit 4 is connected to the control unit 5 and inputs and outputs such information to and from the control unit 5.

[0013] The control unit 5 is composed of arithmetic devices such as a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and an MCU (Micro Control Unit). The control unit 5 is connected to the storage unit 4, and operates as various processing units by reading and executing programs from the storage unit 4, and stores and reads various data in the storage unit 4. The control unit 5 is also connected to the operation input unit 2, the file input / output unit 3, and the output unit 6, and acquires data input by a user operating the operation input unit 2, acquires and outputs data as a file from the outside via the file input / output unit 3, and outputs the data from the file input / output unit 3 as a data file of the calculation result based on the acquired data, and / or outputs the data of the calculation result from the output unit 6.

[0014] The output unit 6 is a display device such as a liquid crystal display or a CRT (Cathode Ray Tube) display that outputs the results of calculations performed by the control unit 5, a projector, a printer, or the like. Furthermore, the behavior recognition device 30 and the posture data generation device 1 of the second embodiment described later may include an image input unit 7 that acquires a captured image obtained by photographing a person and inputs the image to the control unit 5. For example, the image input unit 7 may be an imaging device (camera). Alternatively, the behavior recognition device 30 and the posture data generation device 1 of the second embodiment described later may acquire an image data file of a captured image of a person from the file input / output unit 3.

[0015] 2 is a block diagram showing an example of a functional configuration of the posture data generating device 1 according to the first embodiment. The posture data generating device 1 includes a decoder 10, an initial value setting means 11, an input switching means 12, a target value setting means 13, an error calculation means 14, a differential value calculation means 15, and a latent variable update means 16. 1 functions as an initial value setting means 11, an input switching means 12, an error calculation means 14, a differential value calculation means 15, and a latent variable update means 16. The operation input unit 2 and the file input / output unit 3 function as a target value setting means 13.

[0016] The posture data generating device 1 includes a decoder 10 as a posture generation model trained using posture data of postures that a person can take as a learning model that generates posture data of a person from latent variables. For example, the decoder 10 may be a decoder configured by training a variational autoencoder (VAE) with posture data of postures that a person can take. The decoder 10 is an example of a "pose generating unit" as recited in the claims. 3 is a schematic diagram of an example of posture data x. For example, the posture data x includes joint points (key points) J that are characteristic points of a person's posture and links L that are connection information that connect the joint points J to each other.

[0017] A variational autoencoder (VAE) is a generative model that generates new data that has the characteristics of the input data by reducing the dimensionality of the input data and regenerating the original data from the reduced dimensionality. 4 is a block diagram of an example of a functional configuration of a VAE 20A that has learned posture data of postures that a person can take. The VAE 20A includes a posture data input unit 20, an encoder 21, a latent variable setting unit 22, and a decoder 10.

[0018] The posture data input means 20 acquires posture data x generated by estimating a posture of a person from a captured image of the person, and inputs the posture data x to the encoder 21. In the following description, the posture data x input to the encoder 21 may be referred to as “input posture data x”. For example, the posture data input means 20 may include an imaging device (camera) that captures an image of a person and generates a captured image, and a posture estimation device that generates input posture data x from the captured image. For example, the posture data input means 20 may obtain the input posture data x from an existing database.

[0019] The encoder 21 converts the input posture data x into a probability distribution N(μ, σ 2 In the following explanation, the space that the latent variable z can take is sometimes referred to as the "latent variable space." The latent variable setting means 22 sets the probability distribution N(μ, σ 2 ) to sample the latent variable z. The decoder 10 regenerates (restores) the posture data x* from the latent variables z. In the following description, the posture data x* regenerated from the latent variables z by the decoder 10 may be referred to as "regenerated posture data x*."

[0020] When training the VAE 20A, the reconstruction error calculation means 23 calculates a reconstruction error L1 based on the error between the input attitude data x and the reconstructed attitude data x*. In addition, the KL divergence loss calculation means 24 calculates the probability distribution N(μ, σ 2 ) and the normal distribution.

[0021] The first learning means 25 learns the encoder 21 and the decoder 10 so as to minimize the loss function L, where the sum of the reconstruction error L1 and the KL divergence loss L2 is set as a loss function L=L1+L2. For example, the parameters of the neural network constituting the encoder 21 and the decoder 10 are adjusted so as to minimize the loss function L.

[0022] The posture data generating device 1 may use a VAEGAN decoder instead of the VAE 20A decoder. VAEGAN is a generative model that combines a VAE and a Generative Adversarial Network (GAN). That is, the decoder 10 may be a decoder configured by having VAEGAN learn posture data x of postures that a person can take.

[0023] 5 is a block diagram of an example of the functional configuration of the VAEGAN 20B. The VAEGAN 20B includes a pseudo variable setting means 26 and a discrimination means 27 in addition to the VAE configuration shown in FIG. The pseudo variable setting means 26 samples the pseudo latent variables zp in the latent variable space according to a normal distribution N(0,I). The decoder 10 regenerates (restores) the posture data xp from the pseudo latent variables zp. In the following description, the posture data xp regenerated from the pseudo latent variables zp may be referred to as "pseudo posture data xp".

[0024] The discrimination means 27 is a discriminator that is trained to be able to discriminate (distinguish) between the input attitude data x and the pseudo attitude data xp. When training the discrimination means 27, a first loss function L3 is calculated, which is a discriminator loss when the discrimination means 27 discriminates between the input posture data x and the pseudo posture data xp. The second learning means 28 adjusts the parameters of the discrimination means 27 so that the first loss function L3 is minimized, thereby training the discrimination means 27 so that it can discriminate between the input posture data x and the pseudo posture data xp.

[0025] VAEGAN 20B trains the decoder 10 so that the discrimination means 27 cannot discriminate between the input posture data x and the reproduced posture data x*. When training the decoder 10, the discrimination means 27 discriminates between the input posture data x and the reconstructed posture data x*. Then, a second loss function L4, which is a discriminator loss when discriminating between the input posture data x and the reconstructed posture data x*, is calculated. The second training means 28 adjusts the parameters of the decoder 10 so that the second loss function L4 is maximized, thereby training the decoder 10 so that the discrimination means 27 cannot discriminate between the input posture data x and the reconstructed posture data x*.

[0026] Note that the posture data generating device 1 may include a generator of a generative adversarial network (GAN) as a posture model that generates posture data xp from a pseudo latent variable zp, instead of the decoder 10 of the VAE 20A in Fig. 4 and the decoder 10 of the VAEGAN 20B in Fig. 5. The generator of the GAN is a generator that is trained so that a discriminator that discriminates between reference posture data generated as posture data of postures that a person can take and reproduced posture data generated by the generator from latent variables cannot discriminate between the reference posture data and the reproduced posture data.

[0027] Please refer to Fig. 2. The initial value setting means 11 sets the initial value z0 of the latent variable for generating reproduced posture data x* as a starting point. Fig. 6(a) shows a schematic representation of the initial value z0 of the latent variable set in the latent variable space. For example, the initial value setting means 11 may set a latent variable randomly selected in the latent variable space as the initial value z0.

[0028] With reference to Fig. 2, the input switching means 12 switches the latent variable z to be input to the decoder 10 between the initial value z0 of the latent variable set by the initial value setting means 11 and the latent variable z updated by the latent variable updating means 16. Specifically, when the initial reproduced posture data x* is generated after the initial value setting means 11 sets the initial value z0 of the latent variable, the input switching means 12 inputs the initial value z0 of the latent variable set by the initial value setting means 11 to the decoder 10. After the initial reproduced posture data x* is generated, when the latent variable updating means 16 updates the latent variable z as described below, the input switching means 12 inputs the latent variable z updated by the latent variable updating means 16 to the decoder 10.

[0029] The decoder 10 generates reproduced posture data x* from the latent variable z input from the input switching means 12 . The target value setting means 13 sets a target value of the posture data to be generated by the posture data generating device 1. For example, the target value setting means 13 may set the target positions of some or all of the multiple joint points J of the posture data x shown in Fig. 3 as target values. Fig. 6(b) is a schematic diagram of regenerated posture data x* generated from the initial value z0 of the latent variable and the target values. In the example of Fig. 6(b), the target position Jt of the joint point J of the right hand of the regenerated posture data x* is set as the target value.

[0030] The error calculation means 14 calculates an error e between the target value set by the target value setting means 13 and the regenerated posture data x*. For example, the error calculation means 14 may calculate the error e according to the respective differences between the target positions of one or more joint points set as the target values ​​and the positions of the joint points in the regenerated posture data x*. For example, when the target position of a single joint point is set as the target value, the difference between the target position and the position of the joint point in the regenerated posture data x* may be calculated as the error e. When the target positions of multiple joint points are set as the target values, the sum of the respective differences between the target positions and the positions of the joint points in the regenerated posture data x* may be calculated as the error e.

[0031] Please refer to Fig. 2. The differential value calculation means 15 calculates a differential value in the latent variable space by the error backpropagation method based on the difference calculated by the error calculation means 14. The latent variable updating means 16 updates the latent variable z with the differential value calculated by the differential value calculating means 15 . Thereafter, the input switching means 12 inputs the latent variable z updated by the latent variable updating means 16 to the decoder 10. The decoder 10 generates reconstructed posture data x* from the latent variable z updated by the latent variable updating means 16.

[0032] Thereafter, by repeating the generation of reproduced posture data x*, the calculation of error e, the calculation of differential value, and the update of latent variable z in the same manner, the latent variable z is updated in sequence from the initial value z0 to z1, z2, ... as shown in Fig. 6(a). As a result, the reproduced posture data x* generated by the decoder 10 approaches the target value as shown in Fig. 6(c). In the example of Fig. 6(c), the position of the joint point J of the right hand in the reproduced posture data x* can be brought closer to the target position Jt set as the target value.

[0033] In the present invention, a decoder 10 of a VAE20A or a VAEGAN20B is used that has learned posture data of postures that a person can take. Therefore, the decoder 10 can generate reproduced posture data x* that reproduces a natural posture of a human. As a result, by setting an arbitrary target value as a constraint condition of the reproduced posture data x*, posture data can be generated that reproduces a natural posture of a human while satisfying an arbitrary constraint condition.

[0034] When a predetermined calculation end condition is satisfied, the posture data generating device 1 ends the update of the latent variable z and outputs the reproduced posture data x*. For example, the posture data generating device 1 may determine that the predetermined end condition is satisfied when the error e calculated by the error calculation means 14 becomes less than a predetermined threshold. For example, the posture data generating device 1 may determine that the predetermined end condition is satisfied when the magnitude of the differential value calculated by the differential value calculation means 15 (for example, the absolute value of the differential value or the length of the differential vector) becomes less than a predetermined threshold. That is, the posture data generating device 1 may determine that the predetermined end condition is satisfied when the magnitude of the difference between the latent variable z before and after the update, or the difference between the reproduced posture data x* generated from the latent variable z before the update and the reproduced posture data x* generated from the latent variable z after the update, becomes less than a predetermined threshold.

[0035] In this manner, the posture data generating device 1 can generate reproduced posture data x* that reproduces natural human postures while satisfying arbitrarily set constraint conditions. Therefore, by setting the same target value and generating reproduced posture data x* from different initial values ​​z0 of the latent variable (for example, the initial value setting means 11 obtains different initial values ​​z0 of the latent variable by repeatedly executing a process of randomly generating and setting the initial values ​​z0 of the latent variable), it is possible to generate multiple reproduced posture data x* of a person taking different natural postures while satisfying the same constraint conditions.

[0036] According to the posture data generating device 1 of the present embodiment, it is possible to generate posture data of various patterns of a person performing the same action, for example. 7(a) to 7(c) show examples of multiple different reproduced posture data x for opening the door D. There are an infinite number of posture patterns for opening the door D. Therefore, by fixing the target position of the joint point J of the hand opening the door D as a target value and generating reproduced posture data x* from different initial values ​​z0 of the latent variables, it is possible to prepare a large number of multiple reproduced posture data x* of a person in a natural posture while leaving everything free except for the position of the hand opening the door D.

[0037] In this way, by preparing multiple patterns of posture data of people performing the same behavior as training data and training a classifier to increase the similarity of posture data performing the same behavior, the recognition accuracy of a behavior recognition device that recognizes a person's behavior can be improved.

[0038] 8 is a schematic diagram of an example of a functional configuration of the behavior recognition device 30 of the first embodiment. The behavior recognition device 30 includes a person image acquisition unit 31, a posture data generation unit 32, a feature amount extraction unit 33, and a recognition unit . 1 functions as a person image acquisition means 31. The control unit 5 functions as a posture data generation means 32, a feature amount extraction means 33, and a recognition means .

[0039] The person image acquisition means 31 acquires a captured image of a person. For example, the person image acquisition means 31 may have an imaging device that generates a captured image of a person. Alternatively, for example, the person image acquisition means 31 may acquire an image data file of the captured image of a person. The posture data generating means 32 generates posture data by estimating the posture of the person based on the captured image acquired by the person image acquiring means 31 .

[0040] The feature extraction means 33 extracts features of the posture data generated by the posture data generation means 32. For example, the feature extraction means 33 may extract features of the posture data by inputting the posture data to a feature extraction model modeled by CNN, which is configured with a multi-layer network used in deep learning.

[0041] The recognition means 34 recognizes the behavior of the person in the captured image acquired by the person image acquisition means 31 based on the feature extracted by the feature extraction means 33. For example, the feature extraction means 33 may recognize the behavior of the person in the captured image based on the similarity between a template feature of each behavior (class) learned in advance and the feature extracted by the feature extraction means 33. The recognition means 34 may be modeled, for example, by a CNN configured of a multi-layer network used in deep learning. The feature extraction means 33 and the recognition means 34 form a behavior recognition model that recognizes the behavior of a person based on the posture data.

[0042] When training the behavior recognition device 30, posture data of many patterns of a person performing the same behavior is generated by the posture data generating device 1 and stored in the training data storage means 35 as training data. The third learning means 36 uses the posture data for learning stored in the learning data storage means 35 as learning data, thereby training the feature extraction means 33 and the recognition means 34 .

[0043] For example, the feature extraction means 33 and the template features of the recognition means 34 may be trained so that the similarity between the features of multiple different pose data of a person performing the same action generated by the pose data generation device 1 is high. Thereby, for example, by using a plurality of different posture data in which the position of a specific part is substantially the same (for example, a plurality of different posture data in which the position of a specific part is fixed) as learning data, the behavior recognition device 30 can learn a specific behavior in which the position of a specific part is substantially the same (for example, a specific behavior having a characteristic in the position of the specific part). In the example of Fig. 7(a) to Fig. 7(c), the behavior recognition device 30 can learn a behavior having a characteristic in the position of the joint point of the right hand.

[0044] FIG. 9 is a flowchart of an example of a posture data generating method according to the first embodiment. In step S1, the target value setting means 13 sets a target value for the posture data to be generated by the posture data generating device 1. In step S2, the initial value setting means 11 sets initial values ​​of latent variables for generating reconstructed posture data x* as a starting point.

[0045] In step S3, the decoder 10 generates reconstructed posture data x* from the latent variables. In step S4, the error calculation means 14 calculates the error e between the target value set by the target value setting means 13 and the reproduced attitude data x*. In step S5, the differential value calculation means 15 calculates a differential value in the latent variable space by the error backpropagation method based on the difference calculated by the error calculation means 14.

[0046] In step S 6 , the latent variable update means 16 updates the latent variable z with the differential value calculated by the differential value calculation means 15 . In step S7, the posture data generation device 1 determines whether a predetermined calculation end condition is satisfied. If the calculation end condition is not satisfied (step S7: N), the process returns to step S3. If the calculation end condition is satisfied (step S7: Y), the process ends.

[0047] Second embodiment The posture data generating device 1 of the second embodiment generates posture data of a person from a captured image of the person captured by an imaging device such as a camera. When generating posture data from captured images of a person in this way, the generated posture data may be an unnatural posture that is skeletally impossible due to influences such as errors in joint point detection and errors in imaging device calibration.

[0048] Therefore, the posture data generating device 1 of the second embodiment uses posture data generated from a captured image as a target value, and generates reproduced posture data x* by a latent variable z updated based on the error between reproduced posture data x* of the decoder 10 and the target value, thereby correcting the posture data generated from the captured image. This makes it possible to correct the posture data generated from a captured image of a person to a natural posture.

[0049] The posture data generation device 1 of the second embodiment includes a person image acquisition means 40, a posture data generation means 41, and a user input reception means 42 in addition to the configuration of the posture data generation device 1 of the first embodiment. The image input unit 7 or the file input / output unit 3 in FIG. 1 functions as the person image acquisition means 40. The control unit 5 functions as the posture data generation means 41. The operation input unit 2 and the output unit 6 function as the user input reception means 42.

[0050] The person image acquisition means 40 acquires a captured image of a person. For example, the person image acquisition means 40 may have an imaging device that generates a captured image of a person. Or, for example, the person image acquisition means 40 may acquire an image data file of the captured image of a person. For example, the person image acquisition means 40 may acquire multiple captured images of the same person captured simultaneously from multiple viewpoints by multiple imaging devices.

[0051] The posture data generation means 41 generates posture data by estimating the posture of a person based on the captured images acquired by the person image acquisition means 40. When the person image acquisition means 40 acquires multiple captured images of the same person simultaneously, the posture data generation means 41 estimates the three-dimensional posture of the person so that the joint points detected from each captured image are consistent. In the following description, the posture data generated by the posture data generation means 41 may be referred to as "reference posture data xr."

[0052] The target value setting means 13 sets the reference attitude data xr set by the attitude data generating means 41 as a target value of the reproduced attitude data x* generated by the decoder 10. For example, the positions of one or more joint points in the reference posture data xr are set as the target positions of the joint points in the regenerated posture data x* corresponding to these joint points. For example, the target value setting means 13 may set the positions of all the joint points in the reference posture data xr as the target positions of the joint points in the regenerated posture data x* corresponding to these joint points.

[0053] Also, for example, the target value setting means 13 may set some of the joint points of the reference posture data xr as target values ​​of the reproduced posture data x*. For example, the positions of some of the joint points of the reference posture data xr may be set as target positions of the joint points of the reproduced posture data x* corresponding to these joint points. For example, among the posture data estimated from the captured image by the posture data generating means 41, only the joint points of the parts appearing in the captured image may be set as target values. For example, the target value setting means 13 may estimate the parts appearing in the captured image and the parts not appearing (for example, the person's own body or parts hidden by an obstacle, etc.) based on the captured image acquired by the person image acquiring means 40, and set only the parts appearing in the captured image as target values. For example, only the parts appearing in the captured image may be selected, and the positions of the joint points of the selected parts may be set as target positions of the joint points of the reproduced posture data x* corresponding to the joint points.

[0054] Also, for example, the posture data generating means 41 may generate the reference posture data xr and calculate a score for each part (for example, a reference point) of the reference posture data xr. For example, the posture data generating means 41 may use existing posture estimation software such as OpenPose to calculate the accuracy (certainty) of position detection of parts of the reference posture data xr as a score. The target value setting means 13 may set only those parts of the reference posture data xr whose scores are equal to or greater than a threshold as target values. For example, only those parts whose scores are equal to or greater than a threshold may be selected, and the positions of the joint points of the selected parts may be set as the target positions of the joint points of the regenerated posture data x* corresponding to the joint points.

[0055] Furthermore, for example, the user input accepting means 42 may accept a user's operation input for selecting one or more parts in the reference posture data xr generated by the posture data generating means 41. For example, the user input accepting means 42 may display the reference posture data xr on a display device of the output unit 6, and accept an input signal from the operation input unit 2 (for example, a keyboard, a mouse, etc.) for selecting one or more parts (for example, joint points) of the displayed reference posture data xr. The target value setting means 13 may set as target values ​​only the parts selected by the user via the user input receiving means 42. For example, the positions of the joint points of the selected parts may be set as the target positions of the joint points of the regenerated posture data x* corresponding to the joint points.

[0056] (Effects of the embodiment) (1) The posture data generating device 1 includes a decoder 10 which is a posture generation model trained using posture data of postures a person can take as a learning model for generating posture data of a person from latent variables, an error calculating means 14 which calculates an error between a position of a specific part of reproduced posture data generated by inputting the latent variables to the decoder 10 and a target value indicating a target position of the specific part, and a latent variable updating means 16 which updates the value of the latent variable based on the error. The decoder 10 generates target posture data by inputting the latent variables updated by the latent variable updating means 16. For example, the latent variable update means 16 may update the values ​​of the latent variables according to the backpropagation method.

[0057] Conventionally, when training an action recognition model that recognizes human actions based on human posture, it was necessary to manually create training data using posture data obtained by motion capturing people, etc. This required a person to perform as many patterns as possible of the action to be recognized, which resulted in high costs for generating training data, and there was a risk that the training data would be insufficient because there was a limit to the number of patterns that a person could come up with.

[0058] According to the present invention, since a large amount of posture data of a person performing a specific action can be automatically generated, learning data for an action recognition model can be efficiently generated. Furthermore, when generating posture data of a person from a captured image of the person, an unnatural posture that is not possible skeletally may be estimated. According to the present invention, the posture data generated from the captured image can be corrected to a natural posture.

[0059] (2) The posture data generating device 1 may include a posture data generating means 41 that generates posture data of a person as reference posture data from an image of the person captured by a camera. The error calculating means 14 may calculate an error between the reproduced posture data and the reference posture data by using the positions of one or more specific parts in the reference posture data as target values. This makes it possible to correct the posture data generated from the captured image to a natural posture.

[0060] (3) The posture data generating device 1 may include a target value setting means 13 that identifies a reference part and its position detected from the image captured by the camera of the human body partially photographed by the camera and sets the reference part and its position as a target value. The error calculation means 14 may calculate, as an error, a difference between the position of the part corresponding to the reference part in the reproduced posture data and the position of the reference part. This allows parts not captured in the captured image to be restored to a natural posture.

[0061] (4) The posture data generating device 1 may include a posture data generating means 41 that generates posture data of a person from an image of the person captured by a camera as reference posture data, calculates a score representing the accuracy of position detection of each part of the reference posture data, and a target value setting means 13 that sets the reference part and its position at which the score is equal to or greater than a threshold as a target value. The error calculating means 14 may calculate, as an error, a difference between the position of the part corresponding to the reference part in the reproduced posture data and the position of the reference part. This allows the posture data to be corrected so that the positions of parts with low scores (for example, parts with low reliability) are corrected to achieve a natural posture.

[0062] (5) The posture data generating device 1 may include a posture data generating means 41 that generates posture data of a person as reference posture data from an image of the person captured by a camera, and a user input accepting means 42 that accepts user input to select one or more parts in the reference posture data as target values. This allows the posture data to be corrected so that even parts of the body not selected by the user are in a natural posture.

[0063] (6) The decoder 10 may be a variational autoencoder decoder that has been trained with pose data for possible poses that a person can assume. This makes it possible to generate posture data of natural postures that a person can assume.

[0064] (7) The decoder 10 may be a decoder trained to distinguish between first posture data input to an encoder of a variational autoencoder and second posture data generated by inputting latent variables sampled from a predetermined normal distribution to the decoder 10, but trained to be unable to distinguish between third posture data generated by inputting the output of an encoder to which the first posture data is input to the decoder 10 and the first posture data. This makes it possible to generate posture data of natural postures that a person can assume.

[0065] (8) In order to generate pose data of a person from latent variables, a generator of a generative adversarial network trained with pose data of poses that a person can take may be used instead of the decoder 10 as a pose generation model trained with pose data of poses that a person can take. This makes it possible to generate posture data of natural postures that a person can assume.

[0066] (9) The posture data generating device 1 may repeat the generation of reproduced posture data by the decoder 10, the calculation of the error by the error calculation means 14, and the updating of the value of the latent variable by the latent variable updating means 16 until the magnitude of the error between the position of the specific part of the reproduced posture data obtained from the updated latent variable and the target value falls within a predetermined value, and may acquire the reproduced posture data when the error between the position of the specific part of the reproduced posture data and the target value falls within the predetermined value as the target posture data. This makes it possible to generate posture data in which the positions of specific parts are sufficiently close to the target values ​​while reproducing a natural human posture.

[0067] (10) The behavior recognition device 30 includes a behavior recognition model (feature extraction means 33 and recognition means 34) that recognizes a person's behavior based on posture data. The behavior recognition model may be a learning model that learns specific behaviors of a person in which the positions of specific parts are approximately the same, using a plurality of different posture data generated by the posture data generation device 1 based on a plurality of different latent variables and target values. This makes it possible to generate a large number of patterns of posture data of a person performing a specific behavior as learning data, and to train the behavior recognition model of the behavior recognition device 30. [Explanation of symbols]

[0068] 1... Posture data generating device, 2... Operation input unit, 3... File input / output unit, 4... Memory unit, 5... Control unit, 6... Output unit, 7... Image input unit, 10... Decoder, 11... Initial value setting means, 12... Input switching means, 13... Target value setting means, 14... Error calculation means, 15... Differential value calculation means, 16... Latent variable update means, 20... Posture data input means, 20A... Variational autoencoder, 20B... VAEGAN, 21... Encoder, 22... Latent variable setting means stage, 23... reconstruction error calculation means, 24... KL divergence loss calculation means, 25... first learning means, 26... pseudo variable setting means, 27... classification means, 28... second learning means, 30... behavior recognition device, 31... human image acquisition means, 32... posture data generation means, 33... feature extraction means, 34... recognition means, 35... learning data storage means, 36... third learning means, 40... human image acquisition means, 41... posture data generation means, 42... user input reception means

Claims

1. a posture generation unit which is a posture generation model trained using posture data of postures that a person can take as a learning model that generates posture data of a person from latent variables; an error calculation unit that calculates an error between a position of a specific part of regenerated posture data generated by inputting a latent variable to the posture generation unit and a target value indicating a target position of the specific part; an update unit that updates the values ​​of the latent variables based on the errors; Equipped with The posture generation unit generates target posture data by inputting the latent variables updated by the update unit.

2. 2. The posture data generating device according to claim 1, wherein the update unit updates the values ​​of the latent variables according to a backpropagation algorithm.

3. a posture data generating unit that generates posture data of a person as reference posture data from an image of the person captured by a camera, the error calculation unit calculates the error between the reconstructed posture data and the reference posture data by using positions of the one or more specific parts in the reference posture data as target values; 3. The posture data generating device according to claim 1, wherein the posture data generating device is a posture data generating device.

4. a target value setting unit that identifies a reference part and its position detected from an image captured by the camera of a human body of a person partially photographed by the camera, and sets the reference part and its position as the target value; the error calculation unit calculates, as the error, a difference between a position of a part of the reproduced posture data corresponding to the reference part and a position of the reference part; 3. The posture data generating device according to claim 1, wherein the posture data generating device is a posture data generating device.

5. a posture data generating unit that generates posture data of a person from an image of the person captured by a camera as reference posture data and calculates a score that represents an accuracy of position detection of each part of the reference posture data; a target value setting unit that sets a reference portion where the score is equal to or greater than a threshold value and a position thereof as the target value, the error calculation unit calculates, as the error, a difference between a position of a part of the reproduced posture data corresponding to the reference part and a position of the reference part; 3. The posture data generating device according to claim 1, wherein the posture data generating device is a posture data generating device.

6. a posture data generating unit that generates posture data of a person as reference posture data from an image of the person captured by a camera, an operation receiving unit that receives an operation input from a user to select one or more of the specific parts in the reference posture data as the target value; 3. The posture data generating device according to claim 1, further comprising:

7. 3. The apparatus according to claim 1, wherein the posture generation unit is a decoder of a variational autoencoder that has been trained with posture data of postures that a person can take.

8. The posture data generating device according to claim 7, wherein the decoder is a decoder trained to distinguish between first posture data input to an encoder of the variational autoencoder and second posture data generated by inputting a latent variable sampled from a predetermined normal distribution to the decoder, and to be unable to distinguish between third posture data generated by inputting the output of the encoder to which the first posture data is input to the decoder and the first posture data.

9. 3. The pose data generating device according to claim 1, wherein the pose generating unit is a generator of a generative adversarial network that has been trained to learn pose data of poses that a person can take.

10. repeating the generation of the reconstructed posture data by the posture generation unit, the calculation of the error by the error calculation unit, and the update of the value of the latent variable by the update unit until the magnitude of the error between the position of the specific part of the reconstructed posture data obtained from the updated latent variable and the target value falls within a predetermined value; The reproduced posture data when the error between the position of the specific part of the reproduced posture data and the target value falls within the predetermined value is acquired as the target posture data.

3. The posture data generating device according to claim 1, wherein the posture data generating device is a posture data generating device.

11. An action recognition device having an action recognition model that recognizes a person's action based on posture data, 3. The behavior recognition device, characterized in that the behavior recognition model is a learning model that learns specific behaviors of a person in which the position of the specific part is approximately the same, using the multiple different posture data generated by the posture data generation device described in claim 1 or 2 based on the multiple different latent variables and the target values.

Citation Information

Patent Citations

  • Motion deformation system and method for it

    JP2008015713A

  • Information processor, information processing method, and program

    JP2015028702A

  • Information processing program, information processing device, information processing system, and information processing method

    JP2023018583A

  • Computer program, generation device, and generation method

    JP2023023777A

  • Systems and methods for predicting lower body poses

    US20220083125A1