1. Introduction
Reconstruction of three-dimensional (3D) human pose from single-view image plays an important role in many computer vision research fields such as animation, human-computer interaction and video surveillance applications [1]. A human action is naturally represented by a sequence of poses which is usually described by a hierarchy skeleton structure of joint positions. Finding corresponding 3D poses from 2D poses is obviously ambiguous since many plausible 3D poses satisfy a single 2D pose [2].
Previous approaches were introduced to reconstruct 3D human pose from single-view/multi-view image, video, depth channel. However, these approaches typically focus on single frame independently while all frames in a sequence are highly correlated [3-6]. Others lay on fixed joint angle limit models which are not general enough for the diverse of human poses and sometimes leading to invalid reconstructed 3D poses [7,8].
Our goal is taking advantages of frame correlation in a sequence of poses. In this paper, we focus on input data of 2D pose sequences, the key idea is combining intra and inter frames relationships in a consecutive pose sequence. Given a 2D human pose sequence, we firstly use orthogonal matching pursuit (OMP) algorithm and pre-trained pose-angle limits model to estimate initial 3D poses. This pre-trained pose-dependent model was introduced by [3] that solved the fixed joint angle problems. Secondly, temporal models independently correct and smooth sequence of initial 3D poses to generate final 3D poses. Our method have been tested on CMU dataset and recorded Vietnamese traditional dance sequences to show state-of-the-art reconstruction results compare to other existing methods.
Our contribution are (1) proposing a spatial-temporal 3D reconstruction framework that takes advantage of both intra and inter frame relationships in consecutive 2D pose sequences and (2) using temporal models to smooth initial reconstructed motion sequences, this module can be re-used independently in other methods.
The remaining of this paper is organized as follows: Section 2 gives a short literature review of state-of-the-art 3D human pose reconstruction methods. Section 3 describes our proposed framework using OMP algorithm, pre-trained pose-angle limits and temporal models. Experimental results on CMU motion capture dataset and Vietnamese traditional dance sequences are given in Section 4. Finally, in Section 5, we briefly conclude our method.
2. Related Works
Fundamentally, 3D human pose reconstruction from single color camera is an under-constrained problem which is much more challenging than multi-view or depth channel reconstruction since lacking of 3D information. Typically, 2D human poses are firstly estimated from image/video, then 2D-to-3D poses conversion is followed. Within scope of this work, our paper specifically focuses on contribution of 3D poses temporal model reconstruction from 2D poses. For the first step of singe-view image/video to 2D pose, this paper re-uses Deepcut [9] which is a widely known deep learning-based framework for 2D pose detection.
Many approaches have been proposed to reconstruct 3D human pose from only monocular view data [3,10,11] or video sequences [4,5]. Ramakrishna et al. [3] presented an activity-independent method to recover 3D configuration from a single image using an OMP algorithm and 3D pose sparse representation on an over-completed dictionary of basic poses. They take advantage of a large motion capture corpus as a proxy for visual memory to draw a plausible 3D configuration. However, this model has problem with strong perspective effects image where weak perspective assumptions on the camera model are violated and mean pose is not a reasonable initialized. Tekin et al. [11] proposed a deep learning regression for structure prediction of 3D human pose from monocular image. This method relies on an overcomplete auto-encoder to learn a high-dimensional latent pose representation and using CNN to map pose into learned latent space. Drawback of the Tekin’s machine learning-based method is requirement of a huge manual annotation dataset and computational complexity.
Sminchisescu and Triggs [5] estimate and track human upper-body pose from an image or a video sequence, they used prior data-driven models typically learned from 3D motion capture data which are expensive and time-consuming to collect. Besides, only upper-body pose result is their main disadvantages compare to other full body pose reconstruction models. Recently, Akhter and Black [4] published a pose-angle limits model for 3D human pose reconstruction which is state-of-the-art outperforms existing. This method trains a pose-angle limits model that adaptively constraints joints angle to eliminate abnormal poses based on prior knowledge. However, this model still processes frame-by-frame independently while all frames in a sequence are highly correlated as we mentioned above. In this paper, we consider [4] as the baseline, more details in Section 4.
This paper emphasizes the novel idea of taking advantage of inter-frames temporal relationship in a sequence of poses. Given a 2D human pose sequence, we firstly use OMP algorithm and pre-trained poseangle limits model to estimate initial 3D poses. This pre-trained pose-dependent model were introduced by [3] that solve the fixed joint angle problems. Secondly, temporal models independently correct and smooth sequence of 3D poses to generate final 3D poses. Our method have been tested on CMU dataset and recorded Vietnamese traditional dance sequences to show state-of-the-art reconstruction results compare to other existing methods.
3. Proposed Methods
3.1 Framework Overview
The outline of our 2D to 3D human pose reconstruction framework is shown in Fig. 1. Given a 2D human pose (skeleton: 15 joints model), we firstly use a greedy OMP algorithm [3] to estimate 3D poses that minimizes projection errors. However, there always exist a set of satisfied 3D poses corresponding to a single 2D pose. In this research, we use a pre-trained pose-angle limits model to eliminate invalid poses and choose the best candidate. Invalid poses stand for abnormal and impossible joint angles which was introduced by [4]. Now, considering a sequence of 2D poses, the second step leverages temporal relationship between consecutive frames to reduce high frequency pose movements by applying temporal models which are explained detail in Subsection 3.3. Finally, the framework outputs a smooth and natural sequence of 3D human poses.
Fig. 1. Overview of our framework.
3.2 Pose-Angle Limits Model and OMP Algorithm
We firstly re-cap the concept of pose-angle limits model which was originally introduced by Akhter and Black [4]. In 2015, the authors captured a dataset of motions where actors were asked to keep their upper-arm fixed, fully flex and extend their lower-arms and then turn them inwards to outwards [4]. Similar motions were recorded for the legs. From this data, a pose-angle limits model of kinematic skeleton was trained. Given a skeleton of P joints: X = [X1T, ..., XPT]T ∈ R3P×1, pose-angle limit provides a function to determine either a pose is valid or invalid. We re-use this pre-trained pose-angle limit in our framework.
isvalid(X):R3×P → {0,1}P. (1)
In [3], a linear combination of basis poses are used to represent a sparse form of 3D human pose:
\(\begin{array}{c} X=\mu+\Sigma_{i=1}^{K} w_{i} b_{i}=\mu+B^{*} w \\ \left\{b_{i}\right\}_{i \in I_{B^{*}}} \in B^{*} \subset \widehat{B} \end{array}\) (2)
where μ is mean-pose obtained by averaging poses from the CMU motion capture dataset; K is the number of basis poses; bi are the basis poses, w is a vector of pose coefficients wi; matrix B* is a columnwise concatenation of basis poses bi selected with column indices IB*; \(\widehat{B}\) is an over-complete dictionary of basis components; B* is optimal subset from \(\widehat{B}\), contains a number of basis pose represent X.
In order to find the unknown 3D pose X, they minimize projection error to find w, IB*, s (camera scale) and R (camera rotation) using OMP algorithm subject to anthropometric regularization:
\(C_{r}\left(w, I_{B^{*}}, s, R\right)=\left\|x-s\left(I \otimes R_{1: 2}\right)\left(B^{*} w+\mu\right)\right\|_{2}^{2}\) (3)
where ⊗ denotes Kronecker product, R1:2 gives first two rows of matrix R. Once w, IB*, s are known, the 3D pose is estimated as:
\(X=(I \otimes R)\left(B^{*} w+\mu\right)\) (4)
Pose-angle limits model and OMP algorithm are integrated in the first stage of our framework to estimate a single 3D human pose for each 2D pose input frame. While OMP algorithm tends to minimize projection error, pose-angle limits model try to eliminate invalid poses based on pre-trained 3D pose dataset.
3.3 Temporal Models
Many approaches have been proposed on topics of 3D human pose reconstruction, but they almost focus on single frame, in other words, only intra-frame relationship is used. In fact, borrowing idea from video coding, it is obvious that consecutive frames always have a high correlation, then consecutive 3D skeletons should also have a high correlation. From this point of view, we propose a novel approach using temporal models to utilize the inter-frame relationship. Those temporal models are not only reduce the high frequency joint movements, but also smooth the actions.
Given a sequence of N frames of 3D poses (skeleton: 15 joints model), we consider each 3D joint coordinate (x, y, z) as discrete-time signals S.
S = (S1, S2, ... , SN). (5)
In order to smooth sequence of 3D poses, we basically apply temporal models to all the discrete-time signals S length N. In this study, four temporal models are implemented, including simple, exponential, weighted, and modified moving averages.
3.3.1 Simple moving average
The most basic simple moving average (SMA) is averaging signal from the left most period with a chosen sliding window size w .SMA is mathematically simple, but it efficiently removes high frequency data. The bigger number of w ,the smoother the SMA perform.
\(S_{t}^{s m a}=\left\{\begin{array}{cc} S_{t}, & t \in[1, w] \\ \frac{S_{t}+S_{t-1}+\cdots+S_{t-w}+1}{w}, & t \in[w+1, N] \end{array}\right.\) (6)
where S is signal length N; w is a pre-defined window size.
3.3.2 Exponential moving average
Exponential moving averages (EMAs) are another form of weighted averaging. EMA allows user control data’s smoothness by adjusting either window size parameter w or smoothing factor α ∈ [0,1]. In this paper, we use smooth factor α = \(\frac{2}{w+1}\), formally:
\(S_{t}^{e m a}=\left\{\begin{array}{cl} S_{t}, & t=1 \\ (1-\alpha) S_{t-1}^{e m a}+\alpha S_{t}, & t \in(1, N] \end{array}\right.\) (7)
where S is signal length N; w is a pre-defined window size; α = \(\frac{2}{w+1}\)is smoothing factor.
3.3.3 Weighted moving average
Weighted moving average (WMA) mathematically is the convolution between data series and a fixed weighting function. Basically, weighting functions put more weight on current data than older data to reduce proportionally the implication of previous data points. In this paper, we use weighted function as below:
\(S_{t}^{w m a}=\left\{\frac{w S_{t}+(w-1) S_{t-1}+\cdots+2 S_{t-(w-2)}+1 S_{t-(w-1)}}{w+(w-1)+(w-2)+\cdots+2+1}, \quad t \in[w+1, N]\right.\) (8)
where S is signal length N; w is a pre-defined window size.
3.3.4 Modified moving average
Modified moving average (MMA) is a short form of exponential moving average, with α = \(\frac{1}{w}\).
\(S_{t}^{m m a}=\left\{\begin{array}{cc} S_{t}, & t=1 \\ \left(1-\frac{1}{w}\right) S_{t-1}^{m m a}+\frac{1}{w} S_{t}, & t \in(1, N] \end{array}\right.\) (9)
where S is signal length N; w is a pre-defined window size.
4. Experiments
We demonstrate performance of our framework in 3D human pose reconstruction in three experiments. First, we compare our method with state-of-the art methods running on CMU dataset. Secondly, we test the Gaussian noise sensitivity by observing average reconstruction error corresponding to signal-to-noise ratio (SNR). Another test uses a Vietnamese Traditional Dace dataset to indicate the smoothness of our reconstructed pose sequence. Basically, our proposed method outperform existing works with lower Euclidean reconstruction error and producing naturally smooth 3D human pose sequences.
4.1 Quantitative Evaluation on CMU Dataset
4.1.1 CMU data acquisition
We use a subset of 11 sequences (approximately 25,000 frames) from the CMU Motion Capture Database which was introduced by Carnegie Mellon University [12]. The subset is then normalized in several steps. First, we retarget subset motions into an unique skeleton because of the fact that CMU was performed by multiple actors. As a consequence, all retargeted motion have the same bone lengths. Secondly, we convert original rotational skeleton into 3D positional data, selecting 17 major joints, then translating local origin of the skeleton (hip joint) to global origin.
4.1.2 Euclidean comparison metric
We use obtained CMU 3D poses as ground-truth, named Sgtr. Beside, a camera model has been implemented to orthogonally project 3D skeleton onto a 2D plane, produces images of corresponding 2D poses, named S2d. Then, we feed projected 2D poses to 3D pose reconstruction frameworks, output estimated 3D poses, called Srec. For comparison, we calculate average Euclidean distance between reconstructed poses and ground-truth poses correspondingly, as shown in Table 1 and Fig. 2.
Table 1. Reconstruction error percentages comparison joint-by-joint
Fig. 2. Euclidean reconstruction error of our framework using MMA model vs. baseline.
Additionally, ground-truth Sgtr and Reconstruction Srec are both tend to represent a 3D pose, but they are likely to have different coordinate because of different camera parameter models. In order to overcome this problem, we implemented a procrustes alignment (PA) which determines a linear transformation (combination of translation, reflection, orthogonal rotation, and scaling) [13] to conform Srec to Sgtr as small dissimilarity as possible.
(PASrec, PASgtr) = PA(Srec, Sgtr),
Err = Mean(Declidean(PASrec, PASgtr)). (10)
4.1.3 Results on CMU dataset
In this paper, we consider the work of Akhter and Black [4] as the baseline. Table 1 numerically depicts joint-by-joint reconstruction error percentages of our temporal frameworks compared to baseline method. The lower percentage of error, the better the method is. In total, there are four tests with four temporal models: SMA, EMA, WMA, and MMA. Table 1 clearly shows that temporal models are useful to smooth the pose sequences and reduce reconstruction errors while four temporal models perform better than the baseline. In average, our framework using MMA model have lowest reconstruction error percentage, about 10% lower than the baseline, as shown in Table 1. Additionally, Fig. 2 specifically indicates joint-by-joint Euclidean reconstruction errors of MMA versus baseline.
Smoothness of estimated 3D pose sequences is also an important criterial for our comparison. Due to taking advantage of inter-frame relationship, reconstructed pose sequence of our temporal framework clearly look more natural and smooth than others methods, as shown in Figs. 3 and 4.
Fig. 3. Signal smoothing visualization.
Fig. 4. Apsara dance 3D pose reconstruction: upper-parts are 2D poses, and lower-parts are corresponding 3D poses.
4.2 Gaussian Noise Sensitivity
In this experiment, we add Gaussian noise on 2D poses input to check method’s sensitivity against noise. Then we observe the variation of reconstruction error corresponding to SNR (in dB). The bigger the SNR is, the less noisier of the signal is and the lower reconstruction error is expected, the better the method against Gaussian noise. Fig. 5 visualizes an original signal and the added noises respectively by SNR={ 1, 9, 17} dB. Fig. 6 shows reconstruction error percentage of our framework versus Akhter and Black [4]. It is clear that our method have lower reconstruction error, outperforms others in terms of sensitivity against Gaussian noise.
Fig. 5. Visualization of noisy signals.
Fig. 6. The variation of reconstruction error against Gaussian SNR.
4.3 Result on Apsara Vietnamese Traditional Dance Dataset
In terms of practical applications, our framework have chances to be tested in a cultural heritage preservation project which attempts to protect Vietnamese traditional dances using computer vision techniques. This work targets to store, synthesize and render traditional dances not only in single-view video, but also in corresponding 3D human poses.
In details, our group manually record Apsara’s performances (a Vietnamese traditional dance) in format of 2D videos. Then, we use YOLO [14] and Deepcut [9] to estimate 2D actor’s poses from 2D recorded videos. YOLO and Deepcut are two state-of-the-art machine learning-based methods for character segmentation and 2D pose estimation. Next step, our framework is applied to reconstruct 3D poses from 2D poses sequences. Fig. 4 shows the process from 2D poses to 3D poses. Visually, our dance’s reconstructed 3D pose sequences are reasonable and smooth enough for later synthesis and rendering processes.
5. Conclusion
In this paper, we propose a spatial-temporal 3D human pose reconstruction framework. The key idea is combining intra and inter frames relationships in a consecutive pose sequences. OMP algorithm, pretrained pose-angle limits and temporal models have been used to estimate 3D poses from 2D poses. Additionally, temporal models can be re-used independently as a post-processing step to smooth reconstructed motion sequences in other methods. Experiment results on CMU dataset and Vietnamese traditional dance clearly show that our framework outperform existing methods in terms of Euclidean reconstruction error. In details, using MMA model, our framework have lower reconstruction error (about 10%) compare to the baseline [4]. On the other hand, our method have better sensitivity against Gaussian noise. It is also important to mention that our 3D pose sequences are more smooth and realistic than others.
Acknowledgement
This research is supported/funded by EU project “Multimedia Application Tools for Intangible Cultural Heritage Conservation and Promotion” - H2020-MSCA-RISE ANIAGE (691215) and Ministry of Science and Technology Vietnam (DTDL.CN-34/16).
참고문헌
- X. T. Nguyen, T. H. Le, and H. Yu, "Motion style extraction based on sparse coding decomposition," 2018 [Online]. Available: https://arxiv.org/abs/1811.06616.
- C. Sminchisescu and B. Triggs, "Building roadmaps of local minima of visual models," in Computer Vision-ECCV 2002. Heidelberg: Springer, 2002, pp. 566-582.
- V. Ramakrishna, T. Kanade, and Y. Sheikh, "Reconstructing 3D human pose from 2D image landmarks," in Computer Vision-ECCV 2002. Heidelberg: Springer, 2012, pp. 573-586.
- I. Akhter and M. J. Black, "Pose-conditioned joint angle limits for 3D human pose reconstruction," in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, Mam 2015, pp. 1446-1455.
- C. Sminchisescu and B. Triggs, "Estimating articulated human motion with covariance scaled sampling," The International Journal of Robotics Research, vol. 22, no. 6, pp. 371-391, 2003. https://doi.org/10.1177/0278364903022006003
- H. K. Kien, N. K. Hung, M. T. Chau, N. T. Duyen, and N. X. Thanh, "Single view image based-3D human pose reconstruction," in Proceedings of 2017 9th International Conference on Knowledge and Systems Engineering (KSE), Hue, Vietnam, 2017, pp. 118-123.
- J. Chen, S. Nie, and Q. Ji, "Data-free prior model for upper body pose estimation and tracking," IEEE Transactions on Image Processing, vol. 22, no. 12, pp. 4627-4639, 2013. https://doi.org/10.1109/TIP.2013.2274748
- J. M. Rehg, D. D. Morris, and T. Kanade, "Ambiguities in visual tracking of articulated objects using two- and three-dimensional models," The International Journal of Robotics Research, vol. 22, no. 6, pp. 393-418, 2003. https://doi.org/10.1177/0278364903022006004
- L. Pishchulin, E. Insafutdinov, S. Tang, B. Andres, M. Andriluka, P. V. Gehler, and B. Schiele, "Deepcut: joint subset partition and labeling for multi person pose estimation," in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, 2016, pp. 4929-4937.
- F. Bogo, A. Kanazawa, C. Lassner, P. Gehler, J. Romero, and M. J. Black, "Keep it SMPL: automatic estimation of 3D human pose and shape from a single image," in Computer Vision-ECCV 2016. Heidelberg: Springer, 2016, pp. 561-578.
- B. Tekin, I. Katircioglu, M. Salzmann, V. Lepetit, and P. Fua, "Structured prediction of 3D human pose with deep neural networks," 2016 [Online]. Available: https://arxiv.org/abs/1605.05180.
- CMU Graphics Lab Motion Capture Database [Online]. Available: http://mocap.cs.cmu.edu/.
- F. L. Bookstein, Morphometric Tools for Landmark Data: Geometry and Biology. Cambridge, UK: Cambridge University Press, 1991.
- J. Redmon and A. Farhadi, "YOLO9000: better, faster, stronger," 2016 [Online]. Available: https://arxiv.org/abs/1612.08242.