Pose data generating device, pose data generating method, and program
The pose data generation device addresses the challenge of complex and costly three-dimensional pose estimation by using a multi-unit approach to classify body parts for differential prediction, achieving accurate and cost-effective pose data generation.
Patent Information
- Application Number
- JP2021075863
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-04-28
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-04-28
AI Technical Summary
Existing motion capture technologies face challenges in accurately estimating three-dimensional pose data from two-dimensional images due to occlusions and require complex processing, leading to high computational demands and increased costs for high-speed hardware.
A pose data generation device and method that includes a 2D pose estimation unit, heat map acquisition, predicted data acquisition, reliability acquisition, and precise pose data acquisition units to enhance accuracy and reduce computational complexity by classifying body parts for different prediction processes.
Enables the generation of highly accurate pose data at a lower cost by reducing the need for complex processing and high-speed hardware, while maintaining precision through differential prediction accuracy based on body part characteristics.
Smart Images

Figure 0007566683000003 
Figure 0007566683000004 
Figure 0007566683000005
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for estimating the pose of a person, living thing, object, etc. that is movable and whose posture is variable. [Background technology]
[0002] In recent years, motion capture, a technology for recording the movements of real people and objects, has been attracting attention. To achieve high-precision motion capture, there is a demand for technology that can estimate human poses with high accuracy.
[0003] For example, Non-Patent Document 1 discloses a technique for acquiring two-dimensional key point data (two-dimensional key point data of a person appearing in a two-dimensional image) from a two-dimensional image, and acquiring (estimating) three-dimensional pose data (person's pose data) from the acquired two-dimensional key point data. However, in the technique of Non-Patent Document 1, when a state occurs in which, for example, a specific part of a person is hidden by other parts and cannot be seen (occlusion occurs) in the two-dimensional image (two-dimensional image), the three-dimensional pose data (person's pose data) acquired by the above process may become incorrect. In other words, in such a case, the technique of Non-Patent Document 1 has a problem in that it cannot detect key points for parts where occlusion occurs, or it erroneously detects key points.
[0004] To address this issue, for example, Non-Patent Document 2 discloses a technology in which a Cylinder Man Model is used to create learning data including hidden keypoints (keypoints in areas where occlusion occurs), semi-supervised learning is performed, and the acquired trained model is used to acquire (estimate) 3D pose data (human pose data) from 2D video. [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] Dario Pavllo, Christoph Feichtenhofer, David Grangier, Michael Auli, "3D human pose estimation in video with temporal convolutions and semi-supervised training" Conference on Computer Vision and Pattern Recognition (CVPR), 2019, pp. 7753-7762. [Non-Patent Document 2] Yu Cheng, Bo Yang, Bo Wang, Wending Yan, and Robby T. Tan, "Occlusion-Aware Networks for 3D Human Pose Estimation in Video" Proceedings of the IEEE / CVF International Conference on Computer Vision (ICCV), 2019, pp. 723-732. Summary of the Invention [Problem to be solved by the invention]
[0006] However, in the above conventional technology, it is necessary to execute very complicated processing in order to acquire (estimate) three-dimensional pose data (person's pose data) from a two-dimensional image. Specifically, in the technology of Non-Patent Document 1, it is necessary to continuously acquire two-dimensional keypoint data (two-dimensional keypoint data of a person appearing in a two-dimensional image) from a two-dimensional image in a time series, and to perform processing by a CNN (Convolutional Neural Network) using the two-dimensional keypoint data continuously acquired in a time series as an input. In this processing by CNN, it is necessary to constantly input data of a certain period of time series data, which increases the amount of calculation. Therefore, unless high-precision hardware capable of performing high-speed processing is used, it is difficult to reduce the processing time (delay time) from inputting a two-dimensional image to acquiring (estimating) three-dimensional pose data (person's pose data).
[0007] Also, in the technology of Non-Patent Document 2, it is necessary to continuously acquire two-dimensional keypoint data (two-dimensional keypoint data of a person appearing in a two-dimensional image) from a two-dimensional image in a time series, perform a time series convolution process (for example, a process by CNN) to acquire two-dimensional pose data using the two-dimensional keypoint data continuously acquired in a time series as an input, and further perform a time series convolution process (for example, a process by CNN) to acquire three-dimensional pose data. Also, in the technology of Non-Patent Document 2, even in a case where a certain part of a person is hidden by another part in a two-dimensional image (a state where occlusion occurs), in order to acquire (estimate) appropriate keypoint data, it is necessary to create learning data by imposing a condition that restricts the pose of a person using a Cylinder Man Model, perform a learning process, and acquire a trained model. Then, in the technology of Non-Patent Document 2, three-dimensional pose data (person's pose data) is acquired (estimated) from a two-dimensional image using the trained model acquired by the above-mentioned learning process. In other words, as described above, the technology of Non-Patent Document 2 performs processing using a complex trained model acquired through complex learning processing, so the amount of calculation required to acquire (estimate) 3D pose data (person pose data) after inputting 2D video is large, and the processing time (delay time) is also long. Therefore, even when using the technology of Non-Patent Document 2, it is necessary to use high-precision hardware that can perform high-speed processing.
[0008] Thus, in the above conventional technologies (technologies of Non-Patent Documents 1 and 2), in order to obtain a trained model, it is necessary to execute a learning process using a complex learning model, and the load for constructing the trained model is large. Furthermore, in the above conventional technologies (technologies of Non-Patent Documents 1 and 2), in the prediction process (process for estimating three-dimensional pose data), processing is performed using a trained model with a complex configuration, so that, for example, when realizing it by hardware, the scale of the hardware becomes large, and as a result, the cost for realizing the above conventional technologies (technologies of Non-Patent Documents 1 and 2) also becomes high.
[0009] In view of the above, an object of the present invention is to provide a pose data generating device, a pose data generating method, and a program that can be implemented at low cost and that can obtain highly accurate pose data. [Means for solving the problem]
[0010] In order to solve the above problems, a first invention is a pose data generation device comprising a 2D pose estimation unit, a heat map acquisition unit, a predicted data acquisition unit, a reliability acquisition unit, and a precise pose data acquisition unit.
[0011] The 2D pose estimation unit obtains two-dimensional pose data of the subject by obtaining keypoint data, which is data indicating the positions of specific parts of the subject, from image data obtained by imaging the subject in three-dimensional space or feature extraction data, which is data obtained by extracting features from the image data.
[0012] The heat map acquisition unit acquires a first reliability, which is a value indicating the likelihood that a specified image area on a two-dimensional image formed from image data or feature extraction data is an image area corresponding to a specified part of the subject, thereby acquiring a heat map for each part of the subject.
[0013] The predicted data acquisition unit acquires predicted keypoint data by performing a prediction process using keypoint data contained in the two-dimensional pose data acquired by the 2D pose estimation unit, and acquires data including the acquired predicted keypoint data as predicted two-dimensional pose data.
[0014] The reliability acquisition unit acquires, for each part of the subject, a first reliability identified by the heat map and a second reliability which is the reliability of the key point data included in the predicted two-dimensional pose data, and acquires a composite reliability by performing a process of combining the first reliability and the second reliability.
[0015] The precise pose data acquisition unit acquires precise two-dimensional pose data by determining the position of each part of the subject based on the synthesis reliability.
[0016] In this pose data generation device, a first reliability based on the heat map acquired by the heat map acquisition unit and a second reliability acquired by the reliability acquisition unit are combined (e.g., added) for each part of the subject to obtain a combined reliability with a higher accuracy for each part. Then, a precise 2D pose data acquisition unit of this pose data generation device obtains precise pose data based on the combined reliability, so that highly accurate pose data (precise 2D pose data) can be obtained. Then, in this pose data generation device, 2D-3D conversion is performed on the precise 2D pose data obtained as described above to obtain highly accurate 3D pose data.
[0017] Therefore, this pose data generation device does not require complex processing like conventional technology (e.g., time-series convolution processing (processing using CNN)), and can be implemented at low cost while obtaining highly accurate pose data.
[0018] A second invention is the first invention, in which the prediction data acquisition unit performs prediction processing for each part of the subject using precise two-dimensional pose data acquired by the precise pose data acquisition unit before the current time.
[0019] This allows the pose data generating device to perform prediction processing using more accurate precise 2D pose data as past data, resulting in more accurate prediction processing.
[0020] The third invention is the first or second invention, The prediction data acquisition unit includes: Classify the keypoint data contained in the 2D pose data into a first group and a second group. (1) For keypoint data classified into the first group, a coarse prediction process is performed, which is a prediction process having a first prediction accuracy, to obtain keypoint coarse prediction data, which is prediction data of the keypoint data; (2) For keypoint data classified into the second group, a precision prediction process having a second prediction accuracy higher than the first prediction accuracy is performed to obtain keypoint precision prediction data, which is prediction data for the keypoint data.
[0021] The reliability acquisition unit is (1) For the parts corresponding to the keypoint data classified into the first group, the reliability obtained based on the keypoint rough prediction data is set as the second reliability; (2) For the parts corresponding to the keypoint data classified into the second group, the reliability obtained based on the keypoint refined prediction data is set as the second reliability, A process of combining the first reliability and the second reliability is performed to obtain a combined reliability.
[0022] In this pose data generation device, when performing prediction processing on 2D pose data, parts are classified into a first group and a second group, and prediction processing with different prediction accuracy is performed according to the group. In other words, in this pose data generation device, by classifying parts to be the target of rough prediction processing into the first group and parts to be the target of precise prediction processing into the second group, different prediction processing can be performed for each part.
[0023] A fourth aspect of the present invention is the third aspect of the present invention, wherein the classification method for the first group and the second group is determined by a predetermined condition, and the predetermined condition is: (1) The speed and acceleration of a moving part, and the change in speed and acceleration within a given time, (2) Randomness of body part movements, (3) Linearity, nonlinearity, and (4) a period and / or stage during which certain conditions are not changed by an application executed in conjunction with the pose data generator; It is based on at least one of the following:
[0024] This allows the parts to be classified into a first group and a second group based on the above conditions, and the parts to be subjected to the rough prediction process and the parts to be subjected to the precise prediction process can be appropriately set (classified).
[0025] A fifth aspect of the present invention is the first or second aspect of the present invention, wherein the prediction data acquisition unit: Decomposing keypoint data included in the two-dimensional pose data into wide-movement keypoint data, which is data of keypoints of parts with a wide range of movement, and narrow-movement keypoint data, which is data of keypoints of parts with a narrow range of movement, (1) For narrowly movable keypoint data, a coarse prediction process is performed, which is a prediction process having a first prediction accuracy, to obtain narrowly movable keypoint predicted data, which is predicted data of the narrowly movable keypoint data; (2) For the widely movable keypoint data, a precision prediction process having a second prediction accuracy higher than the first prediction accuracy is performed to obtain widely movable keypoint prediction data, which is prediction data of the widely movable keypoint data; Data including narrow-movement keypoint predicted data and wide-movement keypoint predicted data is acquired as predicted 2D pose data.
[0026] In this pose data generation device, when performing prediction processing on 2D pose data, prediction processing with different prediction accuracy is performed according to the features of the body part. That is, in this pose data generation device, for keypoint data of body parts with a wide range of motion (wide mobility keypoint data), a highly accurate prediction processing is performed, and for keypoint data of body parts with a narrow range of motion (narrow mobility keypoint data), a prediction processing that is not as accurate as the precise prediction processing but requires less calculation (coarse prediction processing) is performed.
[0027] In other words, in this pose data generation device, for wide-movement keypoints that are difficult to predict, highly accurate prediction processing (fine prediction processing) is performed, and for narrow-movement keypoints that are not so difficult to predict, prediction processing that requires less computation (coarse prediction processing) is performed. This makes it possible to obtain highly accurate predicted data while reducing the total amount of computation required to obtain predicted data (predicted 2D pose data).
[0028] It should be noted that the "prediction accuracy" is determined (defined) based on the difference between predicted data and actual observed data when prediction processing is performed on the same processing target, for example.
[0029] A sixth aspect of the present invention is any one of the third to fifth aspects of the present invention, wherein the prediction data acquisition unit: (1) performing a coarse prediction process using a time series filter having a first accuracy; (2) A precise prediction process is performed using a time series filter having a second accuracy higher than the first accuracy.
[0030] This allows the pose data generating device to execute rough prediction processing and precise prediction processing using time-series filters with different prediction accuracies.
[0031] A seventh invention is the sixth invention, wherein the time series filter having the first precision is a time series filter processing a system model (linear system model) in which a state space model is expressed by linear operators, and the time series filter having the second precision is a time series filter processing a system model (nonlinear system model) in which a state space model is expressed by nonlinear operators.
[0032] As a result, this pose data generation device can perform coarse prediction processing using a time series that processes a linear system model, and perform precise prediction processing using a time series that processes a nonlinear system model.
[0033] An eighth invention is the sixth invention, wherein the time series filter having the first accuracy is a Kalman filter, and the time series filter having the second accuracy is any one of an extended Kalman filter, an unscented Kalman filter, and a particle filter.
[0034] As a result, in this pose data generating device, a rough prediction process can be performed using a Kalman filter, and a precise prediction process can be performed using any one of an extended Kalman filter, an unscented Kalman filter, and a particle filter.
[0035] A ninth invention is any of the first to eighth inventions, further comprising a 2D-3D conversion unit that performs 2D-3D conversion processing on the precise 2D pose data to obtain precise 3D pose data, which is 3D pose data corresponding to the precise 2D pose data.
[0036] This makes it possible for this pose data generating device to obtain precise 3D pose data, which is 3D pose data corresponding to the precise 2D pose data.
[0037] A tenth aspect of the present invention is a pose data generation method including a 2D pose estimation step, a heat map acquisition step, a predicted data acquisition step, a confidence level acquisition step, and a precise pose data acquisition step.
[0038] The 2D pose estimation step obtains two-dimensional pose data of the subject by obtaining keypoint data, which is data indicating the positions of specific parts of the subject, from image data obtained by imaging the subject in three-dimensional space or feature extraction data, which is data obtained by extracting features from the image data.
[0039] The heat map acquisition step acquires a first reliability, which is a value indicating the likelihood that a specified image area on a two-dimensional image formed from image data or feature extraction data is an image area corresponding to a specified part of the subject, thereby acquiring a heat map for each part of the subject.
[0040] The predicted data acquisition step acquires predicted keypoint data by performing a prediction process using keypoint data contained in the two-dimensional pose data acquired by the 2D pose estimation step, and acquires data including the acquired predicted keypoint data as predicted two-dimensional pose data.
[0041] The reliability acquisition step acquires, for each part of the subject, a first reliability identified by the heat map and a second reliability which is the reliability of the key point data included in the predicted two-dimensional pose data, and acquires a composite reliability by performing a process of combining the first reliability and the second reliability.
[0042] The precise pose data acquisition step acquires precise two-dimensional pose data by determining the position of each part of the subject based on the synthesis reliability.
[0043] This makes it possible to realize a pose data generating method that has the same effects as the first aspect of the invention.
[0044] An eleventh aspect of the present invention is a program for causing a computer to execute the pose data generating method according to the tenth aspect of the present invention.
[0045] This makes it possible to realize a program for causing a computer to execute a pose data generating method that achieves the same effects as the first aspect of the invention. Effect of the Invention
[0046] According to the present invention, it is possible to realize a pose data generating device, a pose data generating method, and a program that can be realized at low cost and obtain highly accurate pose data. [Brief description of the drawings]
[0047] [Figure 1] 1 is a schematic configuration diagram of a pose data generating device 100 according to a first embodiment. [Diagram 2] FIG. 2 is a schematic configuration diagram of a precise data acquisition unit 3 of the pose data generation device 100 according to the first embodiment. [Figure 3A] A diagram showing a system (example) (top diagram) in which chronologically consecutive frame images (2D images) (chronologically consecutive frame images that can constitute a moving image) obtained by photographing a subject person Sub1 with an imaging device Cam1 are input as data Din to a pose data generating device, and a frame image Img0(t1) (example) (bottom diagram) at time step t1 (time t1) is shown. [Figure 3B] A system (example) (upper figure) in which chronologically consecutive frame images (2D images) (chronologically consecutive frame images that can constitute a moving image) obtained by photographing a subject person Sub1 with an imaging device Cam1 are input as data Din to a feature extraction unit PP1 of a pose data generating device 100, and a diagram showing feature-extracted images Img1(t1), Img1(t2), Img1(t3), ... (example) (lower figure) extracted by the feature extraction unit PP1 from the chronologically consecutive frame images. [Figure 4] FIG. 4 is a diagram for explaining key point data. [Diagram 5] A figure showing the feature-extracted image Img1(t1) and (1) heatmap(kp14) (heatmap of the left shoulder), (2) heatmap(kp15) (heatmap of the left elbow), and (3) heatmap(kp16) (heatmap of the left hand) obtained from the feature-extracted image Img1(t1). [Figure 6] FIG. 13 is a diagram for explaining the reliability acquisition process (time step t1). [Figure 7] FIG. 13 is a diagram for explaining the reliability acquisition process (time step t1). [Figure 8] FIG. 13 is a diagram for explaining the reliability acquisition process (time step t1). [Figure 9] FIG. 13 is a diagram for explaining the reliability acquisition process (time step t1). [Figure 10] FIG. 13 is a diagram for explaining the reliability acquisition process (time step t1). [Figure 11] FIG. 13 is a diagram for explaining the reliability acquisition process (time step t1). [Figure 12] FIG. 13 is a diagram showing an example of data Do_kp obtained by compiling data Do_kp.kpj of each key point acquired by the precise pose data acquisition unit 33 (time step t1). [Figure 13] FIG. 13 is a diagram showing an example of data Do_kp obtained by compiling data Do_kp.kpj of each key point acquired by the precise pose data acquisition unit 33 (time step t2). [Figure 14] FIG. 13 is a diagram for explaining the reliability acquisition process (time step t3). [Figure 15] FIG. 13 is a diagram for explaining the reliability acquisition process (time step t3). [Figure 16] FIG. 13 is a diagram for explaining the reliability acquisition process (time step t3). [Figure 17] FIG. 13 is a diagram showing an example of data Do_kp obtained by compiling data Do_kp.kpj of each key point acquired by the precise pose data acquisition unit 33 (time step t3). [Figure 18] FIG. 1 is a schematic configuration diagram of a pose data generating device 100A according to a first modified example of the first embodiment. [Figure 19] FIG. 11 is a schematic configuration diagram of a precise data acquisition unit 3A of a pose data generation device 100A according to a first modified example of the first embodiment. [Figure 20] FIG. 11 is a schematic configuration diagram of a pose data generating device 100B according to a second modified example of the first embodiment. [Figure 21] FIG. 11 is a schematic configuration diagram of a precise data acquisition unit 3B of a pose data generation device 100B according to a second modified example of the first embodiment. [Figure 22] A diagram showing the CPU bus configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0048] [First embodiment] The first embodiment will be described below with reference to the drawings.
[0049] <1.1: Configuration of the pose data generator> FIG. 1 is a schematic diagram of a pose data generating device 100 according to the first embodiment.
[0050] FIG. 2 is a schematic configuration diagram of the precise data acquisition unit 3 of the pose data generation device 100 according to the first embodiment.
[0051] As shown in FIG. 1, the pose data generation device 100 includes a feature extraction unit PP1, a 2D pose estimation unit 1, a heat map acquisition unit 2, a precise data acquisition unit 3, a 2D-3D conversion unit 4, and a post-processing unit 5.
[0052] The feature extraction unit PP1 inputs, as data Din, time-series consecutive frame images (two-dimensional images) (time-series consecutive frame images that can form a moving image) acquired by shooting a subject person with an imaging device (not shown) capable of shooting moving images. Then, the feature extraction unit PP1 executes a feature extraction process (e.g., a process of performing object detection while performing class classification) on the data Din to extract, for example, an image area corresponding to the subject person (object detection target). The feature extraction unit PP1 outputs data including data on the image area of the object detection target (image data including an image area including the object detection target, coordinates of the extracted image area, data on the size, etc.) acquired by the feature extraction process, and data on the class classification of the object detection target (object detection class (e.g., person)), etc.) to the 2D pose estimation unit 1 and the heat map acquisition unit 2 as feature extraction data D0.
[0053] The 2D pose estimation unit 1 inputs feature extraction data D0 output from feature extraction unit PP1. The 2D pose estimation unit 1 executes a 2D pose estimation process on the feature extraction data D0 to acquire 2D keypoint data (e.g., 2D keypoint data of a subject person). The 2D pose estimation unit 1 then outputs data including the acquired 2D keypoint data to the precise data acquisition unit 3 as data Di_kp.
[0054] The heat map acquisition unit 2 inputs the feature extraction data D0 output from the feature extraction unit PP1. The heat map acquisition unit 2 executes a heat map acquisition process on the feature extraction data D0 to acquire heat map data. The heat map acquisition unit 2 then outputs data including the acquired heat map data to the precision data acquisition unit 3 as data D_heatmap.
[0055] As shown in FIG. 2, the precise data acquisition unit 3 includes a predicted data acquisition unit 31, a reliability acquisition unit 32, and a precise pose data acquisition unit 33.
[0056] As shown in FIG. 2, the prediction data acquisition unit 31 includes a data decomposition unit 311, a first memory M1, a second memory M2, a coarse prediction processing unit 312, and a precise prediction processing unit 313.
[0057] The data decomposition unit 311 receives data Di_kp output from the 2D pose estimation unit 1, executes a decomposition process (a process of decomposing keypoint data into body parts of a person) on the data Di_kp, and obtains data D1_kp_L to be subjected to coarse prediction processing and data D1_kp_H to be subjected to precise prediction processing. The data decomposition unit 311 then outputs the obtained data D1_kp_L to the coarse prediction processing unit 312 and the first memory M1, and outputs the obtained data D1_kp_H to the precise prediction processing unit 313 and the second memory M2.
[0058] The first memory M1 is a storage unit that receives the data D1_kp_L output from the data decomposition unit 311 and the data D2_kp_L output from the coarse prediction processing unit 312, and stores and holds the data D1_kp_L and the data D2_kp_L. The data stored and held in the first memory M1 can be read out by a read command from the coarse prediction processing unit 312.
[0059] The second memory M2 is a storage unit that receives the data D1_kp_H output from the data decomposition unit 311 and the data D2_kp_H output from the precise prediction processing unit 313, and stores and holds the data D1_kp_H and the data D2_kp_H. The data stored and held in the second memory M2 can be read out by a read command from the precise prediction processing unit 313.
[0060] The coarse prediction processing unit 312 inputs data D1_kp_L output from the data decomposition unit 311. The coarse prediction processing unit 312 also reads data D1_kp_L, which was acquired at a time earlier than the current time and stored in the first memory M1, from the first memory M1 as data D1_kp_L_past. The coarse prediction processing unit 312 executes coarse prediction processing using the data D1_kp_L and the data D1_kp_L_past to acquire coarse prediction processing data D2_kp_L. The coarse prediction processing unit 312 then outputs the acquired coarse prediction processing data D2_kp_L to the coarse prediction reliability acquisition unit 321 of the reliability acquisition unit 32 and the first memory M1.
[0061] The precise prediction processing unit 313 inputs the data D1_kp_H output from the data decomposition unit 311. The precise prediction processing unit 313 also reads out the data D2_kp_H, which was acquired at a time earlier than the current time and stored in the second memory M2, from the second memory M2 as data D1_kp_H_past. The precise prediction processing unit 313 executes precise prediction processing using the data D1_kp_H and the data D1_kp_H_past to acquire precise prediction processing data D2_kp_H. The precise prediction processing unit 313 then outputs the acquired precise prediction processing data D2_kp_H to the precise prediction reliability acquisition unit 322 of the reliability acquisition unit 32 and the second memory M2.
[0062] As shown in FIG. 2, the reliability acquisition unit 32 includes a coarse prediction reliability acquisition unit 321, a precise prediction reliability acquisition unit 322, and a reliability synthesis unit 323.
[0063] The coarse prediction reliability acquisition unit 321 inputs the coarse prediction processing data D2_kp_L output from the coarse prediction processing unit 312. The coarse prediction reliability acquisition unit 321 executes a coarse prediction reliability acquisition process on the coarse prediction processing data D2_kp_L to acquire coarse prediction reliability, and outputs data including the acquired coarse prediction reliability to the reliability synthesis unit 323 as data D3_conf_L.
[0064] The precise prediction reliability acquisition unit 322 inputs precise prediction processing data D2_kp_H output from the precise prediction processing unit 313. The precise prediction reliability acquisition unit 322 executes precise prediction reliability acquisition processing on the precise prediction processing data D2_kp_H to acquire precise prediction reliability, and outputs data including the acquired precise prediction reliability to the reliability synthesis unit 323 as data D3_conf_H.
[0065] The reliability synthesis unit 323 inputs data D3_conf_L output from the coarse prediction reliability acquisition unit 321, data D3_conf_H output from the precise prediction reliability acquisition unit 322, and data D_heatmap output from the heat map acquisition unit 2. The reliability synthesis unit 323 executes a reliability synthesis process on the data D3_conf_L, the data D3_conf_H, and the data D_heatmap to acquire synthesis reliability, and outputs data including the acquired synthesis reliability to the precise pose data acquisition unit 33 as data D4_conf.
[0066] The precise pose data acquisition unit 33 receives the data Di_kp output from the 2D pose estimation unit 1 and the data D4_conf output from the reliability synthesis unit 323. The precise pose data acquisition unit 33 executes a precise pose data acquisition process (details of which will be described later) using the data Di_kp and data D4_conf (reliability data D4_conf) to acquire the processed data as data Do_kp. The precise pose data acquisition unit 33 then outputs the acquired data Do_kp to the 2D-3D conversion unit 4.
[0067] The 2D-3D conversion unit 4 inputs data Do_kp (two-dimensional keypoint data) output from the precise data acquisition unit 3. The 2D-3D conversion unit 4 executes 2D-3D conversion processing on the data Do_kp (two-dimensional keypoint data) to acquire three-dimensional data (three-dimensional keypoint data) corresponding to the data Do_kp (two-dimensional keypoint data) as data Do_3D_kp. Then, the 2D-3D conversion unit 4 outputs the acquired data Do_3D_kp to the post-processing unit 5.
[0068] The post-processing unit 5 receives the data Do_3D_kp output from the 2D-3D conversion unit 4, executes post-processing on the data Do_3D_kp, and obtains the processed data as data Dout.
[0069] <1.2: Operation of the pose data generator> The operation of the pose data generating device 100 configured as above will be described below.
[0070] FIG. 3A shows a system (example) (upper diagram) that inputs time-series consecutive frame images (two-dimensional images) (time-series consecutive frame images that can compose a moving image) acquired by photographing a subject person Sub1 with an imaging device Cam1 into a pose data generating device as data Din, and a frame image Img0 at time step t1 (time t1) (t1) (Example) (lower figure) is a diagram showing an example of an image Img1. (t1) (Image area Img1 (t1) ) is an image (image region) extracted by feature extraction unit PP1 with the object detection target being a "person."
[0071] FIG. 3B shows a system (example) (upper diagram) that inputs, as data Din, consecutive frame images (two-dimensional images) (sequential frame images in a time series that can form a moving image) acquired by photographing a subject person Sub1 with an image capturing device Cam1 to a feature amount extraction unit PP1 of a pose data generating device 100, and a feature amount extraction image Img1 extracted by the feature amount extraction unit PP1 from the consecutive frame images in a time series. (t1) , Img1 (t2) , Img1 (t3) , (an example) (lower diagram). Note that the feature extraction image at time step tk (k: integer) is Img1 (tk) It is written as follows.
[0072] FIG. 4 is a diagram for explaining the key point data.
[0073] Figure 5 shows the frame image Img1. (t1) And frame image Img1 (t1) (1) Heatmap (kp 14 )(Heatmap of left shoulder), (2) Heatmap(kp 15 ) (heatmap of the left elbow), and (3) heatmap (kp 16) (left hand heatmap).
[0074] 6 to 11 are diagrams for explaining the reliability acquisition process (time step t1).
[0075] FIG. 12 shows the data Do_kp.kp of each key point acquired by the precise pose data acquisition unit 33. j FIG. 13 is a diagram showing an example of data Do_kp obtained by summarizing the above (time step t1).
[0076] FIG. 13 shows the data Do_kp.kp of each key point acquired by the precise pose data acquisition unit 33. j FIG. 13 is a diagram showing an example of data Do_kp obtained by summarizing the above (time step t2).
[0077] 14 to 16 are diagrams for explaining the reliability acquisition process (time step t3).
[0078] FIG. 17 shows the data Do_kp.kp of each key point acquired by the precise pose data acquisition unit 33. j FIG. 13 is a diagram showing an example of data Do_kp summarizing the above (time step t3).
[0079] For ease of explanation, the following describes a case (one example) in which subject person Sub1 performs a predetermined movement, a feature extraction image shown in the lower diagram of Fig. 3B is acquired by feature extraction unit PP1, and pose data generation processing is executed by pose data generation device 100. Also, for ease of explanation, the following describes the predetermined movement of subject person Sub1 as a movement (one example) in which the left hand of subject person Sub1 moves in the direction shown by Dir1 as shown in the lower diagram of Fig. 3B, and at time step t3, the left hand of subject person Sub1 is hidden behind the body of subject person Sub1 (left arm and left hand are in an occlusion state).
[0080] In the following, the operation of the pose data generating device 100 will be explained, dividing it into processes at time steps t1, t2, and t3.
[0081] <Processing of time step t1> At time step t1, a three-dimensional space (imaging space) including a subject person Sub1 is captured by an imaging device Cam1, and frame image data Img0 is generated. (t1) The frame image data acquired at time step t is called Img0 (t) Frame image data Img0 (t1) The image (frame image) formed by the above is the image Img0 shown in the lower diagram of FIG. 3A. (t1) In addition, the "time step" is a reference time for executing a series of processes from input to output in the pose data generating device 100, and is based on the time from when one unit data (e.g., one frame image) is input to when one unit data of the processing result (e.g., three-dimensional pose data obtained from the input one frame image) is output.
[0082] The 2D pose estimation unit 1 of the pose data generation device 100 estimates frame image data Img0 output from the imaging device Cam1. (t1) is input as data Din, and the frame image data Img0 (t1) The process of estimating (obtaining) 2D pose data is performed using the above. Specifically, the following process is performed:
[0083] The feature extraction unit PP1 extracts data Din (frame image data Img0 (t1) ), feature extraction processing (e.g., processing for performing object detection while performing class classification) is performed on the image area (image Img1 (t1) Specifically, the feature extraction unit PP1 extracts the frame image data Img0 from the frame image data Img1 using a technology capable of classifying and detecting objects (for example, SSD (Single Shot Detection) or YOLO (You Only Look Once)). (t1) Feature extraction is performed on the image Img1 (t1)In this embodiment, it is assumed that the object detection target is set to "person" in the feature amount extraction process.
[0084] The feature extraction unit PP1 extracts the feature from the image region (image Img1 (t1) ) (image data including an image region including a target of object detection, coordinates of the extracted image region, data on the size, etc.) and data including data on the class classification of the detected target (object detection class (in this embodiment, "person")) are output as feature extraction data D0 to the 2D pose estimation unit 1 and the heat map acquisition unit 2. Note that at time step t, the data (image data) of the image region extracted by the feature extraction process is referred to as feature extraction image data Img1. (t) (Or, feature extraction image Img1 (t) ) is written as
[0085] The 2D pose estimation unit 1 extracts feature-extracted image data Img1 (t1) The frame image formed by (feature extraction image Img1 (t1) ), the position of a predetermined part of the subject person Sub1 on the frame image (the position on the two-dimensional image) is identified (estimated). Note that the "predetermined part" here refers to (1) a predetermined position included in the person's head and spine (key point kp 1 ~kp 4 ), (2) a given position on the left or right arm of a person (corresponding to keypoint kp in Fig. 4). 5 ~kp 7 , kp 14 ~kp 16 ), (3) a given position included in the left and right legs of a person (key point kp in Fig. 4). 8 ~kp 10 , kp 11 ~kp 13 (corresponding to
[0086] The 2D pose estimation part uses the feature extraction image Img1 (t1) The key points kp indicate the coordinate positions of each part of the subject person Sub1 on the frame image.1 ~kp 16 (16 points kp 1 ~kp 16 ) to perform 2D pose estimation.
[0087] The 2D pose estimation process executed by 2D pose estimation unit 1 may be processed as in (A) or (B) below. (A) When it is possible to obtain information on a three-dimensional space (imaging space) in which a subject person Sub1 is photographed by an imaging device Cam1 and information on the imaging parameters of the imaging device Cam1, the 2D pose estimation unit 1 generates a feature extraction image Img1 based on the information on the imaging space and information on the imaging parameters of the imaging device Cam1, Info_cam_prm. (t1) In this case, the subject is a person (the size of a standard human being is known), and the installation position of the image capture device Cam1 in three-dimensional space, the direction of the camera optical axis, the focal length, and the angle of view are known. Therefore, an image area corresponding to the subject person Sub1 can be extracted by the feature extraction unit PP1 from the frame images acquired by the image capture device Cam1, and a frame image of a specific part of the subject person Sub1 (feature extraction image Img1) can be extracted. (t1) ) can be located. (B) The 2D pose estimation unit 1 extracts a frame image (feature extraction image Img1) from chronologically consecutive frame images in which the portion of the subject person Sub1 is captured by the feature extraction unit PP1. (t) The 2D pose estimation unit 1 is provided with a machine learning model (e.g., a trained model using a neural network) that outputs (estimates) two-dimensional pose data (two-dimensional coordinate data of each predetermined part of the subject person Sub1) when t (t=t1, t2 (=t1+1), t3 (=t1+2), ...) is input. The 2D pose estimation unit 1 outputs a frame image (feature extraction image Img1) in which a portion in which the subject person Sub1 is shown is extracted by a feature extraction unit PP1, which is a sequence of frame images in a time series. (t)) is input to the machine-learned model, and processing is performed using the machine-learned model to acquire (estimate) 2D pose data (2D coordinate data of each predetermined part of the subject person Sub1). In this way, the 2D pose estimation unit 1 executes the 2D pose estimation process.
[0088] When performing the 2D pose estimation process in the 2D pose estimation unit 1 according to (B) above, for example, the PoseNet model disclosed in the following prior art document A may be used. (Prior art document A): Pose Detection in the Browser: PoseNet Model https: / / github.com / tensorflow / tfjs-models / tree / master / posenet Then, the 2D pose estimation unit 1 uses the 2D keypoint data (16 points kp 1 ~kp 16 The data including the two-dimensional coordinate data of the above is output to the precision data acquisition unit 3 as data Di_kp.
[0089] The heat map acquisition unit 2 of the pose data generation device 100 receives the feature extraction image data Img1 (t1) The frame image formed by (feature extraction image Img1 (t1) Specifically, the heat map acquisition unit 2 executes a process of acquiring a heat map from the feature extraction image data Img1. (t1) For each pixel of the frame image formed by the above, a value is obtained that indicates the likelihood that the pixel is a specific part of the subject person Sub1. The "specific part" is defined as (1) a specific position included in the head and spine of a person (key point kp 1 ~kp 4 ), (2) a given position on the left or right arm of a person (corresponding to keypoint kp in Fig. 4). 5 ~kp 7 , kp 14 ~kp 16), (3) a given position included in the left and right legs of a person (key point kp in Fig. 4). 8 ~kp 10 , kp 11 ~kp 13 (corresponding to
[0090] That is, the heat map acquisition unit 2 acquires the key point kp 1 ~kp 16 For each part corresponding to each of the above, the feature extraction image Img1 (t1) For each pixel of the subject person Sub1, a heat map (heat map image) is obtained in which the pixel value indicates the likelihood that the pixel is a specific part (a part corresponding to the corresponding key point) of the subject person Sub1 (key point kp 1 ~kp 16 A heat map is obtained for each of the features extracted from the image Img1 (a total of 16 heat maps). (t1) The number of pixels may be less than the number of pixels in the image (pixels may be thinned out at a fixed rate).
[0091] Figure 5 shows the feature extraction image Img1. (t1) and feature extraction image Img1 (t1) (1) Heatmap (kp 14 )(Heatmap of left shoulder), (2) Heatmap(kp 15 ) (heatmap of the left elbow), and (3) heatmap (kp 16 ) (heat map on the left hand side). xx Heatmap(kp xx) in the heat map shown in FIG. 5. (1) Large black circles indicate that there is a high probability that the pixels are corresponding parts, (2) medium black circles indicate that there is a medium probability that the pixels are corresponding parts, (3) white circles indicate that there is a low probability that the pixels are corresponding parts, and (4) solid pixels indicate that there is zero (no) probability that the pixels are corresponding parts. In addition, in the heat map shown in FIG. 5, the feature extraction image Img1 is divided into two parts so that the position of each part of the subject person Sub1 can be seen. (t1) The subject, person Sub1, is shown superimposed in the image with a grey dotted line.
[0092] Heatmap (kp 14 ) (heat map of the left shoulder), a large black circle pixel exists in the left shoulder of the subject person Sub1, and it can be seen that the left shoulder has the highest probability of being the true position of the left shoulder. 14 ) (heat map of left shoulder) shows that the left shoulder is properly detected.
[0093] Heatmap (kp 15 ) (heat map of left elbow), there is a large black circle pixel in the left elbow part of the subject person Sub1, and it can be seen that the left elbow part has the highest probability of being the true position of the left elbow part. 15 ) (heat map of left elbow) shows that the left elbow area is properly detected.
[0094] Heatmap (kp 16 ) (heatmap of the left hand), there are large black circle pixels in the left hand of the subject person Sub1, and it can be seen that the left hand has the highest probability of being the true position of the left hand. 16 ) (heatmap of the left hand) shows that the left hand is properly detected.
[0095] The heat map acquisition unit 2 uses, for example, an image recognition technique to generate the feature extraction image Img1. (t1) In this case, the key point kp 1 ~kp 16 The heat map acquisition unit 2 may recognize the parts corresponding to each of the parts. In addition, the heat map acquisition unit 2 includes a machine-learned model (for example, a trained model using a neural network) that, when a feature-extracted image in which a part showing the subject person Sub1 is extracted is input, outputs (estimates) the likelihood (probability) that each part is a specific part of the subject person Sub1, and the heat map acquisition unit 2 inputs the feature-extracted image in which a part showing the subject person Sub1 is extracted into the machine-learned model, and performs processing using the machine-learned model to output (estimate) the likelihood (probability) that each part is a specific part of the subject person Sub1. In this way, the heat map acquisition unit 2 may acquire a heat map of each part.
[0096] The heat map acquisition unit 2 may acquire a heat map of each part of a person using, for example, the PoseNet model disclosed in the above (Prior Art Document A).
[0097] As described above, the heat map acquisition unit 2 acquires the key point kp 1 ~kp 16 Then, the heat map acquiring unit 2 outputs data including the acquired heat maps to the precise data acquiring unit 3 as data D_heatmap.
[0098] The data decomposition unit 311 of the precise data acquisition unit 3 inputs the data Di_kp output from the 2D pose estimation unit 1, and executes a decomposition process (a process of decomposing the keypoint data into each body part of a person) on the data Di_kp. Specifically, the data decomposition unit 311 decomposes the data into (1) data of keypoints of body parts that have a wide range of motion and can move vigorously (such keypoints are called "wide-movement keypoints") and (2) data of keypoints of body parts that have a narrow range of motion and do not move vigorously (such keypoints are called "narrow-movement keypoints"). For example, the data decomposition unit 311 decomposes (1) data of keypoints (Kp 7 (Right hand),Kp 16 (Left hand), Kp 6 (Right elbow), Kp 13 (Left elbow), Kp 10 (Right foot), Kp 13 (1) The key points kp (left foot) are the wide-movement key points, and (2) the key points kp (left foot) are the key points corresponding to other parts of the body (the key points kp 1 ~kp 4 , key points kp corresponding to the left and right shoulders of a person 5 , kp 14 , key points kp corresponding to the left and right hips of a person 8 , kp 11 , and key points kp corresponding to the left and right knees of a person 9 , kp 12 ) is defined as a narrow movable keypoint. In this embodiment, the data decomposition unit 311 sets wide movable keypoints and narrow movable keypoints as described above, and performs a decomposition process of the keypoint data.
[0099] Then, the data decomposition unit 311 (1) outputs data including the data of the narrow-movement keypoints obtained by the above processing as data D1_kp_L to the coarse prediction processing unit 312 and the first memory M1, and (2) outputs data including the data of the wide-movement keypoints obtained by the above processing as data D1_kp_H to the precise prediction processing unit 313 and the second memory M2.
[0100] The first memory M1 receives the data D1_kp_L output from the data decomposition unit 311 and stores and holds the data D1_kp_L.
[0101] The second memory M2 receives the data D1_kp_H output from the data decomposition unit 311 and stores and holds the data D1_kp_H.
[0102] The coarse prediction processing unit 312 inputs data D1_kp_L output from the data decomposition unit 311. The coarse prediction processing unit 312 also reads out data D1_kp_L, which was acquired at a time earlier than the current time and stored in the first memory M1, from the first memory M1 as data D1_kp_L_past. The coarse prediction processing unit 312 executes a coarse prediction process using the data D1_kp_L and data D1_kp_L_past. Specifically, the coarse prediction processing unit 312 executes a process (prediction process) using a time series filter. This will be described below.
[0103] A time series filter is a technique for estimating the internal state of an object that changes from moment to moment. A time series filter estimates the internal state of an object at time step t (time t) as a state vector x t The features observed at time step t (time t) are represented as an observation vector z t Then, the observed vector z t From the internal state x of the object that cannot be directly observed, t This is a method to estimate the
[0104] The system model of the internal state of the observed object and the observation model (state space model) when the object is observed can be expressed as follows. System model (state equation): x t =f(x t-1 ,u t ,w t ) f: State transition function that represents the state change between time step t-1 and time step t u t :Control input at time step t w t : system noise at time step t Observation model (observation equation): z t =h(x t ,v t ) h:Status x t A function that represents the observation vector obtained when v t : Observation noise at time step t When a person's movements (or the movement of a specific part of a person's body) can be expressed (predicted) using an equation of motion, etc., a time series filter can be applied using the data predicted using the equation of motion, etc. and actual observation data (e.g., data on actually observed key points).
[0105] In the rough prediction processing unit 312, (1) data of narrowly movable keypoints acquired in the previous time step (time step t-1) (data indicating the internal state of the observation target one time step before (the above internal state x t-1 (2) predicted keypoint data (observation data (corresponding to the above observation vector z t By performing processing using a time series filter using (corresponding to) and (t), the internal state of the object to be observed (pose data of subject person Sub1) at the current time step (time step t) is obtained (estimated).
[0106] In this embodiment, the coarse prediction processor 312 performs prediction processing (coarse prediction processing) for narrowly movable keypoints using a Kalman filter, which requires a relatively small amount of calculation, as a time-series filter. That is, the coarse prediction processor 312 performs the following processing using the Kalman filter.
[0107] The rough prediction processor 312 acquires (estimates) the internal state of the observation target (data of narrow-movement keypoints of the photographed person Sub1) at the current time step (time step t) through the following process. (A) Prediction x t|t-1 =f(x t-1|t-1 ,u t ,0) P t|t-1 =F t P t-1|t-1 F T t +G t Q t G T t x t|t-1 : State estimate of time step t at time step t-1 (state estimate vector) x t-1|t-1 : State estimate after update process at time step t-1 (state estimate vector) F t : A linear model for the time transition of a system P t-1|t-1 : Error covariance matrix F T t :F t Transpose of matrix G t :Matrix of noise model for time transition Q t : Covariance matrix of the noise model for time transitions G T t :G t Transpose of matrix (B) Update e t =z t -h(x t|t-1 ,0) S t =H t P t|t-1 H T t +R t K t =P t|t-1 H T t +S -1 t x t|t =x t|t-1 +K t e t P t|t =(IKt H t )P t|t-1 e t : Observation residual at time step t S t : Covariance of the observed residuals at time step t K t : Optimal Kalman gain at time step t x t|t : Updated state estimate (estimate vector) at time step t P t|t : The updated error covariance at time step t H t : A linear model with respect to the observation model R t : Covariance of the observation noise at time step t The rough prediction unit 312, for example, estimates the narrowly movable keypoint Kp 8 For the current time (time step t1) (right hip part), the key point Kp 8 The internal state variables (internal state vectors) of the feature extraction image Img1 (t1) Key points on Kp 8 The rough prediction processing unit 312 performs processing using a Kalman filter by using the x and y coordinates of the t=t1 z T t1 =P T kp8 (t1) =[x kp8 (t1) ,y kp8 (t1) ] z T t1 :z t1 Transpose of matrix P T kp8 (t1) :P kp8 (t1) Transpose of matrix x kp8 (t1) :Feature extraction image Img1 (t1) Key points on Kp 8 x coordinate of ykp8 (t1) :Feature extraction image Img1 (t1) Key points on Kp 8 y coordinate of Then, the following update (update by Kalman filter) is performed. Note that x t-1|t-1 (The state estimate value (state estimate vector) after the update process at time step t-1) is included in the data D1_kp_L_past and is extracted from the data D1_kp_L_past. <Updated> x t|t =x t|t-1 +K t e t P kp8_post (t1) =P kp8_pred (t1) +K t e t e t =z t -h(x t|t-1 ,0)=z t1 -h(P kp8_pred (t1) ,0) =P kp8 (t1) -h(P kp8_pred (t1) ,0) P kp8 (t1) : Keypoint Kp at time step t1 8 Observation value (observation vector) P kp8_pre (t1) : Keypoint Kp at time step t1 8 Prior estimate of (prior estimate vector)(x t|t-1 (corresponding to P kp8_post (t1) : Keypoint Kp at time step t1 8 The posterior estimate of (posterior estimate vector)(x t|t (corresponding to As a result, the rough prediction processor 312 estimates the narrowly movable keypoint Kp 8 (Right hip part) Posterior estimate (posterior estimate vector) P at the current time (time step t1)kp8_post (t1) Get the.
[0108] The rough prediction processing unit 312 performs the same process as above for the other narrowly movable keypoints, and calculates the posterior estimated value (posterior estimated vector) P kpi_post (t1) (i: natural number, index value indicating narrow movable keypoint (in this embodiment, i={1, 2, 3, 4, 5, 8, 9, 11, 12, 14})) is acquired.
[0109] Then, the coarse prediction processing unit 312 calculates the posterior estimated value (posterior estimated vector) P kpi_post (t1) The data including the above is output as data D2_kp_L to the rough prediction reliability acquisition unit 321 and the first memory M1.
[0110] The precise prediction processing unit 313 inputs data D1_kp_H output from the data decomposition unit 311. The precise prediction processing unit 313 also reads data D1_kp_H, which was acquired at a time earlier than the current time and stored in the second memory M2, from the second memory M2 as data D1_kp_H_past. The precise prediction processing unit 313 executes precise prediction processing using the data D1_kp_H and data D1_kp_H_past. Specifically, the precise prediction processing unit 313 executes processing (prediction processing) using a time series filter. Here, a case will be described in which an extended Kalman filter is used as the time series filter in the precise prediction processing unit 313.
[0111] The extended Kalman filter is also a time series filter, and the internal state of the target at time step t (time t) is expressed as a state vector x t The features observed at time step t (time t) are represented as an observation vector z t Then, the observed vector z t From the internal state x of the object that cannot be directly observed, t This is a method to estimate the
[0112] The system model of the internal state of the observed object and the observation model (state space model) when the object is observed can be expressed as follows. System model (state equation): x t =f(x t-1 ,u t ,w t ) f: State transition function that represents the state change between time step t-1 and time step t u t :Control input at time step t w t : system noise at time step t Observation model (observation equation): z t =h(x t ,v t ) h:Status x t A function that represents the observation vector obtained when v t : Observation noise at time step t When a person's movements (or the movement of a specific part of a person's body) can be expressed (predicted) using an equation of motion, etc., a time series filter can be applied using the data predicted using the equation of motion, etc. and actual observation data (e.g., data on actually observed key points).
[0113] In the precision prediction processing unit 313, (1) data of the wide-movement keypoints acquired in the previous time step (time step t-1) (data indicating the internal state of the observation target one time step before (the above internal state x t-1 (2) predicted keypoint data (observation data (corresponding to the above observation vector z t By performing processing using a time series filter using the time-series filter, the internal state of the object to be observed (pose data of the subject person Sub1) at the current time step (time step t) is obtained (estimated).
[0114] In this embodiment, the precise prediction processing unit 313 performs prediction processing (precise prediction processing) for the wide-moving keypoints using an extended Kalman filter capable of performing highly accurate prediction processing (estimation processing) as a time series filter. That is, the precise prediction processing unit 313 performs the following processing using the extended Kalman filter.
[0115] The precise prediction processing unit 313 acquires (estimates) the internal state of the observation target (data of widely movable keypoints of the photographed person Sub1) at the current time step (time step t) through the following process. (A) Prediction x t|t-1 =f(x t-1|t-1 ,u t ,0) P t|t-1 =F t P t-1|t-1 F T t +G t Q t G T t x t|t-1 : State estimate of time step t at time step t-1 (state estimate vector) x t-1|t-1 : State estimate after update process at time step t-1 (state estimate vector) F t : A linear model for the time transition of a system P t-1|t-1 : Error covariance matrix F T t :F t Transpose of matrix G t :Matrix of noise model for time transition Q t : Covariance matrix of the noise model for time transitions G T t :G t Transpose of matrix (B) Update e t =z t -h(xt|t-1 ,0) S t =H t P t|t-1 H T t +R t K t =P t|t-1 H T t +S -1 t x t|t =x t|t-1 +K t e t P t|t =(IK t H t )P t|t-1 e t : Observation residual at time step t S t : Covariance of the observed residuals at time step t K t : Optimal Kalman gain at time step t x t|t : Updated state estimate (estimate vector) at time step t P t|t : The updated error covariance at time step t H t : A linear model with respect to the observation model R t : Covariance of the observation noise at time step t In addition, F t , and H t When an extended Kalman filter (an example of a nonlinear Kalman filter) is used, it is expressed by the following formula.
number
number
[0116] The precise prediction processing unit 313, for example, detects the keypoint Kp 16 For the current time (time step t1) (left hand part), the key point Kp 16 The internal state variables (internal state vectors) of the feature extraction image Img1 (t1) Key points on Kp 16 The precision prediction processing unit 313 performs processing using an extended Kalman filter with the x and y coordinates of t=t1 z T t1 =P T kp16 (t1) =[x kp16 (t1) ,y kp16 (t1) ] z T t1 :z t1 Transpose of matrix P T kp16 (t1) :P kp16 (t1) Transpose of matrix x kp16 (t1) :Feature extraction image Img1 (t1) Key points on Kp 16 x coordinate of y kp16 (t1):Feature extraction image Img1 (t1) Key points on Kp 16 y coordinate of Then, the following update (update using the extended Kalman filter) is performed: <Updated> x t|t =x t|t-1 +K t e t P kp16_post (t1) =P kp8_pred (t1) +K t e t e t =z t -h(x t|t-1 ,0)=z t1 -h(P kp16_pred (t1) ,0) =P kp16 (t1) -h(P kp16_pred (t1) ,0) P kp16 (t1) : Keypoint Kp at time step t1 16 Observation value (observation vector) P kp16_pre (t1) : Keypoint Kp at time step t1 16 Prior estimate of (prior estimate vector)(x t|t-1 (corresponding to P kp16_post (t1) : Keypoint Kp at time step t1 16 The posterior estimate of (posterior estimate vector)(x t|t (corresponding to In addition, the precise prediction processing unit 313 calculates the Kalman gain K t (1) A linear model of the system's time transitions, F, which is used to calculate t and (2) a linear model H t The precise prediction processing unit 313 obtains the above by performing processing equivalent to the above (Formula 1) and (Formula 2). K t =P t|t-1 HT t +S -1 t P t|t-1 =F t P t-1|t-1 F T t +G t Q t G T t S t =H t P t|t-1 H T t +R t By performing the process equivalent to the Kalman gain K t Calculate (obtain).
[0117] Through the above process, the precision prediction processor 313 estimates the keypoint Kp 16 (Left hand part) posterior estimate (posterior estimate vector) P at the current time (time step t1) kp16_post (t1) Get the.
[0118] The precise prediction processor 313 performs the same process as above for the other widely movable keypoints, and calculates the posterior estimated value (posterior estimated vector) P kpi_post (t1) (i: natural number, index value indicating wide-movement key points (in this embodiment, i={6, 7, 10, 13, 15, 16} (corresponding to the left and right hands, elbows, and feet))) is acquired.
[0119] Then, the precision prediction processing unit 313 calculates the posterior estimated value (posterior estimated vector) P kpi_post (t1) The data including the above is output as data D2_kp_H to the precise prediction reliability acquisition unit 322 and the second memory M2.
[0120] The coarse prediction reliability acquisition unit 321 executes a coarse prediction reliability acquisition process on the coarse prediction processing data D2_kp_L output from the coarse prediction processing unit 312 to acquire coarse prediction reliability (coarse prediction reliability map). (t1) A predetermined value (pixel value) (e.g., "0.2") is set at the position of each part specified by the coarse prediction processing data D2_kp_L (the position of the keypoint corresponding to each part (the position estimated (predicted) by the coarse prediction processing)), and a coarse prediction reliability map is obtained, which is a reliability map (a map in which the reliability is the pixel value) in which the values (pixel values) of other positions are set to "0." Note that the coarse prediction reliability map is a map of the same pixel size, number of pixels, and pixel arrangement as the heat map included in the data D_heatmap.
[0121] For example, as shown in FIG. 6, the left shoulder portion (kp 14 The position of the keypoint corresponding to the left shoulder (the position estimated (predicted) by the rough prediction process) is shown in the upper right of Figure 6 as D2_kp_L.kp 14 When the position is the one shown in FIG. 1, the coarse prediction reliability acquisition unit 321 sets the reliability (pixel value) of the position in the coarse prediction reliability map to a predetermined value (e.g., “0.2”), and sets the reliability (pixel value) of other positions to “0.” 14 ) coarse prediction confidence map (coarse prediction confidence map D3_conf_L.kp 14 ) is obtained (see the lower right diagram in Figure 6). x The rough prediction confidence map of D3_conf_L.kp x In Fig. 6, for convenience of explanation, the pixels of the coarse prediction reliability map are displayed as 4x4 rectangles (16 rectangles (pixels)), and the pixels of the coarse prediction reliability map in other image regions are not displayed.
[0122] For the other parts, the rough prediction reliability acquisition unit 321 performs the same process as above to obtain the rough prediction reliability map D3_conf_L.kp of each part. x Get the.
[0123] Then, the rough prediction reliability acquisition unit 321 creates the rough prediction reliability map D3_conf_L.kp x The data including (x: natural number, 1≦x≦16) is output to the reliability synthesis unit 323 as data D3_conf_L.
[0124] The precise prediction reliability acquisition unit 322 executes a precise prediction reliability acquisition process on the precise prediction processing data D2_kp_H output from the precise prediction processing unit 313 to acquire precise prediction reliability (precise prediction reliability map). (t1) A predetermined value (pixel value) (e.g., "0.2") is set for the position of each part (the position of the keypoint corresponding to each part (the position estimated (predicted) by the precise prediction process)) specified by the precise prediction processing data D2_kp_H above, and a precise prediction reliability map is obtained, which is a reliability map (a map in which the pixel value is the reliability) in which the values (pixel values) of other positions are set to "0." Note that the precise prediction reliability map is a map of the same pixel size, number of pixels, and pixel arrangement as the heat map included in the data D_heatmap.
[0125] For example, as shown in FIG. 7, the left hand part (kp 16 The position of the keypoint corresponding to the left hand (the position estimated (predicted) by the precise prediction process) is shown in the upper right of Figure 7 as D2_kp_H.kp 16 When the position is the position shown by kp 16 ) Precision prediction reliability map (Precision prediction reliability map D3_conf_L.kp 16 ) is obtained (see the lower right diagram in Figure 7). x The precision prediction reliability map of D3_conf_H.kp xIn Fig. 7, for convenience of explanation, the pixels of the precise prediction reliability map are shown as 4x4 rectangles (16 rectangles (pixels)), and the display of the pixels of the precise prediction reliability map in other image regions is omitted.
[0126] For the other parts, the coarse prediction reliability acquisition unit 321 performs the same process as above to obtain the precise prediction reliability map D3_conf_H.kp of each part. x Get the.
[0127] Then, the precise prediction reliability acquisition unit 322 creates the precise prediction reliability map D3_conf_H.kp for each acquired part. x The data including (x: natural number, 1≦x≦16) is output to the reliability synthesis unit 323 as data D3_conf_H.
[0128] The reliability synthesis unit 323 receives the data D3_conf_L output from the coarse prediction reliability acquisition unit 321, the data D3_conf_H output from the precise prediction reliability acquisition unit 322, and the data D_heatmap output from the heat map acquisition unit 2. The reliability synthesis unit 323 executes a reliability synthesis process on the data D3_conf_L, the data D3_conf_H, and the data D_heatmap. Specifically, the reliability synthesis unit 323 synthesizes the reliability of each part (kp x (x: natural number, 1≦x≦16)) for each pixel at the same position, (1) Heatmap D_heatmap.kp x ,and (2A) Rough prediction confidence map D3_conf_L.kp x ,or, (2B) Precision prediction reliability map D3_conf_H.kp x The composite reliability map is obtained by performing an addition process (addition process of pixel values) with the heat map D_heatmap. x The heatmap (the map of confidence obtained from the heatmap) is the heatmap D_heatmap.kp x It is written as follows.
[0129] For example, the left shoulder (kp 14 ), as shown in FIG. 8, for pixels at the same position, (1) Heatmap D_heatmap.kp 14 (The upper diagram in Figure 8) (2A) Rough prediction confidence map D3_conf_L.kp 14 (The middle figure in Figure 8) By performing the addition process (addition process for each pixel value) of the left shoulder part (kp 14 ) composite confidence map D4_conf.kp 14 (The lower part of Figure 8) is obtained.
[0130] Also, for example, the left hand part (kp 16 ), as shown in FIG. 9, for pixels at the same position, (1) Heatmap D_heatmap.kp 16 (The upper part of Figure 9) (2B) Precision prediction reliability map D3_conf_H.kp 16 (The middle figure in Figure 9) By performing the addition process (addition process for each pixel value) of the left hand part (kp 16 ) composite confidence map D4_conf.kp 16 (The lower part of Figure 9) is obtained.
[0131] For the other parts, the reliability synthesis unit 323 performs the same process as above to generate a synthesis reliability map D4_conf.kp for each part. x Get the.
[0132] Then, the reliability synthesis unit 323 synthesizes the synthesized reliability map D4_conf.kp of each acquired part. x Data including (x: natural number, 1≦x≦16) is output to the precise pose data acquisition unit 33 as data D4_conf.
[0133] The precise pose data acquisition unit 33 receives the data Di_kp output from the 2D pose estimation unit 1 and the data D4_conf output from the reliability synthesis unit 323. The precise pose data acquisition unit 33 executes a precise pose data acquisition process using the data Di_kp and the data D4_conf (reliability data D4_conf). Specifically, the precise pose data acquisition unit 33 acquires precise pose data for each body part (kp x For each (x: natural number, 1≦x≦16), a composite reliability map D4_conf.kp x Image identified by (feature extraction image Img1 (t1) ) and the data Di_kp.kp acquired by the 2D pose estimation unit 1 x Image identified by (feature extraction image Img1 (t1) ) on the position (key point kp x It is then determined whether or not the position of the target object substantially coincides with the position of the target object, and the process is carried out as follows. (1) When the positions of the two are substantially the same, the precise pose data acquisition unit 33 acquires the part kp x The key points of the data Di_kp.kp obtained by the 2D pose estimation unit 1 are x By doing so, the part kp x Precision pose data for Do_kp.kp x That is, the precise pose data acquisition unit 33 acquires Do_kp.kp x =Di_kp.kp x As, part kp x Precision pose data for Do_kp.kp x Get the. (2) On the other hand, if the positions of the two do not substantially match, the precise pose data acquisition unit 33 extracts the part kp x The key points are added to the composite reliability map D4_conf.kp obtained by the reliability synthesis unit 323. x Image identified by (feature extraction image Img1 (t1) ) on the position (composite confidence map D4_conf.kp x The position of the pixel showing the maximum value in x Precision pose data for Do_kp.kpx That is, the precise pose data acquisition unit 33 acquires Do_kp.kp x =max_P(D4_conf.kp x ) max_P(Dp): A function that obtains information (e.g., coordinates on an image) of the position (position on an image) where the pixel value (reliability) is the maximum value in the reliability map Dp. As, part kp x Precision pose data for Do_kp.kp x Note that the above "approximate match" means that the distance between two points on the image is equal to or less than a predetermined value (for example, a distance corresponding to the pixel pitch of the reliability map).
[0134] For example, the left shoulder (kp 14 ) (for the target part of the rough prediction process), as shown in FIG. 10, the data Di_kp.kp acquired by the 2D pose estimation unit 1 is 14 (corresponding to the pixel in the 2nd row and 1st column of the 4x4 rectangle (matrix) in the upper part of Figure 10 (the pixel with the pixel value "0.7")) and the composite confidence map D4_conf.kp 14 10) (the pixel in the second row and third column of the 4×4 rectangle (matrix) (the pixel with a pixel value of "0.8") in the upper diagram of FIG. 10) does not substantially match (it is separated by more than the pixel pitch (the distance between adjacent pixels) of the reliability map). Therefore, the precise pose data acquisition unit 33 determines the position of the pixel in the precise pose data part kp 14 The key points are added to the composite reliability map D4_conf.kp obtained by the reliability synthesis unit 323. 14 Image identified by (feature extraction image Img1 (t1) ) on the position (composite confidence map D4_conf.kp 14 The position of the pixel showing the maximum value in 14 Precision pose data for Do_kp.kp 14 That is, the precise pose data acquisition unit 33 acquires Do_kp.kp 14 =max_P(D4_conf.kp 14 ) max_P(Dp): A function that obtains information (e.g., coordinates on an image) of the position (position on an image) where the pixel value (reliability) is the maximum value in the reliability map Dp. As, part kp 14 Precision pose data for Do_kp.kp 14 (corresponding to the pixel in the second row and third column (pixel value "0.8") of the 4x4 rectangle (matrix) in the upper diagram of FIG. 10) is acquired (see the lower diagram of FIG. 10). As can be seen from the lower diagram of FIG. 10, the data Di_kp.kp acquired by the 2D pose estimation unit 1 is 14 Even if the position of the part kp is shifted from the correct position, the precise pose data acquisition unit 33 executes the above process to obtain the part kp 14 The precise pose data Do_kp.kp is used as keypoint data to indicate the exact position of the 14 can be obtained.
[0135] In the above, the heatmap D_heatmap.kp 14 and the position of the pixel with the maximum pixel value in the coarse prediction confidence map D3_conf_L.kp 14 We have explained the case where the positions of pixels whose pixel values are non-zero in the heat map D_heatmap.kp are different from the positions of pixels whose pixel values are non-zero in the heat map D_heatmap.kp. 14 and the position of the pixel with the maximum pixel value in the coarse prediction confidence map D3_conf_L.kp 14 If the pixel value in the synthesis confidence map D4_conf.kp coincides with the pixel position where the pixel value is non-zero, 14 The position of the pixel showing the maximum value in the heatmap D_heatmap.kp 14 and the position of the pixel with the maximum pixel value in the coarse prediction confidence map D3_conf_L.kp 14 In other words, even in this case, the pixel value of the part kp 14 The precise pose data Do_kp.kp is used as keypoint data to indicate the exact position of the 14 can be obtained.
[0136] Also, for example, the left hand part (kp 16) (in the case of a target part for accurate prediction processing), as shown in FIG. 11, the data Di_kp.kp acquired by the 2D pose estimation unit 1 is 16 (corresponding to the pixel in the second row and second column of the 4 × 4 rectangle (matrix) in the upper part of Figure 11 (the pixel with a pixel value of "0.9")) and the composite confidence map D4_conf.kp 16 11) (the pixel in the 4th row and 4th column of the 4×4 rectangle (matrix) in the upper diagram of FIG. 11 (the pixel with a pixel value of "1.0")) does not substantially match (it is separated by more than the pixel pitch (the distance between adjacent pixels) of the reliability map). Therefore, the precise pose data acquisition unit 33 determines the position of the pixel in the precise pose data part kp 16 The key points are added to the composite reliability map D4_conf.kp obtained by the reliability synthesis unit 323. 16 Image identified by (feature extraction image Img1 (t1) ) on the position (composite confidence map D4_conf.kp 16 The position of the pixel showing the maximum value in 16 Precision pose data for Do_kp.kp 16 That is, the precise pose data acquisition unit 33 acquires Do_kp.kp 16 =max_P(D4_conf.kp 16 ) max_P(Dp): A function that obtains information (e.g., coordinates on an image) of the position (position on an image) where the pixel value (reliability) is the maximum value in the reliability map Dp. As, part kp 16 Precision pose data for Do_kp.kp 16 (corresponding to the pixel in the 4th row and 4th column (pixel with pixel value "1.0") of the 4×4 rectangle (matrix) in the upper diagram of FIG. 11) is acquired (see the lower diagram of FIG. 11). As can be seen from the lower diagram of FIG. 11, the data Di_kp.kp acquired by the 2D pose estimation unit 1 is 16 Even if the position of the part kp is shifted from the correct position, the precise pose data acquisition unit 33 executes the above process to obtain the part kp 16 The precise pose data Do_kp.kp is used as keypoint data to indicate the exact position of the 16can be obtained.
[0137] In the above, the heatmap D_heatmap.kp 16 The position of the pixel with the maximum pixel value in the precision prediction reliability map D3_conf_H.kp 16 We have explained the case where the positions of pixels whose pixel values are non-zero in the heat map D_heatmap.kp are different from the positions of pixels whose pixel values are non-zero in the heat map D_heatmap.kp. 16 The position of the pixel with the maximum pixel value in the precision prediction confidence map D3_conf_H.kp 16 If the pixel value in the synthesis confidence map D4_conf.kp coincides with the pixel position where the pixel value is non-zero, 16 The position of the pixel showing the maximum value in the heatmap D_heatmap.kp 16 The position of the pixel with the maximum pixel value in the precision prediction confidence map D3_conf_H.kp 16 In other words, even in this case, the pixel value of the part kp 16 The precise pose data Do_kp.kp is used as keypoint data to indicate the exact position of the 16 can be obtained.
[0138] In the above, the precise pose data acquisition unit 33 acquires the data Di_kp.kp acquired by the 2D pose estimation unit 1. x The image location and the composite confidence map D4_conf.kp x In the above description, the precise pose data acquisition unit 33 determines whether the position of the pixel showing the maximum value in the confidence map is approximately the same as the position of the pixel showing the maximum value in the confidence map (whether the position is separated by more than the pixel pitch (distance between adjacent pixels) of the confidence map), but the present invention is not limited to this. For example, the precise pose data acquisition unit 33 determines whether the position of the pixel showing the maximum value in the confidence map is approximately the same as the position of the pixel showing the maximum value in the confidence map (whether the position is separated by more than the pixel pitch (distance between adjacent pixels) of the confidence map), but the present invention is not limited to this. xIt may be possible to determine whether or not the position on the image of the pose data corresponds to the position on the image specified by the coarse prediction processing data D2_kp_L or the precise prediction processing data D2_kp_H. In this case, the precise data acquisition unit 3 may be configured to input the coarse prediction processing data D2_kp_L and the precise prediction processing data D2_kp_H acquired from the prediction data acquisition unit 31 to the precise pose data acquisition unit 33.
[0139] Then, the data Di_kp.kp acquired by the 2D pose estimation unit 1 x When the position on the image of the rough prediction processing data D2_kp_L or the precise prediction processing data D2_kp_H does not match, the precise pose data acquisition unit 33 calculates the synthesis reliability map D4_conf.kp x The position of the pixel showing the maximum value in the region kp x Precision pose data for Do_kp.kp x It is sufficient to obtain it as:
[0140] For the other body parts, the precise pose data acquisition unit 33 performs the same process as above to obtain precise pose data Do_kp.kp for each body part. x Get the.
[0141] Then, the precise pose data acquisition unit 33 outputs the precise pose data Do_kp.kp of each part. x Data that includes (x: natural number, 1≦x≦16) is output to the 2D-3D conversion unit 4 as data Do_kp.
[0142] Here, the data acquired by the precise data acquisition unit 3 will be described with reference to FIG.
[0143] FIG. 12 shows the data Do_kp.kp of each key point acquired by the precise pose data acquisition unit 33 through the above process. x FIG. 12 shows an example of the data Do_kp that summarizes the feature extraction image Img1. (t1) , 2D pose data acquired by the 2D pose estimation unit 1 (keypoint data Di_kp.kpx ) Schematic image Img1 (t1) (Di_kp), and the precise pose data Do_kp.kp acquired by the precise pose data acquisition unit 33 x Schematic image Img1 (t1) (Do_kp) and (1) Image Img1 in Fig. 12. (t1) In (Di_kp), the keypoints from data Di_kp are shown as gray circles. (t1) In (Do_kp), keypoints based on the precise pose data Di_kp are indicated by black circles.
[0144] As can be seen in Figure 12, image Img1 (t1) (Di_kp) is the part kp 10 (Right foot), kp 14 (left shoulder), kp 16 The position of the (left hand) is shifted from the correct position, but in image Img1 (t1) (Do_kp) (precise pose data) 10 (Right foot), kp 14 (left shoulder), kp 16 The position of the (left hand) is appropriately corrected by the synthetic confidence map, so that the part kp 10 (Right foot), kp 14 (left shoulder), kp 16 (Left hand) is obtained as a key point in the correct position.
[0145] As described above, the precise data acquisition unit 3 can acquire a more accurate reliability map (synthetic reliability map) for each part by performing addition processing (addition processing of pixel values at the same pixel) using the coarse prediction reliability map or precise prediction reliability map acquired by the prediction data acquisition unit 31 on the heat map acquired by the heat map acquisition unit 2. Then, the precise data acquisition unit 3 acquires precise pose data based on the synthetic reliability map, so that it is possible to acquire more accurate pose data.
[0146] The 2D-3D conversion unit 4 inputs data Do_kp (two-dimensional keypoint data) output from the precision data acquisition unit 3. The 2D-3D conversion unit 4 executes 2D-3D conversion processing on the data Do_kp (two-dimensional keypoint data) and acquires three-dimensional data (three-dimensional keypoint data) corresponding to the data Do_kp (two-dimensional keypoint data) as data Do_3D_kp. For example, the 2D-3D conversion unit 4 is provided with a machine-learned model (e.g., a trained model using a neural network) that outputs (estimates) three-dimensional keypoint data when two-dimensional keypoint data is input, and the 2D-3D conversion unit 4 inputs the data Do_kp (two-dimensional keypoint data) to the machine-learned model and performs processing using the machine-learned model. As a result, the 2D-3D conversion unit 4 acquires (estimates) three-dimensional keypoint data from the data Do_kp (two-dimensional keypoint data).
[0147] In addition, when information on the three-dimensional space (imaging space) in which the subject person Sub1 is imaged by the imaging device Cam1 and information on the imaging parameters of the imaging device Cam1 can be acquired, the 2D-3D conversion unit 4 may acquire (estimate) three-dimensional keypoint data from the data Do_kp (two-dimensional keypoint data) based on the information on the imaging space and information on the imaging parameters of the imaging device Cam1, Info_cam_prm.
[0148] Then, the 2D-3D conversion unit 4 outputs the data acquired as described above (two-dimensional keypoint data) to the post-processing unit 5 as data Do_3D_kp.
[0149] The post-processing unit 5 inputs data Do_3D_kp output from the 2D-3D conversion unit 4 and performs post-processing on the data Do_3D_kp. For example, the post-processing unit 5 performs coordinate conversion on three-dimensional data (three-dimensional coordinate data) of each key point included in the data Do_3D_kp to perform post-processing. For example, when performing CG synthesis processing using the data Do_3D_kp, it is preferable to convert the three-dimensional data (three-dimensional coordinate data) of each key point included in the data Do_3D_kp into three-dimensional data (three-dimensional coordinate data) in a three-dimensional space for performing CG synthesis. In such a case, the post-processing unit 5 performs coordinate conversion on the three-dimensional data (three-dimensional coordinate data) of each key point included in the data Do_3D_kp to obtain data that is easy to use in a subsequent application (for example, three-dimensional data having three-dimensional coordinate values in a three-dimensional space for CG synthesis).
[0150] Then, the post-processing unit 5 outputs the data acquired as described above to the outside as data Dout.
[0151] <Processing of time step t2> Next, the processing of time step t2 (time step t2 is the time step one time step after time step t1 (t2=t1+1)) will be described. Note that detailed description of the processing similar to that of time step t1 will be omitted.
[0152] At time step t2, the image capturing device Cam1 captures an image of a three-dimensional space (captured space) including a subject person Sub1, and generates frame image data Img0. (t2) Get the.
[0153] The 2D pose estimation unit 1 of the pose data generation device 100 estimates frame image data Img0 output from the imaging device Cam1. (t2) is input as data Din, and the frame image data Img0 (t2)The process of estimating (obtaining) two-dimensional pose data (2D pose estimation process) is performed using the above. The specific process is similar to the process at time step t1.
[0154] The feature extraction unit PP1 extracts data Din (frame image data Img10 (t2) ), feature extraction processing (e.g., processing for performing object detection while performing class classification) is performed on the image area (image Img1 (t2) ) (see Figure 3B).
[0155] The feature extraction unit PP1 extracts the feature from the image region (image Img1 (t2) ) (image data including the image area containing the object detection target, coordinates of the extracted image area, data on the size, etc.) and data including data on the class classification of the object detected target (object detection class (in this embodiment, "person")) are output as feature extraction data D0 to the 2D pose estimation unit 1 and the heat map acquisition unit 2.
[0156] The 2D pose estimation unit 1 then extracts the feature extraction image Img1 acquired by the feature extraction unit PP1. (t2) 2D pose estimation is performed on the object, and the 2D keypoint data (16 points kp 1 ~kp 16 The data including the two-dimensional coordinate data of the above is output to the precision data acquisition unit 3 as data Di_kp.
[0157] The heat map acquisition unit 2 of the pose data generation device 100 receives the feature extraction image data Img1 (t2) The frame image formed by (feature extraction image Img1 (t2) ), a process of acquiring a heat map (heat map acquisition process) is executed. The specific process is similar to the process at time step t1.
[0158] The heat map acquisition unit 2 acquires the key point kp 1 ~kp 16 Obtain a heatmap for each of the above (16 heatmaps in total).
[0159] Then, the heat map acquisition unit 2 outputs data including the heat map acquired by the heat map acquisition process to the precise data acquisition unit 3 as data D_heatmap.
[0160] The data decomposition unit 311 of the precise data acquisition unit 3 inputs the data Di_kp output from the 2D pose estimation unit 1, and executes a decomposition process (a process of decomposing the keypoint data into each part of the person) on the data Di_kp. The specific process is the same as the process at time step t1.
[0161] The data decomposition unit 311 (1) outputs data including data of narrowly movable keypoints obtained by the decomposition process as data D1_kp_L to the coarse prediction processing unit 312 and the first memory M1, and (2) outputs data including data of widely movable keypoints obtained by the decomposition process as data D1_kp_H to the precise prediction processing unit 313 and the second memory M2.
[0162] The first memory M1 receives the data D1_kp_L output from the data decomposition unit 311 and stores and holds the data D1_kp_L.
[0163] The second memory M2 receives the data D1_kp_H output from the data decomposition unit 311 and stores and holds the data D1_kp_H.
[0164] The coarse prediction processor 312 inputs data D1_kp_L output from the data decomposition unit 311. The coarse prediction processor 312 also reads data D1_kp_L, which was acquired at a time earlier than the current time and stored in the first memory M1, from the first memory M1 as data D1_kp_L_past. The coarse prediction processor 312 executes coarse prediction processing using the data D1_kp_L and data D1_kp_L_past.
[0165] The coarse prediction processor 312 performs prediction processing (coarse prediction processing) for narrowly movable keypoints using a Kalman filter, which requires a relatively small amount of calculation, as a time series filter, in the same manner as in the time step t1. That is, the coarse prediction processor 312 performs the following processing using the Kalman filter.
[0166] The rough prediction processor 312 acquires (estimates) the internal state of the observation target (data of narrow-movement keypoints of the photographed person Sub1) at the current time step (time step t) through the following process. (A) Prediction x t|t-1 =f(x t-1|t-1 ,u t ,0) P t|t-1 =F t P t-1|t-1 F T t +G t Q t G T t x t|t-1 : State estimate of time step t at time step t-1 (state estimate vector) x t-1|t-1 : State estimate after update process at time step t-1 (state estimate vector) F t : A linear model for the time transition of a system P t-1|t-1 : Error covariance matrix F T t :F t Transpose of matrix G t :Matrix of noise model for time transition Q t : Covariance matrix of the noise model for time transitions G T t :G t Transpose of matrix (B) Update e t =z t -h(xt|t-1 ,0) S t =H t P t|t-1 H T t +R t K t =P t|t-1 H T t +S -1 t x t|t =x t|t-1 +K t e t P t|t =(IK t H t )P t|t-1 e t : Observation residual at time step t S t : Covariance of the observed residuals at time step t K t : Optimal Kalman gain at time step t x t|t : Updated state estimate (estimate vector) at time step t P t|t : The updated error covariance at time step t H t : A linear model with respect to the observation model R t : Covariance of the observation noise at time step t The rough prediction unit 312, for example, estimates the narrowly movable keypoint Kp 8 For the current time (time step t2) (right hip part), the key point Kp 8 The internal state variables (internal state vectors) of the feature extraction image Img1 (t2) Key points on Kp 8 The rough prediction processing unit 312 performs processing using a Kalman filter by using the x and y coordinates of the t=t2 z T t2 =P T kp8 (t2) =[xkp8 (t2) ,y kp8 (t2) ] z T t2 :z t2 Transpose of matrix P T kp8 (t2) :P kp8 (t2) Transpose of matrix x kp8 (t2) :Feature extraction image Img1 (t2) Key points on Kp 8 x coordinate of y kp8 (t2) :Feature extraction image Img1 (t2) Key points on Kp 8 y coordinate of Then, the following update (update by Kalman filter) is performed. Note that x t-1|t-1 (The state estimate value (state estimate vector) after the update process at time step t-1) is included in the data D1_kp_L_past and is extracted from the data D1_kp_L_past. <Updated> x t|t =x t|t-1 +K t e t P kp8_post (t2) =P kp8_pred (t2) +K t e t e t =z t -h(x t|t-1 ,0)=z t1 -h(P kp8_pred (t2) ,0) =P kp8 (t2) -h(P kp8_pred (t2) ,0) P kp8 (t2) : Keypoint Kp at time step t2 8 Observation value (observation vector) Pkp8_pre (t2) : Keypoint Kp at time step t2 8 Prior estimate of (prior estimate vector)(x t|t-1 (corresponding to P kp8_post (t2) : Keypoint Kp at time step t2 8 The posterior estimate of (posterior estimate vector)(x t|t (corresponding to As a result, the rough prediction processor 312 estimates the narrowly movable keypoint Kp 8 (Right hip part) Posterior estimate (posterior estimate vector) P at the current time (time step t2) kp8_post (t2) Get the.
[0167] The rough prediction processing unit 312 performs the same process as above for the other narrowly movable keypoints, and calculates the posterior estimated value (posterior estimated vector) P kpi_post (t2) (i: natural number, index value indicating narrow movable keypoint (in this embodiment, i={1, 2, 3, 4, 5, 8, 9, 11, 12, 14})) is acquired.
[0168] Then, the coarse prediction processing unit 312 calculates the posterior estimated value (posterior estimated vector) P kpi_post (t2) The data including the above is output as data D2_kp_L to the rough prediction reliability acquisition unit 321 and the first memory M1.
[0169] The precise prediction processing unit 313 receives data D1_kp_H output from the data decomposition unit 311. The precise prediction processing unit 313 also reads data D1_kp_H, which was acquired at a time earlier than the current time and stored in the second memory M2, from the second memory M2 as data D1_kp_H_past. The precise prediction processing unit 313 executes precise prediction processing using the data D1_kp_H and data D1_kp_H_past. Specifically, the precise prediction processing unit 313 executes processing (prediction processing) using an extended Kalman filter as a time-series filter, similarly to the time step t1.
[0170] In the precision prediction processing unit 313, (1) data of the wide-movement keypoints acquired in the previous time step (time step t-1) (data indicating the internal state of the observation target one time step before (the above internal state x t-1 (2) predicted keypoint data (observation data (corresponding to the above observation vector z t By performing processing using a time series filter using the time-series filter, the internal state of the object to be observed (pose data of the subject person Sub1) at the current time step (time step t) is obtained (estimated).
[0171] The precise prediction processing unit 313 performs prediction processing (precise prediction processing) for wide-moving keypoints using, as a time-series filter, an extended Kalman filter capable of performing highly accurate prediction processing (estimation processing).
[0172] The precise prediction processing unit 313, for example, detects the keypoint kp 16 (Left hand part) At the current time (time step t2), key point kp 16 The internal state variables (internal state vectors) of the feature extraction image Img1 (t2) Key points on kp 16 The precision prediction processing unit 313 performs processing using an extended Kalman filter with the x and y coordinates of t=t2 z T t2 =P T kp16 (t2) =[x kp16 (t2) ,y kp16 (t2) ] z Tt2 :z t2 Transpose of matrix P T kp16 (t2) :P kp16 (t2) Transpose of matrix x kp16 (t2) :Feature extraction image Img1 (t2) Key points on Kp 16 x coordinate of y kp16 (t2) :Feature extraction image Img1 (t2) Key points on Kp 16 y coordinate of Then, the following update (update using the extended Kalman filter) is performed: <Updated> x t|t =x t|t-1 +K t e t P kp16_post (t2) =P kp8_pred (t2) +K t e t e t =z t -h(x t|t-1 ,0)=z t1 -h(P kp16_pred (t2) ,0) =P kp16 (t2) -h(P kp16_pred (t2) ,0) P kp16 (t2) : Keypoint Kp at time step t2 16 Observation value (observation vector) P kp16_pre (t2) : Keypoint Kp at time step t2 16 Prior estimate of (prior estimate vector)(x t|t-1 (corresponding to P kp16_post (t2) : Keypoint Kp at time step t2 16 The posterior estimate of (posterior estimate vector)(xt|t (corresponding to In addition, the precise prediction processing unit 313 calculates the Kalman gain K t (1) A linear model of the system's time transitions, F, which is used to calculate t and (2) a linear model H t The precise prediction processing unit 313 obtains the above by performing processing equivalent to the above (Formula 1) and (Formula 2). K t =P t|t-1 H T t +S -1 t P t|t-1 =F t P t-1|t-1 F T t +G t Q t G T t S t =H t P t|t-1 H T t +R t By performing the process equivalent to the Kalman gain K t Calculate (obtain).
[0173] Through the above process, the precision prediction processor 313 estimates the keypoint Kp 16 (Left hand part) posterior estimate (posterior estimate vector) P at the current time (time step t2) kp16_post (t2) Get the.
[0174] The precise prediction processor 313 performs the same process as above for the other widely movable keypoints, and calculates the posterior estimated value (posterior estimated vector) P kpi_post (t2) (i: natural number, index value indicating wide-movement key points (in this embodiment, i={6, 7, 10, 13, 15, 16} (corresponding to the left and right hands, elbows, and feet))) is acquired.
[0175] Then, the precision prediction processing unit 313 calculates the posterior estimated value (posterior estimated vector) P kpi_post (t2) The data including the above is output as data D2_kp_H to the precise prediction reliability acquisition unit 322 and the second memory M2.
[0176] The coarse prediction reliability acquisition unit 321 executes a coarse prediction reliability acquisition process on the coarse prediction processing data D2_kp_L output from the coarse prediction processing unit 312, similar to the processing of time step t1, to acquire a coarse prediction reliability (coarse prediction reliability map).
[0177] Then, the rough prediction reliability acquisition unit 321 creates the rough prediction reliability map D3_conf_L.kp x The data including (x: natural number, 1≦x≦16) is output to the reliability synthesis unit 323 as data D3_conf_L.
[0178] The precise prediction reliability acquisition unit 322 executes precise prediction reliability acquisition processing on the precise prediction processing data D2_kp_H output from the precise prediction processing unit 313, similar to the processing at time step t1, to acquire precise prediction reliability (precise prediction reliability map).
[0179] Then, the precise prediction reliability acquisition unit 322 creates the precise prediction reliability map D3_conf_H.kp for each acquired part. x The data including (x: natural number, 1≦x≦16) is output to the reliability synthesis unit 323 as data D3_conf_H.
[0180] The reliability synthesis unit 323 inputs the data D3_conf_L output from the coarse prediction reliability acquisition unit 321, the data D3_conf_H output from the precise prediction reliability acquisition unit 322, and the data D_heatmap output from the heat map acquisition unit 2. The reliability synthesis unit 323 executes a reliability synthesis process on the data D3_conf_L, the data D3_conf_H, and the data D_heatmap in the same manner as the process of the time step t1.
[0181] Then, the reliability synthesis unit 323 synthesizes the synthesized reliability map D4_conf.kp of each acquired part. x Data including (x: natural number, 1≦x≦16) is output to the precise pose data acquisition unit 33 as data D4_conf.
[0182] The precise pose data acquisition unit 33 receives the data Di_kp output from the 2D pose estimation unit 1 and the data D4_conf output from the reliability synthesis unit 323. The precise pose data acquisition unit 33 executes a precise pose data acquisition process using the data Di_kp and data D4_conf (reliability data D4_conf) in the same manner as the process of time step t1.
[0183] Then, the precise pose data acquisition unit 33 outputs the precise pose data Do_kp.kp of each part. x Data that includes (x: natural number, 1≦x≦16) is output to the 2D-3D conversion unit 4 as data Do_kp.
[0184] FIG. 13 shows the data Do_kp.kp of each key point acquired by the precise pose data acquisition unit 33 through the above process at time step t2. x FIG. 13 shows an example of the data Do_kp that summarizes the feature extraction image Img1. (t2) , 2D pose data acquired by the 2D pose estimation unit 1 (keypoint data Di_kp.kp x ) Schematic image Img1 (t2)(Di_kp), and the precise pose data Do_kp.kp acquired by the precise pose data acquisition unit 33 x Schematic image Img1 (t2) (Do_kp) and (1) Image Img1 in Fig. 13. (t2) In (Di_kp), the keypoints from data Di_kp are shown as gray circles. (t2) In (Do_kp), keypoints based on the precise pose data Di_kp are indicated by black circles.
[0185] As can be seen in Figure 13, image Img1 (t2) (Di_kp) is the part kp 10 (Right foot), kp 15 (Left elbow), kp 16 The position of the (left hand) is shifted from the correct position, but in image Img1 (t2) (Do_kp) (precise pose data) 10 (Right foot), kp 15 (Left elbow), kp 16 The position of the (left hand) is appropriately corrected by the synthetic confidence map, so that the part kp 10 (Right foot), kp 15 (Left elbow), kp 16 (Left hand) is obtained as a key point in the correct position.
[0186] As described above, the precise data acquisition unit 3 can acquire a more accurate reliability map (synthetic reliability map) for each part by performing addition processing (addition processing of pixel values at the same pixel) using the coarse prediction reliability map or precise prediction reliability map acquired by the prediction data acquisition unit 31 on the heat map acquired by the heat map acquisition unit 2. Then, the precise data acquisition unit 3 acquires precise pose data based on the synthetic reliability map, so that it is possible to acquire more accurate pose data.
[0187] The 2D-3D conversion unit 4 inputs data Do_kp (two-dimensional keypoint data) output from the precise data acquisition unit 3. The 2D-3D conversion unit 4 executes 2D-3D conversion processing on the data Do_kp (two-dimensional keypoint data) in the same manner as at time step t1, and acquires three-dimensional data (three-dimensional keypoint data) corresponding to the data Do_kp (two-dimensional keypoint data) as data Do_3D_kp.
[0188] Then, the 2D-3D conversion unit 4 outputs the data acquired as described above (two-dimensional keypoint data) to the post-processing unit 5 as data Do_3D_kp.
[0189] The post-processing unit 5 receives the data Do_3D_kp output from the 2D-3D conversion unit 4, and executes post-processing on the data Do_3D_kp in the same manner as in time step t1.
[0190] Then, the post-processing unit 5 outputs the data acquired by the post-processing to the outside as data Dout.
[0191] <Processing of time step t3> Next, the processing of time step t3 (time step t3 is the time step one time step after time step t2 (t3=t2+1=t1+2)) will be described. Note that detailed description of the processing similar to that of time steps t1 and t2 will be omitted.
[0192] At time step t3, the image capturing device Cam1 captures an image of a three-dimensional space (captured space) including the subject person Sub1, and generates frame image data Img0 (t3) Get the.
[0193] The 2D pose estimation unit 1 of the pose data generation device 100 estimates frame image data Img0 output from the imaging device Cam1. (t3) is input as data Din, and the frame image data Img0 (t3)The process of estimating (obtaining) two-dimensional pose data (2D pose estimation process) is performed using the above. The specific process is similar to the process at time step t1.
[0194] The feature extraction unit PP1 extracts data Din (frame image data Img10 (t3) ), feature extraction processing (e.g., processing for performing object detection while performing class classification) is performed on the image area (image Img1 (t3) ) (see Figure 3B).
[0195] The feature extraction unit PP1 extracts the feature from the image region (image Img1 (t3) ) (image data including the image area containing the object detection target, coordinates of the extracted image area, data on the size, etc.) and data including data on the class classification of the object detected target (object detection class (in this embodiment, "person")) are output as feature extraction data D0 to the 2D pose estimation unit 1 and the heat map acquisition unit 2.
[0196] The 2D pose estimation unit 1 then extracts the feature extraction image Img1 acquired by the feature extraction unit PP1. (t3) 2D pose estimation is performed on the object, and the 2D keypoint data (16 points kp 1 ~kp 16 The data including the two-dimensional coordinate data of the above is output to the precision data acquisition unit 3 as data Di_kp.
[0197] The heat map acquisition unit 2 of the pose data generation device 100 receives the feature extraction image data Img1 (t2) The frame image formed by (feature extraction image Img1 (t3) ), a process of acquiring a heat map (heat map acquisition process) is executed. The specific process is similar to the process at time step t1.
[0198] The heat map acquisition unit 2 acquires the key point kp 1 ~kp 16 Obtain a heatmap for each of the above (16 heatmaps in total).
[0199] Then, the heat map acquisition unit 2 outputs data including the heat map acquired by the heat map acquisition process to the precise data acquisition unit 3 as data D_heatmap.
[0200] The data decomposition unit 311 of the precise data acquisition unit 3 inputs the data Di_kp output from the 2D pose estimation unit 1, and executes a decomposition process (a process of decomposing the keypoint data into each part of the person) on the data Di_kp. The specific process is the same as the process at time step t1.
[0201] The data decomposition unit 311 (1) outputs data including data of narrowly movable keypoints obtained by the decomposition process as data D1_kp_L to the coarse prediction processing unit 312 and the first memory M1, and (2) outputs data including data of widely movable keypoints obtained by the decomposition process as data D1_kp_H to the precise prediction processing unit 313 and the second memory M2.
[0202] The first memory M1 receives the data D1_kp_L output from the data decomposition unit 311 and stores and holds the data D1_kp_L.
[0203] The second memory M2 receives the data D1_kp_H output from the data decomposition unit 311 and stores and holds the data D1_kp_H.
[0204] The coarse prediction processor 312 inputs data D1_kp_L output from the data decomposition unit 311. The coarse prediction processor 312 also reads data D1_kp_L, which was acquired at a time earlier than the current time and stored in the first memory M1, from the first memory M1 as data D1_kp_L_past. The coarse prediction processor 312 executes coarse prediction processing using the data D1_kp_L and data D1_kp_L_past.
[0205] The coarse prediction processor 312 performs prediction processing (coarse prediction processing) for narrowly movable keypoints using a Kalman filter, which requires a relatively small amount of calculation, as a time series filter, in the same manner as in the time step t1. That is, the coarse prediction processor 312 performs the following processing using the Kalman filter.
[0206] The rough prediction processor 312 acquires (estimates) the internal state of the observation target (data of narrow-movement keypoints of the photographed person Sub1) at the current time step (time step t) through the following process. (A) Prediction x t|t-1 =f(x t-1|t-1 ,u t ,0) P t|t-1 =F t P t-1|t-1 F T t +G t Q t G T t x t|t-1 : State estimate of time step t at time step t-1 (state estimate vector) x t-1|t-1 : State estimate after update process at time step t-1 (state estimate vector) F t : A linear model for the time transition of a system P t-1|t-1 : Error covariance matrix F T t :F t Transpose of matrix G t :Matrix of noise model for time transition Q t : Covariance matrix of the noise model for time transitions G T t :G t Transpose of matrix (B) Update e t =z t -h(xt|t-1 ,0) S t =H t P t|t-1 H T t +R t K t =P t|t-1 H T t +S -1 t x t|t =x t|t-1 +K t e t P t|t =(IK t H t )P t|t-1 e t : Observation residual at time step t S t : Covariance of the observed residuals at time step t K t : Optimal Kalman gain at time step t x t|t : Updated state estimate (estimate vector) at time step t P t|t : The updated error covariance at time step t H t : A linear model with respect to the observation model R t : Covariance of the observation noise at time step t The rough prediction unit 312, for example, estimates the narrowly movable keypoint Kp 8 For the current time (time step t3) (right hip area), the key point Kp 8 The internal state variables (internal state vectors) of the feature extraction image Img1 (t3) Key points on Kp 8 The rough prediction processing unit 312 performs processing using a Kalman filter by using the x and y coordinates of the t=t3 z T t3 =P T kp8 (t3) =[xkp8 (t3) ,y kp8 (t3) ] z T t3 :z t3 Transpose of matrix P T kp8 (t3) :P kp8 (t3) Transpose of matrix x kp8 (t3) :Feature extraction image Img1 (t3) Key points on Kp 8 x coordinate of y kp8 (t3) :Feature extraction image Img1 (t3) Key points on Kp 8 y coordinate of Then, the following update (update by Kalman filter) is performed. Note that x t-1|t-1 (The state estimate value (state estimate vector) after the update process at time step t-1) is included in the data D1_kp_L_past and is extracted from the data D1_kp_L_past. <Updated> x t|t =x t|t-1 +K t e t P kp8_post (t3) =P kp8_pred (t3) +K t e t e t =z t -h(x t|t-1 ,0)=z t1 -h(P kp8_pred (t3) ,0) =P kp8 (t3) -h(P kp8_pred (t3) ,0) P kp8 (t3) : Keypoint Kp at time step t3 8 Observation value (observation vector) Pkp8_pre (t3) : Keypoint Kp at time step t3 8 Prior estimate of (prior estimate vector)(x t|t-1 (corresponding to P kp8_post (t3) : Keypoint Kp at time step t3 8 The posterior estimate of (posterior estimate vector)(x t|t (corresponding to As a result, the rough prediction processor 312 estimates the narrowly movable keypoint Kp 8 (Right hip part) Posterior estimate (posterior estimate vector) P at the current time (time step t3) kp8_post (t3) Get the.
[0207] The rough prediction processing unit 312 performs the same process as above for the other narrowly movable keypoints, and calculates the posterior estimated value (posterior estimated vector) P kpi_post (t3) (i: natural number, index value indicating narrow movable keypoint (in this embodiment, i={1, 2, 3, 4, 5, 8, 9, 11, 12, 14})) is acquired.
[0208] Then, the coarse prediction processing unit 312 calculates the posterior estimated value (posterior estimated vector) P kpi_post (t3) The data including the above is output as data D2_kp_L to the rough prediction reliability acquisition unit 321 and the first memory M1.
[0209] The precise prediction processing unit 313 receives data D1_kp_H output from the data decomposition unit 311. The precise prediction processing unit 313 also reads data D1_kp_H, which was acquired at a time earlier than the current time and stored in the second memory M2, from the second memory M2 as data D1_kp_H_past. The precise prediction processing unit 313 executes precise prediction processing using the data D1_kp_H and data D1_kp_H_past. Specifically, the precise prediction processing unit 313 executes processing (prediction processing) using an extended Kalman filter as a time-series filter, similarly to the time step t1.
[0210] In the precision prediction processing unit 313, (1) data of the wide-movement keypoints acquired in the previous time step (time step t-1) (data indicating the internal state of the observation target one time step before (the above internal state x t-1 (2) predicted keypoint data (observation data (corresponding to the above observation vector z t By performing processing using a time series filter using the time-series filter, the internal state of the object to be observed (pose data of the subject person Sub1) at the current time step (time step t) is obtained (estimated).
[0211] The precise prediction processing unit 313 performs prediction processing (precise prediction processing) for wide-moving keypoints using, as a time-series filter, an extended Kalman filter capable of performing highly accurate prediction processing (estimation processing).
[0212] The precise prediction processing unit 313, for example, detects the keypoint Kp 16 For the current time (time step t3) (left hand part), the key point Kp 16 The internal state variables (internal state vectors) of the feature extraction image Img1 (t3) Key points on Kp 16 The precision prediction processing unit 313 performs processing using an extended Kalman filter with the x and y coordinates of t=t3 z T t3 =P T kp16 (t3) =[x kp16 (t3) ,y kp16 (t3) ] z Tt3 :z t3 Transpose of matrix P T kp16 (t3) :P kp16 (t3) Transpose of matrix x kp16 (t3) :Feature extraction image Img1 (t3) Key points on Kp 16 x coordinate of y kp16 (t3) :Feature extraction image Img1 (t3) Key points on Kp 16 y coordinate of Then, the following update (update using the extended Kalman filter) is performed: <Updated> x t|t =x t|t-1 +K t e t P kp16_post (t3) =P kp8_pred (t3) +K t e t e t =z t -h(x t|t-1 ,0)=z t1 -h(P kp16_pred (t3) ,0) =P kp16 (t3) -h(P kp16_pred (t3) ,0) P kp16 (t3) : Keypoint Kp at time step t3 16 Observation value (observation vector) P kp16_pre (t3) : Keypoint Kp at time step t3 16 Prior estimate of (prior estimate vector)(x t|t-1 (corresponding to P kp16_post (t3) : Keypoint Kp at time step t3 16 The posterior estimate of (posterior estimate vector)(xt|t (corresponding to In addition, the precise prediction processing unit 313 calculates the Kalman gain K t (1) A linear model of the system's time transitions, F, which is used to calculate t and (2) a linear model H t The precise prediction processing unit 313 obtains the above by performing processing equivalent to the above (Formula 1) and (Formula 2). K t =P t|t-1 H T t +S -1 t P t|t-1 =F t P t-1|t-1 F T t +G t Q t G T t S t =H t P t|t-1 H T t +R t By performing the process equivalent to the Kalman gain K t Calculate (obtain).
[0213] Through the above process, the precision prediction processor 313 estimates the keypoint Kp 16 (Left hand part) posterior estimate (posterior estimate vector) P at the current time (time step t3) kp16_post (t3) Get the.
[0214] The precise prediction processor 313 performs the same process as above for the other widely movable keypoints, and calculates the posterior estimated value (posterior estimated vector) P kpi_post (t3) (i: natural number, index value indicating wide-movement key points (in this embodiment, i={6, 7, 10, 13, 15, 16} (corresponding to the left and right hands, elbows, and feet))) is acquired.
[0215] Then, the precision prediction processing unit 313 calculates the posterior estimated value (posterior estimated vector) P kpi_post (t3) The data including the above is output as data D2_kp_H to the precise prediction reliability acquisition unit 322 and the second memory M2.
[0216] The coarse prediction reliability acquisition unit 321 executes a coarse prediction reliability acquisition process on the coarse prediction processing data D2_kp_L output from the coarse prediction processing unit 312, similar to the processing of time step t1, to acquire a coarse prediction reliability (coarse prediction reliability map).
[0217] Then, the rough prediction reliability acquisition unit 321 creates the rough prediction reliability map D3_conf_L.kp x The data including (x: natural number, 1≦x≦16) is output to the reliability synthesis unit 323 as data D3_conf_L.
[0218] The precise prediction reliability acquisition unit 322 executes precise prediction reliability acquisition processing on the precise prediction processing data D2_kp_H output from the precise prediction processing unit 313, similar to the processing at time step t1, to acquire precise prediction reliability (precise prediction reliability map).
[0219] At time step t3, the left arm is in an occluded state, but the precise data acquisition unit 3 can predict (estimate) the position of the occluded part by precise prediction processing (and / or coarse prediction processing), and can therefore obtain the reliability of the occluded part (coarse prediction reliability map and / or precise prediction reliability map).
[0220] For example, as shown in FIG. 14, the left hand part (kp 16 ) (occlusion state part) (position of the keypoint corresponding to the left hand part (position estimated (predicted) by the precise prediction process)) is shown in the upper right figure of Figure 14 as D2_kp_H.kp16 When the position is the position shown by kp 16 ) Precision prediction reliability map (Precision prediction reliability map D3_conf_L.kp 16 ) is obtained (see the lower right diagram in FIG. 14). Note that in FIG. 14, for ease of explanation, the pixels of the precise prediction reliability map are displayed as 4×4 rectangles (16 rectangles (pixels)), and the display of the pixels of the precise prediction reliability map in other image regions is omitted.
[0221] For the other parts, the coarse prediction reliability acquisition unit 321 performs the same process as above to obtain the precise prediction reliability map D3_conf_H.kp of each part. x Get the.
[0222] Then, the precise prediction reliability acquisition unit 322 creates the precise prediction reliability map D3_conf_H.kp for each acquired part. x The data including (x: natural number, 1≦x≦16) is output to the reliability synthesis unit 323 as data D3_conf_H.
[0223] The reliability synthesis unit 323 inputs the data D3_conf_L output from the coarse prediction reliability acquisition unit 321, the data D3_conf_H output from the precise prediction reliability acquisition unit 322, and the data D_heatmap output from the heat map acquisition unit 2. The reliability synthesis unit 323 executes a reliability synthesis process on the data D3_conf_L, the data D3_conf_H, and the data D_heatmap in the same manner as the process of the time step t1.
[0224] For example, the left hand part (kp 16 ), for pixels at the same position, as shown in FIG. (1) Heatmap D_heatmap.kp 16 (The upper part of Figure 15) (2B) Precision prediction reliability map D3_conf_H.kp 16 (The middle figure in Figure 15) By performing the addition process (addition process for each pixel value) of the left hand part (kp 16 ) composite confidence map D4_conf.kp 16 (The lower part of Figure 15) is obtained.
[0225] In addition, the left hand part (kp 16 ) Heatmap D_heatmap.kp 16 As shown in the upper diagram of FIG. 15, the values of each pixel are all "0" (the area corresponding to the left hand has not been detected, and the reliability is determined to be "0").
[0226] Therefore, the composite confidence map D4_conf.kp 16 (The lower part of Figure 15) shows the precision prediction reliability map D3_conf_H.kp 16 (middle diagram of FIG. 15), but the precise prediction reliability map D3_conf_H.kp 16 Since the position of the left hand part in the occlusion state is predicted (estimated) appropriately by using the above method, the appropriate synthesis confidence map D4_conf.kp is created for the left hand part in the occlusion state. 16 (The figure in the lower part of Figure 15) can be obtained.
[0227] For the other parts, the reliability synthesis unit 323 performs the same process as above to generate a synthesis reliability map D4_conf.kp for each part. x Get the.
[0228] Then, the reliability synthesis unit 323 synthesizes the synthesized reliability map D4_conf.kp of each acquired part. x Data including (x: natural number, 1≦x≦16) is output to the precise pose data acquisition unit 33 as data D4_conf.
[0229] The precise pose data acquisition unit 33 receives the data Di_kp output from the 2D pose estimation unit 1 and the data D4_conf output from the reliability synthesis unit 323. The precise pose data acquisition unit 33 executes a precise pose data acquisition process using the data Di_kp and data D4_conf (reliability data D4_conf) in the same manner as the process of time step t1.
[0230] For example, the left hand part in the occlusion state (kp 16 ), the 2D pose estimation unit 1 estimates the left hand part (kp 16 ) cannot be found, and the data Di_kp.kp 16 If you cannot obtain the data, or if you can obtain it, the data Di_kp.kp 16 The position of the left hand part on the image specified by is shifted from the correct position. 16 (may not be available) and the composite confidence map D4_conf.kp 16 16) (the pixel in the third row and third column of the 4×4 rectangle (matrix) in the upper diagram of FIG. 16 (the pixel with a pixel value of "0.2")) does not substantially match (it is separated by more than the pixel pitch (the distance between adjacent pixels) of the reliability map). Therefore, the precise pose data acquisition unit 33 determines the position of the pixel in the precise pose data part kp 16 The key points are added to the composite reliability map D4_conf.kp obtained by the reliability synthesis unit 323. 16 Image identified by (feature extraction image Img1 (t3) ) on the position (composite confidence map D4_conf.kp 16 The position of the pixel showing the maximum value in 16 Precision pose data for Do_kp.kp 16 That is, the precise pose data acquisition unit 33 acquires Do_kp.kp 16 =max_P(D4_conf.kp 16 ) max_P(Dp): A function that obtains information (e.g., coordinates on an image) of the position (position on an image) where the pixel value (reliability) is the maximum value in the reliability map Dp. As, part kp 16 Precision pose data for Do_kp.kp 16 (corresponding to the pixel in the third row and third column (pixel value "0.2") of the 4x4 rectangle (matrix) in the upper diagram of FIG. 16) is acquired (see the lower diagram of FIG. 16). As can be seen from the lower diagram of FIG. 16, the data Di_kp.kp acquired by the 2D pose estimation unit 1 is 16 If the data Di_kp.kp is misaligned from the correct position (or if the 2D pose estimation unit 1 detects that the data Di_kp.kp 16 Even if the precise pose data acquisition unit 33 cannot acquire the precise pose data, the precise pose data acquisition unit 33 executes the above process to acquire the part kp 16 The precise pose data Do_kp.kp is used as keypoint data to indicate the exact position of the 16 can be obtained.
[0231] In the above, the precise pose data acquisition unit 33 acquires the data Di_kp.kp acquired by the 2D pose estimation unit 1. x The image location and the composite confidence map D4_conf.kp x In the above description, the precise pose data acquisition unit 33 determines whether the position of the pixel showing the maximum value in the confidence map is approximately the same as the position of the pixel showing the maximum value in the confidence map (whether the position is separated by more than the pixel pitch (distance between adjacent pixels) of the confidence map), but the present invention is not limited to this. For example, the precise pose data acquisition unit 33 determines whether the position of the pixel showing the maximum value in the confidence map is approximately the same as the position of the pixel showing the maximum value in the confidence map (whether the position is separated by more than the pixel pitch (distance between adjacent pixels) of the confidence map), but the present invention is not limited to this. x It may be possible to determine whether or not the position on the image of the pose data corresponds to the position on the image specified by the coarse prediction processing data D2_kp_L or the precise prediction processing data D2_kp_H. In this case, the precise data acquisition unit 3 may be configured to input the coarse prediction processing data D2_kp_L and the precise prediction processing data D2_kp_H acquired from the prediction data acquisition unit 31 to the precise pose data acquisition unit 33.
[0232] Then, the data Di_kp.kp acquired by the 2D pose estimation unit 1x When the position on the image of the rough prediction processing data D2_kp_L or the precise prediction processing data D2_kp_H does not match, the precise pose data acquisition unit 33 calculates the synthesis reliability map D4_conf.kp x The position of the pixel showing the maximum value in the region kp x Precision pose data for Do_kp.kp x It is sufficient to obtain it as:
[0233] For the other body parts, the precise pose data acquisition unit 33 performs the same process as above to obtain precise pose data Do_kp.kp for each body part. x Get the.
[0234] Then, the precise pose data acquisition unit 33 outputs the precise pose data Do_kp.kp of each part. x Data that includes (x: natural number, 1≦x≦16) is output to the 2D-3D conversion unit 4 as data Do_kp.
[0235] FIG. 17 shows the data Do_kp.kp of each key point acquired by the precise pose data acquisition unit 33 through the above process at time step t3. x FIG. 17 shows an example of the data Do_kp that summarizes the feature extraction image Img1. (t3) , 2D pose data acquired by the 2D pose estimation unit 1 (keypoint data Di_kp.kp x ) Schematic image Img1 (t3) (Di_kp), and the precise pose data Do_kp.kp acquired by the precise pose data acquisition unit 33 x Schematic image Img1 (t3) (Do_kp) and (1) Image Img1 in Fig. 17. (t3) In (Di_kp), the keypoints from data Di_kp are shown as gray circles. (t3) In (Do_kp), keypoints based on the precise pose data Di_kp are indicated by black circles.
[0236] As can be seen in Figure 17, image Img1 (t3) (Di_kp) is the part kp 10 (Right foot) is out of position and in occlusion state, part kp 15 (Left elbow), kp 16 The position of (left hand) is not detected, but image Img1 (t3) (Do_kp) (precise pose data) 10 (Right foot), kp 15 (Left elbow), kp 16 The position of the (left hand) is appropriately corrected by the synthetic confidence map, so that the part kp 10 (Right foot), kp 15 (Left elbow), kp 16 (Left hand) is obtained as a key point in the correct position.
[0237] As described above, the precise data acquisition unit 3 performs addition processing (addition processing of pixel values at the same pixel) using the coarse prediction reliability map or precise prediction reliability map acquired by the prediction data acquisition unit 31 on the heat map acquired by the heat map acquisition unit 2, thereby making it possible to acquire a highly accurate reliability map (synthetic reliability map) for each part even when there is a part in an occlusion state. Then, the precise data acquisition unit 3 acquires precise pose data based on the synthetic reliability map, so that it is possible to acquire more accurate pose data.
[0238] The 2D-3D conversion unit 4 inputs data Do_kp (two-dimensional keypoint data) output from the precise data acquisition unit 3. The 2D-3D conversion unit 4 executes 2D-3D conversion processing on the data Do_kp (two-dimensional keypoint data) in the same manner as at time step t1, and acquires three-dimensional data (three-dimensional keypoint data) corresponding to the data Do_kp (two-dimensional keypoint data) as data Do_3D_kp.
[0239] Then, the 2D-3D conversion unit 4 outputs the data acquired as described above (two-dimensional keypoint data) to the post-processing unit 5 as data Do_3D_kp.
[0240] The post-processing unit 5 receives the data Do_3D_kp output from the 2D-3D conversion unit 4, and executes post-processing on the data Do_3D_kp in the same manner as in time step t1.
[0241] Then, the post-processing unit 5 outputs the data acquired by the post-processing to the outside as data Dout.
[0242] <Summary> As described above, in the pose data generation device 100, by performing addition processing (addition processing of pixel values at the same pixel) using the coarse prediction reliability map or the precise prediction reliability map acquired by the reliability acquisition unit 32 on the heat map acquired by the heat map acquisition unit 2, it is possible to acquire a more accurate reliability map (synthetic reliability map) for each part. Then, the precise data acquisition unit 3 of the pose data generation device 100 acquires precise pose data based on the synthetic reliability map, so that it is possible to acquire highly accurate pose data.
[0243] In the pose data generating device 100, the 2D-3D conversion unit 4 performs 2D-3D conversion on the highly accurate two-dimensional key point data (two-dimensional pose data) acquired by the precise data acquiring unit 3, thereby acquiring highly accurate three-dimensional pose data (three-dimensional key point data). That is, the pose data generating device 100 acquires highly accurate two-dimensional pose data, and executes a 2D-3D conversion process (a process that acquires an output result (three-dimensional pose data) by inputting two-dimensional pose data (one piece of two-dimensional pose data) of one time step without using data that is continuous in time series) on the acquired two-dimensional pose data, thereby acquiring three-dimensional pose data (three-dimensional key point data). As described above, the pose data generating device 100 performs 2D-3D conversion using highly accurate two-dimensional pose data, and the three-dimensional pose data acquired by the 2D-3D conversion is also highly accurate data. In other words, with the pose data generating device 100, there is no need to perform computationally intensive and complex processing such as performing time-series convolution processing on time-series data (a plurality of time-series frame images (feature extraction images)) to obtain 3D pose data, as is the case with conventional technologies.
[0244] Therefore, as described above, the pose data generating device 100 does not require the complicated processing required by the conventional technology, and can therefore be implemented at low cost while obtaining highly accurate pose data.
[0245] Furthermore, when performing prediction processing on data Di_kp, the pose data generating device 100 performs prediction processing by changing the time series filter to be applied depending on the features of the body part. That is, the pose data generating device 100 performs prediction processing using a high-precision time series filter on data of key points of body parts that have a wide range of motion and can move vigorously (data of wide-movement key points), and performs prediction processing (coarse prediction processing) using a time series filter that is not as accurate as the precise prediction processing but requires less calculations on data of key points of body parts that have a narrow range of motion and do not move vigorously (data of narrow-movement key points).
[0246] In other words, in the pose data generating device 100, for wide-movement keypoints that are difficult to predict, prediction processing is performed using a highly accurate time-series filter, and for narrow-movement keypoints that are not so difficult to predict, prediction processing is performed using a time-series filter that requires less computation. This makes it possible to obtain highly accurate prediction data while suppressing the total amount of computation required to obtain the prediction data.
[0247] In the pose data generation device 100, for example, for an occluded part, key point data can be obtained based on highly accurate prediction data (prediction data of two-dimensional key points) obtained by the above process, so that even if a feature extraction image in which an occlusion state occurs is input, appropriate two-dimensional pose data (two-dimensional key point data) can be obtained. In the pose data generation device 100, the two-dimensional pose data (two-dimensional key point data) obtained in this way is converted into 2D-3D data, so that highly accurate three-dimensional pose data can be obtained even if a feature extraction image in which an occlusion state occurs is input.
[0248] First Modification Next, a first modified example of the first embodiment will be described. Note that the same parts as those in the above embodiment are given the same reference numerals, and detailed description thereof will be omitted.
[0249] FIG. 18 is a schematic configuration diagram of a pose data generating device 100A according to a first modified example of the first embodiment.
[0250] FIG. 19 is a schematic configuration diagram of a precise data acquisition unit 3A of a pose data generation device 100A according to a first modified example of the first embodiment.
[0251] As shown in FIG. 18, a pose data generating device 100A of this modification has a configuration in which the precision data acquiring unit 3 in the pose data generating device 100 of the first embodiment is replaced with a precision data acquiring unit 3A.
[0252] As shown in FIG. 19, a precise data acquiring section 3A of this modified example has a configuration in which a second data decomposing section 34 is added to the precise data acquiring section 3 of the first embodiment.
[0253] In the pose data generating device 100 of the first embodiment, (1) in the coarse prediction process, the data Do_kp_L acquired by the coarse prediction processing unit 312 is stored in the first memory M1 and used as past data in the next time step (data one time step before) to be processed by a time series filter, and (2) in the fine prediction process, the data Do_kp_H acquired by the fine prediction processing unit 313 is stored in the second memory M2 and used as past data in the next time step (data one time step before) to be processed by a time series filter.
[0254] In contrast, in the pose data generating device 100A of this modified example, the precise pose data Do_kp acquired by the precise data acquisition unit 3 is decomposed by the second data decomposition unit 34, and the decomposed data is stored in the first memory M1 and the second memory M2. In the rough prediction process and the precise prediction process, the decomposition data is used as past data in the next time step (data one time step before) and processing is performed using a time series filter.
[0255] That is, the second data decomposition unit 34 is a functional unit that executes the same process as the data decomposition unit 311, and executes a decomposition process (a process of decomposing key point data into body parts of a person) (a process of decomposing body parts in the same manner as the data decomposition unit 311) on the data Do_kp output from the precise pose data acquisition unit 33, and acquires data Do_kp_L to be subjected to a rough prediction process and data Do_kp_H to be subjected to a precise prediction process. Then, the second data decomposition unit 34 outputs the acquired data Do_kp_L to the first memory M1, and outputs the acquired data Do_kp_H to the second memory M2.
[0256] Then, the coarse prediction processing unit 312 reads the data stored in the first memory M1 (data obtained by decomposition processing of the precise pose data Do_kp) from the first memory M1 as D1_kp_L_past, and performs time series filter processing using the data.
[0257] In addition, the precise prediction processing unit 313 reads out the data stored in the second memory M2 (data obtained by decomposing the precise pose data Do_kp) from the second memory M2 as D1_kp_H_past, and uses the data to perform time series filter processing.
[0258] In this way, in the pose data generating device 100A of this modification, the coarse prediction process and the precise prediction process are performed using data Do_kp_L and Do_kp_H obtained by decomposing the more accurate precise pose data Do_kp (obtained after the process using the synthesis reliability map) instead of the data obtained by the coarse prediction process and the precise prediction process, so that more accurate data (data obtained by the coarse prediction process and the precise prediction process) can be obtained. Then, by performing the reliability synthesis process and the precise pose data acquisition process using the data obtained as above (data D2_kp_L and D2_kp_H obtained by the coarse prediction process and the precise prediction process), it is possible to obtain more accurate precise pose data Do_kp.
[0259] <<Second Modification>> Next, a second modified example of the first embodiment will be described. Note that the same parts as those in the above embodiment are given the same reference numerals, and detailed description thereof will be omitted.
[0260] FIG. 20 is a schematic diagram of a pose data generating device 100B according to a second modified example of the first embodiment.
[0261] FIG. 21 is a schematic diagram of a precise data acquisition unit 3B of a pose data generation device 100B according to a second modified example of the first embodiment.
[0262] As shown in FIG. 20, the pose data generation device 100B of this modified example has a configuration in which the precision data acquisition unit 3 in the pose data generation device 100 of the first embodiment is replaced with a precision data acquisition unit 3B, and a disassembly part setting unit 6 is further added.
[0263] As shown in FIG. 21, a precise data acquiring section 3B of this modified example has a configuration in which the data decomposing section 311 in the precise data acquiring section 3 of the first embodiment is replaced with a data decomposing section 311A.
[0264] The decomposition part setting unit 6 is a functional unit for setting a part to be processed in the rough prediction processing and a part to be processed in the precise prediction processing. The decomposition part setting unit 6 sets a part to be processed in the rough prediction processing and a part to be processed in the precise prediction processing, for example, in response to a command from a control unit (not shown) (or an external input interface (not shown)) that controls the execution of a predetermined application. Then, the decomposition part setting unit 6 outputs data including setting information on the part to be processed in the rough prediction processing and the part to be processed in the precise prediction processing as data D_set to the data decomposition unit 311A of the precise data acquisition unit 3.
[0265] The data decomposition unit 311A inputs data D_set output from the decomposition part setting unit 6, identifies parts to be processed in the coarse prediction process and parts to be processed in the precise prediction process in accordance with the data D_set, and executes a decomposition process (a process of decomposing keypoint data into parts of a person) on the data Di_kp output from the 2D pose estimation unit 1. That is, the data decomposition unit 311A (1) outputs data of keypoints of parts specified as parts to be processed in the coarse prediction process in the data D_set to the coarse prediction processing unit 312 as data D1_kp_L, and (2) outputs data of keypoints of parts specified as parts to be processed in the precise prediction process in the data D_set to the precise prediction processing unit 313 as data D1_kp_H.
[0266] In the pose data generation device 100B of this modification, the decomposition part setting unit 6 can specify the parts to be processed in the rough prediction process and the parts to be processed in the precise prediction process, and based on this, the data decomposition unit 311 can decompose the data of the key points and execute the rough prediction process and the precise prediction process. Therefore, in the pose data generation device 100B of this modification, the parts to be processed in the rough prediction process and the parts to be processed in the precise prediction process can be determined (changed) based on various conditions.
[0267] An application example of the pose data generating device 100B of this modified example will be shown below.
[0268] (A) When changing the game stage (playing fast tempo music) For example, in the case where the predetermined application is an application for executing a game that requests the user to dance while playing music, and the tempo of the music changes for each stage of the game, in a stage where music with a fast tempo is played, the decomposition part setting unit 6 (1) sets the right hand, left hand, right elbow, left elbow, right foot, left foot, right knee, and left knee, which have a wide range of motion, as parts to be processed in the precise prediction process, and (2) sets the other parts as parts to be processed in the rough prediction process. Then, data including this setting information (part decomposition setting information) is output as data D_set to the data decomposition unit 311A of the precision data acquisition unit 3. Then, in the above case, the pose data generation device 100B can perform the precise prediction process for (1) the right hand, left hand, right elbow, left elbow, right foot, left foot, right knee, and left knee, which have a wide range of motion, and perform the rough prediction process for (2) the other parts.
[0269] (B) When changing the game stage (playing slower music) For example, if the predetermined application is an application for executing a game that requests the user to dance while playing music, and the tempo of the music changes for each stage of the game, the decomposition part setting unit 6 sets all parts as parts to be processed in the rough prediction process in a stage where music with a slow tempo is played. Then, data including this setting information (part decomposition setting information) is output as data D_set to the data decomposition unit 311A of the precise data acquisition unit 3. Then, in the above case, the pose data generation device 100B executes the rough prediction process for all parts. In this case, since music with a slow tempo is played and each part does not move significantly (vigorously), even if the rough prediction process with a small amount of calculation is executed for all parts, the accuracy does not decrease and highly accurate pose data can be obtained. In other words, by doing as described above in the pose data generation device 100B, highly accurate pose data can be obtained while reducing the amount of calculation.
[0270] (C) When changing the game stage (when it is known that a certain part will move) For example, in the case where the predetermined application is an application for executing a game that requests the user to move a predetermined part (e.g., the left hand), the decomposition part setting unit 6 (1) sets the part (known by the application) (e.g., the left hand) moved by the user as the part to be processed in the precise prediction process, and (2) sets the other parts as the parts to be processed in the rough prediction process. Then, data including this setting information (part decomposition setting information) is output as data D_set to the data decomposition unit 311A of the precise data acquisition unit 3. In the above case, the pose data generation device 100B can (1) execute the precise prediction process for the part (known by the application) moved by the user (e.g., the left hand), and (2) execute the rough prediction process for the other parts. In this way, when the part moved by the user is known, the pose data generation device 100B executes the precise prediction process for the part and executes the rough prediction process for the other parts, thereby obtaining highly accurate pose data while suppressing the amount of calculation.
[0271] This modification is also applicable to the pose data generation device 100A of the first modification. When this modification is applied to the pose data generation device 100A of the first modification, the data D_set output from the decomposition part setting unit 6 is also input to the second data decomposition unit 34, and the second data decomposition unit 34 decomposes the parts of the precise pose data Do_kp based on the data D_set, and obtains the decomposed data (data of key points) as data Do_kp_L and Do_kp_H.
[0272] In addition, in the above, a case has been described in which the parts to be processed in the rough prediction processing and the parts to be processed in the precise prediction processing are specified for each stage of the game, but this is not limited to this, and for example, the disassembly part setting unit 6 may specify (set) the parts to be processed in the rough prediction processing and the parts to be processed in the precise prediction processing for each specified time (specified period) or for each specified condition.
[0273] [Other embodiments] In the above embodiment (including the modified example), a case has been described in which the pose data generation device acquires feature extraction image data from data Din (frame image data) by feature extraction unit PP1, and inputs the acquired feature extraction image data to 2D pose estimation unit 1 and heat map acquisition unit 2, but the present invention is not limited to this. For example, the pose data generation device may be configured to omit feature extraction unit PP1 and input data Din (frame image data) to 2D pose estimation unit 1 and heat map acquisition unit 2. In this case, the 2D pose estimation unit 1 and heat map acquisition unit 2 may perform a process of acquiring feature extraction image data, and execute the 2D pose estimation process and the heat map acquisition process.
[0274] In the above embodiment (including the modified example), (1) the coarse prediction processing unit 312 executes processing using a Kalman filter as the coarse prediction processing, and (2) the precise prediction processing unit 313 executes processing using an extended Kalman filter as the precise prediction processing, but the present invention is not limited to this. For example, the coarse prediction processing unit 312 may execute processing using linear interpolation processing or spline interpolation processing as the coarse prediction processing.
[0275] The precise prediction processing unit 313 may execute a process using an unscented Kalman filter or a particle filter as the precise prediction process. The precise prediction process may also be executed using a time series filter other than the above that can handle a nonlinear system model.
[0276] In the above embodiment (including the modified example), only the point (pixel) (keypoint estimated (predicted) by the coarse prediction process) with the maximum probability density in the posterior probability distribution acquired by the coarse prediction process is set to a predetermined value (e.g., "0.2" (note that the predetermined value may be a value other than "0.2")) in the coarse prediction reliability map, but the present invention is not limited to this. For example, in the coarse prediction reliability map, each point (each pixel) (e.g., pixels around the keypoint estimated (predicted) by the coarse prediction process) may be set to a predetermined value (e.g., a value corresponding to the probability density in the posterior probability distribution acquired by the coarse prediction process of each point (each pixel) (e.g., a value proportional to the probability density in the posterior probability distribution acquired by the coarse prediction process with "0.2" as the maximum value)) according to the probability density in the posterior probability distribution acquired by the coarse prediction process.
[0277] In the above embodiment (including the modified example), a case has been described in which only the point (pixel) (keypoint estimated (predicted) by the precise prediction process) having the maximum probability density in the posterior probability distribution obtained by the precise prediction process is set to a predetermined value (e.g., "0.2") in the precise prediction reliability map, but the present invention is not limited to this. For example, in the precise prediction reliability map, each point (each pixel) (e.g., pixels around the keypoint estimated (predicted) by the precise prediction process) may be set to a predetermined value (e.g., a value corresponding to the probability density in the posterior probability distribution obtained by the precise prediction process of each point (each pixel) (e.g., a value proportional to the probability density in the posterior probability distribution obtained by the precise prediction process, with "0.2" as the maximum value)) according to the probability density in the posterior probability distribution obtained by the precise prediction process.
[0278] Furthermore, in the above embodiment (including the modified examples), the method of decomposing (classifying) the parts to be processed by the coarse prediction processing and the parts to be processed by the precise prediction processing is not limited to the method shown in the above embodiment (including the modified examples), and the parts to be processed by the coarse prediction processing and the parts to be processed by the precise prediction processing may be decomposed (classified) by other methods (other conditions).
[0279] For example, based on the following conditions, parts to be processed by the rough prediction process and parts to be processed by the precise prediction process may be decomposed (classified). (1) The speed at which a part moves, its acceleration, and the change in speed or acceleration within a given period of time. (2) Randomness of part movement. (3) Linear and nonlinear movement of parts of the body. (4) A period and / or stage during which certain conditions do not change due to an application executed in conjunction with the pose data generating device.
[0280] In addition, the method of setting key points in the above embodiment (including the modified example) is merely an example, and other methods of setting key points may be adopted. The number and positions of key points are not limited to those in the above embodiment, and a method of setting key points adopting other numbers and positions of key points may be used.
[0281] Furthermore, in the above embodiment (including the modified examples), the subject is described as a person, but this is not limited thereto, and the subject may be a person, living thing, object, etc. that is movable and whose posture can be changed.
[0282] Furthermore, each block (each functional unit) of the pose data generation device described in the above embodiment (including the modified example) may be individually integrated into one chip using a semiconductor device such as an LSI, or may be integrated into one chip to include some or all of the blocks. Furthermore, each block (each functional unit) of the pose data generation system, CG data system, and pose data generation device described in the above embodiment may be realized by multiple semiconductor devices such as LSIs.
[0283] Although we refer to it as LSI here, it may also be called IC, system LSI, super LSI, or ultra LSI depending on the level of integration.
[0284] The method of integration is not limited to LSI, but may be realized by a dedicated circuit or a general-purpose processor. It is also possible to use a field programmable gate array (FPGA) that can be programmed after LSI manufacturing, or a reconfigurable processor that can reconfigure the connections and settings of circuit cells inside the LSI.
[0285] In addition, a part or all of the processing of each functional block in each of the above embodiments may be realized by a program. Then, a part or all of the processing of each functional block in each of the above embodiments is performed by a central processing unit (CPU) in a computer. Also, the programs for performing each processing are stored in a storage device such as a hard disk or a ROM, and are executed in the ROM or by being read into the RAM.
[0286] In addition, each process in the above embodiment may be realized by hardware, or may be realized by software (including the case where it is realized together with an OS (operating system), middleware, or a predetermined library). Furthermore, it may be realized by a mixed process of software and hardware.
[0287] For example, when each functional unit of the above embodiment is realized by software, each functional unit may be realized by software processing using the hardware configuration shown in FIG. 22 (e.g., a hardware configuration in which a CPU, GPU, ROM, RAM, input unit, output unit, etc. are connected via a bus).
[0288] Furthermore, the order of execution of the processing methods in the above embodiments is not necessarily limited to that described in the above embodiments, and the order of execution can be changed without departing from the gist of the invention.
[0289] The scope of the present invention includes a computer program for causing a computer to execute the above-mentioned method and a computer-readable recording medium having the program recorded thereon. Here, examples of the computer-readable recording medium include a flexible disk, a hard disk, a CD-ROM, an MO, a DVD, a DVD-ROM, a DVD-RAM, a large-capacity DVD, a next-generation DVD, and a semiconductor memory.
[0290] The computer program is not limited to one recorded on the recording medium, but may be one transmitted via a telecommunications line, a wireless or wired communication line, a network such as the Internet, or the like.
[0291] The term "part" may also be used to include the concept of "circuitry." A circuitry may be realized, in whole or in part, by hardware, software, or a mixture of hardware and software.
[0292] The functions of the elements disclosed herein may be implemented using circuitry or processing circuitry including general purpose processors, special purpose processors, integrated circuits, ASICs ("application specific integrated circuits"), conventional circuitry, and / or combinations thereof configured to execute the disclosed elements or programmed to execute the disclosed functions. A processor is considered to be a processing circuitry or circuitry when it includes transistors and other circuitry therein. In this disclosure, a circuitry, unit, or means is hardware that performs the recited function or hardware that is programmed to perform the recited function. The hardware may be any hardware disclosed herein or other known that is programmed to perform the recited function or configured to perform the recited function. When the hardware is a processor, which may be considered as a type of circuitry, the circuitry, means, or unit is a combination of hardware and software, software used to configure the hardware, and / or processor.
[0293] The specific configuration of the present invention is not limited to the above-described embodiment, and various changes and modifications are possible without departing from the gist of the invention. [Explanation of symbols]
[0294] 100, 100A, 100B Pose data generator PP1 Feature Extraction Unit 1 2D pose estimation part 2. Heat map acquisition section 3, 3A, 3B Precision data acquisition section 31, 31A Prediction data acquisition section 32 Reliability acquisition unit 33 Precision Pose Data Acquisition Department 4 2D-3D conversion section 5 Post-processing section 6 Disassembly part setting section
Claims
1. a 2D pose estimation unit that acquires two-dimensional pose data of the subject by acquiring key point data, which is data indicating positions of predetermined parts of the subject, from image data acquired by imaging the subject in a three-dimensional space or feature amount extraction data, which is data obtained by extracting features from the image data; and a heat map acquisition unit that acquires a first reliability, which is a value indicating a likelihood that a predetermined image area on a two-dimensional image formed by the image data or the feature amount extraction data is an image area corresponding to a predetermined part of the subject, to thereby acquire a heat map for each part of the subject; a prediction data acquisition unit that acquires predicted keypoint data by performing a prediction process using keypoint data included in the two-dimensional pose data acquired by the 2D pose estimation unit, and acquires data including the acquired predicted keypoint data as predicted two-dimensional pose data; a reliability acquisition unit that acquires, for each part of the subject, the first reliability identified by the heat map and a second reliability which is a reliability of key point data included in the predicted two-dimensional pose data, and acquires a composite reliability by performing a process of combining the first reliability and the second reliability; a precise pose data acquisition unit that acquires precise two-dimensional pose data by determining a position of each part of the subject based on the synthesis reliability; A pose data generating device comprising:
2. The prediction data acquisition unit includes: performing the prediction process using precise two-dimensional pose data acquired by the precise pose data acquisition unit prior to the current time for each part of the subject; 2. The pose data generating device according to claim 1.
3. The prediction data acquisition unit classifying key point data included in the two-dimensional pose data into a first group and a second group; (1) for the keypoint data classified into the first group, a coarse prediction process is executed, which is a prediction process having a first prediction accuracy, to obtain keypoint coarse prediction data, which is prediction data of the keypoint data; (2) for the keypoint data classified into the second group, a precision prediction process having a second prediction accuracy higher than the first prediction accuracy is performed to obtain keypoint precision prediction data which is prediction data of the keypoint data; The reliability acquisition unit is (1) for a portion corresponding to keypoint data classified into the first group, a reliability obtained based on the keypoint rough prediction data is set as the second reliability; (2) For the part corresponding to the keypoint data classified into the second group, the reliability obtained based on the keypoint precise prediction data is set as the second reliability, performing a process of combining the first reliability and the second reliability to obtain a combined reliability; 3. The pose data generating device according to claim 1.
4. The classification method of the first group and the second group is determined based on a predetermined condition, and the predetermined condition is (1) The speed and acceleration of a moving part, the change in speed and the change in acceleration within a given time, (2) Randomness of part movements, (3) Linearity, nonlinearity, and (4) a period and / or stage during which certain conditions are not changed by an application executed together with the pose data generating device; Based on at least one of the following:
4. The pose data generating device according to claim 3.
5. The prediction data acquisition unit Decomposing key point data included in the two-dimensional pose data into wide-movement key point data, which is data of key points of parts with a wide range of movement, and narrow-movement key point data, which is data of key points of parts with a narrow range of movement; (1) performing a coarse prediction process, which is a prediction process having a first prediction accuracy, on the narrowly movable keypoint data to obtain narrowly movable keypoint predicted data, which is predicted data of the narrowly movable keypoint data; (2) For the widely movable keypoint data, a precision prediction process having a second prediction accuracy higher than the first prediction accuracy is performed to obtain widely movable keypoint prediction data, which is prediction data of the widely movable keypoint data; Obtaining data including the narrow-movement keypoint prediction data and the wide-movement keypoint prediction data as the predicted two-dimensional pose data; 3. The pose data generating device according to claim 1.
6. The prediction data acquisition unit (1) performing the coarse prediction process using a time series filter having a first accuracy; (2) performing the precise prediction process using a time series filter having a second accuracy higher than the first accuracy; 6. The pose data generating device according to claim 3.
7. the time series filter having the first accuracy is a time series filter that processes a system model in which a state space model is expressed by a linear operator, The time series filter having the second accuracy is a time series filter that processes a system model in which a state space model is expressed by a nonlinear operator.
7. The pose data generating device according to claim 6.
8. the time series filter having the first accuracy is a Kalman filter, The time series filter having the second accuracy is any one of an extended Kalman filter, an unscented Kalman filter, and a particle filter.
7. The pose data generating device according to claim 6.
9. A 2D-3D conversion unit performs a 2D-3D conversion process on the precise 2D pose data to obtain precise 3D pose data, which is 3D pose data corresponding to the precise 2D pose data.
9. The pose data generating device according to claim 1.
10. a 2D pose estimation step of acquiring two-dimensional pose data of the subject by acquiring key point data, which is data indicating positions of predetermined parts of the subject, from image data acquired by imaging the subject in a three-dimensional space or feature amount extraction data, which is data obtained by extracting features from the image data; a heat map acquisition step of acquiring a first reliability, which is a value indicating a likelihood that a predetermined image area on a two-dimensional image formed by the image data or the feature amount extraction data is an image area corresponding to a predetermined part of the subject, to thereby acquire a heat map for each part of the subject; a predicted data acquisition step of acquiring predicted keypoint data by performing a prediction process using keypoint data included in the two-dimensional pose data acquired by the 2D pose estimation step, and acquiring data including the acquired predicted keypoint data as predicted two-dimensional pose data; a reliability acquisition step of acquiring, for each part of the subject, the first reliability identified by the heat map and a second reliability which is a reliability of key point data included in the predicted two-dimensional pose data, and acquiring a composite reliability by performing a process of combining the first reliability and the second reliability; a precise pose data acquisition step of acquiring precise two-dimensional pose data by determining a position of each part of the subject based on the synthesis reliability; A pose data generating method comprising:
11. A program for causing a computer to execute the pose data generating method according to claim 10.
Citation Information
Patent Citations
Openpose-based multi-person posture detection method and system
CN111310625A
Multi-person human body posture estimation method
CN111339903A
Posture estimation method and posture estimation device
JP2017097577A
