Skip to main content

Fast 6DoF Face Alignment and Tracking

Project description

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>

Credit

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

fdfat-0.1.4.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fdfat-0.1.4-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file fdfat-0.1.4.tar.gz.

File metadata

  • Download URL: fdfat-0.1.4.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for fdfat-0.1.4.tar.gz
Algorithm Hash digest
SHA256 cba36e5818350fb8e78694252f1a833053162262a25074e03c36dd4677b40b5d
MD5 b1dac3c83c662ed4fc98404e0d2e6e48
BLAKE2b-256 5cb37cc3e1b8eb85d08219b3dcb21f8a4e631d29cffd17b9dedae40f12b134b9

See more details on using hashes here.

File details

Details for the file fdfat-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: fdfat-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for fdfat-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2979bf1666c4dcf5eda1093a0df89473044c0c9027f65804dcdfc213ba934715
MD5 d01d593ae40154bf68a563c6fe57bdfd
BLAKE2b-256 3036aa633ef1095ca9da64139b14d1efe4fe2de04b1c99cf9b1d2e94867fd967

See more details on using hashes here.

Supported by

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