Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fdfat

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fdfat

Fast 6DoF Face Alignment and Tracking

  • 0.2.6.1
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc