Skip to main content

Fast FHOG feature extraction for Python

Project description

pyfhog

Python wrapper for dlib's FHOG (Felzenszwalb HOG) feature extraction.

Installation

pip install pyfhog

Usage

import pyfhog

features = pyfhog.extract(image, cell_size=8)

What it does

Extracts FHOG features identical to OpenFace 2.2 (validated r=1.0, RMSE=0.0). Uses dlib's optimized C++ SIMD implementation under the hood.

Citation

If you use this in research, please cite:

Wilson IV, J., Rosenberg, J., Gray, M. L., & Razavi, C. R. (2025). A split-face computer vision/machine learning assessment of facial paralysis using facial action units. Facial Plastic Surgery & Aesthetic Medicine. https://doi.org/10.1177/26893614251394382

License

CC BY-NC 4.0 — free for non-commercial use with attribution.

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

pyfhog-0.1.4.tar.gz (2.0 MB view details)

Uploaded Source

Built Distributions

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

pyfhog-0.1.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pyfhog-0.1.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pyfhog-0.1.4-cp313-cp313-macosx_11_0_arm64.whl (98.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyfhog-0.1.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pyfhog-0.1.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pyfhog-0.1.4-cp312-cp312-macosx_11_0_arm64.whl (97.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyfhog-0.1.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pyfhog-0.1.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pyfhog-0.1.4-cp311-cp311-macosx_11_0_arm64.whl (96.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pyfhog-0.1.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pyfhog-0.1.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pyfhog-0.1.4-cp310-cp310-macosx_11_0_arm64.whl (94.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pyfhog-0.1.4-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pyfhog-0.1.4-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pyfhog-0.1.4-cp39-cp39-macosx_11_0_arm64.whl (95.0 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pyfhog-0.1.4-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pyfhog-0.1.4-cp38-cp38-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pyfhog-0.1.4-cp38-cp38-macosx_11_0_arm64.whl (94.7 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: pyfhog-0.1.4.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyfhog-0.1.4.tar.gz
Algorithm Hash digest
SHA256 008ff4c41ca77ff7e0d2861554837abbfd7b94f471dc067026ae0b002b5cb067
MD5 75af836a3cc638173a58cb11851df7fa
BLAKE2b-256 8dba715e3162ce1b9b98490ee6c6d1adc7d2b69242fb486b4c9984e65d3216db

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4.tar.gz:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9c6125b190839117740aecc8463a8020bb385d5e1f22908390c3533f94a03982
MD5 99e8ddf0973d8f8290c4da4942aad968
BLAKE2b-256 0ed5b54eb44ef638d90e6ac69357f0d54d0a2adb9db2f9a1b4ebd7ca4b09adda

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8708a9ca6aa53799502d5012f65dd6a68863cda5a30a5d960e8c9ca05e6709a5
MD5 8537d17e68a33ca7e11f81dc750343fe
BLAKE2b-256 af0fe1b499463d0c7efa434e8becb6ec9b77138f8202d4e6a0fac2c907b77a04

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fa1d4dc4a908782f7708f1bacd4ff1804bbbcedbf2a2bffa64f9fc75641208f0
MD5 00dbc182be70b4477ae1b5d1a220f5cd
BLAKE2b-256 07b5ada8d5d1e6495cf6cbea67ebea3cddd6886e0d71e2e1f643125b250c99a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 581b36d603e2d6baae2066db1c9140276bd5ced943223267f7555e10d92cc5fc
MD5 9ed41c9f5277c526ba637d142c4e2d69
BLAKE2b-256 be282e32d665cda1016639205e2caedf3ecfa456290278446abf0979df7da504

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 360514df3a0e6626516c2677047c75e8f54358f05a95da09d07da12353bb0dfb
MD5 6e19fe41686a060c75425065ce7063bd
BLAKE2b-256 53d00f5363fd24762939505e437a9ad1e075ad423de1ca3420ddfe24e5ebb42a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 36c16d686fe16db1ed2472032974b0cea880e4c0c010da45b08011dffc9631a4
MD5 9eede868843b43e8594674848182d951
BLAKE2b-256 5a8bac825f433beb407bc61eac67becee06704e95a197f30a09530c3e2adf6d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a9a3f4bd0ed27e26ddc835ae63b49a59b10cbd1c0e95e6efbc5524d983c585a4
MD5 6a2f45668514ef24aa0372f9f0a517ce
BLAKE2b-256 fcb98a3c8e4e8b62053cfcb57a27ee5c65e06cde43c230a12b17d636729ea37f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e96e4c94ec2c98a3d80f1801697dd989ace889983b59cc28abfee5602de6e577
MD5 7667d1e5f5d9ee10cd9d40edbac8e7d3
BLAKE2b-256 85cb66c0921ef14de15e5d0ab982544f7c05852652fa1adc7c0046382f9344da

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 885329f8cd581e7ffae39eb4e7b21d8444f9b6e97e9fc4293ea8f06294caadcb
MD5 fbe617b5fdfaef75f8c9cdc35ea0f57a
BLAKE2b-256 afcbcc21d99d3a56890075b1812d4e0c0d8763b7b7d10bb9665e6510b0d45a2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c2841d58fde84a0082d251cabd3d000e98ab059b815c1b9891180f5ebe5bdafc
MD5 1b4281e72e669308d5fd696b8d7146b6
BLAKE2b-256 6213ccc1c838c7f56b4855c64b2ab9d1ce413116cd81425e12a65124f3a4eb78

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6f2eccba6a7e3e4907d67a4fa555bc427817918d9e091cd59d44f512a609ca81
MD5 e7b2eb759faffcf4767b328a9ff4a804
BLAKE2b-256 61d326791ddd5787ba506953355bddf8a1defdd4f3c27b5b0ef134c1d66a52c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7b0f47f2978a3cee680c08fac9079403cbf8eaa3d53ce320cbed83768e7496eb
MD5 e664464f4d2221d50c3b0a4da19b3939
BLAKE2b-256 0284d6b5fa5f97fb5ed2598c8f9769e1157be4b57845d38065970368bb4b753b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 343602794e4e1ef9837c8072d417385e5599f60b03bdb32a3a9e8ee9436b8f6b
MD5 fe0c1435859a434f79e5b24ecabf0941
BLAKE2b-256 2c027f45b72a0e7ab5b5411ba28a2e086a1ba841f2f04b83429ea057775cf7b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 22261eeffb059eb9a9a73d44912fbaaec57d91ff79947739077937890298a38b
MD5 21ca61a7b7202eaf63ee9259d7b10f1f
BLAKE2b-256 95599a297652f6ac9f80f8dc5191f63b5bd491932edc308dc134815f90776072

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1982ec80e99237620391880d31c9adab0375c71cf71f3ff842cd53892985fa3d
MD5 db8a60f5adc565a96eb37d1a527eda1d
BLAKE2b-256 e3ad385fd71f98d8ffd10a600e7244fdcbfca4e97adbcd98c212e07742947bb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b9c2f593ef5197c1655dc1f712c24e422069161f4dbbfc54717ef5687f03bf84
MD5 41521126e3cf52839cfa1351e6aa8dcd
BLAKE2b-256 abe17b1c7b66489782024dbb9d9a719b661646bf6c8c9bd07d614d73ffd29680

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp38-cp38-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp38-cp38-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 db6752a0ef7bc6ba3def99e378cb00d3ccf7eb753f9b1e9bf306e0f46d993229
MD5 ec61b8276fb9198ec6c7866217d5a165
BLAKE2b-256 45c26a26a5a64693a93dccf1bbe507acc104c0844464f9a066ede7e1d4d2fe46

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp38-cp38-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyfhog-0.1.4-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyfhog-0.1.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4594b9181fcbcf9270be478dd6cfa1994044ce2d88acdc17dba4688662f8e616
MD5 08714d863511c430a0e37cda7d3c03ec
BLAKE2b-256 96617a22464c3b4c51dff10d580d849de8a00e713786a3baad40102acf411cd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfhog-0.1.4-cp38-cp38-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on johnwilsoniv/pyfhog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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