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.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

h3ds-0.1.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: h3ds-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 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.1.tar.gz
Algorithm Hash digest
SHA256 b1d5ad603739f09c49f1cff0bfac688a4a1b0e2330bc32dd78fd1751c776bc3a
MD5 21a03fe58087ed1c7ed44f3d0e58be42
BLAKE2b-256 9584130c1ee6ec22205a86fcf965acc49035b42d08e25ccd6e21833c24060ebc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: h3ds-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7629f904eb3a085b73501a576f7e5f1c23da998cac3465dd97f447710cca76aa
MD5 01e72791bb2405877f5d9569c6cb303d
BLAKE2b-256 5b1f69376da7e81b449f6fa02009b17e48fef97979f67d785884a677b3eb217f

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