Skip to content
Back to skills

Face Alignment

ASecurity

"Align face identity folders with MTCNN detection, landmark

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
testing

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill face-alignment --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Face Alignment?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Face Alignment
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-face-alignment-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-face-alignment-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: face-alignment
description: "Align face identity folders with MTCNN detection, landmark
  localization, affine crops, and resize-before-align helpers."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# face-alignment

Use this sub-skill when the request is about face.evoLVe's MTCNN-based face detection, landmark localization, affine alignment, crop-size scaling, or resize-before-align preprocessing.

Do not use this sub-skill for low-shot balancing or ImageFolder validation; route those to `data-preparation`. Do not use it for checkpoint feature extraction or verification; route those to `feature-extraction-verification`. PaddlePaddle duplicate alignment parity belongs with `paddle-workflows`.

## Read or run

- Read `references/alignment-workflows.md` when you need the expected identity-folder input/output layout, detector parameters, crop-size scaling, or validation checklist.
- Read `references/troubleshooting.md` when imports fail, landmarks are missing, multiple faces appear, corrupt images are skipped, colors look wrong, crop sizes are surprising, non-JPEG inputs are converted, or SyntaxWarnings appear.
- Run `scripts/align_faces.py` to batch-align a `source_root/<identity>/<image>` tree into a separate aligned destination tree.
- Run `scripts/resize_faces.py` before alignment when raw face images are very large and MTCNN detection is too slow.

## Operating contract

- `scripts/align_faces.py` requires `--repo-root` pointing to a local face.evoLVe checkout that contains the MTCNN helper code and `applications/align/{pnet,rnet,onet}.npy` weights; the weights are not bundled here and no downloads are attempted.
- The bundled scripts are deterministic, traverse identity folders in sorted order, never delete source inputs, reject overlapping source/destination roots, ignore hidden `.DS_Store`-style files, and normalize aligned or resized outputs to `.jpg`.

Files in this skill

  • SKILL.md1.9 KB
  • references/alignment-workflows.md5.8 KB
  • references/troubleshooting.md5 KB
  • scripts/align_faces.py10.6 KB
  • scripts/resize_faces.py6.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.