Skip to content
cccskills
FreePublished on GitHub

face-alignment

Routes face-alignment installation, import checks, landmark-detection workflows, and detector-backend selection.

The English summary is being prepared. Showing the original description.

See how to install

Files included (14)

  • SKILL.md2.6 KB
  • references/api-reference.md3.1 KB
  • references/repo-provenance.md1.4 KB
  • references/repo-routing-metadata.json417 B
  • references/troubleshooting.md2.5 KB
  • scripts/check_install.py2.2 KB
  • sub-skills/detectors/references/detector-overview.md2.7 KB
  • sub-skills/detectors/references/troubleshooting.md2.5 KB
  • sub-skills/detectors/scripts/check_detector_support.py3.3 KB
  • sub-skills/detectors/SKILL.md1.7 KB
  • sub-skills/landmark-detection/references/troubleshooting.md2.1 KB
  • sub-skills/landmark-detection/references/workflows.md3.0 KB
  • sub-skills/landmark-detection/scripts/detect_landmarks.py8.5 KB
  • sub-skills/landmark-detection/SKILL.md2.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Face-Alignment Repo Skill

Use this repo skill when a task names face_alignment, face landmark detection, 2D / 2.5D / 3D facial keypoints, or detector backends such as SFD, BlazeFace, YuNet, RetinaFace, SCRFD, folder boxes, or deprecated dlib.

Start here

  • Read references/repo-provenance.md when you need to know whether this skill still matches the current checkout.
  • Run scripts/check_install.py after installing dependencies or when an import seems broken.
  • Use sub-skills/landmark-detection/ for image, batch, or directory landmark inference.
  • Use sub-skills/detectors/ when the question is which face detector backend to use or why one backend is unavailable.

Install

The package distribution is face-alignment and the import name is face_alignment.

For a normal user install:

pip install face-alignment

For local source inspection from this checkout:

pip install -r requirements.txt
pip install -e .

If you need SCRFD support, install the optional extra:

pip install -e '.[scrfd]'
# or: pip install onnxruntime

If you plan to use RetinaFace, also install torchvision because that backend imports it directly.

The package requires Python 3.9+ and PyTorch 2.0+.

Minimal check

python -c "import face_alignment; print(face_alignment.__version__)"
python scripts/check_install.py

Route map

  • sub-skills/landmark-detection/ — run FaceAlignment on a single image, a batch tensor, or a directory of images; choose landmark type, device, compile, and batch-size settings; interpret returned landmark arrays and no-face results.
  • sub-skills/detectors/ — choose face_detector=..., handle optional detector dependencies, use folder sidecar boxes, and troubleshoot backend-specific import or device failures.

Common choices

  • Use device='cpu' on CPU-only systems; the class default is device='cuda'.
  • Use compile=False when you want fast startup or a simpler smoke path.
  • Use flip_input=False only when you want to skip the accuracy trade-off of test-time flipping.
  • Read references/api-reference.md for the verified constructor, return shapes, and helper functions.
  • Read references/troubleshooting.md for cross-cutting install, import, download, and device issues.
  • Read references/repo-routing-metadata.json when you need to inspect the router-facing scenario placement or selection guidance.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill