pfla

pfla: A Python Package for Dental Facial Analysis using Computer Vision and Statistical Shape Analysis - Published in JOSS (2018)

https://github.com/maxrousseau/pfla

Science Score: 93.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

computer-vision machine-learning medical-image-processing statistics
Last synced: 6 months ago · JSON representation

Repository

pfla: Python Facial Landmark Analysis

Basic Info
Statistics
  • Stars: 6
  • Watchers: 1
  • Forks: 2
  • Open Issues: 1
  • Releases: 4
Topics
computer-vision machine-learning medical-image-processing statistics
Created over 7 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Contributing License

README.md

pfla: Python Facial Landmark Analysis


GitHub release PyPI license PyPI version fury.io PyPI pyversions Documentation
Status Build
Status DOI

A simple command line interface to automate facial analysis. pfla uses a pre-trained neural networks to detect faces and annotate them with 68 landmarks. The program also compute four commonly used facial metrics. The output is saved to a file to allow for easy statistical analysis by the user.

Publication

This software was published in JOSS. Since version 1.0.0, the packaged has changed considerably. The publication release is still available here.

Citing

If you use this software please use this citation:

@article{Rousseau_2018, doi = {10.21105/joss.00855}, url = {https://doi.org/10.21105%2Fjoss.00855}, year = 2018, month = {dec}, publisher = {The Open Journal}, volume = {3}, number = {32}, pages = {855}, author = {Maxime Rousseau and Jean-Marc Retrouvey}, title = {pfla: A Python Package for Dental Facial Analysis using Computer Vision and Statistical Shape Analysis}, journal = {Journal of Open Source Software}}

Features

  • Face detection using mtcnn
  • Landmark placement
  • Facial metric calculations

Requirements and Dependencies

  • Python 3.5 (or higher)
  • Python packages:
    • numpy
    • pandas
    • pytest
    • pillow
    • facenet-pytorch
    • face-alignment
    • pytest-cov
    • pytorch

Installation

Install with pip:

shell pip install -r requirements-pytorch.txt \ # pytorch for CPU -f https://download.pytorch.org/whl/torch_stable.html pip install -r requirements.txt # other dependencies pip install pfla

Usage

```shell usage: pfla [-h] [-d] [-l] [-m] [-o OUTPUT] [-v] path

PFLA: python facial landmark analysis. This program will read the image(s) given as input and can apply a face detection algorithm, landmark placement and computation of metrics. The results are returned as a text stream.

positional arguments: path path to the image or directory of images

optional arguments: -h, --help show this help message and exit -d, --detect detect faces and output bounding box -l, --landmark annotate detected faces and output coordinates -m, --metrics compute metrics and output results -o OUTPUT, --output OUTPUT specify output filename and format/filetype of the data -v, --verbose increase output verbosity

AUTHOR: Maxime Rousseau LICENSE: MIT ```

Testing

To test your installation run the following commands:

shell cd [PATH_TO_PACKAGE_INSTALLATION] pytest

Documentation

Documentation of the package can be found here: https://pfla.readthedocs.io/en/master

Contribute

License

The project is licensed under the MIT license.

Contact

Maxime Rousseau, DMD candidate 2020 McGill University, Faculty of Dentistry - Email: maximerousseau08@gmail.com - Website: https://maxrousseau.github.io/portfolio/

Owner

  • Name: Maxime Rousseau
  • Login: maxrousseau
  • Kind: user
  • Location: Montreal, Canada

DMD

JOSS Publication

pfla: A Python Package for Dental Facial Analysis using Computer Vision and Statistical Shape Analysis
Published
December 02, 2018
Volume 3, Issue 32, Page 855
Authors
Maxime Rousseau ORCID
McGill University, Faculty of Dentistry
Jean-Marc Retrouvey ORCID
McGill University, Faculty of Dentistry
Editor
Ariel Rokem ORCID
Tags
facial analysis dentistry statistical shape analysis euclidean geometry

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 184
  • Total Committers: 3
  • Avg Commits per committer: 61.333
  • Development Distribution Score (DDS): 0.516
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
maxrousseau m****8@g****m 89
maxime m****x@t****0 59
Guillaume Lemaitre g****8@g****m 36

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 13
  • Total pull requests: 3
  • Average time to close issues: 20 days
  • Average time to close pull requests: about 12 hours
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 2.92
  • Average comments per pull request: 3.67
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • glemaitre (7)
  • mnarayan (5)
  • arokem (1)
Pull Request Authors
  • dependabot[bot] (2)
  • glemaitre (1)
  • maxrousseau (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 24 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 18
  • Total maintainers: 1
pypi.org: pfla

Python facial landmarking and analysis

  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 24 Last month
Rankings
Dependent packages count: 10.0%
Average: 18.2%
Forks count: 19.1%
Downloads: 20.0%
Stargazers count: 20.3%
Dependent repos count: 21.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

docs/requirements.txt pypi
  • alabaster *
  • docutils ==0.16
  • mock *
  • sphinx *
  • sphinxcontrib-applehelp *
  • sphinxcontrib-devhelp *
  • sphinxcontrib-htmlhelp *
  • sphinxcontrib-jsmath *
  • sphinxcontrib-napoleon *
  • sphinxcontrib-qthelp *
  • sphinxcontrib-serializinghtml *
requirements-pytorch.txt pypi
  • torch ==1.5.0
  • torchvision ==0.6.0
requirements.txt pypi
  • face-alignment *
  • facenet-pytorch *
  • numpy *
  • pandas *
  • pillow *
  • pytest *
  • pytest-cov *
setup.py pypi