Skip to main content

Working in progess...

Fast 6DoF Face Alignment and Tracking

This project purpose is to implement Ultra lightweight 6 DoF Face Alignment and Tracking. This project is capable of realtime tracking face for mobile device.

Installation

Requirements

  • torch >= 2.0
  • autoalbument >= 1.3.1

Install

PyPI version

pip install -U fdfat

Model Zoo

TODO: add best model

Training

Prepare the dataset

This project use 3d 68 points of landmark (difference from the original 300W dataset). Please go to FaceSynthetics to download the dataset (100K one) and extract it to your disk.

Create your dataset yaml file with the following info:

base_path: <path-to-face-synthesis-dataset>/dataset_100000
train: <path-to-list-train-text-file.txt>
val: <path-to-list-val-text-file.txt>
test: <path-to-list-test-text-file.txt>

note: you can use list train file in datasets/FaceSynthetics for reference.

Start training

fdfat --data <path-to-your-dataset-yaml> --model LightWeightModel

For complete list of parameter, please folow this sample config file: fdfat/cfg/default.yaml

Validation

fdfat --task val --data <path-to-your-dataset-yaml> --model LightWeightModel

Predict

fdfat --task predict --model LightWeightModel --checkpoint <path-to-checkoint> --input <path-to-test-img>

Export

fdfat --task export --model LightWeightModel --checkpoint <path-to-checkoint> --export_format tflite

Credit

Metadata

Release files for fdfat 0.2.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fdfat 0.2.6.1
File Size Uploaded Provenance Actions
fdfat-0.2.6.1.tar.gz 46.0 kB Without provenance Details for fdfat-0.2.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fdfat 0.2.6.1
File Interpreter ABI Platform Actions
fdfat-0.2.6.1-py3-none-any.whl Python 3 none any Details for fdfat-0.2.6.1-py3-none-any.whl

Total release size: 109.2 kB

Release files / fdfat-0.2.6.1.tar.gz

Download URL fdfat-0.2.6.1.tar.gz
Size 46.0 kB
Tags Source
SHA-256 checksum
How to use checksums
544ecc50373ec8700ba29ca2e10b5f2adaabd53d59ce38c60e166976d06583e9
BLAKE2b-256 checksum
How to use checksums
84b044091ef4a37c6f8bddb4da7185d78870f45d194399942cbe39e594ab4e4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / fdfat-0.2.6.1-py3-none-any.whl

Download URL fdfat-0.2.6.1-py3-none-any.whl
Size 63.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aad19eb60071662de069ba5cf98dd8f5cfcdffcd010a23110185a0c74338f07f
BLAKE2b-256 checksum
How to use checksums
7e58aea229fc13462367832b66435e98e2afb0c012e7912b7829c176a4057a01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Security for fdfat 0.2.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.6.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page