<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Absolute-ROMP: Absolute Multi-Person 3D Mesh Prediction from a Single Image [Absolute-ROMP: Absolute Multi-Person 3D Mesh Prediction from a Single Image]</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>01/01/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10440686</idno>
					<idno type="doi">10.5220/0011629500003417</idno>
					<title level='j'>Proceedings of the 18th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications (VISIGRAPP 2023)</title>
<idno></idno>
<biblScope unit="volume">5</biblScope>
<biblScope unit="issue">VISAPP</biblScope>					

					<author>Bilal Abdulrahman</author><author>Zhigang Zhu</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Recovering multi-person 3D poses and shapes with absolute scales from a single RGB image is a challenging task due to the inherent depth and scale ambiguity from a single view. Current works on 3D pose and shape estimation tend to mainly focus on the estimation of the 3D joint locations relative to the root joint , usually defined as the one closest to the shape centroid, in case of humans defined as the pelvis joint. In this paper, we build upon an existing multi-person 3D mesh predictor network, ROMP, to create Absolute-ROMP. By adding absolute root joint localization in the camera coordinate frame, we are able to estimate multi-person 3D poses and shapes with absolute scales from a single RGB image. Such a single-shot approach allows the system to better learn and reason about the inter-person depth relationship, thus improving multi-person 3D estimation. In addition to this end to end network, we also train a CNN and transformer hybrid network, called TransFocal, to predict the f ocal length of the image’s camera. Absolute-ROMP estimates the 3D mesh coordinates of all persons in the image and their root joint locations normalized by the focal point. We then use TransFocal to obtain focal length and get absolute depth information of all joints in the camera coordinate frame. We evaluate Absolute-ROMP on the root joint localization and root-relative 3D pose estimation tasks on publicly available multi-person 3D pose datasets. We evaluate TransFocal on dataset created from the Pano360 dataset and both are applicable to in-the-wild images and videos, due to real time performance.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>3D Human pose and shape estimation is one of the most active fields of research within the current landscape of computer vision and AI thanks to its many applications in robotics <ref type="bibr">(Du and Zhang, 2014;</ref><ref type="bibr">Zimmermann et al., 2018)</ref>, activity recognition <ref type="bibr">(Lo Presti and La Cascia, 2016;</ref><ref type="bibr">Carbonera Luvizon et al., 2017)</ref>, graphics <ref type="bibr">(Boulic et al., 1997;</ref><ref type="bibr">Aitpayev and Gaber, 2020)</ref> and human-object interaction detection <ref type="bibr">(Fang et al., 2018;</ref><ref type="bibr">Qi et al., 2018;</ref><ref type="bibr">Li et al., 2020b;</ref><ref type="bibr">Li et al., 2020c)</ref>. Current works on 3D pose and shape estimation tend to mainly focus on the estimation of the 3D joint locations relative to the root joint, usually defined as the one closest to the shape centroid.In case of humans, defined as the pelvis joint. Due to the inherent depth and scale ambiguity of a single view, it is quite a challenge to accurately recover multi-person 3D pose and shape with absolute scales from a single RGB image. Addressing this ambiguity requires assessing cues in the image as a whole, such as scene layouts, body dimensions, and inter-person relationships. This paper aims to address the problem of estimating absolute 3D pose and shape of multiple people simultaneously from a single RGB image. Compared to the 3D pose and shape estimation problem that focuses on recovering the root-relative pose, the task addressed here additionally needs to recover the 3D translation of each person in the camera coordinate system (or sometimes called camera coordinate frame).</p><p>Estimating the absolute 3D location of each person in an image is essential for understanding humanto-human interactions (Figure <ref type="figure">3</ref>). Since multi-person activities take place in cluttered scenes, inherent depth ambiguity and occlusions make it challenging to estimate the absolute positions of multiple individuals. We argue that body dimensions alone paint a vague picture of absolute depth. Robust estimation of global positions requires information cues over the entire image, such as geometric cues, human body sizes in the image, any occlusions which might affect the perceived sizes, layout of the entire scene etc.</p><p>Most existing methods for absolute multi-person 3D pose estimation extend the single-person approach with an added step to recover the absolute position of each detected person individually. They either use another neural network to regress the 3D translation of the person from the cropped image <ref type="bibr">(Moon et al., 2019)</ref> or compute it based on the prior knowledge about the body size <ref type="bibr">(Dabral et al., 2019)</ref>, which ignores the global context of the whole image. While others employ complicated architecture with extensive steps, drastically slowing down inference <ref type="bibr">(Lin and Lee, 2020)</ref>.</p><p>In this paper, we build upon ROMP <ref type="bibr">(Sun et al., 2020)</ref>, a light weight, accurate end to end multiperson 3D mesh prediction network, by adding in absolute root joint depth estimation and localization head while maintaining its end to end and light weight nature. We call the revised network Absolute-ROMP. We adopt the same end to end pipeline for the task of multi-person absolute 3D mesh estimation. By leveraging depth cues from the entire scene and prior knowledge of the typical size of the human pose and body joints, we can estimate the depth of a person in a monocular image with considerably high accuracy. The target depths are discretized into a preset number of bins, in order to limit the range of predictions and thus improve the prediction performance. The range of these bins is chosen after taking prediction error mitigation and reasonable distance estimation in consideration. We employ a soft-argmax operation on the bins for improved accuracy as compared to exact bin locations and for faster convergence during training without losing precision to direct numerical regression.</p><p>We also train a CNN and a vision transformer hybrid network to predict the vertical field of view of the image, which is used to estimate the focal length. With the predicted focal length we can estimate absolute distance in camera coordinates without the need for camera intrinsic parameters. Our model uses embeddings from ResNet <ref type="bibr">(He et al., 2015)</ref>, which are then converted to tokens to be fed into the vision transformer <ref type="bibr">(Dosovitskiy et al., 2020a)</ref>. The added attention from the transformer gives our network an edge over previous work <ref type="bibr">(Kocabas et al., 2021c)</ref>.</p><p>Our contributions in this work are:</p><p>&#8226; We propose an absolute depth estimation head for the ROMP network using a combination loss.</p><p>&#8226; We design and train TransFocal, a network to pre-dict focal length of the image thus negating the requirement of intrinsic parameters.</p><p>&#8226; Quantitative and qualitative results show that our approach outperforms or has competitive performance to the state-of-the-art on multiple benchmark datasets under various evaluation metrics.</p><p>This paper is organizes as the follows. Section 2 discusses related work. Section 3 describes the proposed Absolute-ROMP, including the absolute depth map head and the focal length estimation network: TransFocal. Section 4 provides some key implementation details in network architectures and training/testing settings. Section 5 presents experimental results and ablation studies. Section 6 provides a few concluding remarks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Related Work</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Single-person 3D mesh regression</head><p>Parametric human body models allow complex 3D human mesh vertices to be encoded into low dimensional parameter vectors. These have been widely adopted since they allow regression of 3D meshes from images, such as the Skinned Multi-Person Linear Model (SMPL) <ref type="bibr">(Loper et al., 2015)</ref>. Various weak supervision techniques have lead to reasonable accuracy for single-person 3D mesh regression with various techniques, such as those using semantic segmentation <ref type="bibr">(Xu et al., 2019)</ref>, geometric prior <ref type="bibr">(Kanazawa et al., 2017)</ref>, motion analysis <ref type="bibr">(Kanazawa et al., 2018;</ref><ref type="bibr">Kocabas et al., 2019)</ref> and 2D pose <ref type="bibr">(Choi et al., 2020)</ref>. The work in <ref type="bibr">(Kocabas et al., 2021a)</ref> uses a part-guided attention mechanism to overcome occlusions by exploiting information about the visibility of individual body parts while leveraging information from neighboring body-parts to predict occluded parts. Whereas <ref type="bibr">(Kocabas et al., 2021c)</ref> uses predicted camera calibration parameters to aid in the regression of the body mesh parameters.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Multi-person 3D pose estimation</head><p>For multi-person 3D pose estimation, <ref type="bibr">(Mehta et al., 2017)</ref> proposes occlusion-robust pose-maps and exploits the body part association to avoid bounding box prediction. In <ref type="bibr">(Benzine et al., 2021)</ref>, an anchor-based one-stage model is proposed, which relies on a huge number of pre-defined anchor predictions and the positive anchor selection. To handle person-person occlusion, <ref type="bibr">(Zhen et al., 2020)</ref> proposes a system that first regresses a set of 2.5D representations of body parts and then reconstructs the 3D absolute poses based on these 2.5D representations with a depthaware part association algorithm. Both <ref type="bibr">(Rogez et al., 2019)</ref> and <ref type="bibr">(Moon et al., 2019)</ref> employ a top-down design, which estimates the target via regression from anchor-based feature proposals.</p><p>2.3 Multi-person 3D mesh estimation <ref type="bibr">(Jiang et al., 2020)</ref> proposes a network for Coherent Reconstruction of Multiple Humans (CRMH). Built on Faster-RCNN <ref type="bibr">(Ren et al., 2015)</ref>, they use the RoIaligned feature of each person to predict the SMPL parameters. <ref type="bibr">(Zanfir et al., 2018b)</ref> estimates the 3D mesh of each person from its intermediate 3D pose estimation. <ref type="bibr">(Zanfir et al., 2018a)</ref> further employs multiple scene constraints to optimize the multi-person 3D mesh results. All these methods follow a multi-stage design. The complex multi-step process requires a repeated feature extraction, which is computationally expensive. The ROMP <ref type="bibr">(Sun et al., 2020)</ref>, which our proposed model is based on, learns an explicit pixellevel representation with a holistic view, which improves accuracy in multi-person in-the-wild scenes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4">Monocular absolute depth estimation</head><p>Depth estimation from a single view suffers from inherent ambiguity. Nevertheless, several methods make remarkable advances in recent years <ref type="bibr">(Li and Snavely, 2018;</ref><ref type="bibr">Lee and Kim, 2019)</ref>. <ref type="bibr">(Li et al., 2019)</ref> employs the use of mannequin challenge to obtain a dataset for depth estimation by employing the frozen poses and moving camera of the mannequin challenge. They generate training data using multiview stereo reconstruction and adopt a data-driven approach to recover a dense depth map. However, such a depth map lacks scale consistency and cannot reflect the real depth. <ref type="bibr">(Zhen et al., 2020)</ref> proposes a system that first regresses a set of 2.5D representations of body parts and then reconstructs the 3D absolute poses based on these 2.5D representations with a depth-aware part association algorithm. <ref type="bibr">(Lin and Lee, 2020)</ref> estimates the 2D human pose with heatmaps of the joints. Then these heatmaps are used as attention masks for pooling features from image regions corresponding to the target person. A skeleton-based Graph Neural Network (GNN) is used to predict the depth of each joint. <ref type="bibr">(Li et al., 2020a</ref>) uses an integrated model to estimate human bounding boxes, human depths, and root-relative 3D poses simultaneously, with a coarse-to-fine architecture. All these methods either employ multi-step prediction or use large networks which slow down the inference.</p><p>Our method is able to estimate depth and regress 3D mesh of multiple people in real time with high accuracy while also regressing the shape parameters of individuals.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.5">Focal length estimation</head><p>Recent works such as <ref type="bibr">(Hold-Geoffroy et al., 2017;</ref><ref type="bibr">Kendall et al., 2015;</ref><ref type="bibr">Workman et al., 2016;</ref><ref type="bibr">Workman et al., 2015;</ref><ref type="bibr">Zhu et al., 2020)</ref> estimate camera parameters from a single image. To estimate camera rotations and fields of view, these methods train a neural network to leverage geometric cues in the image. <ref type="bibr">(Workman et al., 2015)</ref> uses an AlexNet backbone to regress the horizontal field of view. Except <ref type="bibr">(Workman et al., 2015)</ref>, these methods discretize the continuous space of rotation into bins, casting the problem as a classification task and applying cross entropy <ref type="bibr">(Workman et al., 2016)</ref> or <ref type="bibr">KL-divergence (Hold-Geoffroy et al., 2017;</ref><ref type="bibr">Zhu et al., 2020)</ref> losses. <ref type="bibr">(Kocabas et al., 2021c</ref>) also uses a binning technique. It trains a neural network with a bespoke-biased loss on a new collected dataset <ref type="bibr">(Kocabas et al., 2021c)</ref> . However none of these methods take advantage of the latest architecture innovation in the vision space, i.e., transformer networks <ref type="bibr">(Dosovitskiy et al., 2020a)</ref>. <ref type="bibr">(Lee et al., 2021)</ref> takes both an image and line segments as input and regresses the camera parameters based on the transformer encode-decoder architecture. The line segments, extracted from the input image using the LSD algorithm (Grompone von <ref type="bibr">Gioi et al., 2010)</ref>, are also mapped to geometric tokens. However, the subsequent transformer decoder aggregates both semantic and geometric tokens along with the queries for the camera parameters. In contrast, our model only employs vision transformer to encode the features from a single image and a simple MLP layer is used for decoding, thus an integration of a vision transformer and a CNN hybrid network with a combination of losses during supervision.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Methodology</head><p>Absolute-ROMP is an extension of the ROMP network <ref type="bibr">(Sun et al., 2020)</ref>, which regresses meshes in a one-stage fashion for multiple 3D people (thus termed ROMP). We will briefly explain the working of our Absolute-ROMP and, therefore by extension, of ROMP before going into details about our addition.</p><p>Figure <ref type="figure">1</ref> shows overall system diagram. Absolute-ROMP employs a multi-head design with a HRNeT-32 backbone <ref type="bibr">(Wang et al., 2019)</ref> and 4 head networks: At each position of the camera map, SMPL map and absolute depth map, it predicts the absolute depth of the root joint s z ( defined as the pelvis joint), camera parameters (t x ,t y , s) ( a weak-perspective camera model with translations in the x and y directions and a scale), and SMPL parameters (22&#215;6 pose parameters and 10 shape parameters) of the person that takes the position as the center respectively.</p><p>During inference, we sample the 3D body mesh parameter results from the SMPL parameter map at the 2D body center locations parsed from the body center heatmap. We put the sampled parameters into the SMPL model to generate the 3D body meshes. we employ a weak-perspective camera model to project 3D body joints back to the 2D joints on the image plane. The reason for not employing perspective transform from the absolute coordinates for back projection is because the root depth map only predicts the absolute depth parameter s z , not translation in the x or y direction. This is done in order to preserve real time inference, but it is not sufficient for a perspective projection back to the image. Weak-perspective camera model allows orthogonal back-projection of the 3D pose to 2D on the image, facilitating training the model with in-the-wild 2D pose datasets. This helps with robustness and generalization and also allows for more accurate position estimates than the body center heatmap, as the body center heatmap has limited resolution compared to the image. We will provide more details on heatmap resolution in the next section. We employ the estimated focal length from TransFocal, the projected 2D pose and the predicted absolute depth of the root joint to get the absolute x and y coordinates of the root joint. Finally, using the 3D pose prediction from the SMPL mesh parameters, we infer the absolute location of each of the remaining joints.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Absolute depth map head</head><p>From the original ROMP network <ref type="bibr">(Sun et al., 2020)</ref>, we maintain an output map size n &#215; H &#215; W , where n is the number of channels and H = W = 64, assuming that each location of the absolute depth map is the center of a human body, we estimate absolute depth of its corresponding root joint. Instead of directly regressing the numerical value of depth, we employ a binning technique in the log depth space. The binning resolution is set to 120. The range is chosen after taking prediction error mitigation and reasonable distance estimation based on all available data into consideration. Since different focal lengths of the camera affect the scales of a target person in the image, it is unrealistic to estimate the absolute depth from images taken by any arbitrary camera. 3D human datasets with absolute depth information have minimal variation in focal lengths (most datasets use the same camera for all images in each said dataset). This makes it challenging for the model to learn this variable and therefore can overfit on the focal lengths of the train-ing datasets. The same person will have different dimensions in the images with cameras with different focal lengths. Therefore, the predicted depth is normalized(divided) by the focal length. The focal length is estimated by training another network Trans-Focal, which we will detail in the next subsection.</p><p>We employ a soft-argmax operation on the bins for improved accuracy as compared to exact bin locations. Exact bins can only give integer outputs and therefore have limited precision. Whereas soft bins can output any number between bin indices depending on what number between 0 and 1 is the output of that bin. Therefore, there is minimal precision loss if any. This allows the actual prediction to be a ratio of the bins improving granularity and accuracy of the model. The bin index for the log depth space is computed as follows:</p><p>where b( d) is the bin index of the normalized depth d. N is the total number of bins and [S, E] is the range of the bins. We can state this style of binning depth map as a collection of 1D heatmaps.There are 64&#215;64 predictions for each image. Therefore, we have a 64&#215;64 collection of 1D heatmaps. The predicted bin values B are converted back to normalized depth as follows:</p><p>Similar to <ref type="bibr">(Lin and Lee, 2020)</ref>, the losses added to supervise depth learning are cross-entropy loss on the estimated bins B and L1 loss on the bin index b as follows:</p><p>(3)</p><p>To calculate L bins we have to generate ground truth bins. First, we compute bin index using equation 1.</p><p>The procedure to generate the final bins from the index is then laid out in the pseudo code of Algorithm 1.</p><p>Algorithm 1 Generate Ground truth Bins The final loss is as follows:</p><p>(5)</p><p>L abs = &#955; pose L pose + &#955; shape L shape + &#955; j3d L j3d + &#955; pa j3d L pa j3d + &#955; p j2d L p j2d + &#955; prior L prior + &#955; bins L bins + &#955; id L id where &#955; i represents the weight associated with the loss, L pose is the L2 loss of the pose parameters in the 3 &#215; 3 rotation matrix format, L shape is the L2 loss of the shape parameters, L j3d is the L2 loss of the 3D joints, L pa j3d is the L2 loss of the 3D joints after Procrustes alignment, L p j2d is the L2 loss of the projected 2D joints, and L prior is the Mixture Gaussian prior loss of the SMPL parameters adopted in <ref type="bibr">(Loper et al., 2015)</ref>. please refer to <ref type="bibr">(Sun et al., 2020)</ref> for further detail on these losses.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Focal length estimation</head><p>To estimate the focal length, we train a CNN and transformer hybrid network TransFocal. When it comes to images, convolutional neural networks by design have a stronger inductive bias compared to transformer networks <ref type="bibr">(Bai et al., 2021)</ref>. This results in them being able to learn to embeddings relatively quickly from a smaller subset of data. However, when trained on enough data, the vision transformer is able to outperform similar state-of-the-art CNN models <ref type="bibr">(Dosovitskiy et al., 2020a)</ref>. The transformer's self attention like architecture results in it having better generalization properties <ref type="bibr">(Bai et al., 2021)</ref>. It has been shown that combining CNN embeddings with the vision transformer results in the hybrid system performing better than larger and deeper vision transformer, with less than half the computational fine-tuning cost <ref type="bibr">(Dosovitskiy et al., 2020b)</ref>. Thus combining the benefits of both architectures we are able to train on lesser data and get improved accuracy. Since focal length in pixels has an unbounded range and it changes whenever one resizes images, we estimate vertical field of view (vfov) v in radians and convert it to focal length f y via:</p><p>where h is the image height in pixels. We follow <ref type="bibr">(Zhu et al., 2020)</ref> and <ref type="bibr">(Kocabas et al., 2021c)</ref> to assume zero camera yaw and the effective focal length values in both directions are the same, i.e., f x = f y = f . TransFocal takes the complete image as input to predict vfov which is the same for all subjects in the image of a video sequence. This means that inference has to only be performed once in order to get absolute coordinates for each frame of a video sequence. The full image contains rich cues that can facilitate transformer self attention. Vanishing points and geometric lines help the network semantically reason the vertical field of view. Similar to our absolute depth map head and <ref type="bibr">(Kocabas et al., 2021c)</ref>, we discretize the space of vfov v into B bins, converting the regression problem into a classification problem. Also similar to our depth map head, we aggregate the predicted probability mass using a softargmax operation. For the losses, we found in our testing that combining cross entropy loss L CE (with a smaller weight) with softargmaxbiased-L2 loss <ref type="bibr">(Kocabas et al., 2021c)</ref> L agmax improves model convergence. The final loss L f oc :</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Implementation Details</head><p>In the following, we will list the implementation details of both the absolute depth map head, Absolute-ROMP, and the focal length estimation network, TransFocal, in terms of network architecture, training setting details, training datasets, and evaluation metrics.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Absolute-ROMP</head><p>Network Architecture: We employ HRNet-32 <ref type="bibr">(Wang et al., 2019)</ref> as the backbone for Absolute-ROMP. We also maintain CoordConv <ref type="bibr">(Liu et al., 2018)</ref> from ROMP to enhance the spatial information. Therefore, the backbone feature is the combination of a coordinate index map and output feature embeddings from HRNET-32. This feature set is then used as input to the four heads for complete end to end prediction. The architecture of absolute depth map is similar to the other map heads. The only difference being the output of the final 1&#215;1 convolutional layer, with a size of 120&#215;64&#215;64: As stated earlier the binning resolution is set to 120 and the map size is 64&#215;64. For details on the architecture of the map heads please refer to <ref type="bibr">(Sun et al., 2020)</ref>.</p><p>Setting Details: The input images are resized to 512 &#215; 512, by keeping the same aspect ratio and padding with zeros. The size of the backbone feature is H b = W b = 128. The maximum number of detection is N = 64. The learning rate used is 5e-5. The batch size is set to 26. We adopt the Adam optimizer <ref type="bibr">(Kingma and Ba, 2014)</ref> for training, and train the model until performance plateaus on validation set.</p><p>Training Datasets: The basic training datasets we used in the experiments include three 3D pose datasets: (Human3.6M <ref type="bibr">(Ionescu et al., 2014)</ref>, MPI-INF-3DHP <ref type="bibr">(Mehta et al., 2016)</ref>, MuCo-3DHP <ref type="bibr">(Mehta et al., 2016)</ref>) and four in-the-wild 2D pose datasets (MS COCO <ref type="bibr">(Lin et al., 2014)</ref>, MPII <ref type="bibr">(Andriluka et al., 2014)</ref>, LSP <ref type="bibr">(Johnson and Everingham, 2010)</ref>, Crowdpose <ref type="bibr">(Li et al., 2018)</ref>). We also use the pseudo 3D annotations from <ref type="bibr">(Kolotouros et al., 2019)</ref> and the pseudo 3D labels of 2D pose datasets provided by <ref type="bibr">(Joo et al., 2020)</ref>. For evaluation on a 3D pose dataset 3DPW <ref type="bibr">(von Marcard et al., 2018)</ref>, we use the train set for fine tuning.</p><p>Evaluation Benchmarks and Metrics: We evaluate our model on the Human3.6M <ref type="bibr">(Ionescu et al., 2014)</ref>, Mupots <ref type="bibr">(Mehta et al., 2017) and</ref><ref type="bibr">3DPW (von Marcard et al., 2018)</ref>. To evaluate the 3D pose accuracy, we employ mean per joint position error (MPJPE) <ref type="bibr">(Joo et al., 2015)</ref> and Procrustes-aligned MPJPE (PMPJPE). For root depth estimation we employ MRPE z <ref type="bibr">(Moon et al., 2019)</ref> and PCK abs <ref type="bibr">(Moon et al., 2019)</ref>.</p><p>MPJPE is the average Euclidean distance between the location of real-life joints on human bodies and the location of predicted joints on 3D pose after translating the root joint ('pelvis') of estimated bodies to the groundtruth root. Procrustes-aligned MPJPE (PMPJPE) uses procrustes alignment <ref type="bibr">(Luo and Hancock, 1999</ref>) (PA) to solve for translation, scale and rotation between the estimated bodies and the ground truth and thus mostly focuses on the pose error. Mean root position error(MRPE) is the mean of the euclidean distance between the estimated coordinates of the predicted absolute root and ground truth absolute root. The 3D percentage of correct absolute keypoints (3DPCK abs ) treats a joint's absolute prediction as correct if it lies within a 15cm from the ground truth joint location.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">TransFocal</head><p>Network Architecture: The architecture is shown in Figure <ref type="figure">2</ref>. Similar to <ref type="bibr">(Yang et al., 2021)</ref>, we use ResNet <ref type="bibr">(He et al., 2015)</ref> as the CNN backbone. Then learnable patch embeddings are applied to patches extracted from the ResNet output.Each patch embedding's kernel size is equal to the patch size, which means that the input sequence is obtained by simply flattening the spatial dimensions of the ResNet features and projecting to the Transformer dimension. Since the image is not converted into patches directly, the original physical meaning of positional embeddings is missing. Therefore they are not used when mapping the patches into a latent embedding space l using a linear projection.</p><p>We also show the overview of the transformer encoder architecture in Figure <ref type="figure">2</ref>, to help with the explanation stated below. The input of the first Transformer layer z 0 is calculated as follow:</p><p>where z 0 is mapped into a latent n-dimensional embedding space using a trainable linear projection layer and E is the patch embedding projection. These patches are then fed into the vision transformer specifically the VIT-B16 <ref type="bibr">(Dosovitskiy et al., 2020a)</ref> variant. There are L Transformer layers which consist of multi-headed self-attention (MSA) and multi-layer perceptron (MLP) blocks. At each transformer layer &#8467;, the input of the self-attention block is a triplet of Q (query), K (key), and V (value), which are computed from the output of the previous layer by matrix multiplication with learnable parameters of weight matrices. The self-attention in the attention head AH is calculated as:</p><p>where d is the dimension of self-attention block. MSA means the attention head will be calculated m times by independent weight matrices. The final MSA(z &#8467;-1 ) is defined as:</p><p>The output of MSA is then transformed by an MLP block with residual skip connection as the layer output as:</p><p>where Norm means the layer normalization operator. Finally we use a fully connected layer to decode the  <ref type="bibr">(Moon et al., 2019)</ref> 108.1 HDNET <ref type="bibr">(Lin and Lee, 2020)</ref> 69.9 Ours 68 output of the vision transformer.</p><p>Setting Details: The TransFocal model is trained with images of varied resolutions. The learning rate used is 1e-4. The weight decay is set to 1e-2. The batch size is set to 4. We adopt the Adam optimizer <ref type="bibr">(Kingma and Ba, 2014)</ref> for training. We train the model until performance plateaus on validation set.</p><p>Training and Evaluation Datasets: A dataset is created using the Pano360 dataset <ref type="bibr">(Kocabas et al., 2021c)</ref>. Pano360 consists of real panoramas taken from flickr <ref type="bibr">(Flickr, 2022)</ref> and synthetic panoramas. Due to a portion of flickr images being inaccessible, we were unable to recreate the complete dataset. The dataset is split for training and evaluation purposes. The code for creating the dataset is available at <ref type="bibr">(Kocabas et al., 2021b)</ref>. Note that as the image generation parameters are randomized, it is difficult to recreate exact the same dataset.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Experiments and Results</head><p>Here we report some performance comparison on multiple datasets and a ablation study in using the Absolute-ROMP.   <ref type="bibr">(Kocabas et al., 2019)</ref> 82.9 51.9 ROMP(HRNET-32) <ref type="bibr">(Sun et al., 2020)</ref> 76.7 47.3 Absolute-ROMP(HRNET-32) 84 50.5</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">Performance comparison</head><p>The root joint localization results on Human3.6M dataset are shown in Table <ref type="table">1</ref>. The baselines reported in the first 3 rows follow a two-stage approach <ref type="bibr">(Moon et al., 2019)</ref>, where 2D pose and 3D pose are estimated separately, and an optimization process is adopted to obtain the global root joint location that minimizes the re-projection error. The baseline "w/o limb joints" refers to optimization using only head and body trunk joints. The baseline "with RANSAC" refers to randomly sampling the set of joints used for optimization with RANSAC. The baseline results are taken from the figures reported in <ref type="bibr">(Moon et al., 2019)</ref>. We also compare with the state-of-the-art approaches <ref type="bibr">(Moon et al., 2019;</ref><ref type="bibr">Lin and Lee, 2020)</ref>. In <ref type="bibr">(Moon et al., 2019)</ref> a multi-stage approach is used while in (Lin and Lee, 2020) a graph convolution network model is used. Our model is able to outperform the SOTA while maintaining inference in real time. Our system runs at &#8764; 23 fps on a Nvidia Tesla V100 GPU. Our root joint localization head achieves a 68 mm accuracy. We also showcase the performance of Absolute-ROMP on the MUPOTS dataset in Table <ref type="table">2</ref>. Our model has comparable performance to the SOTA. We also compare MJPJPE and PMPJPE performance in Table <ref type="table">3</ref> which does not make use of the absolute depth as joints are evaluated after root alignment. Even with added depth map prediction, we are able to maintain comparable performance with the SOTA. We also show qualitative comparison with ROMP in Figure <ref type="figure">3</ref> which highlights the importance of absolute global coordinates. Thanks to absolute depth information while positioning the meshes, we improve the location accuracy therefore correctly placing people hugging each other.</p><p>Finally, in Table <ref type="table">4</ref> we show case TransFocal performance against a SOTA approach CamCalib <ref type="bibr">(Kocabas et al., 2021c)</ref>. Our model is trained on a dataset created from partially available images of the Pano360 dataset, while we compare the performance with a model provided by the author <ref type="bibr">(Kocabas et al., 2021c)</ref> pretrained on dataset created from complete Pano360 dataset. We evaluate on a portion of the dataset unseen by our model. As can be seen our model is able to outperform CamCalib by up to 40%.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Ablation study</head><p>We show the improvement in performance when we use a combination loss instead of just employing the Softargmax-biased-L2 loss when training TransFocal. We report mean error after training for 1 epoch while using Softargmax-biased-L2 loss alone and with cross entropy loss in Table <ref type="table">5</ref>. The cross entropy loss acts as a guide for the gradient descent direction when the model is starting out thus adding to the speed of convergence of the model .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Conclusion</head><p>We build upon an end to end one-stage network ROMP for monocular multi-person 3D mesh regression, by adding in absolute distance prediction to create our Absolute-ROMP. In order to eliminate the need for intrinsic parameters of the camera, we also design and train a focal length prediction network called TransFocal, which is a CNN+Transformer hybrid model. We evaluate our models on industry standard benchmarks. Absolute-ROMP shows competitive performance while maintaining real time performance, while TransFocal is able to outperform the state-of-the-art.</p><p>Future work could incorporate the absolute camera parameters eliminating the need for predicting the depth separately. This would require the use of accurate absolute multi-person 3D datasets in a variety of scenarios, such as the synthetic dataset AGORA <ref type="bibr">(Patel et al., 2021)</ref>. In addition, real-time clothes and texture prediction would be especially beneficial for VR and AR applications.</p><p>\section*{ACKNOWLEDGEMENTS}</p></div></body>
		</text>
</TEI>
