facelapse
A CLI tool for facial image alignment and timelapse generation using MediaPipe's Face Landmarker. Can be used to generate timelapse videos and datasets of aligned faces.
Installation
Using pip:
pip install facelapse
Or run it directly as a tool with uv:
uvx facelapse -i <input_folder> [options]
Usage
facelapse -i <input_folder> [options]
Options:
-i, --input: Input folder containing images to process. Files are processed in natural filename order.-o, --output: Output folder (default:output).--model-path: Optional path to a custom MediaPipe .task model file (default: uses built-in model).--width: Width of aligned output images (default:512).--height: Height of aligned output images (default:512).--fps: Timelapse frame rate (default:24.0).--skip-video: Skip timelapse video generation.--save-aligned-images: Save aligned and cropped face images tooutput/aligned(default: off).--blend-steps: Number of interpolated frames to insert between images in the timelapse video (default:0).--video-crop-mode: Crop strategy for stitched video.tight: crops to area valid for all frames (smallest, no extrapolation).balanced: crops to area valid for the 90th percentile of frames.canvas: no crop, preserves each frame's entire canvas (may use border extrapolation).
Metadata
Release files for facelapse 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| facelapse-0.1.1.tar.gz | 3.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| facelapse-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 MB
Release files / facelapse-0.1.1.tar.gz
| Download URL | facelapse-0.1.1.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5a22c61e2a99547a6d023e092ed3b886a81a5176123c0e44530343b1f1458a0
|
|
BLAKE2b-256 checksum How to use checksums |
af830b7c47ee3b3f683ad2723682f74c868a844a0535b6f654c077e38285efb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / facelapse-0.1.1-py3-none-any.whl
| Download URL | facelapse-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0846504a3fa25b7983b041b7de6436cf08c247221062c9133cb74b8793470424
|
|
BLAKE2b-256 checksum How to use checksums |
892a523c9abf6744b260b85e937b1d51cec764c304c82f7017f92bf9269d7826
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|