Skip to main content

Python interface for H3DS dataset

Project description

H3DS Dataset

PyPI

This repository contains some utilities for using the H3DS dataset introduced in H3D-Net: Few-Shot High-Fidelity 3D Head Reconstruction

Access

The H3DS dataset is available only for academic purposes. To request access, start by filling the contact form with your academic email and a license agreement will be sent back, which must be completed by a full-time academic staff member. Finally, you'll be provided with a H3DS_ACCESS_TOKEN to use the dataset.

Setup

The simplest way to use the H3DS dataset is by installing it as a pip package:

pip install h3ds

Using H3DS

In order to use the dataset, simply import the package in your python scripts.

from h3ds.dataset import H3DS

h3ds = H3DS(path='local/path/to/h3ds')

If it's the first time using H3DS, download the data (less than 500 Mb).

h3ds.download(token=H3DS_ACCESS_TOKEN)

You can easily list the ids of the available scenes

scenes = h3ds.scenes()

and load the data from a concrete scene as:

mesh, images, masks, cameras = h3ds.load_scene(scene_id='1b2a8613401e42a8')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

h3ds-0.1.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

h3ds-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file h3ds-0.1.0.tar.gz.

File metadata

  • Download URL: h3ds-0.1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.6.7

File hashes

Hashes for h3ds-0.1.0.tar.gz
Algorithm Hash digest
SHA256 06d1eb9570f12b3be05a0640360e0572c034f5d2fcc7d74074731cfb8661e934
MD5 ad357a7a6237d293b91348ad1ec50d56
BLAKE2b-256 610b25b25d6e61dbcfb877abc7fe58dd63f149edaa3d4d30a3672f3442b7e249

See more details on using hashes here.

File details

Details for the file h3ds-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: h3ds-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.6.7

File hashes

Hashes for h3ds-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3a87af4c149f877cfdb6c955002335b02549110a0a1c2ea481b6c4216407a28
MD5 7913ac434552c71240620317d0c8fabb
BLAKE2b-256 a009d2dbf297164dc3215d7473e65bacf5d5ad1367daa6469a87ed21afb65fd5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page