<br />

- **Description**:

300W-LP Dataset is expanded from 300W, which standardises multiple alignment
databases with 68 landmarks, including AFW, LFPW, HELEN, IBUG and XM2VTS. With
300W, 300W-LP adopt the proposed face profiling to generate 61,225 samples
across large poses (1,786 from IBUG, 5,207 from AFW, 16,556 from LFPW and 37,676
from HELEN, XM2VTS is not used).

The dataset can be employed as the training set for the following computer
vision tasks: face attribute recognition and landmark (or facial part)
localization.

- **Homepage** :
  <http://www.cbsr.ia.ac.cn/users/xiangyuzhu/projects/3DDFA/main.htm>

- **Source code** :
  [`tfds.datasets.the300w_lp.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/the300w_lp/the300w_lp_dataset_builder.py)

- **Versions**:

  - **`1.0.0`** (default): No release notes.
- **Download size** : `2.63 GiB`

- **Dataset size** : `1.33 GiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  No

- **Splits**:

| Split | Examples |
|---|---|
| `'train'` | 61,225 |

- **Feature structure**:

    FeaturesDict({
        'color_params': Tensor(shape=(7,), dtype=float32),
        'exp_params': Tensor(shape=(29,), dtype=float32),
        'illum_params': Tensor(shape=(10,), dtype=float32),
        'image': Image(shape=(450, 450, 3), dtype=uint8),
        'landmarks_2d': Tensor(shape=(68, 2), dtype=float32),
        'landmarks_3d': Tensor(shape=(68, 2), dtype=float32),
        'landmarks_origin': Tensor(shape=(68, 2), dtype=float32),
        'pose_params': Tensor(shape=(7,), dtype=float32),
        'roi': Tensor(shape=(4,), dtype=float32),
        'shape_params': Tensor(shape=(199,), dtype=float32),
        'tex_params': Tensor(shape=(199,), dtype=float32),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| color_params | Tensor | (7,) | float32 |   |
| exp_params | Tensor | (29,) | float32 |   |
| illum_params | Tensor | (10,) | float32 |   |
| image | Image | (450, 450, 3) | uint8 |   |
| landmarks_2d | Tensor | (68, 2) | float32 |   |
| landmarks_3d | Tensor | (68, 2) | float32 |   |
| landmarks_origin | Tensor | (68, 2) | float32 |   |
| pose_params | Tensor | (7,) | float32 |   |
| roi | Tensor | (4,) | float32 |   |
| shape_params | Tensor | (199,) | float32 |   |
| tex_params | Tensor | (199,) | float32 |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `None`

- **Figure**
  ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):

![Visualization](https://storage.googleapis.com/tfds-data/visualization/fig/the300w_lp-1.0.0.png)

- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/the300w_lp_796fdb80fe8ba8d4468d668fb33e76bf7921b12a9ae6d89d3b5cd67eebc73b0a.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

- **Citation**:

    @article{DBLP:journals/corr/ZhuLLSL15,
      author    = {Xiangyu Zhu and
                   Zhen Lei and
                   Xiaoming Liu and
                   Hailin Shi and
                   Stan Z. Li},
      title     = {Face Alignment Across Large Poses: {A} 3D Solution},
      journal   = {CoRR},
      volume    = {abs/1511.07212},
      year      = {2015},
      url       = {http://arxiv.org/abs/1511.07212},
      archivePrefix = {arXiv},
      eprint    = {1511.07212},
      timestamp = {Mon, 13 Aug 2018 16:48:23 +0200},
      biburl    = {https://dblp.org/rec/bib/journals/corr/ZhuLLSL15},
      bibsource = {dblp computer science bibliography, https://dblp.org}
    }